Question regarding gfx drivers

Ask for help with ScummVM problems

Moderator: ScummVM Team

Post Reply
User avatar
Raziel
ScummVM Porter
Posts: 1524
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Question regarding gfx drivers

Post by Raziel »

I have a question:

I`m trying to optimize a gl4es build of ScummVM on my platform and while it runs fine (and way faster than the GL counterpart) i' m puzzled as to why it doesn't *seem* to pick up/use the correct driver.

When starting an AGS game i this
Game native resolution: 320 x 200 (32 bit)
Graphic settings: driver: D3D9, windowed: no, screen size: 0 x 0, game scale: proportional
Graphic settings: refresh rate (optional): 0, vsync: 0
Requested graphics driver 'D3D9' not found, will try existing drivers instead
Graphics driver set: ScummVM 2D renderer
Graphics mode set: 320 x 200 (32-bit) fullscreen desktop
Graphics mode set: refresh rate (optional): 0, vsync: 0
where the driver 'D3D9' sometimes can be driver 'OGL', but in both cases it doesn't find it and instead falls back to ScummVM 2D renderer

Is that considered normal?
Shouldn't it use an OpenGL or gl4es driver instead?
Do i need to add the correct driver to ScummVM first for it to be found?

Don't get me wrong , it *IS* faster, but maybe i could squeeze even more speed out of it by using a native GL/gl4es driver instead, or maybe not?

Thanks a lot for any info
User avatar
tag2015
Posts: 12
Joined: Thu May 02, 2013 11:40 am
Location: Italy

Re: Question regarding gfx drivers

Post by tag2015 »

The "graphics setting" lines are debug messages from the upstream AGS engine, and refer to the setting in the AGS game config (usually acsetup.cfg).
In the original AGS interpreter, it can be Opengl, Direct3D or Software, but this setting is ignored in ScummVM. It will always fallback on the 2D renderer.
User avatar
Raziel
ScummVM Porter
Posts: 1524
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet

Re: Question regarding gfx drivers

Post by Raziel »

@tag2015

thank you so much
Post Reply