Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Last active May 16, 2023 09:21
Show Gist options
  • Save awesomebytes/8bca3255b5f3d4b38521daa05b48abe0 to your computer and use it in GitHub Desktop.
Save awesomebytes/8bca3255b5f3d4b38521daa05b48abe0 to your computer and use it in GitHub Desktop.
Nvidia CUDA driver not working after suspend or hibernation workaround

How to reset the GPU to use CUDA after suspend or hibernation

I needed to do:

sudo rmmod nvidia_uvm
sudo modprobe nvidia_uvm

From the nvidia forums.

I also got the following error fixed (docker-nvidia related) with these commands:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: mount error: file creation failed: /var/lib/docker/overlay2/a5a8483bf9826a94713d11ea85bee8ed790996218e612b10de9dd2d80f39d7af/merged/dev/nvidia-uvm: input/output error: unknown.
@yobome
Copy link

yobome commented Nov 14, 2022

thx bro

@Fronix
Copy link

Fronix commented Jan 14, 2023

Thanks, saved me a headache

@zpoint
Copy link

zpoint commented May 16, 2023

Thanks, saved me a headache

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