Lutris doesn't use GPU when run with nvidia-offload

For whatever reason when I run nvidia-offload lutris the games that I launch do not detect my Nvidia GPU despite detecting it.
However nvidia-offload glxgears uses the GPU.

Lutris is a bit of a middle man here, I’m guessing it doesn’t pass on the environment variables that nvidia-offload sets to the application it launches.

You’ll probably have to get lutris to add nvidia-offload to the command it executes.

1 Like

Ohhh I’ll try that when I get to my desk. Thanks!