I installed cuda toolkit version 12.3.0
with driver version 545.23.06
using the .run
file I downloaded from nvidia's website. It installed (after a gcc version change) and ran fine. However, a small system update seems to have borked it, as everything is in 640p now. I am on 22.04 LTS
.
Prior to installing the drivers, I had purged all nvidia- and cuda-related packages in apt
. However, the driver stopped working:
➜ ~ nvidia-smiNVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
➜ ~ nvidia-settingsERROR: NVIDIA driver is not loaded(nvidia-settings:5816): GLib-GObject-CRITICAL **: 19:44:28.995: g_object_unref: assertion 'G_IS_OBJECT (object)' failed** (nvidia-settings:5816): CRITICAL **: 19:44:28.996: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failedERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed along with this driver at /usr/share/nvidia/nvidia-application-profiles-key-document ation. The application profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help text. Please see the README for possible values and descriptions.(nvidia-settings:5816): Gtk-WARNING **: 19:44:29.019: Could not load a pixbuf from /com/ubuntu/themes/Yaru-magenta-dark/3.0/assets/check-symbolic.svg.This may indicate that pixbuf loaders or the mime database could not be found.
The issue is similar to this one here, but running dkms status
returns nothing (also I had to install dkms
using apt
, as it was uninstalled).
(I also have nouveau blacklisted)
Also note that I don't have the drivers or the cuda toolkit installed through a deb package because those prevent the system from waking up after being suspended, with NVRAM errors.
How can I diagnose the issue?