---
tags: NVIDIA
---
# Disable Nouveau driver before install NVIDIA cuda driver
###### tags: `NVIDIA`
## HW Equipment
Hardware System: Leveno Legion y530 15ich
OS: Ubuntu 20.04.2 LTS, kernel 5.8.0
GPU: NVIDIA GEFORCE GTX 1050
## SOP
create a file:
```javascript=
$ sudo vim /etc/modprobe.d/blacklist-nouveau.conf
```
in blacklist-nouveau.conf
```javascript=
blacklist nouveau
options nouveau modeset=0
```
save the file and exit
final:
```javascript=
$ sudo update-initramfs -u
$ sudo reboot
```
## source:
1. https://clay-atlas.com/blog/2020/02/11/linux-chinese-note-nvidia-driver-nouveau-kernel/
2. https://askubuntu.com/questions/841876/how-to-disable-nouveau-kernel-driver