zoukankan      html  css  js  c++  java
  • 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

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

  • 相关阅读:
    js点击按钮触发事件的方法(含函数的写法)
    操作文件
    克隆别人的仓库,提交到自己的远程仓库的方法
    时间戳变成 标准时间展示的方法
    还没看的书
    print 和 println的区别
    初学java记录
    java 的一个hellow word 代码解释
    eclipse 创建一个java项目 运行
    Eclipse环境配置
  • 原文地址:https://www.cnblogs.com/sztom/p/10176231.html
Copyright © 2011-2022 走看看