shinyquagsire23 / OpenJKDF2

A cross-platform reimplementation of JKDF2 in C
Other
493 stars 39 forks source link

Window scaling issue in Windows 11 #279

Closed kmdono02 closed 5 months ago

kmdono02 commented 11 months ago

Hi everyone! Thanks for this amazing mod. I'm having an issue with window scaling when running OpenJKDF2. Specifically unless the window size is of a specific ratio, the picture appears incorrectly scaled. This is also the case with fullscreen on my 2K monitor. Posted a picture as an example. I tried messing around with the DPI setting on OpenJKDF2 and the DPI compatibility settings in Windows 11 and running it in compatibility mode. Any help is appreciated!

Screenshot 2023-08-31 002349

kmdono02 commented 11 months ago

example of size which works ok. Have also tried changing Windows scaling % Screenshot 2023-08-31 002454

shinyquagsire23 commented 10 months ago

sorry for the late reply, what GPU do you have? It looks like it's possibly expecting powers of 2 for the internal resolution, so I'll have to see if I can fix it blindly based on that, but if possible I'd like to recreate the issue on any hardware I have access to

kmdono02 commented 10 months ago

No problem thanks for getting back to me! The GPU is an integrated graphics card - Radeon 780M. It's really new which may be a part of the problem?

FYI I tried OpenJKDF2 on my old laptop with Windows 10 and an integrated Intel HD 620 GPU and it works perfectly, so I can always use my old laptop to play but of course the new computer is preferred

Also not sure if it relevant by I've tried setting my monitor to 1080p and 1440p and doing full screen, both result in the same issue above

kmdono02 commented 10 months ago

Hi! Were you able to reproduce the issue? No problem if not as I can just play on my old laptop, just curious. Thanks!

kmdono02 commented 5 months ago

FYI I fixed the issue, had to enable GPU scaling