[Patch 7.39] Wayland Global Hotkeys
Since the 7.39 update, global hotkeys no longer work (eg: for controlling Discord while Dota has focus). I'm guessing game updated from Xwayland to native Wayland?
Works under Xorg of course. Are there launch options to control / workaround this?
OS: Fedora Linux 42 (Workstation Edition) x86_64 Kernel: Linux 6.14.6-300.fc42.x86_64 DE: GNOME 48.1 CPU: AMD Ryzen 5 3600 (12) @ 4.21 GHz GPU: NVIDIA GeForce RTX 2060 [Discrete] Memory: 9.87 GiB / 31.26 GiB (32%)
Maybe something related, can't hide mangoHUD in Dota2, right_shift + F12 just ignored ArchLinux, DE Gnome, amdgpu, mesa 25.1
UPD: Also steam overlay isn't working
Since the 7.39 update, global hotkeys no longer work (eg: for controlling Discord while Dota has focus). I'm guessing game updated from Xwayland to native Wayland?
Works under Xorg of course. Are there launch options to control / workaround this?
OS: Fedora Linux 42 (Workstation Edition) x86_64 Kernel: Linux 6.14.6-300.fc42.x86_64 DE: GNOME 48.1 CPU: AMD Ryzen 5 3600 (12) @ 4.21 GHz GPU: NVIDIA GeForce RTX 2060 [Discrete] Memory: 9.87 GiB / 31.26 GiB (32%)
as a workaround you can set launch option
SDL_VIDEO_DRIVER=x11 %command%
I'm curious why would valve remove the forced env variable SDL_VIDEO_DRIVER=x11 from dota.sh script if steam client is not yet working natively on wayland and so steam overlay doesn't work.
Also I had this problem, after pressing any key, no matter if I'm typing in chat or pressing skills/items, I have this strange stutter for like 50 ms, so if I hold down any key, screen basically freeze
I'm curious why would valve remove the forced env variable
SDL_VIDEO_DRIVER=x11from dota.sh script if steam client is not yet working natively on wayland and so steam overlay doesn't work.Also I had this problem, after pressing any key, no matter if I'm typing in chat or pressing skills/items, I have this strange stutter for like 50 ms, so if I hold down any key, screen basically freeze
Oh, noticed the same can be also caused in game menu no need to be in match. I mean long pressing a key and then clicking with mouse the game will start to use 100% cpu and freeze. After a while it will show the dialog "App is not responding" I can choose to force quit or wait even in menu it takes 20 sec+ to recover from that.
In game the same happens when aiming skills or typing etc. I am guessing something with input system handling got fracked in the update.
I have a fcitx installed and use bc it fixed another games repeatable keys bug. What input system are you using @RayJameson ?
Replying to https://github.com/ValveSoftware/Dota-2/issues/3224#issuecomment-2906886348
I guess whichever system the hyprland uses, I didn't install anything explicitly
Steam overlay is still working for me. And Hyprland is reporting Dota to still be running under Xwayland, so I don't think they've switched to native Wayland? Could someone from Valve confirm this?
Whatever they changed fixed a Wayland-only bug for me though where copying something to the clipboard with Ctrl+C from within Dota's chat lead to a game crash (#2754).
Mine is def running Wayland native, using the SDL_VIDEO_DRIVER=x11 %command% launch option returns it to Xwayland and restores global hotkeys for discord.
The main thing I need is a push-to-mute button for discord. I bind it to my in-game push-to-talk button so that i don't annoy all my friends by broadcasting on both.