开发者

Get GPU Information in linux C

开发者 https://www.devze.com 2022-12-24 12:04 出处:网络
Is there any library in C for Linux to get gpu information开发者_如何学编程 for example BIOS Verison DigitalID...While not a library, and not as detailed information as BIOS version, there is lshw whi

Is there any library in C for Linux to get gpu information开发者_如何学编程 for example BIOS Verison DigitalID...


While not a library, and not as detailed information as BIOS version, there is lshw which at least is able to identify manufacturer and model, e.g.

my current pc:

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

older pc

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


I misread CPU for gpu, sorry. Perhaps exec gfxinfo?

0

精彩评论

暂无评论...
验证码 换一张
取 消