Only replace nouveau module at runtime if possible

This commit is contained in:
Manuel Thalmann 2023-05-04 14:40:27 +02:00
parent 0c99920c41
commit 2449313df9

View file

@ -20,5 +20,4 @@ sudo systemctl enable \
nvidia-hibernate.service \ nvidia-hibernate.service \
nvidia-resume.service; nvidia-resume.service;
sudo rmmod nouveau; sudo rmmod nouveau && sudo modprobe nvidia || true;
sudo modprobe nvidia;