history This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ===== Fedora ===== Nvidia drivers <code > dnf install akmod-nvidia dnf install kernel-devel-xxx akmods --force --kernels 6.xx </code> === Post install nvidia driver === <code> 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 </code> Enable suspend: <code> systemctl enable nvidia-{suspend,resume,hibernate} echo "options nvidia NVreg_PreserveVideoMemoryAllocations=1 NVreg_TemporaryFilePath=/tmp" | sudo tee /etc/modprobe.d/nvidia-power-management.conf </code> ==== Upgrade ==== Upgrade max to current version +2 (Ex from fc 38 to 40) <code> dnf system-upgrade download --releasever=40 </code> Remove cached files after upgrade: <code> dnf system-upgrade clean </code> Check if any packages version were locked: <code> cat /etc/dnf/plugins/versionlock.list # if locked: dnf versionlock clear </code> === Remove rhgb & quiet from kernel’s GRUB menu entry === <code> grubby --remove-args="rhgb quiet" --update-kernel=ALL </code> === DNS servers === Check DNS: <code> systemd-resolve --status | grep "DNS Servers" </code> Flush DNS: <code> systemd-resolve --flush-caches </code> Chroot: <code> systemd-nspawn -D </code> Restore from live disk: https://docs.fedoraproject.org/en-US/quick-docs/grub2-bootloader/#_restoring_the_bootloader_using_the_live_disk File system check: https://www.freedesktop.org/software/systemd/man/latest/systemd-fsck@.service.html#Kernel%20Command%20Line Verify packages: http://ftp.rpm.org/max-rpm/s1-rpm-verify-what-to-verify.html#S2-RPM-VERIFY-A-OPTION