查看

uname -a
lspci -knn | grep -iA2 "vga\|3d\|disp"
sudo lshw -numeric -C display
lspci -k 

测试AMD显卡

Run a program on your dedicated AMD graphics card on Linux

lspci
lsmod | grep -i amd
sudo apt-get install mesa-utils
glxinfo | grep "OpenGL renderer"
DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
sudo apt-get install inkscape
DRI_PRIME=1 inkscape