Thanks for pointing to the vGPU-Unlock-patcher! I tried to get this to work. For it, I had to update the patch.sh file to include the L40S parameters:
this however is just one profile of the L40S.
Then I included the NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm package and ran the patch and then ./nvidia-installer --dkms -m=kernel.
Sadly, it gave another error:
In the log, there are a ton of errors.
I found the patch github has a discord server. There I noticed that another user had a similar experience. All installed well, but mdevctl types empty with L40S and ProxMox 8.
Sadly, in his last post, while he says it's solved, he mentioned he went back to PVE 7.4 with kernel 6.2.16-20-bpo11-pve and host driver 535.183.04. That's quite the pain to do, as there is no rollback from 8 -> 7, but only full wipe and reinstall...
Code:
vcfgclone ${TARGET}/vgpuConfig.xml 0x26B5 0x176F 0x26B9 0x0000 # L40S
Then I included the NVIDIA-Linux-x86_64-535.161.05-vgpu-kvm package and ran the patch and then ./nvidia-installer --dkms -m=kernel.
Sadly, it gave another error:
Code:
Unable to load the kernel module 'nvidia-vgpu-vfio.ko'. This happens most frequently when this kernel
module was built against the wrong or improperly configured kernel sources, with a version of gcc that
differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and
prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device
installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file
'/var/log/nvidia-installer.log' for more information.
In the log, there are a ton of errors.
I found the patch github has a discord server. There I noticed that another user had a similar experience. All installed well, but mdevctl types empty with L40S and ProxMox 8.
Sadly, in his last post, while he says it's solved, he mentioned he went back to PVE 7.4 with kernel 6.2.16-20-bpo11-pve and host driver 535.183.04. That's quite the pain to do, as there is no rollback from 8 -> 7, but only full wipe and reinstall...