VOGONS


First post, by gurok

User metadata
Rank Newbie
Rank
Newbie

Hello,

I'm having a problem with DOSBox not appearing centred when I put it into fullscreen mode if my output= setting under [sdl] is set to anything other than surface. This happens regardless of whether I start in fullscreen or use Alt+Enter to switch. Some output types cause the default text mode to appear vertically aligned to the top, others to the bottom. Everything looks fine in windowed mode.

overlay and ddraw both result in a display that's vertically aligned to the top of the screen. Both varieties of opengl result in a display that's vertically aligned to the bottom. I've attached screenshots of ADoM using ddraw (left) and surface (right) in fullscreen mode to demonstrate the problem.

Is there anything that can be done to fix this problem?

I am running Windows 7, 64-bit. I have an 8800 GTX (with the latest Forceware) and 6GB of RAM.

I know I'm not alone in experiencing this issue. I found one other thread that menions off-centre fullscreen: Screen squashed vertically in fullscreen mode. S/he is actually talking about how fullscreen is squished, but also mentions changing output= so that fullscreen modes appear at the top of the screen. Squishing is not an issue for me. I'd just like to know why fullscreen modes are appearing off-centre for me and whether I can fix it.

Thanks in advance.

Reply 1 of 1, by VileR

User metadata
Rank l33t
Rank
l33t

What is fullresolution= set to? does that equal your monitor's native resolution (assuming it has one, i.e. not a CRT)?

The text mode shown in your screenshots is technically a 640x400 resolution - current video drivers (and monitors) seem to have poor support for anything below x480. You may simply be setting that as your fullscreen resolution, and each renderer is trying (and failing) to deal with it in its own special way.
Try to specify a fullscreen resolution other than "original", either 640x480, or preferrably your native / desktop resolution with some kind of scaler, whatever seems to work.

[ WEB ] - [ BLOG ] - [ TUBE ] - [ CODE ]