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

Wrong resolution setting when Wayland fractional scaling is enabled #12079

Open
simonioc opened this issue Jan 24, 2025 · 1 comment
Open

Wrong resolution setting when Wayland fractional scaling is enabled #12079

simonioc opened this issue Jan 24, 2025 · 1 comment
Assignees
Milestone

Comments

@simonioc
Copy link

simonioc commented Jan 24, 2025

I've only tried with sdl2-compat since few games use SDL3 already, but i think it's a SDL3 problem because it doesn't happen on X11.

Reproduce steps:
Pick a game and set it to wayland while running on a fractional scaling session (KWin does support it), for example Super Meat Boy.
The game either doesn't display anything or the resolution does not match the monitor's one and it can't set into it.
It looks like SDL_GetDisplayMode() gets them correctly but SDL can't actually set them.
Also i don't know whether this is a SDL or KWin problem, i can say glfw games do not currently have this problem on the same Wayland session.

@simonioc
Copy link
Author

also windows get resized, this may be intentional but it breaks things i think

@slouken slouken added this to the 3.2.2 milestone Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants