Hard Light Productions Forums

General FreeSpace => FreeSpace & FreeSpace Open Support => Topic started by: CaptainKoloth on October 23, 2017, 10:30:36 pm

Title: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 23, 2017, 10:30:36 pm
I am unable to get FSO to run at full screen at lower than native resolution. I have a 1440p screen and everything is fine when I run at that resolution; I was having difficulty with HUD size when trying to play BtA so I tried playing in 1920x1080 but when I do that it just played it in a smaller window. Nothing I did would enlarge the 1920x1080 window to full screen, not Alt+Enter, not checking run in full screen window on dev tools in wxlauncher, run in window is not checked. This happens in every mod I've tried. In frustration I even tried lowering my desktop resolution to 1920x1080 and then running it from wxlauncher at 1920x1080; I still get a window that's the same fraction of screen size as it was when my desktop resolution was 1440p. Is there any way to run the game at lower resolution and then expand that window to full screen? I've attached my fs2_open.log.



[attachment stolen by Russian hackers]
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: AdmiralRalwood on October 24, 2017, 01:22:12 am
run in full screen window
That just gives a borderless window of the specified resolution; it's only a "full screen window" if you set the resolution to be the same as your desktop.

run in window is not checked
Code: [Select]
  -window
?

If you just want the HUD to be slightly bigger, a custom hud table should do the trick... I think somebody has one for BtA lying around.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 24, 2017, 08:43:32 am
That's what I mean. Even if I set desktop resolution to be the same it's still in a smaller window I can't enlarge. Here's what happens:
http://www.youtube.com/watch?v=WJYHhMkx-6U
Re: HUD tables I have a separate thread in BtA to figure that out but a) suffice it to say there's still some issues and b) this particular technical issue is happening regardless of which mod I load. Also get the same result regardless of whether I check run in window, run in fullscreen window, or neither.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: AdmiralRalwood on October 24, 2017, 10:58:19 am
Right-click your FSO executable, click "properties", go to the "compatibility" tab, check "override high DPI scaling behavior". Make sure "Application" is selected.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 24, 2017, 12:35:49 pm
It is. Does not make a difference.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: ngld on October 24, 2017, 01:11:35 pm
According to the video Windows isn't running in HiDPI mode which is probably why that option made no difference.

Can you check your Nvidia settings? I know that you can change whether scaling should be handled by the GPU or monitor if you're running at lower than native resolution but I'm not sure if that would have any effect in this situation.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: Delta_V on October 24, 2017, 02:00:33 pm
Have you tried logging out after making the change to display settings?  In your video, changing the resolution also changed the display scaling, but the display scaling change tends to not be applied to applications until you logout. 

http://www.hard-light.net/forums/index.php?topic=93939.0 (http://www.hard-light.net/forums/index.php?topic=93939.0) was my journey into how FSO handles screen resolution.  I never did figure out the particular issue I was having with poor framerates, as the problem mysteriously resolved itself.  But from fiddling around with that, I found that a) FSO does not always play nice with display scaling, and that it was best to just set scaling to 100%, and b) not logging out after changing display settings caused unpredictable results. 
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 24, 2017, 05:20:18 pm
According to the video Windows isn't running in HiDPI mode which is probably why that option made no difference.

Can you check your Nvidia settings? I know that you can change whether scaling should be handled by the GPU or monitor if you're running at lower than native resolution but I'm not sure if that would have any effect in this situation.

Everything is output by my GTX 1080 if that makes any difference (I have only one video output from the computer to the monitor). I'm not sure if that's quite what you're asking.

Quote
Have you tried logging out after making the change to display settings?  In your video, changing the resolution also changed the display scaling, but the display scaling change tends to not be applied to applications until you logout. 

Do you mean logging out of and back into Windows?
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: Delta_V on October 24, 2017, 05:29:36 pm
Quote
Do you mean logging out of and back into Windows?

Yeah, I meant sign out of your Windows account, and sign back in.  Or just restart your computer.  Either should work.  For some reason, display scaling changes don't fully take effect until you log back in.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 24, 2017, 05:32:36 pm
So you're suggesting changing the DPI scaling in the application settings for Freespace, then restart Windows, then try again?
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: Delta_V on October 24, 2017, 05:53:41 pm
Quote
So you're suggesting changing the DPI scaling in the application settings for Freespace, then restart Windows, then try again?

Yep.  Change display resolution + make sure display scaling is set to 100%, sign out of Windows, then sign back in and fire up FSO.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 28, 2017, 11:19:01 pm
Tried that, still nothing. Stumped.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: Deepstar on October 29, 2017, 07:40:37 am
Actually since i use the wxlauncher the change of the resolution in the launcher does nothing on my system.

I have to change the resolution always manually to use another one.

Try to change the
Code: [Select]
VideocardFs2open= entry in your fs2_open.ini to your desired resolution like
Code: [Select]
VideocardFs2open=OGL -(1920x1080)x32 bit and show if that works.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: hirmuolio on October 29, 2017, 09:42:44 am
On the video you have "fullscreen window" on. Isn't that just "borderless window" (calling it fullscreen assumes that everyone runs at native resolution)? Try with it not enabled and run the game in normal fullscreen mode.

EDIT: back on my computer. "Windowed fullscreen" is just borderless window. If you want to play f ullscreen with non native resolution don't enable it.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: CaptainKoloth on October 29, 2017, 08:19:39 pm
Actually since i use the wxlauncher the change of the resolution in the launcher does nothing on my system.

I have to change the resolution always manually to use another one.

Try to change the
Code: [Select]
VideocardFs2open= entry in your fs2_open.ini to your desired resolution like
Code: [Select]
VideocardFs2open=OGL -(1920x1080)x32 bit and show if that works.

I found this file in my /data/ directory but it doesn't seem to have this line in it at all.

Quote
On the video you have "fullscreen window" on. Isn't that just "borderless window" (calling it fullscreen assumes that everyone runs at native resolution)? Try with it not enabled and run the game in normal fullscreen mode.

EDIT: back on my computer. "Windowed fullscreen" is just borderless window. If you want to play f ullscreen with non native resolution don't enable it.

As you'll see from the above I get the exact same result whether this is checked or not.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: AdmiralRalwood on October 29, 2017, 11:13:23 pm
Actually since i use the wxlauncher the change of the resolution in the launcher does nothing on my system.

I have to change the resolution always manually to use another one.

Try to change the
Code: [Select]
VideocardFs2open= entry in your fs2_open.ini to your desired resolution like
Code: [Select]
VideocardFs2open=OGL -(1920x1080)x32 bit and show if that works.

I found this file in my /data/ directory but it doesn't seem to have this line in it at all.
Uh... fs2_open.ini shouldn't be in the "data" folder. Any "data" folder. Even if you run in portable mode, it should be in the same directory as the executable.

Where it should be is %APPDATA%\HardLightProductions\FreeSpaceOpen\fs2_open.ini.
Title: Re: Can't run in fullscreen at lower than native resolution
Post by: jr2 on October 31, 2017, 09:27:19 am
You could try running this:

Code: [Select]
tree /f %appdata%\HardLightProductions > %userprofile%\Desktop\appdataFSO.txt
tree /f "E:\Freespace 2" > %userprofile%\Desktop\FS2dir.txt

Then post those 2 files (they will be on your Desktop, use pastebin or something, or I suppose you could probably attach it here or put it in [code][/code] tags).

It looks to me like you've got a nested FS2 installation ("Freespace 2" folder in a "FreeSpace 2" folder) -- and I'm not sure everything's installed to the second folder, you may have some installed to the first folder.  Posting the tree results should help confirm or deny this.