You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steam client version (build number or date): Jul 20 2021, at 22:25:57
Distribution (e.g. Ubuntu): Fedora 34
Opted into Steam client beta?: No
Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
The Steam overlay currently depends on GLX and X WSI for OpenGL and Vulkan respectively. As a result, when running a Wayland-native application the overlay will not appear.
For OpenGL, gameoverlayrenderer.so overrides glX* but not egl*. For Vulkan, steamoverlayvulkanlayer.so only overrides the functions for VK_KHR_xcb_surface and VK_KHR_xlib_surface, not VK_KHR_wayland_surface.
This will take time to write (mostly for input handling I imagine) so a workaround would be for Steam to set SDL_VIDEODRIVER to x11 if it's unset, being sure to only do this for native applications.
Steps for reproducing this issue:
Take any game with a recent SDL version (my go-to is the public Steam beta for FEZ)
Set SDL_VIDEODRIVER=wayland %command% /gldevice:XXX as a launch option, where XXX can be OpenGL or Vulkan
Observe no overlay
Reacted by Newbyte, junglerobba, stixholder, ling, Jaydeep Godara, Atapi, Liam Hupfer, Paul Kupper, Joe Nye, Archie Lamb and 357 more
Reacted by cr, Jonathing, SuperRicky14, Christiano Rangel, Pavle Sokic, alexsperlingz, Homisiak, Faalagorn, Bálint, Ayman Lyesri and 21 more
Reacted by Austin, aiudirog, Kelvin F, Sarah, SuperRicky14, Kunooz Syed, alexsperlingz, Homisiak, Faalagorn, Bálint and 19 more
Related to this, ValveSoftware/steam-runtime#473 (comment) mentions that in at least some configurations, the overlay is loaded into a native Wayland app, but causes the app to crash when it is opened.
It's starting to look very much like 2.0.22 will be the SDL release that defaults to Wayland... our only blockers are this and NVIDIA finishing their driver support, the latter being actively worked on as we speak.
As a stepping stone to native support, it might be a good idea for the Steam client to check SDL_VIDEODRIVER and set it to x11 if it's unset? That way we can have Wayland be the default in SDL without having to wait for the Steam team to catch up.
Reacted by Eric Engestrom, Suraj, AFCMS, moeenio and Animatron1
I've been playing Axiom Verge recently (native, FNA game) and Steam overlay shows up but nothing is rendered. For example, achievement popups has nothing on them, just a flat background. Is it due to this issue?
I'll launch the game with SDL_VIDEODRIVER=wayland and see if it works better.
I've been playing Axiom Verge recently (native, FNA game) and Steam overlay shows up but nothing is rendered. For example, achievement popups has nothing on them, just a flat background. Is it due to this issue? I'll launch the game with SDL_VIDEODRIVER=wayland and see if it works better.
I see Fedora has patched their SDL to make SDL default to native Wayland (which I think is premature, but I'm not a Fedora developer, so it's not up to me)...
As a stepping stone to native support, it might be a good idea for the Steam client to check SDL_VIDEODRIVER and set it to x11 if it's unset?
... so I think it would be a good idea for Steam to do this, as a stopgap until the gameoverlayrenderer has Wayland support.
Reacted by dotbanana, Lunyaaa~, moeenio and Luiz Otávio da Silva
I see Fedora has patched their SDL to make SDL default to native Wayland (which I think is premature, but I'm not a Fedora developer, so it's not up to me)...
From my point of view, it's important so that the Wayland backend is actively used and developers wind up encountering it. Otherwise people will continue to develop their applications in a way where the backend won't work.
Reacted by Valentin Hăloiu, Suraj, ling, AFCMS, Pandora, Gleb Polishchuk, Cássio Lamarck, perpetuumcontinuum, RileyIsPurple and EchoJunction
Has Valve done any work towards this? Wayland seems to be the default for SDL2 now, and since Wayland is especially being preferred by more users this would probably be desired (fractional scaling).
If something is needed to base support for Wayland off of, wouldn't using MangoHUD as an example work? It seems to support native Wayland just fine, more or less. Permissive licensing too (MIT) if that's a concern.
Presentation works but that's arguably the easy part, since Vulkan layers are a thing and EGL is something that's been overridden before in lots of other places.
Interesting, I thought it was global keybindings that didn't work. IG I'll have to do a bit more testing with native Wayland applications.
If presentation works, could the keybinds be done via the global shortcuts portal? That seems like the best way to go about it, especially since by design Wayland doesn't like to allow keylogging without permission.
The latest Steam client overhauls the rendered contents of the overlay, but not the overlay itself - still no luck with EGL or Wayland WSI yet!
They're using portals for the filechooser on the Beta client, at the very least, so I've got hope. Good to see Valve working towards improving the client.
The latest behavior I've found was while updating Escape Goat 2, the custom level feature depends on the overlay and it turns out the Steamworks API calls to open the overlay do work, so at minimum the rendering portion is still present in the latest stable client (1788652215).
I guess it's been a pain for them to intercept events, but in the meantime, I wonder if it's worth them doing a temporary solution for SDL games where vkCreateWaylandSurfaceKHR in the overlay layer dlopens libSDL3.so.0, checks SDL_WasInit(SDL_INIT_VIDEO) (which should be true by the time you call SDL_Vulkan_CreateSurface), and then matches the wl_surface given to Vulkan to the list returned by SDL_GetWindows (checking via SDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER), and then it can run an SDL_EventFilter that absorbs keyboard/mouse/gamepad events on that SDL_WindowID to do what it needs to do.
That would probably be just sketchy enough not to do for SDL2 given how far back that library can go, but SDL3 games might be a clean enough slate to try this out.
Reacted by Nanakusa, Root-Core, exefer, djsigmann and Egor Vorontsov
Has there been any real progress on this issue? Its been 5 years since this was posted, quite ridiculous a user needs to reopen the game with a different SDL_VIDEO_DRIVER just to buy a case key.
As a programmer I use the wayland platform API directly, as opposed to using SDL, making this issue particularly pertinent to me. Steam needs better integration with this system.
Reacted by GPSolo, perpetuumcontinuum and djsigmann
With every distro and their grandmas moving over to wayland, it's somewhat ridiculous to see the leading storefront/launcher lagging behind in prehistory
Reacted by GPSolo, Cogumelo, Florian Zier, Syntrait, asxhun, Gilukm, haitam, soupy-boy, perpetuumcontinuum, djsigmann and 2 more
Activity
smcv commentedon Jan 4, 2022
Related to this, ValveSoftware/steam-runtime#473 (comment) mentions that in at least some configurations, the overlay is loaded into a native Wayland app, but causes the app to crash when it is opened.
flibitijibibo commentedon Jan 25, 2022
It's starting to look very much like 2.0.22 will be the SDL release that defaults to Wayland... our only blockers are this and NVIDIA finishing their driver support, the latter being actively worked on as we speak.
As a stepping stone to native support, it might be a good idea for the Steam client to check
SDL_VIDEODRIVERand set it tox11if it's unset? That way we can have Wayland be the default in SDL without having to wait for the Steam team to catch up.murlakatamenka commentedon Feb 8, 2022
I've been playing Axiom Verge recently (native, FNA game) and Steam overlay shows up but nothing is rendered. For example, achievement popups has nothing on them, just a flat background. Is it due to this issue?
I'll launch the game with
SDL_VIDEODRIVER=waylandand see if it works better.flibitijibibo commentedon Feb 8, 2022
#7889
murlakatamenka commentedon Feb 9, 2022
@flibitijibibo thanks, Ethan, that's exactly the issue.
You can add the list of games you have there.
smcv commentedon Jun 9, 2022
I see Fedora has patched their SDL to make SDL default to native Wayland (which I think is premature, but I'm not a Fedora developer, so it's not up to me)...
... so I think it would be a good idea for Steam to do this, as a stopgap until the gameoverlayrenderer has Wayland support.
Conan-Kudo commentedon Jun 9, 2022
From my point of view, it's important so that the Wayland backend is actively used and developers wind up encountering it. Otherwise people will continue to develop their applications in a way where the backend won't work.
flibitijibibo commentedon Oct 11, 2022
Here we are again
Going to try this one more time for SDL 2.28: libsdl-org/SDL#6362
orowith2os commentedon Jan 7, 2023
Has Valve done any work towards this? Wayland seems to be the default for SDL2 now, and since Wayland is especially being preferred by more users this would probably be desired (fractional scaling).
If something is needed to base support for Wayland off of, wouldn't using MangoHUD as an example work? It seems to support native Wayland just fine, more or less. Permissive licensing too (MIT) if that's a concern.
flibitijibibo commentedon Jan 8, 2023
Doesn't seem like MangoHud has Wayland input written either: https://github.com/flightlessmango/MangoHud/blob/11142b5b2cdeb1b83a52d14c1adb567ff2513c31/src/keybinds.h#L58
Presentation works but that's arguably the easy part, since Vulkan layers are a thing and EGL is something that's been overridden before in lots of other places.
orowith2os commentedon Jan 8, 2023
Interesting, I thought it was global keybindings that didn't work. IG I'll have to do a bit more testing with native Wayland applications.
If presentation works, could the keybinds be done via the global shortcuts portal? That seems like the best way to go about it, especially since by design Wayland doesn't like to allow keylogging without permission.
flibitijibibo commentedon Apr 28, 2023
The latest Steam client overhauls the rendered contents of the overlay, but not the overlay itself - still no luck with EGL or Wayland WSI yet!
orowith2os commentedon Apr 28, 2023
They're using portals for the filechooser on the Beta client, at the very least, so I've got hope. Good to see Valve working towards improving the client.
129 remaining items
RLB2310 commentedon Aug 31, 2026
perpetuumcontinuum commentedon Aug 31, 2026
RLB2310 commentedon Aug 31, 2026
fix: restore Steam overlay input on Wayland (#40)
flibitijibibo commentedon Sep 20, 2026
The latest behavior I've found was while updating Escape Goat 2, the custom level feature depends on the overlay and it turns out the Steamworks API calls to open the overlay do work, so at minimum the rendering portion is still present in the latest stable client (1788652215).
I guess it's been a pain for them to intercept events, but in the meantime, I wonder if it's worth them doing a temporary solution for SDL games where
vkCreateWaylandSurfaceKHRin the overlay layer dlopens libSDL3.so.0, checksSDL_WasInit(SDL_INIT_VIDEO)(which should be true by the time you call SDL_Vulkan_CreateSurface), and then matches the wl_surface given to Vulkan to the list returned bySDL_GetWindows(checking viaSDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER), and then it can run anSDL_EventFilterthat absorbs keyboard/mouse/gamepad events on thatSDL_WindowIDto do what it needs to do.That would probably be just sketchy enough not to do for SDL2 given how far back that library can go, but SDL3 games might be a clean enough slate to try this out.
GPSolo commentedon Nov 14, 2026
Has there been any real progress on this issue? Its been 5 years since this was posted, quite ridiculous a user needs to reopen the game with a different SDL_VIDEO_DRIVER just to buy a case key.
testc2n14 commentedon Nov 14, 2026
eh i just run my games with these otpins and stop caring
YellowAtom commentedon Nov 14, 2026
As a programmer I use the wayland platform API directly, as opposed to using SDL, making this issue particularly pertinent to me. Steam needs better integration with this system.
testc2n14 commentedon Nov 14, 2026
yeah it dose but this is my stop gap soultion that more or less just work
immyj-trv commentedon Nov 14, 2026
With every distro and their grandmas moving over to wayland, it's somewhat ridiculous to see the leading storefront/launcher lagging behind in prehistory
testc2n14 commentedon Nov 14, 2026
GPSolo commentedon Nov 14, 2026
0loid commentedon Nov 15, 2026
The Steam Client now has a 64 binary, so I hope this issues gets some traction and will be fixed in the near future!