https://bugs.winehq.org/show_bug.cgi?id=39769
Bug ID: 39769 Summary: Caffeine Demo fails to start with NVIDIA: Extension GL_VERSION_3_3 required for glVertexAttribDivisor not supported Product: Wine Version: 1.8-rc3 Hardware: x86 URL: http://www.indiedb.com/games/caffeine/downloads/caffei ne-demo-v101-win-32-bit OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@winehq.org Reporter: michael@fds-team.de CC: julliard@winehq.org, matteo.mystral@gmail.com Regression SHA1: bfd4836867d6d90eaeae6ccbc02e37678b59b8f1 Distribution: Debian
The Caffeine Demo fails to start with the NVIDIA driver. The game complains about missing OpenGL entry points and reports a fatal error. If you turn on warn for OpenGL, you will see:
warn:wgl:wglGetProcAddress Extension GL_VERSION_3_3 required for glVertexAttribDivisor not supported
Reverting the commit, which introduced the check, fixes the problem. Please note that my driver offers support for OpenGL 4.4.
In order to reproduce the problem, you need to install dotnet40 and apply the following small patch before starting the game: https://github.com/wine-compholio/wine-staging/blob/master/patches/ws2_32-ge...
https://bugs.winehq.org/show_bug.cgi?id=39769
--- Comment #1 from Michael Müller michael@fds-team.de --- Created attachment 53052 --> https://bugs.winehq.org/attachment.cgi?id=53052 log with WINEDEBUG=+wgl
I attached the full log with +wgl. Some interesting parts might be:
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.4.0 NVIDIA 340.96. trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4. trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4. trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
warn:wgl:is_extension_supported The function requires OpenGL version '3.3' while your drivers only provide '3.2' warn:wgl:is_extension_supported The function requires OpenGL version '4.0' while your drivers only provide '3.2' warn:wgl:is_extension_supported The function requires OpenGL version '4.0' while your drivers only provide '3.2' warn:wgl:is_extension_supported The function requires OpenGL version '4.0' while your drivers only provide '3.2' warn:wgl:is_extension_supported The function requires OpenGL version '4.0' while your drivers only provide '3.2'
https://bugs.winehq.org/show_bug.cgi?id=39769
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=39769
--- Comment #2 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Michael Müller from comment #1)
Created attachment 53052 [details] log with WINEDEBUG=+wgl
I attached the full log with +wgl. Some interesting parts might be:
trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.4.0 NVIDIA 340.96. trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4. trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4. trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
warn:wgl:is_extension_supported The function requires OpenGL version '3.3' while your drivers only provide '3.2'
Yep, also:
trace:wgl:X11DRV_wglCreateContextAttribsARB (0xd002e (nil) 0x36dfbe4) trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2091 0x3 trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2092 0x2 trace:wgl:X11DRV_wglCreateContextAttribsARB 0x2094 0x2 trace:wgl:X11DRV_wglCreateContextAttribsARB 0x9126 0x1 trace:wgl:X11DRV_wglCreateContextAttribsARB 0xd002e -> 0x1274d8
The program asks for a forward-compatible 3.2 context. Because of the forward-compatible flag, the driver returns exactly the requested version (this is allowed by the WGL_create_context spec) and that's obviously going to fail the version check.
I imagine that the same thing with the context version happens on Windows but the 3.3+ core functions turn out to be available anyway.
This specific case could be probably fixed by manually adding one (or more) entry to the alternatives[] table in wglGetProcAddress(). Not sure if that is tenable going forward...
https://bugs.winehq.org/show_bug.cgi?id=39769
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |f915f9db4cc11d58006efaa9b54 | |710020ca1f9d3 Status|NEW |RESOLVED CC| |sebastian@fds-team.de Resolution|--- |FIXED
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Fixed with http://source.winehq.org/git/wine.git/commit/f915f9db4cc11d58006efaa9b547100....
https://bugs.winehq.org/show_bug.cgi?id=39769
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.0.
https://bugs.winehq.org/show_bug.cgi?id=39769
John the.ideals@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the.ideals@gmail.com
--- Comment #5 from John the.ideals@gmail.com --- *** Bug 39697 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=39769
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=39563