Skip to content

Instantly share code, notes, and snippets.

@glyn
Last active April 1, 2024 01:56
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 glyn/b61d087f08f9ed0e0ca051228ed1676a to your computer and use it in GitHub Desktop.
Save glyn/b61d087f08f9ed0e0ca051228ed1676a to your computer and use it in GitHub Desktop.
Distro hopping to avoid crashes with NVIDIA or AMD graphics

(The following overlooks my early use of Red Hat Linux, on a Thinkpad, around the turn of the century and my repeated use of Ubuntu in VMs since then.)

IMG_20240322_132047

The NVIDIA GK106GL [Quadro K4000] graphics card seems to cause crashes on various distros. Here's the checkered history of my desktop machine:

  • Ubuntu crash on suspend/resume.
  • Fedora 35 The nouveau driver occasionally crashes and locks up the desktop, requiring a power off.
  • Fedora 35 installed nvidia 470 driver.
  • Fedora 36 beta.
  • Fedora 36 kernel upgrade broke nvidia driver.
  • Debian 11.3.0 with kernel 5.10.0 crashes every 5-10 suspend/resume cycles (bug 547?).
  • Debian 11.3.0 with kernel 4.19.252+ crashes while using vscodium (bug 177).
  • Debian 11.3.0 with various 4.x, 5.x, and 6.x kernels and nouveau crashes sooner or later after suspend/resume.
  • Arch with nouveau and xmonad seems stable although I did experience a short period (in June 2023) where X crashed on resume that went away after another rolling upgrade. Adding the kernel parameter nouveau.noaccel=1 seemed to fix the problem.
  • Upgrading arch to the 6.7 kernel ran into an out of space problem, detailed here.
  • Upgrading arch to the 6.7.1 kernel caused serious problems and took a few hours to recover, detailed here.
  • Upgrading to the 6.7.2 kernel was as smooth as ever, so I continue on arch (January 2024).
  • March 2024: black screen after reboot. Replaced graphics card with AMD FirePro V5900.

IMG_20240322_132100

  • March 25 2024: After switching to AMD FirePro V5900, experiencing occasionally crashes on suspend/resume.
    • This is on arch with kernel 6.8.1-arch1-1
    • Kernel parameter nouveau.noaccel=1 is still configured.
    • Tried adding kernel parameter amdgpu.runpm=0 (see this)
  • I was irritated by GRUB slowly painting/unpainting a rectangle round the boot menu, so I uncommented the following line in /etc/default/grub to disable the graphical terminal:
    GRUB_TERMINAL_OUTPUT=console
    
    and then rebuilt the GRUB configuration via:
    sudo grub-mkconfig -o /boot/grub/grub.cfg
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment