Guest User

nvidia-vgpu-vfio.c

a guest
Apr 3rd, 2022
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. $ chmod +x NVIDIA-Linux-x86_64-460.73.01-grid.run
  2. $ ./NVIDIA-Linux-x86_64-460.73.01-grid.run -x
  3. Creating directory NVIDIA-Linux-x86_64-460.73.01-grid
  4. Verifying archive integrity... OK
  5. Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 460.73.01............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
  6. $ wget https://raw.githubusercontent.com/wvthoog/nvidia_vgpu_proxmox_7/main/proxmox515.patch
  7. --2022-04-03 18:05:28-- https://raw.githubusercontent.com/wvthoog/nvidia_vgpu_proxmox_7/main/proxmox515.patch
  8. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
  9. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
  10. HTTP request sent, awaiting response... 200 OK
  11. Length: 15637 (15K) [text/plain]
  12. Saving to: ‘proxmox515.patch’
  13.  
  14. proxmox515.patch 100%[==============================================================================================>] 15.27K --.-KB/s in 0.002s
  15.  
  16. 2022-04-03 18:05:28 (6.84 MB/s) - ‘proxmox515.patch’ saved [15637/15637]
  17.  
  18. $ cd NVIDIA-Linux-x86_64-460.73.01-grid/
  19. $ patch -p0 < ../proxmox515.patch
  20. patching file ./kernel/conftest.sh
  21. Hunk #1 succeeded at 4735 with fuzz 2 (offset -76 lines).
  22. patching file ./kernel/Kbuild
  23. Hunk #1 succeeded at 75 with fuzz 1 (offset 3 lines).
  24. patching file ./kernel/nvidia/nv-frontend.c
  25. patching file ./kernel/nvidia/nvidia.Kbuild
  26. Hunk #1 succeeded at 212 (offset -6 lines).
  27. patching file ./kernel/nvidia/os-interface.c
  28. can't find file to patch at input line 60
  29. Perhaps you used the wrong -p or --strip option?
  30. The text leading up to this was:
  31. --------------------------
  32. |diff -Naur ./kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c ./kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c
  33. |--- ./kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c 2021-09-29 11:48:19.000000000 +0200
  34. |+++ ./kernel/nvidia-vgpu-vfio/nvidia-vgpu-vfio.c 2022-03-07 09:17:32.186959884 +0100
  35. --------------------------
  36. File to patch:
Advertisement
Add Comment
Please, Sign In to add comment