我是靠谱客的博主 温婉日记本,最近开发中收集的这篇文章主要介绍Linux中查看显卡硬件信息Linux中查看显卡硬件信息,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

Linux中查看显卡硬件信息

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

=================

 

发表于 2018-12-25 20:19 osoft 阅读( ...) 评论( ...) 编辑 收藏
 
刷新评论 刷新页面 返回顶部

最后

以上就是温婉日记本为你收集整理的Linux中查看显卡硬件信息Linux中查看显卡硬件信息的全部内容,希望文章能够帮你解决Linux中查看显卡硬件信息Linux中查看显卡硬件信息所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(41)

评论列表共有 0 条评论

立即
投稿
返回
顶部