I rebooted my machine after installing some updates that Kubuntu (22.04) recommended, and now my drivers are acting up. I noticed that the refresh-rate isn't what it used to be and the graphics card isn't performing as usual (RTX 2070). I opened the additional drivers and it seemed to still have the Nvidia driver 515 selected, but it wasn't working. I tried rebooting, purging everything nvidia-related and selecting the nouveau driver, rebooting again and then selecting the latest driver (520) but it didn't do anything. When I run nvidia-smi it returns "Failed to initialize NVML: Driver/library version mismatch". I tried uninstalling and installing the driver from the nvidia website. It said it completed the installation, but it nvidia-smi gives the same error. Finally I tried installing an older driver (470) but the same issue persists. In the additional drivers, the driver I install is highlighted, but doesn't seem to be used.
"cat /proc/driver/nvidia/version" returns:
NVRM version: NVIDIA UNIX x86_64 Kernel Module 510.73.05 Sat May 7 05:30:26 UTC 2022
GCC version: gcc version 11.2.0 (Ubuntu 11.2.0-19ubuntu1)
and "cat /sys/module/nvidia/version" returns:
510.73.05
Running nvidia-detector returns:
nvidia-driver-520
None of the questions I've found on this forum matching my issue have had solutions that resolved my issue. Installing the driver from the command-line doesn't do anything either. I'm running on X11. Please let me know if including any more information would be helpful!