https://bugs.winehq.org/show_bug.cgi?id=40783
Bug ID: 40783 Summary: Wine segfault on 3d in Openindiana Hipster (Solaris) Product: Wine Version: 1.9.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: malicorne@chez.com Distribution: ---
Created attachment 54682 --> https://bugs.winehq.org/attachment.cgi?id=54682 Output of wine command
Compiled win 1.9.10 on Openindiana Hipster (Solaris) and every basic wine 32 app is working fine but 3D applications make wine crash.
Tried furmark Tried Anarchy Online
Please find attached the output.
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #1 from malic malicorne@chez.com --- Created attachment 54683 --> https://bugs.winehq.org/attachment.cgi?id=54683 Crash report from wine
https://bugs.winehq.org/show_bug.cgi?id=40783
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
--- Comment #2 from Austin English austinenglish@gmail.com --- Only d3d related output is: fixme:ddraw:DirectDrawEnumerateExA flags 0x00000006 not handled
Presumably more verbose logs are needed, I'll let one of the d3d guys comment on that.
https://bugs.winehq.org/show_bug.cgi?id=40783
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #3 from Henri Verbeet hverbeet@gmail.com --- Do (Win32) OpenGL applications work? It may be helpful to create a WINEDEBUG=+seh,+tid,+ddraw,+d3d log, although I suspect the issue is with OpenGL instead of Direct3D.
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #4 from malic malicorne@chez.com --- Created attachment 54750 --> https://bugs.winehq.org/attachment.cgi?id=54750 Log as requested with WINEDEBUG=+seh,+tid,+ddraw,+d3d
Log of output with additionnal DEBUG flags as requested.
If you know a basic OpenGL win32 application to test, I'll be pleased to try it out because I suspect something specific with the OpenGL implementation on Solaris as well but it is hard to sort things out.
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #5 from malic malicorne@chez.com --- Updated to wine 1.9.12, same symptoms. Please, find log output for : - configure - build - run with WINEDEBUG=+seh,+tid,+ddraw,+d3d
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #6 from malic malicorne@chez.com --- Created attachment 54841 --> https://bugs.winehq.org/attachment.cgi?id=54841 log for configure v1.9.12
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #7 from malic malicorne@chez.com --- Created attachment 54842 --> https://bugs.winehq.org/attachment.cgi?id=54842 log for build v1.9.12
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #8 from malic malicorne@chez.com --- Created attachment 54843 --> https://bugs.winehq.org/attachment.cgi?id=54843 Output of wine command with WINEDEBUG=+seh,+tid,+ddraw,+d3d v1.9.12
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #9 from Henri Verbeet hverbeet@gmail.com --- (In reply to malic from comment #8)
0009:trace:d3d:wined3d_init Initializing adapters. 0009:trace:d3d:wined3d_adapter_init adapter 1906f0, ordinal 0. 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=7b70f834 ip=7b70f834 tid=0009
This is very early during wined3d initialisation (https://source.winehq.org/git/wine.git/blob/b30f59c56725441f23e8a13083b38d37...). The log seems to suggest something is wrong with the returned opengl_funcs structure, or perhaps it crashes inside the __wine_get_wgl_driver() call. That call mostly resolves to init_opengl() in dlls/winex11.drv/opengl.c. Perhaps adding +wgl to WINEDEBUG will give some more information. It seems likely at this point that it's some kind of OpenGL issue, not specific to Direct3D.
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #10 from malic malicorne@chez.com --- Created attachment 54948 --> https://bugs.winehq.org/attachment.cgi?id=54948 Output of wine command with WINEDEBUG=+seh,+tid,+ddraw,+d3d,+wgl v1.9.12
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #11 from malic malicorne@chez.com --- Just to add information, NVIDIA solaris drivers v340.96 on Nvidia Quadro 2000
$ uname -a SunOS starsystem 5.11 illumos-06cf6f1 i86pc i386 i86pc $ glxinfo | head name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions: GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, GLX_ARB_multisample, GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, [...]
glxgear runs ok firefox v45.0.2 on Webgl demos works ok
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #12 from Henri Verbeet hverbeet@gmail.com --- (In reply to malic from comment #10)
Created attachment 54948 [details] Output of wine command with WINEDEBUG=+seh,+tid,+ddraw,+d3d,+wgl v1.9.12
Is that the correct log? It doesn't appear to correspond to the debug flags you mention. (Nor the issue originally described in the bug report.)
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #13 from malic malicorne@chez.com --- Curiously I seem to have "variable" error. It doesn't make sense. When I opened the incident, I had the issue multiple times on 2 different hardware running the same version of software stack. I 'll try to do more test this week-end. I, each time, remove the $HOME/.wine directory to make sure I don't have anything left over from previous tests.
Something is wrong with the OpenGL in OpenIndiana/Hipster, might be the case as well for Solaris but I can't figure out what.
https://bugs.winehq.org/show_bug.cgi?id=40783
fp2007cf@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fp2007cf@free.fr
--- Comment #14 from fp2007cf@free.fr ---
For Solaris 11, it is needed to run wine like this to avoid crash in graphical applications:
LD_PRELOAD=libumem.so UMEM_OPTIONS=backend=mmap wine ...
I suppose it is the same for Openindiana (?)
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #15 from malic malicorne@chez.com --- Confirmed. With LD_PRELOAD=libumem.so UMEM_OPTIONS=backend=mmap, 3D applications work.
Funny thing is in the case of Furmark, first time works, second time crash with : $ LD_PRELOAD=libumem.so UMEM_OPTIONS=backend=mmap wine FurMark.exe fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:module:load_library unsupported flag(s) used (flags: 0x00000800) fixme:win:EnumDisplayDevicesW ((null),0,33e50c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),1,33e50c,0x00000000), stub! fixme:heap:GetPhysicallyInstalledSystemMemory stub: 33ead8 err:wgl:X11DRV_wglGetPixelFormatAttribivARB (7003a): unexpected iPixelFormat(0) vs nFormats(244), returns FALSE fixme:win:EnumDisplayDevicesW ((null),0,33df6c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),1,33df6c,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,33e72c,0x00000000), stub! err:wgl:X11DRV_wglGetPixelFormatAttribivARB (30042): unexpected iPixelFormat(0) vs nFormats(244), returns FALSE fixme:win:EnumDisplayDevicesW ((null),0,113ed3c,0x00000000), stub! err:wgl:X11DRV_wglGetPixelFormatAttribivARB (30042): unexpected iPixelFormat(0) vs nFormats(244), returns FALSE fixme:win:EnumDisplayDevicesW ((null),0,e1ed3c,0x00000000), stub! X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 153 (GLX) Minor opcode of failed request: 31 (X_GLXCreateWindow) Serial number of failed request: 2822 Current serial number in output stream: 2822
I actually have to quit Furmark and restart it for it to work again the first time.
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #16 from malic malicorne@chez.com --- Tested with Anarchy Online... it works as well. Very good.
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #17 from Henri Verbeet hverbeet@gmail.com --- Actually, it looks like this is a duplicate of bug 22033.
https://bugs.winehq.org/show_bug.cgi?id=40783
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- Could be closed as DUPLICATE, then?
https://bugs.winehq.org/show_bug.cgi?id=40783
--- Comment #19 from malic malicorne@chez.com --- Yes, can be closed
https://bugs.winehq.org/show_bug.cgi?id=40783
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #20 from Austin English austinenglish@gmail.com --- (In reply to malic from comment #19)
Yes, can be closed
Dupe.
*** This bug has been marked as a duplicate of bug 22033 ***
https://bugs.winehq.org/show_bug.cgi?id=40783
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS|Linux |Solaris
https://bugs.winehq.org/show_bug.cgi?id=40783
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #21 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicates