lspci -vnn | grep VGA -A 12
lshw -C display
lshw -c video | grep configuration
glxinfo | grep OpenGL
echo '获取显卡硬件信息' |tee -a $cc
echo 'lspci -vnn | grep VGA -A 12' |tee -a $cc
echo '' |tee -a $cc
echo '' |tee -a $cc
echo '获取显卡硬件信息' |tee -a $cc
echo 'lshw -C display' |tee -a $cc
echo '' |tee -a $cc
echo '' |tee -a $cc
echo '获取显卡硬件信息' |tee -a $cc
echo 'lshw' |tee -a $cc
echo '' |tee -a $cc
echo '' |tee -a $cc
echo '查看当前使用的显卡驱动,要查看当前 Linux 系统上所使用的显卡驱动名称,同样可以使用 lshw 命令' |tee -a $cc
echo ' lshw -c video | grep configuration' |tee -a $cc
echo '' |tee -a $cc
echo '' |tee -a $cc
# glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 5.0, 128 bits)
OpenGL version string: 2.1 Mesa 17.2.3
OpenGL shading language version string: 1.30
OpenGL extensions: