Skip to content

Installing NVIDIA drivers #993

Answered by pbrezina
pbrezina asked this question in Q&A
Dec 21, 2024 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

So... the problem main problem was that akmods do not work correctly with bootc and the akmods.service is skipped because ConditionPathExists=!/run/ostree-booted.

However, the module was not even built during container build. Installation of akmod-nvidia errors out (but the whole dnf transaction completes so it took me a long time to find this):

[75/79] Installing akmod-nvidia-3:565.7 100% | 1.3 MiB/s | 91.4 KiB | 00m00s >>> Running post-install scriptlet: akmod-nvidia-3:565.77-1.fc41.x86_64 >>> Non-critical error in post-install scriptlet: akmod-nvidia-3:565.77-1.fc41.x >>> Scriptlet output: >>> Building /usr/src/akmods/nvidia-kmod-565.77-1.fc41.src.rpm for kernel 6.12.5 >>> ERROR: Not t…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@pbrezina
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by pbrezina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants