http://bugs.winehq.org/show_bug.cgi?id=29218
Bug #: 29218 Summary: WinUAE 2.3.3 crashes at startup; ddraw7_GetCaps issue? Product: Wine Version: 1.3.33 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
Created attachment 37728 --> http://bugs.winehq.org/attachment.cgi?id=37728 Console output
Hi,
I tested WinUAE 2.3.3 with Wine 1.3.33, and get a crash on starting it. Test system: Lubuntu 11.10 64-bit, kernel 3.0.0, Nouveau graphics (not the Nvidia binary driver).
Console output is attached. The backtrace shown in the output is: Backtrace: =>0 0x7e97b8cb wined3d_get_device_caps+0x3db(wined3d=0x132d30, adapter_idx=0, device_type=0, caps=0x3b4ec2c) [/build/buildd/wine1.3-1.3.33/dlls/wined3d/directx.c:4744] in wined3d (0x03b4ebb0) 1 0x7e95760d wined3d_device_get_device_caps+0x7c(device=0x135a28, caps=0x3b4ec2c) [/build/buildd/wine1.3-1.3.33/dlls/wined3d/device.c:3881] in wined3d (0x03b4ebf0) 2 0x7ea66c1c ddraw7_GetCaps+0x10b(iface=0x131bc0, DriverCaps=0x3b4ef68, HELCaps=0x3b4f0e4) [/build/buildd/wine1.3-1.3.33/dlls/ddraw/ddraw.c:1089] in ddraw (0x03b4ef50) 0x7e97b8cb wined3d_get_device_caps+0x3db [/build/buildd/wine1.3-1.3.33/dlls/wined3d/directx.c:4744] in wined3d: call *0x30(%eax)
http://bugs.winehq.org/show_bug.cgi?id=29218
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.winuae.net/files | |/InstallWinUAE2330.exe CC| |markk@clara.co.uk
http://bugs.winehq.org/show_bug.cgi?id=29218
--- Comment #1 from Austin English austinenglish@gmail.com 2011-12-01 13:16:46 CST --- err:wgl:has_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory err:wgl:has_opengl OpenGL support is disabled. Direct3D9 is not available without OpenGL.
looks like a busted OpenGL setup...
http://bugs.winehq.org/show_bug.cgi?id=29218
--- Comment #2 from Mark K markk@clara.co.uk 2011-12-01 14:29:11 CST --- Quite possibly. Is it possible to fail/fall back gracefully in that case? What would happen running the program on a Windows PC with a simple VGA card (no manufacturer graphics driver) for example?
http://bugs.winehq.org/show_bug.cgi?id=29218
--- Comment #3 from Mark K markk@clara.co.uk 2011-12-06 08:21:46 CST --- Could this issue be related to the commit "ddraw: Make the OpenGL renderer the default one." which went into Wine 1.3.28? Is Wine not falling back to the gdi renderer when OpenGL is not available?
http://bugs.winehq.org/show_bug.cgi?id=29218
--- Comment #4 from Mark K markk@clara.co.uk 2011-12-10 09:58:53 CST --- Hmm...
I noticed the same message and crash/exit when testing other programs with the Nouveau driver err:wgl:has_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
I've been testing with Lubuntu 11.10 64-bit. Running glxgears and various OpenGL-using screensavers works fine.
Maybe Wine is not looking in the right place for libGL.so? On my system (probably all 64-bit Ubuntu systems) it's in /usr/lib/x86_64-linux-gnu
$ ls -l /usr/lib/x86_64-linux-gnu/libGL* lrwxrwxrwx 1 root root 13 2011-08-10 09:20 /usr/lib/x86_64-linux-gnu/libGL.so -> mesa/libGL.so -rw-r--r-- 1 root root 899474 2011-08-10 09:22 /usr/lib/x86_64-linux-gnu/libGLU.a lrwxrwxrwx 1 root root 11 2011-08-10 09:20 /usr/lib/x86_64-linux-gnu/libGLU.so -> libGLU.so.1 lrwxrwxrwx 1 root root 20 2011-08-10 09:20 /usr/lib/x86_64-linux-gnu/libGLU.so.1 -> libGLU.so.1.3.071100 -rw-r--r-- 1 root root 445080 2011-08-10 09:22 /usr/lib/x86_64-linux-gnu/libGLU.so.1.3.071100
After I installed the ubuntu packages libgl1-mesa-dri:i386 and libgl1-mesa-glx:i386 (which pulled in another ~45MB of dependencies, sigh) I could start WinUAE with no crash.
Could this be a Wine Ubuntu packaging issue (I'm testing with 1.3.34 installed from the winehq amd64 Ubuntu package)? Or is there supposed to be a soft link in another directory to /usr/lib/x86_64-linux-gnu/libGL.so???
http://bugs.winehq.org/show_bug.cgi?id=29218
Mark K markk@clara.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|WinUAE 2.3.3 crashes at |Wine can't find libGL.so on |startup; ddraw7_GetCaps |x86-64 system |issue? |
http://bugs.winehq.org/show_bug.cgi?id=29218
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|directx-d3d |-unknown Resolution| |INVALID
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru 2011-12-10 10:31:17 CST --- Looks like you don't have 32-bit OpenGL drivers installed. Wine is a 32-bit application.
http://bugs.winehq.org/show_bug.cgi?id=29218
--- Comment #6 from Mark K markk@clara.co.uk 2011-12-10 11:40:13 CST --- It would be good if the 32-bit OpenGL driver packages could be listed as recommended in the winehq Ubuntu amd64 .deb packages.
http://bugs.winehq.org/show_bug.cgi?id=29218
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |scott@open-vote.org
http://bugs.winehq.org/show_bug.cgi?id=29218
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Austin English austinenglish@gmail.com 2012-01-23 18:59:33 CST --- Closing INVALID.
http://bugs.winehq.org/show_bug.cgi?id=29218
--- Comment #8 from Scott Ritchie scott@open-vote.org 2012-01-23 20:27:58 CST --- As an aside, they _are_ listed as recommended: wine1.3 depends on ia32-libs which recommends ia32-libs-multiarch (which is an i386 multiarch package) which recommends libgl1-mesa-glx:i386 and libgl1-mesa-dri:i386