-
Hi, I can't find a way to correctly install nvidia drivers. The packages are installed (from rpmfusion):
But the module is not loaded, the system is still using nouveau:
I suppose I need to add kernel arguments to disable nouveau But even if I put the line manually in grub menu, I get Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
If you use the bootc kargs, changing them in a new container image build will affect the system across upgrades. That's most of the point of the interface. |
Beta Was this translation helpful? Give feedback.
-
You can create per-machine layers derived from a common base, or use kickstart (or bootc install kargs) to configure per-machine kargs.
|
Beta Was this translation helpful? Give feedback.
-
So... the problem main problem was that akmods do not work correctly with bootc and the akmods.service is skipped because 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):
Additionally, installing kmod-nvidia does not help, since this is only a metapackage that pulls in akmod-nvidia anyway. I found this workaround:
Then modify /boot/loader/entries and add |
Beta Was this translation helpful? Give feedback.
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):