Page 1 of 1

[r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 8:15
by Zero X. Diamond
I've actually been experiencing this for many builds now, ever since I had to switch monitors to one with a different aspect ratio. Previously I'd been using a 16:10 monitor that displayed at 1440x900, and that showed up properly without any problems. However, since I've gotten this monitor (16:9, 1600x900) I have noticed that GZDoom seems to be... I don't know, setting the wrong resolution and claiming it's 1600x900? Before the program shows up, I can clearly see that it horizontally squishes the resolution despite it supposedly being the same. It's not just the monitor, either: if I change the scaling to just stay fullscreen instead of scaling at non-native resolutions, it just stretches out the squished screen. I just checked it against the most recent SVN of regular old ZDoom and it's definitely specific just to GZDoom. Interestingly, screenshots save at the proper resolution, so I have no idea what the hell is going on here.

Below are my computer specs.

Code: Select all

		Operating System
			MS Windows XP Professional 32-bit SP2
		CPU
			Intel Pentium 4 531
			Prescott 90nm Technology
		RAM
			4.00 GB Single-Channel DDR2 @ 314MHz (5-5-5-15)
		Motherboard
			MSI 0A48 (Socket 775)	98 °C
		Graphics
			Default Monitor (1600x900@60Hz)
			Default Monitor (1024x768@60Hz)
			1024MB GeForce 9500 GT (EVGA)	58 °C
		Hard Drives
			977GB Western Digital WDC WD10EADS-00M2B0 (SATA)	35 °C
		Optical Drives
			ATAPI iHAP422   W
			DTSOFT Virtual CdRom Device
		Audio
			Sound Blaster Audigy

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 15:41
by Gez
Why are there two different default monitors?

Also, what happens if you play in windowed mode? Like 1200x675 or another 16:9 ratio that could fit in a window on your screen.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 19:49
by Zero X. Diamond
The other default monitor is a TV hooked up via S-Video. I know it's not a factor because the same thing happens whether it's enabled or not. Testing it windowed produces a weird result as well: I windowed it at 1600x900 and the screen went back to the right size... then when I made it a smaller size at the same resolution, instead of resizing the window, it just shrunk the video inside of it so that part of the screen as it was in the menu is still visible as a border around the bottom right of the play area. Although switching back to the window now, it's gone. Whatever the issue is, it's confined to 1600x900 fullscreen it seems. None of the other 16:9 resolutions seem to cause the screen to squish.

EDIT: What the fuck? Now the resolution is correct at fullscreen but the OpenGL renderer has somehow shut itself off and I can't seem to get it to turn back on.

EDIT #2: I restarted my computer and it didn't help on that end. This is awful.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 21:03
by Gez
If GZDoom switched to software mode; it's because it detected OpenGL didn't work right.


I have a 1600x900 screen too, and it works correctly in fullscreen at native resolution. I think the issue lies in your OpenGL drivers rather than in GZDoom-side code.

Also, to set OpenGL mode back on, edit the configuration file, search for "vid_renderer", and set it to 1. However, if GZDoom switches back to software, you have to solve the hardware or driver problem first.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 21:16
by Zero X. Diamond
That's the thing that's puzzling, though. All of my other programs work just fine at 1600x900 without any sort of weird squishing issues; only GZDoom has this problem. I think the reason the GL renderer got tripped off was because I managed to crash the game while experimenting with resolutions because I think turning off my second monitor while the game was windowed and then trying to fullscreen it caused some issues. It's not a configuration issue either, since I just tried deleting the config file for it and setting it to 1600x900 with all the default settings still gives me this issue.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 21:34
by Enjay
Have you tried a clean driver install? I have been using the version 306.97 drivers for a little while now with no problems so that should be a safe upgrade if you haven't already started using them.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 21:37
by Zero X. Diamond
I'm installing the latest nVidia drivers as we speak. If that doesn't fix it, I guess I'll try uninstalling and reinstalling them and see if that does the trick.

EDIT: Nothing works. Nothing fixes this problem. I uninstalled the entire fucking video card, reinstalled it, reupdated it, and still it vexes me with this damnable stretching. Why does this shit have to happen to me?

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sun Nov 04, 2012 23:58
by Gez
Do you have other OpenGL programs? If not you can try some other OpenGL Doom ports, such as GLBoom+, Doomsday, or EDGE.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Mon Nov 05, 2012 9:35
by Zero X. Diamond
I have confirmed by testing against GLBoom+ that this is strictly a GZDoom problem. It runs flawlessly at 1600x900 without any squishing problems.

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Wed Nov 07, 2012 6:39
by Zero X. Diamond
So am I just screwed, or what? Nobody has any other ideas?

Re: [r1464] Bug: Fullscreen resolution displayed improperly

Posted: Sat Nov 10, 2012 0:50
by Gez
No, sorry.

Except maybe the "so obvious nobody thinks of it" problem if force aspect ratio is set to something other than "off" or the screen's physical ratio.