본문 바로가기
카테고리 없음

리눅스 nvidia driver 재설치 오류

by hyunsoft 2021. 5. 25.

$ sudo modprobe -r nvidia

modprobe: FATAL: Module nvidia is in use.

 

오류: NVIDIA 커널 모듈 'nvidia-drm'이(가) 커널에 이미 로드된 것 같습니다. 이는 X 서버, CUDA 프로그램 또는 NVIDIA Persistence Daemon에서 사용 중이기 때문일 수 있지만 커널이 모듈 언로딩을 지원하지 않고 구성된 경우에도 발생할 수 있습니다. 드라이버를 업그레이드하기 전에 GPU를 사용할 수 있는 프로그램을 모두 종료하십시오. 실행 중인 GPU 기반 프로그램이 없는 경우 커널에서 모듈 언로딩을 지원하는 것을 알고 있는데도 이 메시지가 표시되면 컴퓨터를 재부팅하는 것이 가장 간단한 해결 방법인 NVIDIA 커널 모듈의 사용 횟수를 손상시킨 오류가 발생했을 수 있습니다.

 

ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.

 

systemctl isolate multi-user.target
modprobe -r nvidia-drm

 

 

lsof /dev/nvidia*

해당 프로세스 종료 후 설치

 

systemctl start graphical.target
728x90

댓글