Xrandr failed to get GPUs

Questions about Wine on Linux
Locked
keli5
Newbie
Newbie
Posts: 2
Joined: Thu Dec 10, 2020 2:09 pm

Xrandr failed to get GPUs

Post by keli5 »

Hello, everyone. I'm trying to run NFS Underground 2 under Wine staging 5.21 on Fedora 33. The game works fine, but occasionally crashes. After this, I have to force kill Wine with top, because I can't interact with anything in the Wine window, and after this, whenever I try to run any wine program, it gives this error:

Code: Select all

$ wine SPEED2.EXE
0158:err:xrandr:xrandr_get_screen_resources Failed to get screen resources.
0158:err:xrandr:xrandr14_get_gpus2 Failed to get gpus
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  38 (X_QueryPointer)
  Resource id in failed request:  0x2800008
  Serial number of failed request:  8
  Current serial number in output stream:  8
The only way I've been able to solve this is restarting my computer fully. I'm using Wayland, but the same happens on X.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Xrandr failed to get GPUs

Post by jkfloris »

After this, I have to force kill Wine with top
You get the same error when you close Wine with:

Code: Select all

wineserver -k
keli5
Newbie
Newbie
Posts: 2
Joined: Thu Dec 10, 2020 2:09 pm

Re: Xrandr failed to get GPUs

Post by keli5 »

I guess this is a safer method, to an extent.
Locked