OpenGL errors after system update in Arch Linux

Questions about Wine on Linux
Post Reply
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

OpenGL errors after system update in Arch Linux

Post by Time4Tea »

Hi, I did a full system update in Arch Linux a couple of days ago and now I am getting the following error when I try to run games in Wine:

Code: Select all

$ env WINEPREFIX="/home/sandbox/.wine32_test" wine ./nwmain.exe 
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:err:ole:apartment_add_dll couldn't load in-process dll L"a3dapi.dll"
0024:err:ole:com_get_class_object no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  251
  Current serial number in output stream:  252
(trying to run Neverwinter Nights 1 here in a fresh Wine prefix)

Outside of Wine, OpenGL appears to be working fine: glxinfo, glxgears seem fine and native Linux games seem to be working. So, the issue seems to clearly be with Wine.

I am using an Nvidia GTX 1050 and I have updated to Wine 9.1 and tried creating a fresh prefix (no DXVK etc). Does anyone have any suggestions for what might be causing this?
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: OpenGL errors after system update in Arch Linux

Post by Time4Tea »

Ah, 64 bit games are working in my 64-bit prefix. But the 32-bit prefixes are giving the error.

Hmm .... maybe it's something to do with the 32-bit drivers/Nvidia packages.
Time4Tea
Level 3
Level 3
Posts: 56
Joined: Sat Apr 25, 2020 11:32 am

Re: OpenGL errors after system update in Arch Linux

Post by Time4Tea »

Yeah, I hadn't updated the `lib32-nvidia-utils` package, which obviously contains some 32-bit compatibility libraries. Problem solved!
Post Reply