Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.11k stars 517 forks source link

Unable to change screen resolution #3525

Open ddams2000 opened 7 months ago

ddams2000 commented 7 months ago

Describe the bug Hello, it's impossible for me to change resolution under Linux, it's that of system and nothing else in settings it's indicated that it's a lower resolution but I can see that it's the same (2560*1440) and unfortunately with this screen resolution the fluidity is not optimal.

To Reproduce Change to any other resolution in the settings quit and restart the game

Expected behavior Ideally, the resolution change would work.

Screenshots or Videos Capture d’écran du 2023-11-20 11-21-29

Your System:

Hardware Information:

Software Information:

maxsupermanhd commented 7 months ago

Wayland moment? Try in X11 session?

ddams2000 commented 7 months ago

Wayland moment? Try in X11 session?

Hi, yes it works perfectly under x11, could you tell me if there is a way for it to work under wayland, or perhaps in a future update?

maxsupermanhd commented 7 months ago

@past-due

past-due commented 7 months ago

@ddams2000 Do you have high-DPI mode (also sometimes called display scaling) enabled on your system?

ddams2000 commented 7 months ago

@ddams2000 Do you have high-DPI mode (also sometimes called display scaling) enabled on your system?

hi, I don't think so, here are the only settings regarding the screen that I found: Capture d’écran du 2023-11-20 20-04-46