Quadro M4000 driver installation fails

Building the kernel module fails on Proxmox 7.1-1. Is there something I’m doing wrong?

I tried having a look at the installation log, I’m seeing a couple errors but it’s mostly alien language to me.

Can someone help?

Here’s my machine specs :

Mb : Asus prime x370 pro
Cpu : Amd Ryzen 1300x
Ram : 8gb xpg spectrix
SSD : Silicon power 256gb

Here’s the installation log :
nvidia-installer.log (435.5 KB)

Thanks for your time.

Driver 460 is too old for kernel 5.15.

wich driver version should i use then?

latest, 515