Hello,
I recently upgraded my Ubuntu to 24.04 and I decided to have my vintage GeForce 820M up and running for some old school CUDA programming. After 24 hours of trials and frustration I am almost there but the 390 driver is not helping me at all. Here a recap of what I did:
switch TTY (CTRL+ALT+F3)
sudo service gdm stop
I touched /etc/modprobe.d/blacklist-nouveau.conf and wrote
blacklist nouveau
options nouveau modeset=0
and then
sudo update-initramfs -u
and finally rebooted.
I then run the GeForce 820M driver installer downloaded here:
But build failed!
I had a look at /var/log/nvidia-installer.log and I found asserts of missing structures, wrong data types, etc,
as if the file was not compiling. I thought about gcc version so I double checked:
Recommended/Certified 390.157 Release Date:Tue Nov 22, 2022
and in Nov 2022 gcc version was the 12.2
So I re-run the installer:
sudo CC=“gcc-12” NVIDIA-Linux-x86_64-390.157.run
the build failed. Attached you can find the /var/log/nvidia-installer.log.
I know my GPU and 390 driver are old, but in my opinion it should work anyway.
The compiler is there, driver installer has got no conlicts (X session, nouveau etc)
Can you help me on that, please?
nvidia-installer.log (1.3 MB)