Inside3D!
     

Hardware checks.

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming
View previous topic :: View next topic  
Author Message
Irritant



Joined: 19 May 2008
Posts: 115
Location: Maryland

PostPosted: Tue Oct 20, 2009 9:29 pm    Post subject: Hardware checks. Reply with quote

What are some good cross platform ways besides extension checking to gauge the quality of the GPU? Are there any good cross platform methods for checking the CPU?
_________________
http://red.planetarena.org - Alien Arena
Back to top
View user's profile Send private message Visit poster's website
Irritant



Joined: 19 May 2008
Posts: 115
Location: Maryland

PostPosted: Thu Oct 22, 2009 4:07 pm    Post subject: Reply with quote

Sounds of crickets chirping....
_________________
http://red.planetarena.org - Alien Arena
Back to top
View user's profile Send private message Visit poster's website
mh



Joined: 12 Jan 2008
Posts: 909

PostPosted: Thu Oct 22, 2009 5:41 pm    Post subject: Reply with quote



To be honest, there are so many variations between different GPUs, with different strengths and weaknesses in different areas, that I can't even think of a non-cross-platform way.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Irritant



Joined: 19 May 2008
Posts: 115
Location: Maryland

PostPosted: Thu Oct 22, 2009 6:42 pm    Post subject: Reply with quote

Yeah, I'm thinking that my best option is to just have the game default to medium settings, and disable anything that isn't supported via the usual extension checking. Most people smart enough to be critical of graphics would think to turn things up in the menu...well...that might be too much faith in today's climate of low intelligence, lol, but it's better than having a bunch of people screaming about framerates and not being smart enough to change settings. Or worse yet, people not even bothering to scream about it and just uninstalling the game before bothering to adjust anything.
_________________
http://red.planetarena.org - Alien Arena
Back to top
View user's profile Send private message Visit poster's website
Labman



Joined: 05 Nov 2004
Posts: 51
Location: Brisbane, Australia

PostPosted: Fri Oct 23, 2009 1:41 am    Post subject: Reply with quote

You could write an auto settings adjust thing based on the framerate of running a demo. Turn on or off settings based on what the average framerate is.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Urre



Joined: 05 Nov 2004
Posts: 1073
Location: Sweden

PostPosted: Fri Oct 23, 2009 10:33 am    Post subject: Reply with quote

Games released late 90's did this a lot, run tests to set default settings, I've always wondered why that tactic practicly disappeared. I thought they'd figured out easier and more transparent ways to check this with newer hardware and whatnot, but from the sounds of this thread that doesn't seem to be the case...

Considering GPU, it shouldn't be very hard to add some checks for wether it supports specific features or not, and then simply run a demo like Labman said, to adjust fidelity of certain features like texture resolution or whatever.

CPU, I guess you'd have to run some physics tests or something, with gamecode.
_________________
Look out for Twigboy
Back to top
View user's profile Send private message Visit poster's website
mh



Joined: 12 Jan 2008
Posts: 909

PostPosted: Fri Oct 23, 2009 11:23 am    Post subject: Reply with quote

Feature support should be just a matter of checking the capabilities, assuming that the API you're using has decent capabilities checking, and that your driver doesn't lie. It probably makes sense to also run some code and do some error checking too.

Performance is a sticky issue, especially where OpenGL is concerned, and even more especially as OpenGL is allowed to provide software emulation of any part of the API but doesn't provide a means of determining if software emulation is used. I've been bitten by non power of 2 textures here in the past.
_________________
DirectQ Engine - New release 1.8.666a, 9th August 2010
MHQuake Blog (General)
Direct3D 8 Quake Engines
Back to top
View user's profile Send private message Visit poster's website
Irritant



Joined: 19 May 2008
Posts: 115
Location: Maryland

PostPosted: Fri Oct 23, 2009 1:31 pm    Post subject: Reply with quote

I like the idea of loading a demo (perhaps in an FBO) on first run after the extension checks to test fps and then adjusting accordingly.
_________________
http://red.planetarena.org - Alien Arena
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Engine Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group