LWJGL Forum

Programming => General Java Game Development => Topic started by: elias4444 on January 22, 2010, 19:39:41

Title: Any way to retrieve graphic card info?
Post by: elias4444 on January 22, 2010, 19:39:41
I was wondering if there's a way to systematically retrieve a users' graphic card model and/or driver version?
Title: Re: Any way to retrieve graphic card info?
Post by: Evil-Devil on January 25, 2010, 10:06:47
If you won't rely on the gl driver info you have to make your own jni function.

Requested this info some time ago, but hadn't been added :(
http://lwjgl.org/forum/index.php/topic,1708.msg10606.htm
Title: Re: Any way to retrieve graphic card info?
Post by: elias4444 on January 25, 2010, 15:19:22
Display.getAdapter() almost always returns null for me (on Mac). I can live without it, but it would be nice to check the adapter and model to help initialize some basic settings (particularly for Intel graphic chips that misreport what they can really do).
Title: Re: Any way to retrieve graphic card info?
Post by: Matzon on January 25, 2010, 18:15:45
I would love to support this - however it should work on all platforms and should return something usable and consistent. Which in itself might be a task.
Title: Re: Any way to retrieve graphic card info?
Post by: elias4444 on January 25, 2010, 18:57:13
I have no doubt it would be difficult.

I tried downloading and using SIGAR, but found out it doesn't return graphic card info. Very sad.  :(
Title: Re: Any way to retrieve graphic card info?
Post by: princec on January 30, 2010, 11:59:07
It's only because we haven't implemented it on Mac yet. Or linux I think.

I don't mind it returning entirely different strings to Windows - so long as it's consistent for a particular OS.

Cas :)