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?
精彩评论