Comment 6 for bug 406865

Revision history for this message
MasterOfTheHat (masterofthehat) wrote : Re: [Intel GM45] 3D applications fail to run in WINE

I'm seeing pretty much the same error as the original poster. When running Gw.exe, it almost always immediately spits out the GLXBadDrawable error shown below. The installer also eventually fails with GLXBadDrawable, though I'm guessing that is when it tries to start the game. On the first run after the install, the updater will kick off and run without issue, then it attempts to start the game, goes to a black screen, the cursor changes to the in-game cursor, and then X restarts and I'm back to the GDM login. Any attempts to run the game after that result in the error below, sometimes with the "fixme" lines, sometimes without, but always with the GLXBadDrawable.

I have been through the "Safe" part of this thread, but with no change: http://ubuntuforums.org/showthread.php?t=1130582

$ wine "C:\Program Files\Guild Wars\Gw.exe" -opengl
fixme:d3d_caps:wined3d_guess_vendor Received unrecognized GL_VENDOR "Tungsten Graphics, Inc". Returning VENDOR_WINE.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eae0,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32e1d8,0x00000000), stub!
X Error of failed request: GLXBadDrawable
  Major opcode of failed request: 153 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 581
  Current serial number in output stream: 581

HW: HP Pavilion DV4-1435DX

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

from dmesg:
agpgart-intel 0000:00:00.0: Intel Mobile IntelĀ® GM45 Express Chipset

$ uname -a
Linux Euterpe 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 19:25:34 UTC 2009 x86_64 GNU/Linux

$ wine --version
wine-1.1.29

$ glxinfo | grep version
server glx version string: 1.2
client glx version string: 1.4
GLX version: 1.2
OpenGL version string: 2.0 Mesa 7.4
OpenGL shading language version string: 1.10

$ glxinfo | grep direct
direct rendering: Yes

Device section of xorg.conf;
Section "Device"
 Identifier "Configured Video Device"
 Option "UseFBDev" "true"
 Option "AccelMethod" "uxa"
 Option "EXAOptimizeMigration" "true"
 Option "MigrationHeuristic" "greedy"
 Option "Tiling" "false"
 Option "SwapbuffersWait" "false"
EndSection