====== Linux Graphics Driver ======
* [[linux:nvidia|Linux Nvidia Graphic Card]]
* [[linux:amd|Linux AMD/ATI Graphic Driver]]
* [[linux:ubuntu:ubuntu_drivers|Ubuntu Drivers]]
===== 최신 그래픽 카드 드라이버 설치 =====
* [[https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa|Proprietary GPU Drivers : “Graphics Drivers Team” team - X Updates 보다 더 최신. Proprietary GPU Driver만 있음.]]
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
* 원하는 버전을 지정하여 설치하거나 nvidia의 경우 ''nvidia-current'' 설치
* [[https://launchpad.net/~xorg-edgers/+archive/ppa|xorg-edgers ppa - X Updates 보다 더 최신. OpenSource 드라이버만 있음. 검증 체크.]]
sudo add-apt-repository ppa:xorg-edgers/ppa -y
sudo apt-get update
===== Graphic card 확인 =====
* [[https://linuxconfig.org/graphics-driver-check-ubuntu-20-04-focal-fossa|Graphics driver check Ubuntu 20.04 Focal Fossa - LinuxConfig.org]]
sudo lshw -c video
# glxinfo
sudo apt install mesa-utils
glxinfo -B
# 어떤 그래픽 카드를 사용중인가?
lspci -nn | grep -E 'VGA|Display'
# OR
sudo lshw -c video
* 어떤 드라이버를 로딩했는가? https://unix.stackexchange.com/a/452582
sudo lsof +D /usr/lib/xorg/modules/drivers/ +D /usr/lib/x86_64-linux-gnu/nvidia/xorg/
===== GPU Monitoring =====
* [[https://www.cyberciti.biz/open-source/command-line-hacks/linux-gpu-monitoring-and-diagnostic-commands/|Linux GPU Monitoring and Diagnostic Commands Line Tools - nixCraft]]