[HELP] Nvidia 4060 doesn't work in Qubes OS

Hi all,

How do you get NVidia 4060 working with Qubes?
I’m having black screen when going to graphical manager with 4060 (with 750Ti everything worked fine).

I see in “dmesg” this:

NVIDIA AD107
gsp ctor failed: -2
probe with driver nouveau failed with error -2

I have even updated Qubes kernel from 6.12.37-1 to 6.12.42-1 but it still doesn’t work despite the fact that Noveaue does have support of Ada architecture that 4060 has.

Here are links that prove NV190 (Ada) arch support in Noveau:
https://nouveau.freedesktop.org/CodeNames.html#NV190
https://nouveau.freedesktop.org/FeatureMatrix.html

Please help to get it work.

Do you want to use it in dom0 or passthrough it to a qube?

Check the kernel that is used by dom0 (or a qube where you want to passthrough your GPU) just to be sure, run this command in the terminal:

uname -r

I’m talking about dom0 - I don’t need any passthrough now, I just want to load Qubes OS with the only GPU I have in this build.

uname shows 6.12.42-1. I updated dom0 only from the second terminal (Ctrl+Alt+F2) after my graphical display didn’t load.

Try to boot with nomodeset kernel command line argument for a test.
You can add it like this:

For what it’s worth, if you also have an iGPU, you can just blacklist the nvidia PCI devices (VGA, audio) from loading into dom0 and everything should just work™. This will also make it easier to pass it through to a VM in the future.

See section Grub modification of https://neowutran.ovh/qubes/articles/gaming_linux_hvm.html

I tried. In this case, instead of the black screen, I get thrown to the load log with the text:

Starting plymouth-quit-wait.service - Hold until boot process finishes up...

and everything hangs on this terminal (though I can open a Ctrl+Alt+F2 terminal).

Try to boot with nomodeset modprobe.blacklist=nouveau kernel command line options:

As far as I know, the last firmware does not work with RTX, You might want to rollback the firmware and lock the version in dnf. I use a RTX 4070.
look here : RTX 4070 (AD104) — Black screen after LUKS2 unlock on all kernels since early July

1 Like

Thanks to all, probably I’ll build another PC for games.
My idea was that I could switch from QubesOS to Windows and back with the same GPU, but it looks like this solution isn’t perfect.
Moreover, modern BIOSes don’t have an option to disable NVMe or a PCIe slot with an NVMe adapter, which exposes Qubes drives to Windows when it’s loaded. Unfortunately, that’s a high security risk.