mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-21 06:54:28 +01:00
FIX: nvidia driver
This commit is contained in:
@@ -12,6 +12,8 @@ You should adapt user & disk settings in `disk_config/user.toml` before you buil
|
||||
|
||||
It may be necessary to create your own keys: https://github.com/CheariX/silverblue-akmods-keys
|
||||
|
||||
The kernel arguments need to be added manually: `rpm-ostree kargs --append=rd.driver.blacklist=nouveau,nova_core --append=modprobe.blacklist=nouveau,nova_core --append=nvidia-drm.modeset=1`
|
||||
|
||||
## Links
|
||||
|
||||
- [getting started](https://docs.fedoraproject.org/en-US/bootc/building-containers)
|
||||
@@ -29,6 +31,8 @@ It may be necessary to create your own keys: https://github.com/CheariX/silverbl
|
||||
- [osbuild blueprint reference](https://osbuild.org/docs/user-guide/blueprint-reference)
|
||||
- [filesystem guide](https://bootc-dev.github.io/bootc/filesystem.html)
|
||||
|
||||
It is possible to keep a revision by pinning it: `ostree admin pin 0`
|
||||
|
||||
## Installed Software
|
||||
|
||||
- man
|
||||
|
||||
@@ -22,11 +22,10 @@ rm /etc/yum.repos.d/vscode.repo
|
||||
# https://rpmfusion.org/Howto/NVIDIA
|
||||
# https://www.tecmint.com/install-nvidia-drivers-in-linux
|
||||
|
||||
dnf5 install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
||||
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
dnf5 install -y kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig \
|
||||
akmod-nvidia xorg-x11-drv-nvidia-cuda \
|
||||
libva-utils vdpauinfo
|
||||
dnf5 install -y rpmdevtools akmods
|
||||
dnf5 install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
||||
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||
dnf5 install -y akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda
|
||||
dnf5 remove -y rpmfusion-free-release rpmfusion-nonfree-release
|
||||
|
||||
dnf5 clean all
|
||||
|
||||
Reference in New Issue
Block a user