Wine-Staging/OpenGL Issues

Everything about X, Gnome, KDE, ... and everything running on it

Wine-Staging/OpenGL Issues

Postby AmblestonDack » 2017-08-31 18:10

Hi guys,

Need some help with an issue I have with Wine-Staging/OpenGL. I have an Nvidia GeForce GT 630 graphics card installed with Nvidia driver 375.82 installed on Debian Buster. I am running Wine Staging 2.15 and when I run World of Warcraft it says the following error: -

err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems


I run glxgears and I see the gears with no issues, so I am assuming that OpenGL is working OK. I've asked on the wine forum and they say its an OpenGL GFX card issue, but I have no idea where to start.

Any help really appreciated.

EmyrB
AmblestonDack
 
Posts: 34
Joined: 2015-04-21 09:51
Location: Wales, UK

Re: Wine-Staging/OpenGL Issues

Postby stevepusser » 2017-08-31 18:51

I'm surprised the Wine forum didn't suggest the following solution right off--it's not like it isn't the most common issue on 64-bit with wine gaming!

Are you running a 32-bit wine-staging on a 64-bit Debian? This is very common for Win apps in wine; Steam games also present the exact same issue and have the same solution, which is to enable multiarch for i386 and install the :i386 (32-bit) versions of whatever openGL libraries your proprietary driver provides:

Code: Select all
apt install libgl1-nvidia-glx:i386


glxgears is also a poor way to check if your openGL is working--it seems to work just fine, even if your openGL is totally broken and it has to fall back on software rendering. Plus it doesn't check rendering for 32-bit apps, just 64-bit for a 64-bit system. There's a better one in a package called "virtualgl", which is the glxspheres or glxspheres64 benchmark, but virtualgl is unfortunately not in Debian--I had to port the package over myself for the MX Linux repo.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.4.2, Liquorix kernel 4.12-6, mpv 0.26.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8691
Joined: 2009-10-06 05:53

Re: Wine-Staging/OpenGL Issues

Postby AmblestonDack » 2017-09-01 17:25

Thanks for the reply stevepusser.

stevepusser wrote:I'm surprised the Wine forum didn't suggest the following solution right off--it's not like it isn't the most common issue on 64-bit with wine gaming!


They helped me install the libgl.so.1:i386 package and when that didn't solve the issue, they suggested I ask here.

Are you running a 32-bit wine-staging on a 64-bit Debian?


Yes.

apt install libgl1-nvidia-glx:i386


When I try and install the above I get the following: -

Code: Select all
The following additional packages will be installed:
  libnvidia-glcore:i386
The following packages will be REMOVED:
  libgl1-glvnd-nvidia-glx libgl1-glvnd-nvidia-glx:i386 libgl1-nvidia-glvnd-glx
The following NEW packages will be installed:
  libgl1-nvidia-glx:i386 libnvidia-glcore:i386


Should I be removing the above nvidia packages?

Cheers

Ambleston
AmblestonDack
 
Posts: 34
Joined: 2015-04-21 09:51
Location: Wales, UK

Re: Wine-Staging/OpenGL Issues

Postby stevepusser » 2017-09-01 18:40

Hmmm...obviously the wiki needs to be updated for Stretch. I don't really know what will happen if the Vulkan (vlnd) libraries are replaced on Stretch with the Mesa equivalents. I do know doing that worked fine on my Jessie-based system and the Nvidia driver 375.66 version, though. It looks like you will also have to manually install your Mesa 64-bit libgl1-ndivia-glx package, too. You could try an experiment after backing up your system, though...or maybe somebody else that's solved the issue will chime in. You can't be the only one that's encountered this. Maybe WOW just doesn't support Vulkan? Can you run any other 32-bit 3D game in Wine, such as Space Engine? (free, and that's all I have in Wine)

I'm helping with the preliminary development of the Stretch-based MX 17, though, and no doubt will face the issue myself on my Optimus system, so will try to find an answer. We have a tool to install the Nvida closed drivers that may have to be changed to account for the Vulkan GLX packages.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.1.0, Pale Moon 27.4.2, Liquorix kernel 4.12-6, mpv 0.26.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8691
Joined: 2009-10-06 05:53

Re: Wine-Staging/OpenGL Issues

Postby AmblestonDack » 2017-09-02 17:19

Strange thing is, that WoW was working fine until I updated it to patch 7.3. My son is also running WoW through Wine Staging and his install worked with no hitch, but then he's running Ubuntu 16.04 LTS. At least now I know why they asked me to come here and ask.
AmblestonDack
 
Posts: 34
Joined: 2015-04-21 09:51
Location: Wales, UK

Re: Wine-Staging/OpenGL Issues

Postby AmblestonDack » 2017-09-04 08:27

Installed SpaceEngine and that fails to load as well with

Code: Select all
err:wgl:X11DRV_WineGL_InitOpenglInfo  couldn't initialize OpenGL, expect problems
wine: Unhandled page fault on read access to 0x00000000 at address (nil) (thread 003a), starting debugger...
AmblestonDack
 
Posts: 34
Joined: 2015-04-21 09:51
Location: Wales, UK


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable