VOGONS


First post, by lvm

User metadata
Rank Newbie
Rank
Newbie

When dosbox goes fullscreen it changes screen resolution to 640*480 and restores original resolution after exit, and when display is connected to an ordinary DB-15 VGA port it works fine (except when dosbox crashes :) but when display is connected to the same system over HDMI screen resolution is not restored and remains stuck at 640*480. dosbox 0.74 on 32-bit linux (ubuntu 10.10), video ATI HD4590 (xorg ati drivers, NOT fglrx)

Reply 2 of 5, by SKARDAVNELNATE

User metadata
Rank Oldbie
Rank
Oldbie

That would be an issue with your video and driver as many programs that change resolution, including modern day games, will exhibit the same behavior.

Reply 3 of 5, by lvm

User metadata
Rank Newbie
Rank
Newbie

If we are looking for a guilty party I may suggest a compromise candidate - SDL, looks like dosbox calls SDL_Quit and relies on it to clean up with no attempts to save and restore screen resolution by itself. I added SDL_SetVideoMode(1920,1080... just before the SDL_Quit and the problem is gone. But it has nothing to do with video drivers - to clean up after messy programs is not the driver's job.

Reply 4 of 5, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hmm so fullscreen doesn't come back to windowed before closing.

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 5, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

> to clean up after messy programs is not the driver's job.

It's the operating system's job. Even more so as programs sometimes don't quit normally.

1+1=10