Skip to content

Instantly share code, notes, and snippets.

@tsonne
Last active March 22, 2021 20:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsonne/88d236f2af63a04cdea43ff609382d9e to your computer and use it in GitHub Desktop.
Save tsonne/88d236f2af63a04cdea43ff609382d9e to your computer and use it in GitHub Desktop.
Linux NVIDIA Issues 2021-03

Issues with Nvidia drivers/cards in Linux

  • 2021-03-16
  • have Ubuntu 20.04 with Nvidia RTX 3080

Issue: Freezes after some minutes uptime

Description

  • after boot, screen randomly freezes after some minutes
  • can move cursor with mouse, but not select/click anything
  • keyboard doesn't have effect, but can ctrl+alt+F1 to tty1
  • have to hard reset or shutdown in tty
  • seems to happen when idle for a few minutes, not under load

Solution

Issue: Nvidia driver doesn't seem to run

Description

  • in terminal run nvidia-smi and get:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

also run sudo modprobe nvidia and get:

modprobe: ERROR: could not insert 'nvidia': Key was rejected by service

Solution

  • run
sudo dkms remove nvidia/460.39 --all
sudo dkms install --force nvidia/460.39 -k $(uname -r)
sudo update-initramfs -u

Nvidia settings is empty window or gives error

Description

  • 'NVIDIA X Server Settings' gives just empty window
  • calling nvidia-settings gives following error
ERROR: Unable to load info from any available system


(nvidia-settings:2371): GLib-GObject-CRITICAL **: 15:41:23.036: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 15:41:23.039: PRIME: No offloading required. Abort
** Message: 15:41:23.039: PRIME: is it supported? no

Solution

  • unknown, looks like a bug in the software...
  • just now got update for nvidia packages, it works now! 2021-03-16_23:00UTC
  • the terminal critical fail still exists but seems irrelevant

Issues with driver obtained from Nvidia website

Description

  • any issues like no driver loaded and such when having installed driver from official Nvidia website

Solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment