Linux中查看显卡硬件信息
https://ywnz.com/linuxjc/67.html
lspci -vnn | grep VGA -A 12
lshw -C display
查看当前使用的显卡驱动
sudo lshw -c video | grep configuration
检查显卡驱动的详情:
modinfo i915
我们可以使用 glxinfo 命令来获查看得 OpenGL 的详细信息:
glxinfo | grep OpenGL
apt install mesa-utils
Mesa是一个开源的3D计算机图形库,它提供了一个通用的OpenGL实现,用于在多个平台上渲染三维图形。
https://wiki.debian.org/Mesa
查看3D加速是否有效
glxinfo | grep rendering
Testing:
glxgears -info
http://www.mesa3d.org/
=================
tom@tom-laptop:~/Tool$ lspci |grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)
// 00:02.0 据此, 继续查看详细:
tom@tom-laptop:~/Tool$ lspci -v -s 00:02.0
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Mobile GM965/GL960 Integrated Graphics Controller (primary)
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at e4400000 (64-bit, non-prefetchable) [size=1M]
Memory at d0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 4000 [size=8]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: i915
Kernel modules: i915, intelfb
//i915 据此, 继续查看详细
modinfo i915
=================
1、查看linux内核,GCC版本
cat /proc/version
2、查看Linux内核
uname -a
3、查看产品版本
lsb_release -a
=================