http://bugs.winehq.org/show_bug.cgi?id=30270
Bug #: 30270 Summary: Wine doesn't detect opengl/wgl extensions anymore Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl AssignedTo: wine-bugs@winehq.org ReportedBy: christian.frank@gmx.de Classification: Unclassified
Created attachment 39542 --> http://bugs.winehq.org/attachment.cgi?id=39542 +wgl,+opengl debug while starting steam
Hi,
with wine 1.5.0 the detecion of opengl extensions does not work anymore it seems.
When starting Steam i get the following error messages:
err:wgl:is_extension_supported No OpenGL extensions found, check if your OpenGL setup is correct!
My opengl setup is correct, games work fine.
Attached find a +wgl,+opengl debug trace.
Hope this helps.
Christian
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2012-03-25 13:36:13 CDT --- Does 1.4 or earlier actually work for you? I don't think there have been significant changes to the relevant code recently.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #2 from Christian christian.frank@gmx.de 2012-03-25 14:13:04 CDT --- Hi Henri,
I will try wine 1.4 tomorrow. But looking at the 1.5.0 changelog there are a view patches which could cause such issues imho :
wined3d: The current WGL DC should never be NULL in wined3d_adapter_init_gl_caps(). wined3d: Introduce a separate function for parsing the GL extension string. wined3d: Use the same code for parsing the WGL extension string as for the regular GL extension string. wined3d: Move the WGL extension detection code to the same place as regular GL extension detection.
What do you think ?
btw, i use fedora 16 32bit now but have seen the same error message on opensuse 12.1 64bit.
Best regards, Christian
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #3 from Henri Verbeet hverbeet@gmail.com 2012-03-25 14:25:39 CDT --- Those should only touch wined3d.
http://bugs.winehq.org/show_bug.cgi?id=30270
Michael McGuire spoon0042@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spoon0042@hotmail.com
--- Comment #4 from Michael McGuire spoon0042@hotmail.com 2012-03-25 16:30:55 CDT --- I noticed this too but I think it's not a wine bug as I'm pretty sure it started with a Steam update rather than a wine update. From the log it seems to be probing various extensions, for example:
trace:wgl:wglGetProcAddress (glActiveTexture) trace:wgl:wglGetCurrentContext returning (nil) trace:wgl:is_extension_supported Checking for extension 'GL_VERSION_1_3' err:wgl:is_extension_supported No OpenGL extensions found, check if your OpenGL setup is correct! warn:wgl:wglGetProcAddress Extension 'GL_VERSION_1_3' required by function 'glActiveTexture' not supported! trace:wgl:wglGetProcAddress func: 'glActiveTexture' trace:wgl:wglGetProcAddress returning function (0x200a1970)
It could be the problem is just wine outputting a misleading error message, I don't know for sure though. Steam seems to work fine regardless.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2012-03-26 03:28:16 CDT --- It might very well be a Wine bug, but I don't think it's a regression.
http://bugs.winehq.org/show_bug.cgi?id=30270
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adamklobukowski@gmail.com
--- Comment #6 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2012-03-26 08:21:13 CDT --- *** Bug 30278 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #7 from Christian christian.frank@gmx.de 2012-03-26 11:03:39 CDT --- just wanting to confirm that this is not a regression. It also happens in wine 1.4 rc 3.
Not sure why steam checks for opengl extensions at all in the new version ?!?
http://bugs.winehq.org/show_bug.cgi?id=30270
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
gonaslund@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gonaslund@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #8 from gonaslund@gmail.com 2012-03-28 02:40:30 CDT --- I can confirm this bug on wine 1.5 running on archlinux 64 bits with Radeon 5770 using the open source gallium drivers
http://bugs.winehq.org/show_bug.cgi?id=30270
Sebastian nil094@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nil094@yahoo.com
--- Comment #9 from Sebastian nil094@yahoo.com 2012-04-02 04:52:07 CDT --- Has there been any update? I see that this problem persists on Ubuntu pangolin (using wine 1.4), with steam.
http://bugs.winehq.org/show_bug.cgi?id=30270
James Eder jimportal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jimportal@gmail.com
--- Comment #10 from James Eder jimportal@gmail.com 2012-04-02 11:51:50 CDT --- err:wgl:is_extension_supported No OpenGL extensions found, check if your OpenGL setup is correct!
This happens because in dlls/opengl32/wgl.c wine_glGetString takes this path
/* this is for buggy nvidia driver, crashing if called from a different thread with no context */ if(wglGetCurrentContext() == NULL) return NULL;
The check has been there since mid 2008 (d6a6b88f1904783157245cae0b3f5a8d3de1ec20). I don't know much about how all this works but it does crash without the check. I wonder (with my uneducated guessing) if it would be better for Wine to try harder to work around the "buggy nvidia driver" behavior rather than simply failing.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #11 from Sebastian nil094@yahoo.com 2012-04-02 12:29:44 CDT --- (In reply to comment #10)
err:wgl:is_extension_supported No OpenGL extensions found, check if your OpenGL setup is correct!
This happens because in dlls/opengl32/wgl.c wine_glGetString takes this path
/* this is for buggy nvidia driver, crashing if called from a different thread with no context */ if(wglGetCurrentContext() == NULL) return NULL;
The check has been there since mid 2008 (d6a6b88f1904783157245cae0b3f5a8d3de1ec20). I don't know much about how all this works but it does crash without the check. I wonder (with my uneducated guessing) if it would be better for Wine to try harder to work around the "buggy nvidia driver" behavior rather than simply failing.
Interesting concept, care to create a patch?
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #12 from James Eder jimportal@gmail.com 2012-04-02 14:21:36 CDT --- (In reply to comment #11)
Interesting concept, care to create a patch?
Unfortunately I don't know enough about the way things work to do so.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #13 from Henri Verbeet hverbeet@gmail.com 2012-04-02 15:28:42 CDT --- If this is the first time glGetString(GL_EXTENSIONS) is called there may not be much we can do at all. If internal_gl_extensions is already initialized you can probably return that, but even in that case it seems somewhat questionable to call glGetString() without a current WGL context.
http://bugs.winehq.org/show_bug.cgi?id=30270
Luke Bratch l_bratch@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |l_bratch@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=30270
Fab netfab@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |netfab@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
Loris Zinsou the-lz-himself@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the-lz-himself@orange.fr
--- Comment #14 from Loris Zinsou the-lz-himself@orange.fr 2012-05-04 12:19:56 CDT --- Any news on this issue ? I am getting the same output while starting Steam, either on my Intel integrated graphics or my nvidia M 540 GT. My optimus configuration is obviously correct (no problems running native 64 or 32 bit openGL apps).
Could this be related to that bug : http://bugs.winehq.org/show_bug.cgi?id=28730 ? It was tagged as a VirtualGL bug, but since virtualGL has been fixed (et least the graphics/threading part), this may finally be a Wine bug.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #15 from Loris Zinsou the-lz-himself@orange.fr 2012-05-04 12:25:20 CDT --- (sorry for the double post) I thought about this because Rage fails complaining about missing opengl extensions, while these are present in the used drivers.
If steam and rage complain about the same issue, on both optimus and non optimus computers, is it possible that would be a long standing bug in the way wine exposes openGL extensions to the apps ? (which is only triggered in some cases, like new steam version or optimus gaming ?)
http://bugs.winehq.org/show_bug.cgi?id=30270
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle@yahoo.fr
http://bugs.winehq.org/show_bug.cgi?id=30270
Roderick Colenbrander thunderbird2k@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thunderbird2k@gmail.com
--- Comment #16 from Roderick Colenbrander thunderbird2k@gmail.com 2012-05-07 16:32:50 CDT --- I think wglGetProcAddress itself is the issue. You are not supposed to call it without a valid WGL context. I have a patch somewhere to fix the behavior, but it had issues with wined3d at the time. I can have a look at it again and clean it up. Hopefully I have some time this week..
http://bugs.winehq.org/show_bug.cgi?id=30270
Gilboa Davara gilboad@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gilboad@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #17 from Loris Zinsou the-lz-himself@orange.fr 2012-05-08 05:30:09 CDT --- I would be glad to help testing new wine builds (If I can get it to compile on Ubuntu 12.04 64bit). As you may already know, since my only computer is laptop with nvidia optimus, I always encountered bugs with OpenGL apps in wine, but Direct3D ones run fine. And most OpenGL 32 or 64 native apps run fine too.
People assumed that something was wrong with virtualGL (the piece of software behind bumblebee, which enables optimus cards on linux), because at this time that was the only configuration that triggered bugs (setPixelFormat bug in OpenGL apps, OpenGL extensions detection failing...) but now it seems everybody has these kind of errors.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #18 from Loris Zinsou the-lz-himself@orange.fr 2012-05-13 14:36:56 CDT --- Wine still fails to detect openGL with the 1.5.4 update. I will attach my error log.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #19 from Loris Zinsou the-lz-himself@orange.fr 2012-05-13 14:45:04 CDT --- Created attachment 40165 --> http://bugs.winehq.org/attachment.cgi?id=40165 wine trace (Intel Sandy Bridge)
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #20 from Loris Zinsou the-lz-himself@orange.fr 2012-05-13 14:45:55 CDT --- Created attachment 40166 --> http://bugs.winehq.org/attachment.cgi?id=40166 wine trace (nvidia M540 GT Optimus)
http://bugs.winehq.org/show_bug.cgi?id=30270
Loris Zinsou the-lz-himself@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40165|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=30270
Loris Zinsou the-lz-himself@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40166|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #21 from Loris Zinsou the-lz-himself@orange.fr 2012-05-18 10:38:30 CDT --- Any news on this issue ?
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #22 from Sebastian nil094@yahoo.com 2012-05-20 10:11:51 CDT --- (In reply to comment #21)
Any news on this issue ?
Wouldn't bet my money on it, but I did find something out: After a somewhat heated debatte on #winehq on freenode (if you've been there that day, you might already know what I mean), it's possible that Ubuntu is the issue here.
Ubuntu has been "upgrading" its ia32-libs package, that'd usually provide backwards compatibility to 32bit applications on a 64bit installation, to use a relatively unstable handcrafted multiarch package. As it turns out, wine seems to assume that ia32-libs is installed (the ia32-libs package on ubuntu is just a dummy transitional package), but will not be able to detect the newer multiarch environment.
So, it's partly ubuntu and partly wine to blame. That's as far as I got. Sorry, but I will keep my eyes and ears open ;-)
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #23 from Rosanne DiMesio dimesio@earthlink.net 2012-05-20 13:40:01 CDT --- (In reply to comment #22)
it's possible that Ubuntu is the issue here.
The OR is using 32 bit Fedora, and comment 8 indicates this is also a problem on ArchLinux.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #24 from Gilboa Davara gilboad@gmail.com 2012-05-21 02:44:07 CDT --- (In reply to comment #23)
(In reply to comment #22)
it's possible that Ubuntu is the issue here.
The OR is using 32 bit Fedora, and comment 8 indicates this is also a problem on ArchLinux.
I can confirm that Fedora 16 / x86_64 exhibits the same issue.
- Gilboa
http://bugs.winehq.org/show_bug.cgi?id=30270
Robert draekmus@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |draekmus@gmail.com
--- Comment #25 from Robert draekmus@gmail.com 2012-05-22 12:22:41 CDT --- I've had this issue as well (Fedora 17 "Beefy Miracle" x86_64, Radeon HD 5250 with open drivers), but I do wonder about something:
Recent rumors point towards Valve developing a native Linux client for Steam. I just wonder if this bug might be connected with this development.
This issue seems heavily related to Steam, so logic suggests that the problem might be there.
Perhaps WINE and Ubuntu aren't the problem, but the updates that are making Steam more OpenGL dependent? If we had an older Steam client to test, I'd say to try it, then see what happens.
Anyways, I do wonder if this bug will be bypassed or repaired, but I personally doubt WINE's the problem here... although, I'm no programmer.
http://bugs.winehq.org/show_bug.cgi?id=30270
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #26 from Sylvain Petreolle spetreolle@yahoo.fr 2012-05-22 15:07:48 CDT --- (In reply to comment #25)
This issue seems heavily related to Steam, so logic suggests that the problem might be there.
Rage also complains about that, see comment 15.
http://bugs.winehq.org/show_bug.cgi?id=30270
Hugo Osvaldo Barrera hugo@osvaldobarrera.com.ar changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugo@osvaldobarrera.com.ar
--- Comment #27 from Hugo Osvaldo Barrera hugo@osvaldobarrera.com.ar 2012-05-26 01:49:36 CDT --- I can confirm that this also happens on ArchLinux amd64, using the Nvidia binary blob.
http://bugs.winehq.org/show_bug.cgi?id=30270
John Schmitt marmalodak@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |marmalodak@gmail.com
--- Comment #28 from John Schmitt marmalodak@gmail.com 2012-05-29 11:06:55 CDT --- FWIW, on Fedora 16 I worked around this problem by uninstalling my rpmfusion nVidia driver and installed an atrpms nvidia driver. This resolved this issue for me for all GL apps.
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #29 from Loris Zinsou the-lz-himself@orange.fr 2012-05-30 11:30:35 CDT --- Still nothing useful to workaround this bug in Ubuntu 12.04. My graphics stack is from the xorg-edgers repository.
Nobody even knows where this bug is located ? (Wine, graphics drivers ?)
http://bugs.winehq.org/show_bug.cgi?id=30270
Max synthead1@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |synthead1@gmail.com
--- Comment #30 from Max synthead1@gmail.com 2012-06-03 22:12:46 CDT --- (In reply to comment #27)
I can confirm that this also happens on ArchLinux amd64, using the Nvidia binary blob.
Same with Intel integrated graphics: 00:02.0 VGA compatible controller: Intel Corporation N10 Family Integrated Graphics Controller
The appropriate "lib32" packages necessary to normally fix this problem are already installed (to the best of my knowledge).
http://bugs.winehq.org/show_bug.cgi?id=30270
Mark I. pilota51@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pilota51@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
Robert Walker robert_mt_walker@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robert_mt_walker@yahoo.co.u | |k
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #31 from Loris Zinsou the-lz-himself@orange.fr 2012-06-25 10:31:58 CDT --- This bug is still in Wine 1.5.7
http://bugs.winehq.org/show_bug.cgi?id=30270
--- Comment #32 from Roderick Colenbrander thunderbird2k@gmail.com 2012-06-26 15:05:10 CDT --- I have added some Wine fixes related to OpenGL extension loading. You will now see a warning message.
In my testing I found Steam to be plain stupid since it really tries to load OpenGL functions before OpenGL is up. On my system using Nouveau Steam starts fine even with Steam doing stupid stuff. Later on Steam initializes GL properly.
I can't say what the real problem is you guys are seeing, but I doubt the GL extension stuff is related.
http://bugs.winehq.org/show_bug.cgi?id=30270
Trevor Hardcastle chizu@spicious.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chizu@spicious.com
--- Comment #33 from Trevor Hardcastle chizu@spicious.com 2012-07-03 17:30:38 CDT --- Steam and other Source games work for me, but I have this problem starting DotA 2 on 1.5.7. The game runs but displays nothing, menus are clickable and sound works.
http://bugs.winehq.org/show_bug.cgi?id=30270
ahervella999@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ahervella999@gmail.com
--- Comment #34 from ahervella999@gmail.com 2012-07-04 14:26:16 CDT --- I've been having the same problem launching my steam games. It always seems to have a hard time detecting my graphics card. I've been trying each wine update with no success. I hope this is resolved soon.
http://bugs.winehq.org/show_bug.cgi?id=30270
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gyebro69@gmail.com
--- Comment #35 from GyB gyebro69@gmail.com 2012-07-07 12:50:55 CDT --- The error messages when starting up Steam are no longer present for me since Wine 1.5.8, and that was thanks to http://source.winehq.org/git/wine.git/commitdiff/c9962bbb581057b0f06473d3360...
I doubt that this bug had any side effect regarding Steam games. At least I couldn't find a game in my Steam library which misbehaved due to this.
Fedora 17 x86 Wine 1.5.8 Nvidia 250 / driver 295.59
http://bugs.winehq.org/show_bug.cgi?id=30270
Hugo Osvaldo Barrera hugo@osvaldobarrera.com.ar changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|hugo@osvaldobarrera.com.ar |
http://bugs.winehq.org/show_bug.cgi?id=30270
Anton anton.zajtsev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anton.zajtsev@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
Loris Zinsou the-lz-himself@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #40166|0 |1 is obsolete| |
--- Comment #36 from Loris Zinsou the-lz-himself@orange.fr 2012-08-31 15:28:29 CDT --- Created attachment 41539 --> http://bugs.winehq.org/attachment.cgi?id=41539 Nex trace for Rage (Steam version), wine 1.5.11, virtualGL 2.4 pre
This is my new trace for Rage. I hope this will be more useful than the previous one. I still don't know what's going on here, but VirtualGl works on pbuffers, which are transported from an xserver to the other. VirtualGL 2.4pre should now handle openGL direct contexts, and there's still something whrong with the "pixel format" thing, especially this part : "warn:wgl:X11DRV_wglChoosePixelFormatARB Compatible Pixel Format not found trace:wgl:glxdrv_wglDescribePixelFormat (0x3d4,0,40,0x1542db8) warn:wgl:glxdrv_wglDescribePixelFormat unexpected format 0 trace:wgl:glxdrv_wglSetPixelFormat (0x3d4,0,0x1542db8) err:wgl:glxdrv_wglSetPixelFormat Invalid iPixelFormat: 0 " This error is shown even out of the debug mode.
http://bugs.winehq.org/show_bug.cgi?id=30270
Michal Suchanek hramrach@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hramrach@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=30270
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #37 from joaopa jeremielapuree@yahoo.fr 2012-11-12 00:04:31 CST --- This bug can be closed as FIXED. http://source.winehq.org/git/wine.git/commitdiff/c9962bbb581057b0f06473d3360...
http://bugs.winehq.org/show_bug.cgi?id=30270
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #38 from Austin English austinenglish@gmail.com 2012-11-12 03:03:45 CST --- (In reply to comment #35)
The error messages when starting up Steam are no longer present for me since Wine 1.5.8, and that was thanks to http://source.winehq.org/git/wine.git/commitdiff/c9962bbb581057b0f06473d3360...
I doubt that this bug had any side effect regarding Steam games. At least I couldn't find a game in my Steam library which misbehaved due to this.
Fedora 17 x86 Wine 1.5.8 Nvidia 250 / driver 295.59
Fixed.
http://bugs.winehq.org/show_bug.cgi?id=30270
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #39 from Alexandre Julliard julliard@winehq.org 2012-11-23 14:30:41 CST --- Closing bugs fixed in 1 5.18.
http://bugs.winehq.org/show_bug.cgi?id=30270
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |c9962bbb581057b0f06473d3360 | |631ed130b4bfc