發表文章

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

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...

Install Nvidia Driver on Ubuntu 20.04 LTS(Focal Fossa)

圖片
 1. Download NV Driver form https://www.nvidia.com/Download/index.aspx?lang=en-us 2. Install development tools $ sudo apt-get update $ sudo apt-get install build-essential libglvnd-* 3. Install make  $ sudo apt-get install ubuntu-make 4. Execute and compile driver binary (eg. NVIDIA-LINUX-x86_64-470.86.run) $ sudo chmod  a+x ./NVIDIA-LINUX-x86_64-470.86.run $ ./NVIDIA-LINUX-x86_64-470.86.run                   or 1. $ apt-cache search nvidia-driver or $ sudo add-apt-repository ppa:graphics-drivers $ sudo apt-get update 2.  $ sudo ubuntu-drivers devices       3. install recommended $ sudo apt-get install nvidia-driver-515 4. check driver $ nvidia-smi  5. modify setting by GUI $ sudo nvidia-settings   6. GUI method installation of drivers search driver in search and apply changes by additional drivers repository       references https://blog.eldernode.com/install-development-tools-o...