Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High resolution scaling problems (only see upper left corner) #927

Closed
RustyLovecraft opened this issue Dec 16, 2020 · 4 comments
Closed
Labels
bug some feature is broken

Comments

@RustyLovecraft
Copy link

When I play in 1680x1050 and higher, the bottom and the right side of the screen are cut off. Higher resolutions (namely 1080p) have the same issue; lower resolutions like mostly have no issues. I get a "zoomed-in" view of the upper left corner, so I can't see some UI and HUD items.

The issue persists in fullscreen and windowed mode. In fullscreen, there is no way to see those hidden regions of the screen. In windowed mode, the window size exceeds the size of my display, so I can drag the window to see the right side (but there is no way to see the bottom). I have tested using my laptop display and my external monitor, and the issue is consistent for both.

Interestingly, the Alt+Enter shortcut to toggle fullscreen doesn't work for 1080p either. It tries for a moment but nothing happens. If I uncheck "Fullscreen Mode" in the launcher, and 1080p is selected, the game launches in fullscreen anyway. I can launch the game in windowed mode and freely toggle fullscreen for other (lower) resolutions. Maybe this is a separate issue, but it seems related.

1920x1080 (16:9): fullscreen glitch, windowed impossible
1680x1050 (16:10): fullscreen glitch, windowed glitch
1600x900 (16:9): fullscreen OK, windowed glitch
1440x900 (16:10): fullscreen OK, windowed glitch
1400x1050 (~4:3): fullscreen glitch, windowed glitch
1366x768 (~16:9): fullscreen OK, windowed OK
1360x768 (~16:9): fullscreen OK, windowed OK
1280x1024 (~4:3): fullscreen glitch, windowed glitch
1280x960 (4:3): fullscreen OK, windowed glitch
1280x800 (16:10): fullscreen OK, windowed OK
1280x768 (5:3): fullscreen OK, windowed OK
1280x720 (16:9): fullscreen OK, windowed OK
1280x600 (~21:9): fullscreen OK, windowed OK
1152x864 (4:3): fullscreen OK, windowed glitch
1024x768 (4:3): fullscreen OK, windowed OK
800x600 (4:3): fullscreen OK, windowed OK

By looking at this data we can see that narrow aspect ratios tend to be cut off in windowed mode (the bottom is cut off; sides are visible for these). They are also the only lower resolutions prone to fullscreen display issues.

My machine is the Alienware m15 laptop. It runs Windows x64 and native 1080p. My OpenSpades version is up to date: 0.1.3 . I can share screenshots of the issue but my Internet connection is refusing to upload them right now. I really don't get why this display issue happens, and I would love to get it figured out.

@RustyLovecraft
Copy link
Author

1680x1050 fullscreen:
1680-1050-fullscreen

1680x1050 windowed:
1680-1050-windowed

1680x1050 taskbar thumbnail showing obscured regions in black:
1680-1050-thumbnail-cutoff

1080p fullscreen:
1920-1080-fullscreen

@RustyLovecraft
Copy link
Author

1280x1024 fullscreen and windowed (to demonstrate issues with 4:3 and similarly narrow aspect ratios):

1280-1024-fullscreen

1280-1024-windowed

My graphics settings in the launcher:

gfx

@yvt
Copy link
Owner

yvt commented Dec 18, 2020

Can you try replacing SDL2.dll with the latest version (x86) and see if it works? The one that comes with OpenSpades 0.1.3 is very old and known to cause various issues.

@RustyLovecraft
Copy link
Author

RustyLovecraft commented Dec 18, 2020

Awesome! I did that, and 1080p works in fullscreen now. Thanks for the help. 1080p windowed still cuts off the edges, but I prefer fullscreen anyway, so that's NBD.

My external display is 1440p, and I can't get this resolution to work even after the fix. I can set the launcher to 2560x1440 (it appears in the suggested list), but it still loads the game in 1080p. The windowed versions of "1440p" and 1080p hide different parts of the screen, which is a little odd considering they are both actually 1080p.

OS-afterDLL-1440p-issue

I am rather content with this considering the game looks better now, and it is now a lot easier to shoot baddies from afar! Given the age of OpenSpades, I would not be surprised if it was never intended to run at resolutions greater than 1080p anyway.

@feikname feikname added the bug some feature is broken label Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug some feature is broken
Projects
None yet
Development

No branches or pull requests

3 participants