-
Notifications
You must be signed in to change notification settings - Fork 48
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
Weird crashes on system with dual NVIDIA dGPUs under GNOME 44 Wayland #82
Comments
Looking at the However, it also looks like you can add a "mutter-device-preferred-primary" udev tag to force it to use a particular device. See https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1562 |
Hi. Thank you for your response. Looking at the lspci output, the 750 Ti seems to be on bus 23:00.0, while the 1660 Super is on bus 2d:00.0. This means that the 750 Ti gets priority when loading the firmware, since it is connected to the chipset, which is the first thing that gets initialized on boot. Could that be the issue? |
Could we perhaps test that theory by simply swapping the two cards? |
I don't know what's wrong, it seems like I'm doing everything properly, yet my setting is ignored. Here's the udev rule being applied at boot, I checked with udevadm and it reports the right values:
Yet
|
The only other thing I can think of would be to apply the tag to the render node (/dev/dri/renderDXXX) instead of or in addition to the primary node (/dev/dri/card1). If that doesn't work, it might be worth bringing this up with the GNOME devs. They would probably be able to provide more informed guidance. Oh yeah, I should also mention that the |
I'll try applying it to RenderD129 instead then. I'll get back with the results asap. |
Nothing, same error:
I'll forward the issue to the GNOME devs. EDIT: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6734 |
Hello. I am having an issue that is closely related to issue #78.
I am using GNOME 44 under Fedora 38, with the latest NVIDIA drivers from RPMFusion.
My computer has two GPUs; the first one is a 1660 Super, which is connected to the first PCIe slot and handles all of my screens, while the second one is a 750 Ti, which I mainly use for small CUDA workloads and for encoding on OBS on Windows.
Since I was thinking about moving from Windows to Linux, I decided to give Fedora a try. I installed it, got the NVIDIA drivers installed through RPMFusion, and it restarted fine.
I noticed though that most of the apps wouldn't start up, instead showing the edges of the windows for a split second before disappearing. I tried switching to X11 and that did fix the issue, but since my main screen runs at a high refresh rate, switching to it would mean having the UI locked at 60Hz.
I switched back to Wayland, and following the log output from
journalctl -f
while running one of the applications that crash, I see this error:Firefox seems to give out more info, claiming that more than one GPU from the same vendor was detected via PCI.
Checking
inxi -Fzx
, I see that Wayland is running on the system with no GPUs connected to it.I then proceeded to disable the 750 Ti manually, by doing
sudo nvidia-smi drain -p 0000:23:00.0 -m 1
, and the output frominxi
changed to this:Weirdly enough though, all the applications that kept crashing earlier, now work fine. Checking with
nvidia-smi
, they also seem to be rendering on the right GPU with all the screens connected to it:My question is, is there a way to force Wayland to use a specific GPU as the main one? Having to disable the 750 Ti means losing my secondary device for CUDA/encoding, which I need for specific workloads.
Full specs of my computer:
AMD Ryzen 5900X @ 5GHz
MSI MPG X570 Gaming Edge WiFi
NVIDIA GeForce GTX 1660 Super
NVIDIA GeForce GTX 750 Ti
NVIDIA driver 3:530.41.03-1.fc38
Fedora 38 Workstation w/ GNOME 44
Installed Wayland packages:
The text was updated successfully, but these errors were encountered: