OpenGL version?

Questions about Wine on macOS.
Locked
ethantheepic42
Newbie
Newbie
Posts: 1
Joined: Sat Jun 14, 2014 10:57 am

OpenGL version?

Post by ethantheepic42 »

I downloaded the game SpaceEngine which requires that I have openGL version of at least 3.0. I have checked, and my Mac has 3.3. unfortunately, when I open SpaceEngine in Wine it says, "You have obsolete openGL version (2.1). Update your graphics card or install compatible hardware." This makes me think that Wine runs its own openGL, and that it's openGL 2.1. If this is the case, does anybody know how to update it? Any help would be appreciated.

Computer: 21.5" iMac, late 2009
Graphics: ATI Radeon HD 4760 256MB
RAM: 4GB
Processor: 3.06GHz Intel i3
OS: Mac OS X 10.9.2 Mavericks
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: OpenGL version?

Post by olivierfrdierick »

Basically, if you have a Linux OpenGL ABI compliant libGL (http://oss.sgi.com/projects/ogl-sample/ABI/) installed on your computer, you should have everything that is needed.
3D (OpenGL Support) works. Note that due to Apple's X11 often being outdated, we recommend you install XQuartz, available since 10.5 Leopard, which closely follows Xorg development. Since OSX 10.5.7, Apple X11 may be good and recent enough for wine 3D usage.
Seems to me that Wine uses whatever openGL driver is available.

Source: WineHQ - Wine and OpenGL, MacOSX/FAQs - The Official Wine Wiki
doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: OpenGL version?

Post by doh123 »

X11 is using Mesa for OpenGL, which is behind on OpenGL support. As far as I know the current Mesa in XQuartz only supports OpenGL 2.1 still. I know there are some newer version of Mesa supporting OpenGL 3.1 now, when they make it into XQuartz (I'm pretty sure this is already in XQuartz, but it still always seems to say OpenGL 2.1 in support)... but pretty much right now with Wine on OSX and X11, your stuck with OpenGL 2.1.

I have no clue if the Mac Driver supports something newer though... if you use that instead of X11.

Another problem on OS X is it has by default a compatibility mode only supporting OpenGL 2.1... and the software has to be written specifically to NOT use that mode to get higher OpenGL versions... I have no idea if the Wine Mac Driver does this or sticks to compatibility mode.
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: OpenGL version?

Post by olivierfrdierick »

But you still can try and run SpaceEngine by disabling checking of critical errors at startup. Open main.cfg and change value of this parameter to 'true':

IgnoreCriticalCheck true // ignore checking of OpenGL version and critical extensions supporting
While XQuartz reports only opengl 2.1 support its opengl 3 support might be enough to run your app. This workaround is worth a try.

Source: Troubleshooting - SpaceEngine 0.96 - Forum
Locked