Yannis Assael
Yannis Assael

Reputation: 1119

Get GPU Information in linux C

Is there any library in C for Linux to get gpu information for example BIOS Verison DigitalID...

Upvotes: 4

Views: 3674

Answers (2)

hlovdal
hlovdal

Reputation: 28268

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
         ...

Upvotes: 3

Arthur Kalliokoski
Arthur Kalliokoski

Reputation: 1647

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

Upvotes: 1

Related Questions