發表文章

目前顯示的是有「nouveau」標籤的文章

Disable nouveau and install NVIDIA Driver on Ubuntu

圖片
1. Download NVIDIA from  https://www.nvidia.com/Download/index.aspx?ncid=afm-chs-44270&ranMID=44270&ranEAID=a1LgFw09t88&ranSiteID=a1LgFw09t88-buxlbcTUvQEV.eZv3z3a3g if driver is in  https://www.nvidia.com/Download/driverResults.aspx/184163/en-us , driver filename is NVIDIA-Linux-x86_64-470.94.run 2. download make, gcc, dkms  and vim from apt-get $ apt install gcc make vim libglvnd-* 3. touch and edit /etc/modprobe.d/blacklist-nouveau.conf to add below content blacklist nouveau options nouveau modset=0 4. run update-initramfs command $ sudo update-initramfs -u 5. change boot target and reboot to multi-user.target by command systemctl $ sudo systemctl set-default multi-user.target $ sudo systemctl reboot 6. enable execuate driver file  NVIDIA-Linux-x86_64-470.94.run and run it $ cd ~/Download $ sudo chmod 755 NVIDIA-Linux-x86_64-470.94 $ sudo ./NVIDIA-Linux-x86_64-470.94 --dkms 7. add min/max icon https://itsfoss.com/click-to-minimize-ubuntu/ gsettings set...

CentOS 8 disable nouveau and install NVIDIA driver

圖片
Dowaload driver from https://www.nvidia.com.tw/Download/index.aspx?lang=tw ( if file name is  NVIDIA-Linux-x86_64-430.50.run) 1. remove nouveau driver $ su - $ dnf remove xorg-x11-driver-nouveau* 2. disable grub load module (option) add rd.driver.blacklist=nouveau in /etc/default/grub GRUB_CMDLINE_LINUX variable make grub2 config for efi boot or mbr boot sudo grub2-mkconfig -o /etc/grub2-efi.cfg sudo grub2-mkconfig -o /etc/grub2.cfg 3. add contents   # generated by nvidia-installer blacklist nouveau options nouveau modeset=0 ------------------------------------------------------------------ in /etc/modprobe.d/nvidia-installer-disable-nouveau.conf and /usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf 4. chmod 755  NVIDIA-Linux-x86_64-430.50.run ./NVIDIA-Linux-x86_64-430.50.run 5. Follow their(NVIDIA) instruction guide. 6. startx and open terminal $ nvidia-smi

CentOS 7 取消載入硬體驅動

1. 在 /etc/modprobe.d/ 產生一個 blacklist.conf檔 2. 在 blacklist.conf 檔填入     modprobe.blacklist=nouveau 參考 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/sect-driver-updates-performing-x86#sect-blacklisting-a-driver-x86 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-options