Skip to content

Instantly share code, notes, and snippets.

@ecolss
Last active December 3, 2023 12:11
Show Gist options
  • Save ecolss/0cfbc52dae422327515be93564ff93fd to your computer and use it in GitHub Desktop.
Save ecolss/0cfbc52dae422327515be93564ff93fd to your computer and use it in GitHub Desktop.
nvidia driver issues on ubuntu
The problem,
- PC was running 20.04 LTS, and one day PC can't shut down properly, had to manually force the shutdown (pressing the power btn).
- After that, PC lost nvidia-driver stuff (nvidia-smi can't work anymore), so need to reinstall drivers.
- The frustrating part is, tried so many different tutorials/versions, none worked. (e.g. apt update/upgrade/purge/remove/install whatever can be found online)
The fix,
- At last, decided to upgrade ubuntu to 22.04 LTS, and then simply `$ sudo apt install nvidia-driver-535`, reboot and done.
- One key reason why decided to upgrade is, all apt solutions tried are blocked by glibc version requirement (higher libc6 version is needed, but on 20.04 seems no such versions).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment