Your system information
- 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
Your system information
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_VIDEODRIVERtox11if it's unset, being sure to only do this for native applications.Steps for reproducing this issue:
SDL_VIDEODRIVER=wayland %command% /gldevice:XXXas a launch option, whereXXXcan beOpenGLorVulkan