Querying Graphics Card Name

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Thu Aug 9 17:26:36 EDT 2007


Benjamin Goldenberg wrote:
> I would like to find out the name of the graphics card of the
> machine my program is running on. I have looked into the pyopengl
> module, and using them to query the card, but it seems like there
> ought to be a simpler way to find this out without setting up a
> glcontext. Does anyone have any ideas?

You could execute glxinfo and look for the renderer string. If
that's sharp enough for your purpose. Another option is lspci.

Regards,


Björn

-- 
BOFH excuse #215:

High nuclear activity in your area.




More information about the Python-list mailing list