http://bugs.winehq.org/show_bug.cgi?id=33407
Bug #: 33407 Summary: OGS Mahjong can't use OpenGL Product: Wine Version: 1.5.28 Platform: x86 URL: http://opengamestudio.org/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: otaku@rambler.ru Classification: Unclassified
The only string in terminal: "err:wgl:glxdrv_wglShareLists Could not share display lists, one of the contexts has been current already !" Message in error window: "Your video card or driver doesn't support OpenGL. We know of the problem, we described possible solutions on our web page. Do you want to see it?" Choosing "Yes" shows a web page which tells me just that native video drivers of Windows doesn't support OpenGL and i must download the driver from site of my video card manufacturer. Xubuntu 12.10, GeForce GT 630 (driver ver. 313.18)
http://bugs.winehq.org/show_bug.cgi?id=33407
ax 34noff otaku@rambler.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |otaku@rambler.ru
http://bugs.winehq.org/show_bug.cgi?id=33407
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr 2013-04-17 13:14:27 CDT --- Did you install the 32 bits version of your driver?
http://bugs.winehq.org/show_bug.cgi?id=33407
--- Comment #2 from ax 34noff otaku@rambler.ru 2013-04-18 03:46:18 CDT --- Yes, my Xubuntu, WINE and all drivers are 32bit (x86), otherwise i would specify "Platform" as "x86-64".
http://bugs.winehq.org/show_bug.cgi?id=33407
--- Comment #3 from Austin English austinenglish@gmail.com 2013-04-18 11:04:11 CDT --- Please attach the full terminal output.
http://bugs.winehq.org/show_bug.cgi?id=33407
--- Comment #4 from ax 34noff otaku@rambler.ru 2013-04-18 11:17:29 CDT --- Created attachment 44209 --> http://bugs.winehq.org/attachment.cgi?id=44209 full terminal output
http://bugs.winehq.org/show_bug.cgi?id=33407
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #5 from Austin English austinenglish@gmail.com 2013-04-18 12:22:28 CDT --- [austin@localhost ~]$ sha1sum ogs-mahjong-1.0.1-windows32.exe 2adff1f8f811a2aabf9600101fa42011bdfc4330 ogs-mahjong-1.0.1-windows32.exe [austin@localhost ~]$ du -h ogs-mahjong-1.0.1-windows32.exe 41M ogs-mahjong-1.0.1-windows32.exe [austin@localhost ~]$ wine --version wine-1.5.28-66-g6899279
confirming.
http://bugs.winehq.org/show_bug.cgi?id=33407
--- Comment #6 from Matteo Bruni matteo.mystral@gmail.com 2013-04-18 16:22:11 CDT --- Created attachment 44210 --> http://bugs.winehq.org/attachment.cgi?id=44210 Patch
(In reply to comment #0)
The only string in terminal: "err:wgl:glxdrv_wglShareLists Could not share display lists, one of the contexts has been current already !"
That was it. Essentially, in WGL you can make a context share its resources with another context at any point in time, while with GLX you can only do that at context creation time. In Wine we simply recreate the context from scratch, but that works only if it hasn't been used in the meantime.
This program, for some reason, creates a new context, makes it current, then restores the previous context and proceeds to call wglShareLists on the new context. This is enough to make our check fail although the new context wasn't really "used".
I'm not sure what is actually allowed in WGL, but in any case there is no good way for us to know whether a context was used besides the check currently in place. As it stands, this patch (which makes this program work for me) is just a hack and there might be no good way of solving this.
http://bugs.winehq.org/show_bug.cgi?id=33407
Ori Avtalion ori@avtalion.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ori@avtalion.name
--- Comment #7 from Ori Avtalion ori@avtalion.name --- I see a similar error when running Hearthstone.
Console says: err:wgl:glxdrv_wglShareLists Could not share display lists, one of the contexts has been current already !
Error window: GLContext: failed to share context 10001: Success. Screen: could not setup GL for resolution (1920x1080 fs=1 hz=0 window=65940) GLContext: failed to share context 10002: Success. Screen: could not setup GL for resolution (1920x1067 fs=0 hz=60 window=65940)
https://bugs.winehq.org/show_bug.cgi?id=33407
Nicky nheart@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nheart@gmail.com
--- Comment #8 from Nicky nheart@gmail.com --- wine-staging includes this hack.
https://bugs.winehq.org/show_bug.cgi?id=33407
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
--- Comment #9 from super_man@post.com --- (In reply to Nicky from comment #8)
wine-staging includes this hack.
As far as I see this is actually a dupe of staged bug report.
Bug 11436
https://bugs.winehq.org/show_bug.cgi?id=33407
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED
--- Comment #10 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to super_man from comment #9)
(In reply to Nicky from comment #8)
wine-staging includes this hack.
As far as I see this is actually a dupe of staged bug report.
Bug 11436
Indeed, the staged patch makes the app start. Assuming duplicate.
*** This bug has been marked as a duplicate of bug 11436 ***
https://bugs.winehq.org/show_bug.cgi?id=33407
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com --- Closing duplicate bugs.