[gm45] 3D applications fail to run in WINE

Bug #406865 reported by Sandro Mani
112
This bug affects 16 people
Affects Status Importance Assigned to Milestone
wine (Ubuntu)
Invalid
Undecided
Unassigned
xserver-xorg-video-intel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: wine

Running Ubuntu Karmic as of 30.07.2009, tried both with regular packages and with xorg-edges packages.

Problem:
WINE fails on any attempt to run a 3D application on Intel GM45 hardware, with the following scenarios (in order of likeliness):

1) The following is outputted on the terminal:

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: 505
  Current serial number in output stream: 505

after which wine exits immediately

2) Between applications specific warning, there is always a block consisting of the following errors messages:

fixme:d3d_caps:IWineD3DImpl_FillGLCaps Received unrecognized GL_VENDOR Tungsten Graphics, Inc. Setting VENDOR_WINE.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R8G8B8 with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_A8R8G8B8 with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_X8R8G8B8 with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R5G6B5 rtInternal format is not supported as FBO color attachment.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM rtInternal format is not supported as FBO color attachment.
fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
fixme:win:EnumDisplayDevicesW ((null),0,0x32f7e0,0x00000000), stub!

Afterwards, I get the GLXBadDrawable and WINE exits.

3) The "WINED3DFMT_A8R8G8B8" messages plus WINE displaying an empty window frame, the should-be 3D content missing, I have to manually exit with CTRL+C.

This bug is intentionally separated from #401067 as I was requested to do so.

Note: although I have only noticed the "WINED3DFMT_A8R8G8B8" errors on Intel GM45 hardware, the GLXBadDrawable seem to be present also with ATI hardware (specifically I tested with xserver-xorg-video-ati - but there once in a while I get past those errors and the applications actually run). I listed all my testing scenarios here: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/401067/comments/8

Attachments/hardware info: please see #401067.

Tags: 3d gm45 karmic
Revision history for this message
Angel (angel-arancibia) wrote :

I'm having similar issue also, with wine 1.1.26 and jaunty 64, kernel 2.6.28-11.

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)

$> wine Wow.exe -opengl
err:menubuilder:init_xdg error looking up the desktop directory
fixme:advapi:SetSecurityInfo stub
archive Data\esES\patch-esES.MPQ opened
archive Data\patch.MPQ opened
archive Data\esES\patch-esES-2.MPQ opened
archive Data\patch-2.MPQ opened
archive Data\expansion.MPQ opened
archive Data\lichking.MPQ opened
archive Data\common.MPQ opened
archive Data\common-2.MPQ opened
archive Data\esES\locale-esES.MPQ opened
archive Data\esES\speech-esES.MPQ opened
archive Data\esES\expansion-locale-esES.MPQ opened
archive Data\esES\lichking-locale-esES.MPQ opened
archive Data\esES\expansion-speech-esES.MPQ opened
archive Data\esES\lichking-speech-esES.MPQ opened
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 15/03/2009,dlt (d/m/y): 18/10/2009
fixme:win:EnumDisplayDevicesW ((null),0,0x39edac,0x00000000), stub!
X Error of failed request: GLXBadDrawable
  Major opcode of failed request: 154 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 506
  Current serial number in output stream: 506

Thanks in advance.

Angel

Revision history for this message
Enrique Larrondo (mxamd) wrote :

I have the same similar issue described for Sandro Mani

Running Kubuntu Karmic lpia with xorg-edges packages 2009-08-06 and wine 1.1.27

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)

