We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4146

Summary: GDK SCALE leads to wrong resolution in wayland
Product: SDL Reporter: Fabian <plusfabi>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: NEW --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: dos
Version: 2.0.8   
Hardware: x86_64   
OS: Linux   

Description Fabian 2018-04-21 19:54:59 UTC
Setting up GNOME in HiDPI mode (GDK_SCALE=2) and now launching a sdl2 using game with it's wayland backends leads to a 2x greater resoltion.

So Windows that are rendered for a 1920*1080 resolution will be streched to 3849*2160. While this sounds logical, it isnt. The content is just streched, rendered in 1920*1080.
Comment 1 Sebastian Krzyszkowiak 2018-10-27 21:03:42 UTC
Basically there is no HIGHDPI support in the Wayland backend at all - it's implemented only in macOS, iOS and Emscripten ones so far.