Jump to content

Game view scrolling on 4K, 200% zoom and GTX 1060


Ziyuan Yao
 Share

Recommended Posts

Hello,

I use a Dell U2720Q 27" 4K monitor. In Windows 10, I set display resolution at 3840x2160 and zoom level at 200%.

Previously I used a GTX 960 video card and I could play 0 AD without any change to 0 AD's video settings.

But recently I upgraded to GTX 1060 and in 0 AD's full screen mode when I put my mouse at the right edge of the screen, the game view wouldn't move right. I had to move the mouse 1 pixel leftward for the view to move right. Putting the mouse at the left, top, bottom edges of the screen doesn't have this problem.

My current workaround is:

  • In %appdata%\0ad\config\local.cfg, add this line: gui.scale = "2"
  • Find pyrogenesis.exe in Windows Explorer, right-click it and choose "Properties" -> Compatibility-> High-DPI settings -> enable "overwrite high DPI scaling".

Then 0 AD (the latest version) will work perfectly in full screen mode like before.

Hope this issue gets fixed soon.

Link to comment
Share on other sites

Hi!

On 02/11/2022 at 1:34 AM, Ziyuan Yao said:

My current workaround is:

  • In %appdata%\0ad\config\local.cfg, add this line: gui.scale = "2"
  • Find pyrogenesis.exe in Windows Explorer, right-click it and choose "Properties" -> Compatibility-> High-DPI settings -> enable "overwrite high DPI scaling".

Does your workaround fixes the right edge problem?

Currently it sounds more like a SDL issue (the open-source library we use to interact with an OS), so it means it's harder to fix by ourselves. But you also can try disable borderless fullscreen by adding borderless.fullscreen = false to your config file.

Could you also share your userreport.txt from the logs folder?

Link to comment
Share on other sites

  • 3 weeks later...
On 02/11/2022 at 7:04 AM, vladislavbelov said:

Hi!

Does your workaround fixes the right edge problem?

Yes. The workaround essentially let the game run in my monitor's native 3840x2160 resolution and 100% system scaling but 200% in-game scaling. Then in full mode all four screen edges work perfectly.

I think all games should prefer to use the user's native resolution (whether in Windowed or Full Screen mode) but allow the user to specify a zoom scale. The other game on my computer, SuperTuxKart, does this poorly in its Full Screen mode (in its Full Screen mode, it doesn't recognize my native 3840x2160 resolution and only offers up to 1920x1080 because I use a 200% system scaling), so I have to use its Windowed Mode.

On 02/11/2022 at 7:04 AM, vladislavbelov said:

Currently it sounds more like a SDL issue (the open-source library we use to interact with an OS), so it means it's harder to fix by ourselves. But you also can try disable borderless fullscreen by adding borderless.fullscreen = false to your config file.

Could you also share your userreport.txt from the logs folder?

OK, attached is my C:\Users\Ziyuan Yao\AppData\Local\0ad\logs\userreport_hwdetect .

userreport_hwdetect.txt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...