sandokan@mxamd:~$ wine "c:\Archivos de programa\Lineage 2 Interlude Frintezza\system\L2.exe"
fixme:reg:GetNativeSystemInfo (0x204424b) using GetSystemInfo()
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x209b35e): Stub!
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x32f078,0x32f074): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x32e7c4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32e83c,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32a3f4,0x00000000), stub!
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:thread:NtSetInformationThread info class 17 not supported yet
fixme:imagehlp:CheckSumMappedFile (0x9400000, 1819132, 0x1347b790, 0x1347b794): stub
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x13481f3a): Stub!
fixme:d3d:IWineD3DDeviceImpl_CreateQuery (0x17bc90) Event query: Unimplemented, but pretending to be supported
fixme:win:EnumDisplayDevicesW ((null),0,0x32a830,0x00000000), stub!
fixme:imm:ImmReleaseContext (0x20048, 0x140bd8): stub
fixme:advpack:write_predefined_strings SYS_MOD_PATH needs more work
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED_EXT (0x8cdd)
fixme:d3d:context_check_fbo_status Color attachment 0: (0x1a7ef8) WINED3DFMT_A8R8G8B8 804x585
fixme:d3d:context_check_fbo_status Depth attachment: (0x18f4b0) WINED3DFMT_D24S8 804x585
fixme:d3d:IWineD3DDeviceImpl_ClearSurface >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glClear @ device.c / 4998
fixme:d3d:context_check_fbo_status FBO status GL_FRAMEBUFFER_UNSUPPORTED_EXT (0x8cdd)
fixme:d3d:context_check_fbo_status Color attachment 0: (0x1a81f0) WINED3DFMT_A8R8G8B8 804x585
fixme:d3d:context_check_fbo_status Depth attachment: (0x18f4b0) WINED3DFMT_D24S8 804x585
fixme:d3d:IWineD3DDeviceImpl_ClearSurface >>>>>>>>>>>>>>>>> GL_INVALID_FRAMEBUFFER_OPERATION_EXT (0x506) from glClear @ device.c / 4998
fixme:d3d:state_patchedgestyle (WINED3DRS_PATCHEDGESTYLE,1065353216) not yet implemented

Revision history for this message
Sandro Mani (sandromani) wrote :

What issues precisely do you encounter? GLXBadDrawable messages / wine hangs / other ( or X crashes as in #401067)? Also, did you try various wine programs to identify the error messages that are common to all 3D apps?

Revision history for this message
Enrique Larrondo (mxamd) wrote :

Sorry for not having explained, my bug is similar to point 3, using FBO default in wine registry I get a black window and wine hangs, assuming that there was an error WINED3DFMT. Using backbuffer the program runs but hangs with other errors. The bug describes that focuses on GLXBadDrawable so it will report in a new thread.

Thanks

Revision history for this message
Sandro Mani (sandromani) wrote :

Update: setting OffscreenRenderingMode to backbuffer actually makes the program run from time to time (it fails most of the time with GLXBadDrawable though), although performance is terrible.

Revision history for this message
MasterOfTheHat (masterofthehat) wrote :

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

Revision history for this message
Jaime Rave (jaimerave) wrote :

Can you post a test case, maybe an example app to test the problem??

Revision history for this message
MasterOfTheHat (masterofthehat) wrote :

You can actually run the install for Guild Wars listed here: http://wiki.guildwars.com/wiki/Guild_Wars_on_Wine. No subscription needed at this point. The "wine GwSetup.exe" step will fail once it's downloaded all of the files and it tries to start the game.

Revision history for this message
Sandro Mani (sandromani) wrote :

Note: all these issues seem to be solved in recent packages which are not yet included in ubuntu - I tested on fedora rawhide and there things work well.

Revision history for this message
Nick Gerner (nick-gerner) wrote :

I have what I think is the same issue, and I think I'm running the very latest wine install (not in ubuntu). The strange thing is that it's worked for me a couple of times. I thought restarting X would fix it (i.e. crash on second launch) but it doesn't. And X crashes when I try to run this sometime (a la 40106)

I'm running Dungeon Keeper 2 (apparently it's abandonware, but I bet the above repro will work great)

