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

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

  • 相关阅读:
    联合省选 2020 题解
    [省选联考 2020 A 卷] 组合数问题
    【NOI2016】循环之美
    MySQL 之 json 数据操作
    使用Redis和定时实现延时消费
    事务,这次还有不清楚的吗,一次实战坑
    哨兵redis配置
    记录一次shell脚本的使用
    记录一次工作中的SQL优化,临时表和CountDownLatch
    JAVA流读取文件并保存数据
  • 原文地址:https://www.cnblogs.com/sztom/p/10176231.html
Copyright © 2011-2022 走看看