Skip to content

DOTA Wayland issues #13126

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

Closed
slouken opened this issue May 26, 2025 · 4 comments
Closed

DOTA Wayland issues #13126

slouken opened this issue May 26, 2025 · 4 comments
Assignees
Milestone

Comments

@slouken
Copy link
Collaborator

slouken commented May 26, 2025

DOTA recently switched to enabling Wayland, and is running into a bunch of issues that are resolved by forcing X11:
ValveSoftware/Dota-2#3224
ValveSoftware/Dota-2#3237
ValveSoftware/Dota-2#3236
ValveSoftware/Dota-2#3227

@Kontrabant, is there anything we can do here, or is the right solution to have DOTA stay on XWayland?

@slouken slouken added this to the 3.x milestone May 26, 2025
@JuanJ67m
Copy link

+1, 15 years in beta

@Kontrabant
Copy link
Contributor

Kontrabant commented May 27, 2025

The Discord issue is likely due to issues with Electron's global shortcut portal support. It recently gained support for it, but it seems to still have some bugs and must be manually enabled.

The resolution list issue might be the game filtering any resolutions above the (scaled) desktop resolution? On scaled desktops, SDL still supplies the native, unscaled resolution as the first entry in the fullscreen mode list, which can be seen by running testdisplayinfo with a scaled desktop configuration.

As for the issues with freezes when processing events, it's hard to tell without a reproducible backtrace, but there have been issues reported with the Wayland backend occasionally hanging when processing events due to an anomalous timestamp causing excessive key repeat event generation, which recent commits should fix.

@evilch3n
Copy link

Global Hotkey issues are not only for discord but also their own steam global hotkeys for screenshots, overlay etc. do not work

@slouken
Copy link
Collaborator Author

slouken commented May 29, 2025

The event processing fixes have made it into the public DOTA release. We are able to reproduce the desktop resolution issue, but ran into some other problems that need to be addressed before Wayland is officially supported on DOTA, so it has been disabled by default.

I think we're good on the SDL side, so I'll go ahead and close this now.

@slouken slouken closed this as completed May 29, 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

4 participants