Votre Nom 3 months ago
parent
commit
ba98bddd02
2 changed files with 11 additions and 8 deletions
  1. 5 5
      ksource.txt
  2. 6 3
      update_cuda.sh

+ 5 - 5
ksource.txt

@@ -1,5 +1,5 @@
-KHeader=linux-headers-5.15.164-custom_5.15.164-custom-1_amd64.deb
-KImage=linux-image-5.15.164-custom_5.15.164-custom-1_amd64.deb
-KLibc=linux-libc-dev_5.15.164-custom-1_amd64.deb
-KLversion=5.15.164-custom
-kernel_version=kernel_5.15.164-custom.run
+KHeader=linux-headers-5.15.165-custom_5.15.165-custom-1_amd64.deb
+KImage=linux-image-5.15.165-custom_5.15.165-custom-1_amd64.deb
+KLibc=linux-libc-dev_5.15.165-custom-1_amd64.deb
+KLversion=5.15.165-custom
+kernel_version=kernel_5.15.165-custom.run

+ 6 - 3
update_cuda.sh

@@ -13,16 +13,19 @@ if [ ! -f /home/wareck/.cuda_install ]
 then
 then
 if [ ! -f cuda_12.4.1_550.54.15_linux.run ]
 if [ ! -f cuda_12.4.1_550.54.15_linux.run ]
 then
 then
-wget -c https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run
+#wget -c https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run
+wget -c https://developer.download.nvidia.com/compute/cuda/12.6.0/local_installers/cuda_12.6.0_560.28.03_linux.run
 fi
 fi
-chmod +x cuda_12.4.1_550.54.15_linux.run
+#chmod +x cuda_12.4.1_550.54.15_linux.run
+chmod +x cuda_12.6.0_560.28.03_linux.run
 sudo service lightdm stop
 sudo service lightdm stop
 touch /home/wareck/.cuda_install
 touch /home/wareck/.cuda_install
 sudo init 3
 sudo init 3
 fi
 fi
 echo "Updating ..."
 echo "Updating ..."
 sudo rm /tmp/.X1-lock
 sudo rm /tmp/.X1-lock
-sudo ./cuda_12.4.1_550.54.15_linux.run --silent --driver
+#sudo ./cuda_12.4.1_550.54.15_linux.run --silent --driver
+sudo ./cuda_12.6.0_560.28.03_linux.run --silent --driver
 sudo rm /home/wareck/.cuda_install
 sudo rm /home/wareck/.cuda_install
 
 
 if [ -f .foxy ]
 if [ -f .foxy ]