-
-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Qubes OS release
4.2.3
Brief summary
It is impossible to install certain nvidia dGPU drivers in fedora qubes. At least akmod-nvidia 3:560.35.03-1.fc40.x86_64 (and fc39, but EOL is coming) and xorg-x11-drv-nvidia-3:560.35.03-5.fc40.x86_64 are affected.
Steps to reproduce
- Get nvidia card that needs aforementioned drivers
- Install
fedora-40-xfcetemplate, update - Prepare the standalone (set your own pcidevs):
{% if grains['id'] == 'dom0' %}
nvidia-driver--create-qube:
qvm.vm:
- name: f40-standalone-nvdrv
- present:
- template: fedora-40-xfce
- label: yellow
- mem: 4000
- maxmem: 0
- vcpus: 4
- class: StandaloneVM
- prefs:
- label: yellow
- virt_mode: hvm
- kernel:
- mem: 4000
- maxmem: 0
- vcpus: 4
- class: StandaloneVM
- pcidevs: ['01:00.0','01:00.1']
- features:
- set:
- menu-items: xfce4-terminal.desktop
{% elif grains['id'] == 'f40-standalone-nvdrv' %}
nvidia-driver--enable-repo:
cmd.run:
- name: dnf config-manager --enable rpmfusion-{free,nonfree}{,-updates}
{% endif %}
- Start it up (you may have to use console, on my machine gui agent doesn't work at this stage)
- Try to install
akmod-nvidia
Expected behavior
Software installs as usual, proceed to waiting for akmod to build
Actual behavior
Last metadata expiration check: 0:46:44 ago on Sat Nov 2 20:19:16 2024.
Dependencies resolved.
=============================================================================================================
Package Arch Version Repository Size
=============================================================================================================
Installing:
akmod-nvidia x86_64 3:550.67-1.fc40 rpmfusion-nonfree 40 k
Installing dependencies:
akmods noarch 0.5.8-8.fc40 fedora 32 k
bison x86_64 3.8.2-7.fc40 fedora 1.0 M
cmake-filesystem x86_64 3.28.2-1.fc40 fedora 18 k
egl-gbm x86_64 2:1.1.2^20240919gitb24587d-3.fc40 updates 21 k
egl-wayland x86_64 1.1.17^20241016git0cd471d-3.fc40 updates 44 k
elfutils-libelf-devel x86_64 0.192-4.fc40 updates 47 k
flex x86_64 2.6.4-16.fc40 fedora 299 k
kernel-devel x86_64 6.11.5-200.fc40 updates 21 M
kernel-devel-matched x86_64 6.11.5-200.fc40 updates 183 k
kmodtool noarch 1.1-10.fc40 fedora 16 k
libgit2 x86_64 1.7.2-4.fc40 updates 543 k
libssh2 x86_64 1.11.0-4.fc40 fedora 130 k
libzstd-devel x86_64 1.5.6-1.fc40 updates 52 k
llhttp x86_64 9.2.1-1.fc40 updates 33 k
m4 x86_64 1.4.19-9.fc40 fedora 305 k
nvidia-modprobe x86_64 3:550.67-1.fc40 rpmfusion-nonfree 32 k
nvidia-settings x86_64 3:550.67-1.fc40 rpmfusion-nonfree 1.6 M
openssl x86_64 1:3.2.2-3.fc40 updates 1.1 M
openssl-devel x86_64 1:3.2.2-3.fc40 updates 2.8 M
python3-argcomplete noarch 3.5.1-1.fc40 updates 96 k
python3-babel noarch 2.16.0-1.fc40 updates 6.5 M
python3-click-plugins noarch 1.1.1-19.fc40 fedora 17 k
python3-progressbar2 noarch 3.53.2-11.fc40 fedora 72 k
python3-pygit2 x86_64 1.14.0-1.fc40 fedora 286 k
python3-rpmautospec-core noarch 0.1.5-1.fc40 updates 15 k
python3-typing-extensions noarch 4.12.2-2.fc40 updates 89 k
python3-utils noarch 3.7.0-3.fc40 fedora 69 k
rpmdevtools noarch 9.6-7.fc40 fedora 96 k
time x86_64 1.9-23.fc40 fedora 47 k
xorg-x11-drv-nvidia x86_64 3:550.67-1.fc40 rpmfusion-nonfree 126 M
xorg-x11-drv-nvidia-kmodsrc x86_64 3:550.67-1.fc40 rpmfusion-nonfree 44 M
xorg-x11-drv-nvidia-libs x86_64 3:550.67-1.fc40 rpmfusion-nonfree 59 M
zlib-ng-compat-devel x86_64 2.1.7-2.fc40 updates 38 k
Installing weak dependencies:
python3-rpmautospec noarch 0.7.3-1.fc40 updates 74 k
xorg-x11-drv-nvidia-cuda-libs x86_64 3:550.67-1.fc40 rpmfusion-nonfree 41 M
xorg-x11-drv-nvidia-power x86_64 3:550.67-1.fc40 rpmfusion-nonfree 103 k
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
sdubby noarch 1.0-8.fc40 fedora 18 k
sdubby noarch 1.0-11.fc40 updates 19 k
Skipping packages with broken dependencies:
akmod-nvidia x86_64 3:560.35.03-1.fc40 rpmfusion-nonfree-updates 42 k
xorg-x11-drv-nvidia x86_64 3:560.35.03-5.fc40 rpmfusion-nonfree-updates 133 M
Transaction Summary
=============================================================================================================
Install 37 Packages
Skip 4 Packages
Total download size: 307 M
Installed size: 776 M
Is this ok [y/N]:
Other notes and links
It is possible to delete grubby-dummy. In that case akmod-nvidia builds and seems to be functional, but gui agent doesn't work. It may not work for the same reason it stops working after the third reproduction step and may require its own issue, I don't have this figured out yet. Keep in mind that for akmod to build you must extend /tmp/: default 1 GB is not enough. You can use my salt state to reproduce everything after the deletion of grubby-dummy.
It should be possible to install older driver version, since it doesn't have this problem with dependencies. I tried, and it only works if driver was installed before and I haven't updated yet. This most likely can be solved by rolling back the kernel on a new system. Who cares? This is old version of the driver and kernel anyway, I expect them to be deprecated at some point.
Related forum posts: