I’m trying to follow this guide but not understanding it completely as each part fails for different reasons. I am new to qubes and trying out different things to learn. I’m using qubes 4.2 with kernel 6.10.10-1.
When I try to RpmFusion Packages and Download packages inside of my personal qube (this seems to fit the requirement of being fedora based and not dom0). I get the following error:
Error in resolve of packages:
xorg-x11-drv-nvidia-3:560.35.03-5.fc40.x86_64
Problem: package xorg-x11-drv-nvidia-3:560.35.03-5.fc40.x86_64 from rpmfusion-nonfree-updates requires /usr/sbin/grubby, but none of the providers can be installed
- package grubby-dummy-9.0.0-4.fc40.noarch from qubes-vm-r4.2-current obsoletes grubby < 9.0.0 provided by grubby-8.40-75.fc40.x86_64 from fedora
- package sdubby-1.0-8.fc40.noarch from fedora conflicts with grubby provided by grubby-dummy-9.0.0-4.fc40.noarch from qubes-vm-r4.2-current
- package sdubby-1.0-11.fc40.noarch from updates conflicts with grubby provided by grubby-dummy-9.0.0-4.fc40.noarch from qubes-vm-r4.2-current
- problem with installed package grubby-dummy-9.0.0-4.fc40.noarch
- installed package grubby-dummy-9.0.0-4.fc40.noarch obsoletes grubby < 9.0.0 provided by grubby-8.40-75.fc40.x86_64 from fedora
- package sdubby-1.0-8.fc40.noarch from fedora conflicts with grubby provided by grubby-dummy-9.0.0-4.fc40.noarch from @System
- package sdubby-1.0-11.fc40.noarch from updates conflicts with grubby provided by grubby-dummy-9.0.0-4.fc40.noarch from @System
- conflicting requests
The guide then says Manual Installation. Is this either I do the RpmFusion or Manual or is it both?
I tried to do the manual installation, I have the NVIDIA-Linux-x86_64-560.120.run inside dom0 and when I run it with the same arguments as this document it errors with unrecognized option: "--extract" so I dropped it.
That gets the installer running but then it says that it can’t find cc in the path. Running which gcc says there’s no gcc in the path. If I run sudo dnf install libgcc, it says its already installed. There’s no gcc in the repos and the guides for installing gcc in fedora use dnf groupinstall "Development Tools" which says its not available.
Can anyone help me through this process please? I’m reposting what I wrote on that thread to try get more visibility
New driver works after removing grubby, but now Qubes gui doesn’t work. It might have something to do with my stuff, but the github issue you refer to says that grubby may break packages.
I will post my attempt starting from a clean template, just to make sure.
If we consider using the rpmfusion way then you have to build a package in the app qube, transfer the built package to dom0 and install it there.
The grubby package conflict is occurring in the app qube when you try to build the package for dom0.
So you can just remove the grubby-dummy in the app qube before building the package, there is no need to remove it from the app qube’s template which will break the Qubes GUI.
Thanks to all the replies. Still haven’t managed to install the driver.
I installed gcc but now I get the error
ERROR: Unable to find the kernel source tree for the currently running kernel.
Please make sure you have installed the kernel source files for your
kernel and that they are properly configured; on Red Hat Linux systems,
for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
installed. If you know the correct kernel source files are installed,
you may specify the kernel source path with the '--kernel-source-path'
command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
I searched for this error and it indicates that the linux headers need to be installed. Searching again for how to do this in qubes doesn’t turn up anything useful. Any suggestions would be great
Hi. Did you manage to find a way to make Nvidia GPU + Nvidia driver work on fedora VM? I tried to install it in different fedora versions, different kernels, but after installing the Nvidia driver, the gui disappears for everything in the VM. It starts, you can send commands via qvm-run, but nothing related to the gui works.