Ok, I read the tutorial but I had already taken those steps.
No luck with nvidia-smi:
# nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Mar 16 13:27:43 venus kernel: [ 1188.272846] NVRM: API mismatch: the client has the version 460.39, but
Mar 16 13:27:43 venus kernel: [ 1188.272846] NVRM: this kernel module has the version 460.32.03. Please
Mar 16 13:27:43 venus kernel: [ 1188.272846] NVRM: make sure that this kernel module and all NVIDIA driver
Mar 16 13:27:43 venus kernel: [ 1188.272846] NVRM: components have the same version.
Seems you installed the driver through the .run file, but never uninstalled it before installing via ubuntu.
Please run the .run file installer with the --uninstall option. Purge all nvidia driver packages from ubuntu.
Then re-install from ubuntu or the graphics ppa.
Hello, sorry for the delayed response, I just had the time today.
I purged everything, then re-installed from ubuntu. Now I get this errors:
# nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
# dmesg | tail
[ 1875.478077] Code: 29 31 db 0f 1f 00 48 63 c3 49 8b 74 c4 08 48 85 f6 74 0e 48 8d 3d a7 70 0e 00 31 c0 e8 bd 4e f6 ff 83 c3 01 41 3b 1c 24 7c dc <c7> 04 25 00 00 00 00 00 00 00 00 0f 0b 48 8d 3d 68 70 0e 00 31 c0
[ 2588.434465] perf: interrupt took too long (2525 > 2500), lowering kernel.perf_event_max_sample_rate to 79000
[ 4791.647808] NVRM: API mismatch: the client has the version 460.56, but
NVRM: this kernel module has the version 460.67. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
[ 5079.614198] NVRM: API mismatch: the client has the version 460.56, but
NVRM: this kernel module has the version 460.67. Please
NVRM: make sure that this kernel module and all NVIDIA driver
NVRM: components have the same version.
You again have a client/kernel-module version mismatch.
sudo apt purge "^nvidia.*" "^libnvidia.*"
Run dpkg -l |grep nvidia to check if there is nothing left installed. Otherwise purge those one by one.
Then re-install from ubuntu or the graphics ppa. Reboot.
Since ther’s the 460.67 driver installed, which was released just yesterday, I suspect you used the .run installer. Please uninstall it first by running it with --uninstall options.
Don’t mix repo and runfile installs.
I already did that, as I said, I purged everything from nvidia and dpkg -l | grep nvidia was empty. I then re-installed via GUI, from the “Additional Drivers” tab. I also rebooted after that, no luck.
No, I installed from the repo.
I just gave it a try via runfile now, with dpkg -l | grep nvidia empty, and I’m getting this other error message after reboot:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
→ An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer.
Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
The NVIDIA driver provided by Ubuntu can be installed by launching the “Software & Updates” application, and by selecting the NVIDIA driver from the “Additional Drivers” tab.