protonscr

Overlay doesn't work for native Wayland games/programs

steamclosed
ValveSoftware/steam-for-linux#11818 · opened 2025-03-12 by Damglador · updated 2025-03-12 · 1 comments · github
1 matching comments, n / p to jump
DDamglador 2025-03-12 github

Your system information

  • Steam client version (build number or date): 1741737356
  • Distribution (e.g. Ubuntu): Arch
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: Nvidia/AMD

Please describe your issue in as much detail as possible:

Games and programs that use Wayland natively instead of using Xwayland, have no Steam overlay. I wasn't able to find any other reports of this issue, probably because there's not many games with native Wayland support, but with Wine 10 adding native Wayland support, more people may encounter this issue. I noticed this in Factorio and Barony.

What's exactly the issue:

  • FPS counter is missing
  • Shift+Tab overlay doesn't work
  • F12 screenshots don't work, probably as well as recording

Steps for reproducing this issue:

-1. Enter Wayland session
-2. Start Factorio
-3. In settings, select Wayland instead of X11
-4. Restart the game

-1. Enter Wayland session
-2. Add SDL_VIDEODRIVER=wayland %command% to Barony launch parameters
-3. Launch Barony (I guess also works with other SDL games, but I haven't tested)

-1. Enter Wayland session
-2. Launch Blender

Kkisak-valve maintainer 2025-03-12 github

Hello @Damglador, this issue is already being tracked at #8020. Closing as a duplicate.

Launch options

Launch lines