Steevo Wiki

You are here: Home » linux » fedora

Linux:fedora

This is an old revision of the document!


Fedora

Nvidia drivers

dnf install akmod-nvidia
dnf install kernel-devel-xxx
akmods --force --kernels 6.xx

Post install nvidia driver

cat /etc/X11/xorg.conf.d/10-nvidia.conf
Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	Option "SLI" "Auto"
	Option "BaseMosaic" "on"
	Option "PrimaryGPU" "yes"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Option "AllowNVIDIAGPUScreens"
EndSection

Upgrade

Upgrade max to current version +2 (Ex from fc 38 to 40)

dnf system-upgrade download --releasever=40

Remove cached files after upgrade:

dnf system-upgrade clean

Check if any packages version were locked:

cat /etc/dnf/plugins/versionlock.list
# if locked:
dnf versionlock clear

Remove rhgb & quiet from kernel’s GRUB menu entry

grubby --remove-args="rhgb quiet" --update-kernel=ALL

DNS servers