Page 1 of 1

WINE help

Posted: 14 Dec 2019, 23:41
by AzimuthFE
I realise there are more specialised places to ask this, but this forum has been supportive so far so here goes. Whenever I try to run a 3d application on WINE (Debian Stretch) I get this:

Code: Select all

0009:err:wgl:init_opengl Failed to load libGL: libGL.so.1: cannot open shared object file: No such file or directory
0009:err:wgl:init_opengl OpenGL support is disabled.
Eyefinity configuration query failed for display index 0.

Doing a search on my system for libGL.so.1 shows:

Code: Select all

/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.7.0
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.7.0
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
/usr/lib/x86_64-linux-gnu/libGL.so.1
so I definitely have the libraries installed. Any ideas?

Re: WINE help

Posted: 15 Dec 2019, 00:19
by Chris
If you're running a 32-bit app, you also need the 32-bit GL drivers. The package for that depends on your hardware. It would also be a good idea to install (32-bit and 64-bit) Vulkan drivers, if your hardware is capable.

Re: WINE help

Posted: 15 Dec 2019, 03:13
by AzimuthFE
When I try to install lib1-nvidia-glx it introduces a bunch of conflicts. How do I find the correct package and have them side-by-side? Thanks

Re: WINE help

Posted: 17 Dec 2019, 01:59
by Chris
For nVidia on Debian, you'll want to install the 'nvidia-driver' and 'nvidia-driver-libs-i386:i386' packages (as well as 'nvidia-vulkan-icd:i386' if you want Vulkan support and have a card that supports it). For other distros, you'll need to search for how to install 32-bit OpenGL libs on a 64-bit system.

Re: WINE help

Posted: 19 Dec 2019, 16:38
by AzimuthFE
That's the trouble. Aptitude wants me to remove 66 packages, including xserver ones. I'm worried my system will break if I do this. Is it safe to proceed with this?

Re: WINE help

Posted: 20 Dec 2019, 03:06
by Chris
AzimuthFE wrote: 19 Dec 2019, 16:38 That's the trouble. Aptitude wants me to remove 66 packages, including xserver ones. I'm worried my system will break if I do this. Is it safe to proceed with this?
Probably not. Have you configured apt for multiarch support, to get both 64-bit and 32-bit packages?

Re: WINE help

Posted: 20 Dec 2019, 18:11
by AzimuthFE
Yes, dpkg --print-foreign-architectures show i386. There seems to be four packages that are causing problems for nvidia-driver-libs:i386

Code: Select all

The following packages have unmet dependencies:
 libegl1 : Breaks: libegl1:i386 (!= 1.1.0-1+b1) but 1.1.0-1 is to be installed
 libegl1:i386 : Depends: libglvnd0:i386 (= 1.1.0-1) but 1.1.0-1+b1 is installed
                Breaks: libegl1 (!= 1.1.0-1) but 1.1.0-1+b1 is installed
 libopengl0 : Breaks: libopengl0:i386 (!= 1.1.0-1+b1) but 1.1.0-1 is to be installed
 libopengl0:i386 : Depends: libglvnd0:i386 (= 1.1.0-1) but 1.1.0-1+b1 is installed
                   Breaks: libopengl0 (!= 1.1.0-1) but 1.1.0-1+b1 is installed
 libgles1 : Breaks: libgles1:i386 (!= 1.1.0-1+b1) but 1.1.0-1 is to be installed
 libgles1:i386 : Depends: libglvnd0:i386 (= 1.1.0-1) but 1.1.0-1+b1 is installed
                 Breaks: libgles1 (!= 1.1.0-1) but 1.1.0-1+b1 is installed
 libgles2 : Breaks: libgles2:i386 (!= 1.1.0-1+b1) but 1.1.0-1 is to be installed
 libgles2:i386 : Depends: libglvnd0:i386 (= 1.1.0-1) but 1.1.0-1+b1 is installed
                 Breaks: libgles2 (!= 1.1.0-1) but 1.1.0-1+b1 is installed

Re: WINE help

Posted: 22 Dec 2019, 21:49
by AzimuthFE
Update: As a last resort, I tried the lib1-glx with apt-get instead of aptitude. It worked, but now I'm worried that the 64bit libraries have been replaced with 32bit versions. Is there a log file that shows what was added/removed during an apt-get installation?