【问题标题】:Get GPU Information in linux C在 linux C 中获取 GPU 信息
【发布时间】:2011-01-29 06:23:36
【问题描述】:

在 C 语言中是否有任何用于 Linux 的库来获取 gpu 信息,例如 BIOS Verison DigitalID...

【问题讨论】:

    标签: linux gpu bios


    【解决方案1】:

    我误读了 GPU 的 CPU,抱歉。也许执行 gfxinfo?

    【讨论】:

      【解决方案2】:

      虽然不是库,也没有 BIOS 版本那么详细的信息,但有 lshw 至少能够识别制造商和型号,例如

      我当前的电脑:

             *-display UNCLAIMED
                  description: VGA compatible controller
                  product: GeForce 8500 GT
                  vendor: nVidia Corporation
                  ...
      

      旧电脑

          *-display
               description: VGA compatible controller
               product: 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device
               vendor: Intel Corporation
               ...
      

      【讨论】:

        猜你喜欢
        • 2015-06-22
        • 2014-06-12
        • 2021-10-07
        • 2020-03-28
        • 2013-03-06
        • 2016-05-02
        • 2011-07-08
        • 1970-01-01
        相关资源
        最近更新 更多