Lutris using the wrong GPU

I have an Intel CPU with built-in Intel graphics (Intel Graphics HD 4000), plus an Nvidia GTX-1050 add-on GPU. However Lutris only detects the built-in GPU, which is pretty useless for gaming. Other apps such as Steam do detect and use the Nvidia with no problem. How do I force Lutris to do this correctly?

I’m using an up-to-date Fedora 36 with the proprietary Nvidia driver. Lutris is lutris-0.5.11-1.fc36.x86_64. I’m not using any special prefixes.

Update: I used switcheroo to force the use of the correct GPU, and Lutris recognises this in Preferences->Hardware. However now I can’t use the GOG source. If I start Lutris on the internal GPU I get the GOG login screen, but using the Nvidia GPU I just see a blank panel and an error on the console: GLXBadFBConfig

1 Like