I tried changing some wine settings (see http://wiki.winehq.org/UsefulRegistryKeys ) but I don't think any of those are related.

For those of you looking for help on related, but different issues: I did make progress when I installed the libg1-mesa-dri package (which for some reason wasn't installed by default, that's how I got direct render: Yes to work)

$ wine DKII.exe
X Error of failed request: GLXBadDrawable
  Major opcode of failed request: 154 (GLX)
  Minor opcode of failed request: 5 (X_GLXMakeCurrent)
  Serial number of failed request: 230
  Current serial number in output stream: 230

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

$ cat /etc/issue
Ubuntu 9.04 \n \l

$ wine --version
wine-1.1.30

$ 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 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 render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20090326 2009Q1 RC2

attached is Xorg.0.log

Revision history for this message
larsemil (emil-larsemil) wrote :

My X crashes when i try to run World of Warcraft in wine. My setup is working fine with the same version of wine and world of warcraft on a computer with nvidia-card.

Kubuntu 9.10

larsemil@mamin:~$ uname -r
2.6.31-12-generic

larsemil@mamin:~$ wine --version
wine-1.1.30-502-gd62d442

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

Package-versions:
xserver-xorg-video-intel 2:2.9.0-1ubuntu1

Revision history for this message
Matt McDonald (mail-matt-mcdonald) wrote :

I can reproduce this with Warlords Battlecry 3, and Half Life 2. Is there any useful information that I can provide?

Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastian Geiger (lanoxx) wrote :

Hi,

I can reproduce this bug also on Intel X3100 (GM965) with Warcraft 3 (latest patch) and TrackMania NationsForever (latest version).
Im running Scrott Ritchie's Wine PPA on Karmic.

Geir Ove Myhr (gomyhr)
summary: - [Intel GM45] 3D applications fail to run in WINE
+ [GM45] 3D applications fail to run in WINE
tags: added: 3d gm45
Revision history for this message
Shaleghi (shaleghi) wrote :

I have the same problem !!

Ubuntu 9.10 64bit

Lenovo x200 laptop

 uname -r
2.6.31-14-generic

 wine --version
wine-1.1.31

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

 glxinfo | grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20090712 2009Q2 RC3

shaleghi@Banana:~/.wine/dosdevices/c:/Program Files/Runic Games/Torchlight$ wine Torchlight.exe SAVEMODE=1

................

  ParticleUniverse: Particle Extern Type 'Vortex' registered
ParticleUniverse: Particle Behaviour Type 'Slave' registered
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 1.6.4 (Shoggoth)
fixme:d3d:debug_fbostatus Unrecognied FBO status 0x00000000
fixme:d3d:context_check_fbo_status FBO status unrecognized (0)
wine: Unhandled page fault on read access to 0x00000008 at address 0x7de5c168 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000008 in 32-bit code (0x7de5c168).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7de5c168 ESP:0032e794 EBP:0032e7fc EFLAGS:00010246( R- -- I Z- -P- )
 EAX:00000000 EBX:7df4dff4 ECX:7df4eb6c EDX:0015cab4
 ESI:00000000 EDI:0015cab4
Stack dump:
0x0032e794: 00000000 7df4eb6c 7df22ba7 7df219b8
0x0032e7a4: 7df3f42e 00000000 0032e82c 7bc34d01

Revision history for this message
phoenix (phoenix-art) wrote :
Download full text (12.8 KiB)

Anyone can SOLVE this problem?

phoenix@phoenix-laptop:~/.wine/drive_c/Program Files/Rockstar Games/GTAIII$ wine gta3.exe
fixme:system:SystemParametersInfoW Unimplemented action: 8193 (SPI_SETFOREGROUNDLOCKTIMEOUT)
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: 204
  Current serial number in output stream: 204

______________________________________________________________________________________________________

phoenix@phoenix-laptop:~/.wine/drive_c/Program Files/Rockstar Games/GTAIII$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
    GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
    GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090326 2009Q1 RC2
OpenGL version string: 2.0 Mesa 7.4
OpenGL shading language version string: 1.10
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_shader_objects, GL_ARB_shading_language_100, GL_ARB_shadow,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_bl...

Revision history for this message
Matt McDonald (mail-matt-mcdonald) wrote :

I have found a workaround (for my machine at least).

It seems that enabling desktop emulation in the graphics tab of winecfg at least allow programs using 3d acceleration to run and display.

I'd still rather that my fullscreen apps be fullscreen, however...

Revision history for this message
phoenix (phoenix-art) wrote :

Thanks Matt McDonald the answer, but I always try apps at desktop emulation.

So, if you run any 3d game in this wine mode they work good?

Revision history for this message
phoenix (phoenix-art) wrote :

When I try to run a 3d game in wine its sometimes restart my x-server and let me relogin to the system. :(

Revision history for this message
Sandro Mani (sandromani) wrote :

Concerning the X crash: this should have been fixed a while ago (see bug #401067), if you have this issue with an up-to-date system would you please collect a backtrace (see http://wiki.ubuntu.com/X/Backtracing) and open a new bug?

For the rest from what I can see the problem is fixed in newer x and mesa packages (and maybe others?) - i.e. works well in fedora - but they aren't included in this release of ubuntu.

Revision history for this message
phoenix (phoenix-art) wrote :

So may I have to upgrade to the 9.10 from 9.04?

Revision history for this message
Sandro Mani (sandromani) wrote :

Concerning the X crash, yes - but it won't help much concerning the other issue (unless maybe you try bleeding edge packages from the X crack pushers PPA, but I haven't tried them myself and cannot guarantee they fix the issue - keep in mind that they also might make your system unusable).

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

I have a feeling this might be an issue with wine requiring mesa to load the 32 bit DRI drivers rather than the 64 bit ones (on 64 bit systems), perhaps people could try running:

export LIBGL_DRIVERS_PATH=/usr/lib32/dri

prior to running wine and see if this has any effect?

Revision history for this message
Michael Gratton (mjog) wrote :

Yes, using the 32-bit DRI drivers seems to fix the problem, Civ4 work fine at least.

This is on an X61 Thinkpad running amd64, with the wine1.2 packages.

Thanks!

Revision history for this message
Trevor Robinson (eztenia) wrote :

Trying to run Command and Conquer 3 with Intel GM965

Yeah, maybe I'm trying to run something out of my laptop's lague, but I can still try, dangit.

Mine crashes with scenario 1 error in terminal.

Revision history for this message
Trevor Robinson (eztenia) wrote :

D'oh, I forgot to mention. Maybe this doesn't mean much, but I'm using PlayOnLinux installation.

Revision history for this message
HisDudeness (moritzkrog) wrote :

I read the entire Thread and came up with the exact same problem history.

"export LIBGL_DRIVERS_PATH=/usr/lib32/dri" brought me one step closer, but I guess there are further problems with 32bit libraries down the road. I'm getting:

Unhandled exception: C++ exception(object = 0x0033fab4, type = 0x1054ceec) in 32-bit code (0x7b843d22).

now, followed by a RegisterDump and a Backtrace:

Backtrace:
=>0 0x7b843d22 in kernel32 (+0x23d22) (0x0033f444)
  1 0x7e830c3c _CxxThrowException+0x3c() in msvcrt (0x0033f474)
  2 0x100e8811 in engine (+0xe8811) (0x0033fbb0)
  3 0x102e4056 in engine (+0x2e4056) (0x0033fcf8)
  4 0x0040406e in nksp (+0x406e) (0x0033fd54)
  5 0x00404fdb in nksp (+0x4fdb) (0x0033fdc0)
  6 0x004057d8 in nksp (+0x57d8) (0x0033fe0c)
  7 0x00407cd2 in nksp (+0x7cd2) (0x0033fea8)
  8 0x7b877cb4 in kernel32 (+0x57cb4) (0x0033fee8)
  9 0x7bc6ed14 call_thread_func+0xc() in ntdll (0x0033fef8)
  10 0x7bc6eee0 call_thread_entry_point+0x70() in ntdll (0x0033ffc8)
  11 0x7bc4adea in ntdll (+0x3adea) (0x0033ffe8)
  12 0xf75fdedd wine_call_on_stack+0x1d() in libwine.so.1 (0x00000000)
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x10433603

as setting the 32bit DRI get me one step further, are there any other options at this point to set more to 32bit libs? Setting up a shell script to export the right stuff would be manageble, I guess..

Revision history for this message
rasmus nielsen (rasmusnielsen91) wrote :

Hey there guys.

Good comments, read the entire thing through, And i've wondered about those 32 bit libraries for some time.

I've had this problem with Guild wars in both ubuntu 8.10 and 9.04.

For now i've tried Dungeons and dragons online in wine which gives somewhat same problem, still a bad drawable. Anyway heres my output:

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: 1022 Current serial number in output stream: 1022*** Finished ***

This is so annoying.

But i guess fedora must have figured something out that the ubuntu team did not, 'cause i remember a schoolmate of mine talking about it being way better with intel graphics.

But is it possible, in anyway to make this work, like it should do according sandro mani on the new fedora?

Any installable new driver? anything?

Revision history for this message
Sandro Mani (sandromani) wrote :

Hi,
it is not that fedora has figured out something that ubuntu has not, it is just that it is more a bleeding edge distribution than ubuntu is, which means that you often get upstream fixes faster than in ubuntu, but also that you might have to deal with upstream regressions in a more unplesant way because packages may get pushed to their repos with less testing. If you want bleeding edge with ubuntu, you can use a mainline ppa kernel and the X crack pushers repo and then you should also have the leatest and greatest of features and misfeatures, but keep in mind that those packages aren't tested at all against stability or even usability. But if you want newer packages with less effort and risk, you may also want to give fedora a try.

Revision history for this message
rasmus nielsen (rasmusnielsen91) wrote :

Okay, thanks for the explanation, but i can't help but wonder if it isn't possible to make this GMA45 work in ubuntu...

I think i already mentioned that i tried to get the 3D working in both 8.10 and 9.04, which has really been a hard pice of work, never succeeded though.

If you care for it, you could take a look at the this thread: http://ubuntuforums.org/showthread.php?t=963386
it tells quite a bit about this problem.

I just have a question that i'd like to ask.
when you edit the HKEY->CURRENTUSER->SOFTWARE->WINE->DIRECT3D->VideoMemorySize

should i type 64 mb or 1543 mb? because my GMA 4500 has a lot of dedicated ram, and should the amount be with or without that?

Revision history for this message
Sandro Mani (sandromani) wrote :

Well concerning at least 9.04, it was in the middle of the EXA -> UXA transition with new stuff coming in like KMS and GEM, therefore things were not really stable back then (and as far as I recall also fedora had plenty of problems at that stage). If you want to stick with ubuntu you'll need to add a PPA repository containing newer packages, especially the xserver video drivers and mesa, or take a look at lucid.
For the thread: glxgears is not a benchmark, cfr. https://wiki.ubuntu.com/X/Troubleshooting/IntelPerformance
Lastly, concerning this specific issue video size should not make too much of a difference, I'm actually not sure how wine uses this value, if only to report a size to applications asking for it or if it actually really matters internally.

Revision history for this message
rasmus nielsen (rasmusnielsen91) wrote :

thanks for the link i'll look into it.

Revision history for this message
rasmus nielsen (rasmusnielsen91) wrote :

added this PPA ppa:xorg-edgers/ppa

Which updated mesa to 7.7, and did some other things as well, still doesn't work though quits with this message:

err:winediag:X11DRV_WineGL_InitOpenglInfo Direct rendering is disabled, most likely your OpenGL drivers haven't been installed correctly

hmm...

Revision history for this message
Sandro Mani (sandromani) wrote :

Have you change or set some custom xorg parameters with previous attempts? Otherwise it can very well be that the build of the driver you got is indeed broken, which is not that unlikely to happen with daily builds. You can wait a few days for the next few builds to see if they fix the issue, but I'd really suggest that if you want to stick with ubuntu and have wine working to give lucid a try (alpha 2 is scheduled to be released tomorrow), which is likely to be considerably more stable than daily builds even if in alpha stage. Lastly I suggest we moved this discussion to the forum since launchpad isn't really the right place for such discussions.

Revision history for this message
rasmus nielsen (rasmusnielsen91) wrote :

To the Ubuntu forum? will you create a thread or should i?

Revision history for this message
Sandro Mani (sandromani) wrote :

Go ahead and create one, quickly post back the link to the topic here.

Revision history for this message
rasmus nielsen (rasmusnielsen91) wrote :

Yeah, i already did i think this link will do:
 http://ubuntuforums.org/showthread.php?t=963386

I created this more than a year ago, but it should still be very up to date.

Everyone still reading the thread and following it actively should enjoy whatever information on the topic posted there.

Bryce Harrington (bryce)
tags: added: karmic
Bryce Harrington (bryce)
summary: - [GM45] 3D applications fail to run in WINE
+ [g45] [GM45] 3D applications fail to run in WINE
Bryce Harrington (bryce)
summary: - [g45] [GM45] 3D applications fail to run in WINE
+ [gm45] 3D applications fail to run in WINE
Revision history for this message
rusivi2 (rusivi2-deactivatedaccount) wrote :

Thank you for posting this bug.

Does this issue occur in newest WINE?

Changed in wine (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Gratton (mjog) wrote :

Was fine for me with Civ4 in Lucid and is again in Maverick.

Revision history for this message
Chris Wilson (ickle) wrote :

It's a bug that was in the GLX3 code that landed in Xorg.

Changed in wine (Ubuntu):
status: Incomplete → Invalid
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.