From 082e434269f1809c4b7f9eac874c459233a7c077 Mon Sep 17 00:00:00 2001 From: Thierry Date: Sun, 9 Nov 2025 11:09:51 +0000 Subject: [PATCH] Update Installation_Linux_PC_HP/Rocky/Nvidia --- Installation_Linux_PC_HP/Rocky/Nvidia | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/Installation_Linux_PC_HP/Rocky/Nvidia b/Installation_Linux_PC_HP/Rocky/Nvidia index 09bd163..8831c4c 100644 --- a/Installation_Linux_PC_HP/Rocky/Nvidia +++ b/Installation_Linux_PC_HP/Rocky/Nvidia @@ -1,12 +1,27 @@ ######## # Nvidia ######## +lshw -c display +uname -r +sudo dnf update -y sudo dnf install epel-release -y sudo dnf groupinstall "Development Tools" -y -sudo dnf install kernel-devel-matched kernel-headers -y -sudo dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel10/$(uname -i)/cuda-rhel10.repo -sudo dnf clean expire-cache -sudo dnf install nvidia-open -y -sudo dnf install cuda-drivers -y +sudo dnf install kernel-devel -y +sudo dnf install kernel-headers-$(uname -r) -y +sudo dnf install dkms -y +sudo dnf install kernel-headers-$(uname -r) kernel-devel-$(uname -r) tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconf dkms -y +sudo dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel10/x86_64/cuda-rhel10.repo +sudo dnf makecache +sudo dnf install kernel-headers-$(uname -r) kernel-devel-$(uname -r) tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconfig dkms -y +sudo dnf module install nvidia-driver:latest-dkms -y +sudo yum install nvidia-detect +sudo yum install nvidia-xconfig +##sudo dnf install freeglut-devel libX11-devel libXi-devel libXmu-devel make mesa-libGLU-devel freeimage-devel libglfw3-devel -y +sudo dnf install freeglut-devel libX11-devel libXi-devel libXmu-devel make mesa-libGLU-devel -y sudo grubby --args="nouveau.modeset=0 rd.driver.blacklist=nouveau" --update-kernel=ALL +sudo dracut --regenerate-all --force +sudo depmod -a +##sudo mokutil --import /var/lib/dkms/mok.pub +sudo grub2-mkconfig -o /boot/grub2/grub.cfg +##sudo grub2-mkconfig -o /boot/efi/EFI/rocky/grub.cfg sudo reboot now \ No newline at end of file