Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165991 - media-gfx/wings-0.98.29b fails to find OpenGL and hangs
Summary: media-gfx/wings-0.98.29b fails to find OpenGL and hangs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
: 166282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-08 20:56 UTC by Florian Berger
Modified: 2007-08-10 21:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of gxlinfo (glxinfo.txt,3.64 KB, text/plain)
2007-02-08 20:57 UTC, Florian Berger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Berger 2007-02-08 20:56:00 UTC
Hi to all,

I am not sure wether this is a Gentoo issue. If it's my fault, just close it. ;-)

I just emerged media-gfx/wings-0.98.29b (stable on x86). Trying to run it from the command line, it gives the error "Failed to find any suitable OpenGL mode. Make sure that OpenGL drivers are installed." It writes a short crash dump to a file, which I can post upon request.
It keeps hanging without opening a window. [Ctrl]+[C] stops it and returns to the shell prompt. What is confusing me is that I, as far as I can see, have all necessary stable packages for OpenGL installed:
* xorg-x11 7.1
* xorg-server 1.1.1-r4
* media-libs/mesa 6.5.1-r1
* x11-drm 20060608-r1
* libdrm 2.0.2

glxgears runs (slowly, but anyway...). Output of glxinfo is attached.

I asked about the issue in the Wings3D forum, and they suggested to upgrade Mesa. But before fiddling with unstable packages, I want to ask here, since wings is marked stable.

Reproducible: Always

Steps to Reproduce:
Since wings is marked stable, this is obviously not reproducable on all machines. On mine, it's
$ su -c 'emerge wings'
$ wings
after a world update.
Actual Results:  
Wings shows an error on the command line and hangs. [Ctrl]+[C] stops it and returns to the prompt.

Expected Results:  
The wings application window should open.

I do not run a 3D workstation (not even close). It's a notebook with an old ATI adapter.

emerge --info:
Gentoo Base System version 1.12.1
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3,
2.6.19 i686)
=================================================================
System uname: 2.6.19 i686 Pentium III (Coppermine) Last Sync: Sun, 28
Jan 2007 10:50:01 +0000 app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2,
1.10 sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=[...]
LANG="de_DE.utf8" LC_ALL="de_DE.utf8" LINGUAS="de"
PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links
--safe-links --perms --times --compress --force --whole-file --delete
--delete-after --stats --timeout=180 --exclude='/distfiles'
--exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aalib alsa
alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp
alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106
alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370
alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801
alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m
alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio
alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci
alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym
alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare
alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug
alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958
alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat
alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw
alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug
alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share
alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm berkdb
bitmap-fonts bzip2 cddb cdparanoia cli cracklib crypt dlloader dri
elibc_glibc ffmpeg fftw flac fortran gdbm gphoto2 gpm gtk gtk2 iconv
input_devices_evdev input_devices_keyboard input_devices_mouse ipv6
isdnlog jpeg kernel_linux ladspa lcd_devices_bayrad lcd_devices_cfontz
lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780
lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb
lcd_devices_ncurses lcd_devices_text libg++ linguas_de mmx mp3 mpeg
mplayer ncurses nls nptl nptlonly ogg pam pcre pdf png ppds pppd python
readline reflection sdl session speex spl ssl svg tcpd theora threads
tidy tiff truetype-fonts type1-fonts udev unicode unix98 userland_GNU
video_cards_ati video_cards_mach64 vorbis win32codecs xorg xv xvid
zlib" Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Berger 2007-02-08 20:57:27 UTC
Created attachment 109589 [details]
Output of gxlinfo
Comment 2 Ștefan Talpalaru 2007-02-25 11:32:08 UTC
Problem solved in 
http://bugs.gentoo.org/show_bug.cgi?id=166282
emerge libsdl with the "opengl" flag set
Comment 3 Florian Berger 2007-03-02 13:30:27 UTC
Alright, it works.

$ USE="opengl" emerge libsdl
$ wings

does the job. Recompiling of wings was not necessary.

As mentioned in bug 166282, the wings ebuild script should check for that flag. I'll leave the bug open for now.

Best regards, Florian
Comment 4 SpanKY gentoo-dev 2007-03-02 17:50:43 UTC
*** Bug 166282 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2007-07-26 04:55:31 UTC
added check
Comment 6 Florian Berger 2007-08-10 21:27:14 UTC
(In reply to comment #5)

Thanks a lot!

Florian