[SOLVED] Nvidia drivers

Nobody_65

New Member
Apr 28, 2024
5
0
1
Hello everybody, the executable "NVIDIA-Linux-x86_64-530.30.02.run" doesn't install the drivers for the following reason:
" make[1]: Entering directory '/usr/src/linux-headers-5.15.149-1-pve'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 10.2.1-6) 10.2.1 20210110
You are using: cc (Debian 10.2.1-6) 10.2.1 20210110
SYMLINK /tmp/selfgz10915/NVIDIA-Linux-x86_64-530.30.02/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz10915/NVIDIA-Linux-x86_64-530.30.02/kernel/nvidia-modeset/nv-modeset-kernel.o
............."
Apparently there's no difference between the compilers versions.
Thanks for any help.

PS: Proxmox version 7.4-17
 
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 10.2.1-6) 10.2.1 20210110
You are using: cc (Debian 10.2.1-6) 10.2.1 20210110

It says kernel was built with gcc but you have cc. Which are the same compiler, cc is normally a symlink to gcc, but I guess NVidia's script doesn't know that. I am not sure what to do about it, I don't use NVidia because of nonsense like this. One thing to try would be:

Code:
update-alternatives --config cc

Make sure that cc is set to /usr/bin/gcc.
 
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Debian 10.2.1-6) 10.2.1 20210110
You are using: cc (Debian 10.2.1-6) 10.2.1 20210110

It says kernel was built with gcc but you have cc. Which are the same compiler, cc is normally a symlink to gcc, but I guess NVidia's script doesn't know that. I am not sure what to do about it, I don't use NVidia because of nonsense like this. One thing to try would be:

Code:
update-alternatives --config cc

Make sure that cc is set to /usr/bin/gcc.
This is the response: "There is only one alternative in link group cc (providing /usr/bin/cc): /usr/bin/gcc
Nothing to configure."
 
Solved! All I had to do was use another installation file: "NVIDIA-Linux-x86_64-550.78.run" instead of "NVIDIA-Linux-x86_64-530.30.02.run".
Nvidia drivers installation is a very clumsy process.
Thank you for your help.

P.S: I got an old gt 1050
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!