From ab653f98771b94ad642868a8d2b0eda56316311f Mon Sep 17 00:00:00 2001 From: PolloLoco Date: Sun, 25 Feb 2024 22:11:48 +0100 Subject: [PATCH] Update guide with 16.4 (535.161.05) patch --- 535.161.05.patch | Bin 0 -> 11365 bytes README.md | 27 ++++++++++++++------------- 2 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 535.161.05.patch diff --git a/535.161.05.patch b/535.161.05.patch new file mode 100644 index 0000000000000000000000000000000000000000..140c2e8e349e1f9947315532a5d9132eebf47203 GIT binary patch literal 11365 zcmeHNeQ+G*dEe8W>_Z4vCd5@K#G6KKBy8Dt6R@q=&fNM=_Ivip$Utm?Z5&CKu)swc zap#XI1YP&e(sp};G6kDVJ1zal)YEo|ARr$aSvp%-k|9mN&L1wBNowBAFs+qhuC=dm;>jL7yb~dHYK&T|y{9rS zi;H~12jZ75$y?z9=pd zlpzNz^vMACktD_@(7mc8@^(jZrBe_bk@M)zzbk87J@L~KcRVG= z2e1TFe;!P1t$Gm*3j_3r<7A1yl+b)nu9-!Lo-%twDny!N2&7^f`f9XqyKCZ8V(b}w zgsL)P>=<5TZ5@EG4{8S`aKcpo9kOE8bQ&(A)j!_TUZOJLQgnm3W1HOhEbg zs=}8eS%4)&n?vCrdDK53X z30Tnpbq$jJ@wRPA`kqFa8{l0`yU)!9%tlUNj4u8We>uHF0ae5PCBlf`L!YKnbcI;Q z^B!xq&tUHmG6Gm!$B$t5!ySW7_hs zSj%bMg8y@YZo%*BAYj4qRAgah3(XIy*4FUas{2YKnQcM!wlZ&ucsAv0%4_F5o4j_; zn?YU{j=J;m14gtS;z)b^k)leH**ccFQ8x@5V-2g^c^O-nm$CcuFt&kd>)cg!rIELE z+ucTfD9a)Y#boe+oxua2ib3Vq@HFp~bPT>eA39HhGa<63V{qX&=;b!?=;OUbi~sQ1 z-;(Ggg^S2`@#x_Ja?H_7MbZNJhbNCmFIDrG)R#w@@)Cr1 zvScVaNqb7{+z#3o3Ffl+>F`q%f3*jjydeBI(>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z#^X|A8XQqQkQEP2Fqy@*tj!>r z&Gqx*SI2c&kb*Y_In?T-En|5C3l8r!=~(#49J1QK;ZRT>eFT+x%-u}C;5ev}wlBIO z*AFXAeq7`aD-C$yre8m!!%m(*tkhEv(_j_39{ebTCf#qHq$zagX3m8Vk6`jHV={B* zx1FTp|4 zNHtEF>FeLlj=`1Hu*jl8c<(0;Rwji+KdW?>PPjBs?|}VyulqOrpl! zw=gdSSxxaDQ&eMH#)BBEJnDAfmlf$XBnb0_ka*cBPsGaf>&_do&NR`7Z~i3wYXD!2 z6Co~;^t*^edSIG1mOy|dp*jZN@H$5Ei7re`|B&YBH~xC5?E`<@EHPHUwMC4u_|EK! zA1}@M1v*bt;C?Myi&T>z{$r*cBw2C^@<*;H-5pkE|2x3LTO8V(;2Q<(#8yzR~8;+Z@!kUjIGg j#5zYouNRdSCsj&jy;WRtkk)r - 14.3 (510.108.03) > - 14.2 (510.85.03) -You can choose which of those you want to use, but generally its recommended to use the latest, most up-to-date version (16.2 in this case). +You can choose which of those you want to use, but generally its recommended to use the latest, most up-to-date version (16.4 in this case). If you have a vGPU qualified GPU, you can use other versions too, because you don't need to patch the driver. However, you still have to make sure they are compatible with your proxmox version and kernel. Also I would not recommend using any older versions unless you have a very specific requirement. @@ -287,11 +288,11 @@ I've created a small video tutorial to find the right driver version on the NVID ![Video Tutorial to find the right driver](downloading_driver.mp4) -After downloading, extract the zip file and then copy the file called `NVIDIA-Linux-x86_64-DRIVERVERSION-vgpu-kvm.run` (where DRIVERVERSION is a string like `535.129.03`) from the `Host_Drivers` folder to your Proxmox host into the `/root/` folder using tools like FileZilla, WinSCP, scp or rsync. +After downloading, extract the zip file and then copy the file called `NVIDIA-Linux-x86_64-DRIVERVERSION-vgpu-kvm.run` (where DRIVERVERSION is a string like `535.161.05`) from the `Host_Drivers` folder to your Proxmox host into the `/root/` folder using tools like FileZilla, WinSCP, scp or rsync. -### ⚠️ From here on, I will be using the 16.2 driver, but the steps are the same for other driver versions +### ⚠️ From here on, I will be using the 16.4 driver, but the steps are the same for other driver versions -For example when I run a command like `chmod +x NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm.run`, you should replace `535.129.03` with the driver version you are using (if you are using a different one). You can get the list of version numbers [here](#nvidia-driver). +For example when I run a command like `chmod +x NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run`, you should replace `535.161.05` with the driver version you are using (if you are using a different one). You can get the list of version numbers [here](#nvidia-driver). Every step where you potentially have to replace the version name will have this warning emoji next to it: ⚠️ @@ -303,8 +304,8 @@ Every step where you potentially have to replace the version name will have this > > ⚠️ > ```bash -> chmod +x NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm.run -> ./NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm.run --dkms +> chmod +x NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run +> ./NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run --dkms > ``` > > To finish the installation, reboot the system @@ -320,21 +321,21 @@ Now, on the proxmox host, make the driver executable ⚠️ ```bash -chmod +x NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm.run +chmod +x NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run ``` And then patch it ⚠️ ```bash -./NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm.run --apply-patch ~/vgpu-proxmox/535.129.03.patch +./NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm.run --apply-patch ~/vgpu-proxmox/535.161.05.patch ``` That should output a lot of lines ending with ``` -Self-extractible archive "NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm-custom.run" successfully created. +Self-extractible archive "NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm-custom.run" successfully created. ``` -You should now have a file called `NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm-custom.run`, that is your patched driver. +You should now have a file called `NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm-custom.run`, that is your patched driver. ### Installing the driver @@ -342,7 +343,7 @@ Now that the required patch is applied, you can install the driver ⚠️ ```bash -./NVIDIA-Linux-x86_64-535.129.03-vgpu-kvm-custom.run --dkms +./NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm-custom.run --dkms ``` The installer will ask you `Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later.`, answer with `Yes`. @@ -351,7 +352,7 @@ Depending on your hardware, the installation could take a minute or two. If everything went right, you will be presented with this message. ``` -Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 535.129.03) is now complete. +Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64 (version: 535.161.05) is now complete. ``` Click `Ok` to exit the installer.