At first check your driver and graphic card.
]$ nvidia-installer -v | grep version
]$ uname -a
]$ lspci |grep -E "VGA|3D"
Go to https://www.nvidia.com/Download/Find.aspx?lang=en-us and Download Driver
Go Download Path and add executable permission on the file
]$ chmod +x ./NVIDIA-Linux-*.run
And then update your packages and install you needed
]$ su -
]$ dnf update
]$ reboot
]$ dnf install kernel-devel kernel-headers gcc dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig
Add options about nouveau and make grub config files
]$ echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
# EDIT /etc/sysconfig/grub
# Append ‘rd.driver.blacklist=nouveau’ to end of GRUB_CMDLINE_LINUX="..."
]$ grub2-mkconfig -o /boot/grub2/grub.cfg
]$ grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
]$ dnf remove xorg-x11-drv-nouveau
# EDIT /etc/dnf/dnf.conf
# Append exclude=xorg-x11* to end of file
]$ mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
]$ dracut /boot/initramfs-$(uname -r).img $(uname -r)
# Set the default target to multi-user
]$ systemctl set-default multi-user.target
]$ reboot
Install NVIDIA driver
# Go Download Path
]$ ./NVIDIA-Linux-*.run
# Execute the given steps.
# After install driver, set the default target to graphical
]$ systemctl set-default graphical.target
]$ reboot
'Develop > Linux' 카테고리의 다른 글
리눅스에서 PID 로 프로세스 동작 유무 체크 (0) | 2018.10.17 |
---|---|
특정 파일 검색해서 해당 파일내에 특정 문구 추가하기 (0) | 2018.05.16 |
Generate public key for Open ssl (0) | 2018.03.14 |
[Linux] setup zsh shell (0) | 2018.02.22 |
open port with firewall-cmd (0) | 2018.02.13 |