-
-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue with multiple dedicated Nvidia GPUs #2002
Comments
your setup is not something i have messed with myself but the gpu switching is handled by switcheroo you can check the gpu index using |
Thank you for answering so quickly! Well it recognizes both gpus just fine:
but I have the same problem as when I tried to select the P40 in the setup in lutris. when I put for example switcherooctl launch %command% 1 in the start options for a game in steam it still just uses gpu 0. I tried using gpu 0 as it is kind of weird nvidia-smi lists the P40 as 1 and the 1030 as 0 but mission center lists the 1030 as gpu 1 and the P40 as gpu 0. I'm wondering how it actually sets the gpu as both enviernments seem to be identical. does this only work if you have two different kinds of gpus? like an AMD gpu and a nvidia gpu? I looked at the switcherooctl script and it seems like it is just changing the envirment which in my case is the same for both gpus. I saw this in the documentation for switcherooctl: Cross-Vendor Support: Whether you have an Intel + NVIDIA or AMD + NVIDIA configuration, switcherooctl has got you covered. I noticed it doesn't list nvidia+nvidia. could that be the problem? Is there any way to set the P40 device 1 as the default gpu? if I set export MESA_VK_DEVICE_SELECT="10de:1b38" (the 10de:1b38 is the P40) and run steam I get one steamhelper process running on the P40 and everything else on the 1030. So I know it is working. just can't figure out how to have all gpu spawned processes run there. |
Maybe this has something to do with the issue?
|
Describe the bug
I have a VM in proxmox with an Nvidia 1030 and an Nvidia P40 passed through. The 1030 obviously has the monitor connected and everything in bazzite works as it should, except I can't for the life of me get anything to run on the P40. I can select the P40 in lutris when adding games. When I add games either in steam, linux or wine if I select the P40 everything always runs on the 1030. except a few games maybe one process runs on the P40. It seems like games that open multiple windows, like minecraft or games with multiple processes the first window or process is assigned to the P40 and everything else gets assigned to the 1030. Seems like everything I can find like prime-run and the like is to switch between an igpu and a dedicated gpu but I can't figure out how to switch between dedicated GPUs.
What did you expect to happen?
If I select the P40 as the gpu I would expect the processes to run on the P40 and display on the 1030. I had this setup working on a debian VM with steam.
Output of
rpm-ostree status
Hardware
cat /sys/devices/virtual/dmi/id/product_name
Standard PC (Q35 + ICH9, 2009)
Extra information or context
The text was updated successfully, but these errors were encountered: