Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293529 - Warcraft 3 crashes on start with GLXBadDrawable (app-emulation/wine)
Summary: Warcraft 3 crashes on start with GLXBadDrawable (app-emulation/wine)
Status: RESOLVED DUPLICATE of bug 290153
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://bugs.winehq.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 18:42 UTC by infobox.oleg
Modified: 2009-11-21 23:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description infobox.oleg 2009-11-17 18:42:33 UTC
I'm cross posting a bug from Wine bugzilla: http://bugs.winehq.org/show_bug.cgi?id=20181.

I have amd64 Gentoo system, wine-1.1.26.

Warcraft 3 FT, Warcraft 3 Demo, Icewind Dale crashes with GlxBadDrawable in wine-1.1.25 to wine-1.1.26, but unpredictably (sometimes it crashes, sometimes it doesn't).
In wine-1.1.27 to current application crashes with Error of failed request:  BadMatch (invalid parameter attributes), which is probably different issue. But it prevents from going to higher versions of wine when trying to solve GlxBadDrawable.

The bug may be in Wine or it may be in Intel drivers.

Currently we examine this:
 -------  Comment #18 From  Roderick Colenbrander   2009-11-17 04:58:58   (-) [reply] -------

What I find suspicious is the following:
trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: False

Do you have proper 32-bit intel libs around?
-----

I had to downgrade emul libraries:
emerge -a1v "=app-emulation/emul-linux-x86-xlibs-10.1"
emerge -a1v "=app-emulation/emul-linux-x86-baselibs-20080316"

and now I have i965_dri.so in /usr/lib32/dri and libexpat.so in /usr/lib32. Then I ran ln -s libexpat.so libexpat.so.0.

I'm stuck here:
~/.wine/drive_c/Warcraft III Demo $ LD_PRELOAD=/usr/lib32/dri/i965_dri.so wine War3Demo.exe -opengl
wine: symbol lookup error: /usr/lib32/dri/i965_dri.so: undefined symbol: _glapi_tls_Context

Could you please look at this bug and help me to obtain proper 32bit libraries for DRI for my amd64?

Thanks.
Oleg

Reproducible: Sometimes




emerge --info:
Portage 2.1.7.4 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6670_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 15 Nov 2009 20:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -msse -msse2 -mssse3 -mmmx -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2 -msse -msse2 -mssse3 -mmmx -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 automount bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups custom-optimization cvs dbus dhclient dri dts dvd dvdr eds emboss encode evo extras fam firefox flac fortran fuse gdbm gif git glitz gnome gnome-keyring gnutls gpm graphite gstreamer gtk hal iconv icq ipv6 jabber java java6 jpeg kde kdrive laptop lcms ldap libnotify lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql nautilus ncurses networkmanager nls nodrm nptl nptlonly nsplugin ogg opengl openmp oscar pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection samba sdl semantic-desktop session sip spell spl sql sqlite sse sse2 sse3 sse4.1 ssl ssse3 startup-notification subversion svg sysfs tcpd thunar tiff truetype unicode usb v4l v4l2 vorbis wav webkit x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="intel fbdev vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 infobox.oleg 2009-11-18 22:02:42 UTC
Wine works fine in 32bit chroot. It seems there is an issue with 32bit DRI libs missing for wine in amd64. Further - i965_dri.so was removed from newer emul libs - why is that?
Is there a proper way to obtain 32bit libs in my amd64 gentoo for this purpose?

Thanks.

Oleg
Comment 2 infobox.oleg 2009-11-21 23:42:15 UTC
This bug is a consequence of bug 290153.

*** This bug has been marked as a duplicate of bug 290153 ***