You are not logged in.

#1 2021-01-15 10:25:21

iskandr
Member
Registered: 2011-05-06
Posts: 41

[SOLVED] Use Gnome with Wayland despite secondary NVIDIA GPU

Hello,

I'm a Gnome user on an AMD GPU (Radeon RX 580). I've been running Gnome per default under Wayland for some time, so far without any major issues (which unfortunately can not be said for X11 sessions)

Recently I've become interested in photogrammetry, which, alas, almost always requires a CUDA-capable GPU. I don't really want to upgrade my main GPU at this point, especially not to an NVIDIA card. So my idea was to buy an old NVIDIA card and put it in my PC beside my regular AMD GPU only to utilize its CUDA-cores and without actually connecting it to my monitors,

I got my hands on a Quadro K2000 for cheap and tried the aforementioned approach. Fortunately, on system boot, the Radeon is correctly recognized as my primary GPU. The photogrammetry software Meshroom also recognizes my NVIDIA GPU to use it for CUDA computations.

Unfortunately, however, Wayland is now no longer an option in GDM after installing the NVIDIA driver. I tried to enable KMS with amdgpu, but that didn't help and I'm stuck with X11 for now. With X11, for some reason, I can't use shell extensions (like user theme), which is unrelated to the second GPU.

Does anyone have an idea how I could make gdm ignore my NVIDA GPU and give me Wayland as an option, since it is not involved in any rendering at all? Blacklisting the nvidia driver would probably make CUDA unusable, defeating the whole purpose of having the additional NVIDIA card in the first place.

Thanks in advance for your help.

Last edited by iskandr (2021-01-15 10:47:15)

Offline

#2 2021-01-15 10:45:55

iskandr
Member
Registered: 2011-05-06
Posts: 41

Re: [SOLVED] Use Gnome with Wayland despite secondary NVIDIA GPU

I feel stupid now, the solution was simply to comment out

# disable Wayland when using the proprietary nvidia driver
#DRIVER=="nvidia", RUN+="/usr/lib/gdm-disable-wayland"

in /usr/lib/udev/rules.d/61-gdm.rules

this thread can be closed

Last edited by iskandr (2021-01-15 10:47:31)

Offline

Board footer

Powered by FluxBB