DirectX 9 or later is required + failed to load libGL: libGL.so.1

Questions about Wine on Linux
Locked
hgabor84
Level 2
Level 2
Posts: 47
Joined: Mon Nov 27, 2017 5:06 pm

DirectX 9 or later is required + failed to load libGL: libGL.so.1

Post by hgabor84 »

Hi,

I need some help for playing some games on debian 11 x64 (Gnome) with wine. After installing wine and try to launch any windows based games it just sends to me the same:

Wine window: "DirectX 9 or later is required" + in terminal: "failed to load libGL: libGL.so.1"

I've tried installing DicrectX 9 from some game installers and also with using winetricks but nothing helped yet.

The computer has got an NVIDIA Geforce 750 Ti graphics card with the official NVIDIA driver version 470.141.03 installed from debian wiki page without any problems: https://wiki.debian.org/NvidiaGraphicsDrivers.

Regards,

Gabor
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: DirectX 9 or later is required + failed to load libGL: libGL.so.1

Post by jkfloris »

You are probably trying to run a 32-bit Windows program. This requires the 32-bit version of libGL.so.1. You can install it with:

Code: Select all

sudo apt install libgl1:i386
hgabor84
Level 2
Level 2
Posts: 47
Joined: Mon Nov 27, 2017 5:06 pm

Re: DirectX 9 or later is required + failed to load libGL: libGL.so.1

Post by hgabor84 »

jkfloris wrote: Mon Dec 12, 2022 5:34 am You are probably trying to run a 32-bit Windows program. This requires the 32-bit version of libGL.so.1. You can install it with:

Code: Select all

sudo apt install libgl1:i386
Thanks for your help but this package is already installed in my system.
hgabor84
Level 2
Level 2
Posts: 47
Joined: Mon Nov 27, 2017 5:06 pm

Re: DirectX 9 or later is required + failed to load libGL: libGL.so.1

Post by hgabor84 »

UPDATE:

I needed to run this:

sudo apt install nvidia-driver-libs:i386

Now its working! :-)
hgabor84
Level 2
Level 2
Posts: 47
Joined: Mon Nov 27, 2017 5:06 pm

Re: DirectX 9 or later is required + failed to load libGL: libGL.so.1 (SOLVED)

Post by hgabor84 »

hgabor84 wrote: Sun Dec 11, 2022 4:15 pm Hi,

I need some help for playing some games on debian 11 x64 (Gnome) with wine. After installing wine and try to launch any windows based games it just sends to me the same:

Wine window: "DirectX 9 or later is required" + in terminal: "failed to load libGL: libGL.so.1"

I've tried installing DicrectX 9 from some game installers and also with using winetricks but nothing helped yet.

The computer has got an NVIDIA Geforce 750 Ti graphics card with the official NVIDIA driver version 470.141.03 installed from debian wiki page without any problems: https://wiki.debian.org/NvidiaGraphicsDrivers.

Regards,

Gabor
hgabor84
Level 2
Level 2
Posts: 47
Joined: Mon Nov 27, 2017 5:06 pm

Re: DirectX 9 or later is required + failed to load libGL: libGL.so.1 (SOLVED)

Post by hgabor84 »

hgabor84 wrote: Sun Dec 11, 2022 4:15 pm Hi,

I need some help for playing some games on debian 11 x64 (Gnome) with wine. After installing wine and try to launch any windows based games it just sends to me the same:

Wine window: "DirectX 9 or later is required" + in terminal: "failed to load libGL: libGL.so.1"

I've tried installing DicrectX 9 from some game installers and also with using winetricks but nothing helped yet.

The computer has got an NVIDIA Geforce 750 Ti graphics card with the official NVIDIA driver version 470.141.03 installed from debian wiki page without any problems: https://wiki.debian.org/NvidiaGraphicsDrivers.

Regards,

Gabor
Locked