2024-07-21 22:04:13 -05:00
|
|
|
sudo dnf install -y akmod-nvidia xorg-x11-drv-nvidia-cuda
|
|
|
|
echo -e "\nRemove the duplicate lines below from grub:"
|
|
|
|
echo -e "\t\"rd.driver.blacklist=nouveau,"
|
|
|
|
echo -e "\tmodprobe.blacklist=nouveau,"
|
|
|
|
echo -e "\tnvidia-drm.modeset=1\"\n"
|
|
|
|
echo -e "\n Save the file & close nvim to continue.\n"
|
2024-08-12 03:28:17 -05:00
|
|
|
kitty -1 -e bash -c "sudoedit /etc/default/grub"
|
2024-07-21 22:04:13 -05:00
|
|
|
sudo grub2-mkconfig -o /etc/grub2-efi.cfg
|
|
|
|
sudo systemctl enable nvidia-hibernate.service nvidia-suspend.service \
|
|
|
|
nvidia-resume.service nvidia-powerd.service
|