Skip to content

[Overlay] Steam Overlay is glitched when playing Terraria.  #7889

Open

Description

@nutta-git

Your system information

  • Steam client version (build number or date): 1624650462
  • Distribution (e.g. Ubuntu): Arch Linux with Plasma Desktop
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

When using Steam Overlay in Terraria, the overlay is broken and unresponsive. Others are also experiencing this issue.

Steam overlay is required to start co-op servers without manual intervention.

Steps for reproducing this issue:

  1. Enable Steam Overlay in Steam Client Setting.
  2. Start Terraria
  3. Hold SHIFT+TAB

Tried Solutions:

  1. Using Steam Non-Beta Client.
  2. Using Mesa-git ( 21.2.0_devel.141851.3a9716e6b1f-1)
  3. Enabling/Disabling K-win Screen Compositor(x11).

None of these methods have worked so far to fix the issue.

Activity

  1. kisak-valve commented on Jun 29, 2021

    @kisak-valve
    Member
  2. Tau5 commented on Jul 6, 2021

    @Tau5

    For what I've seen, they have passed the issue to you.

  3. supermar1010 commented on Jul 7, 2021

    @supermar1010

    I have exactly the same issue but with unrailed, so it seems to affect more than one game

  4. Tau5 commented on Jul 16, 2021

    @Tau5

    The mesa devs say you have to fix the code in the steam overlay

  5. nutta-git commented on Jul 17, 2021

    @nutta-git
    Author

    @Tau5
    if I am not wrong, I believe a valve developer (Plagman) already knows about this issue.

  6. psy-q commented on Jul 17, 2021

    @psy-q

    This seems to affect (at least) FNA titles, I've seen it in:

    • Full Metal Furies
    • Rogue Legacy
    • Escape Goat 2
    • Streets of Rage 4

    Here's a video of the corruption on an RX580, Mesa 21.1.4. Same issue appeared on an HD2000 Intel iGPU.

  7. nutta-git commented on Aug 3, 2021

    @nutta-git
    Author

    Found a workaround for Arch Linux users:

    • Using the AUR, install amdgpu-pro-libgl
    • Open Steam Client and Click on Terraria
    • Add the Launch Option progl %command%

    Start the game and use Overlay.

  8. crumblingstatue commented on Aug 3, 2021

    @crumblingstatue

    Found a Fix for Arch Linux users:

    • Using the AUR, install amdgpu-pro-libgl
    • Open Steam Client and Click on Terraria
    • Add the Launch Option progl %command%

    Start the game and use Overlay.

    It's more of a workaround than a fix. Using the mesa driver over amdgpu-pro is highly preferred for most applications.

  9. nutta-git commented on Aug 3, 2021

    @nutta-git
    Author

    @crumblingstatue

    $ glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs
    AMD
    

    I am using the open drivers for everything except for Terraria, hence the launch option.
    https://wiki.archlinux.org/title/AMDGPU_PRO#How_to_ensure_you_are_using_AMDGPU-PRO_driver

  10. crumblingstatue commented on Aug 3, 2021

    @crumblingstatue

    My point was that you shouldn't have to use AMDGPU-PRO for Terraria either. Hence a workaround, rather than a fix.

  11. roddyrap commented on Aug 24, 2021

    @roddyrap

    This is also a problem for Intel Iris (i7-1165G7) with Celeste. Both on Wayland and Xorg.

  12. hellotinh03 commented on Sep 2, 2021

    @hellotinh03

    Did someone found a fix? I'm on Linux Mint

  13. Natural-H commented on Sep 10, 2021

    @Natural-H

    Same here, with a RX 570, using Zorin OS and Pop OS (Both based on Ubuntu)

  14. 14 remaining items

  15. flibitijibibo commented on Sep 28, 2021

    @flibitijibibo

    Workaround: FNA-XNA/FNA3D@f8d0443

    The previous version would enable point sprites and set GL_COORD_REPLACE to 1, since we only support point sprites with gl_PointCoord/gl_TexCoord[0]. Instead, we now wrap each glDraw* with the same two calls, enabling and disabling with each GL_POINTS draw.

  16. flibitijibibo commented on Sep 29, 2021

    @flibitijibibo
  17. crumblingstatue commented on Nov 19, 2021

    @crumblingstatue

    As of Mesa 21.3, this issue still persists.

  18. flibitijibibo commented on Nov 19, 2021

    @flibitijibibo

    The driver side has thankfully been resolved - the overlay is another story. Some users have tested the latest FNA3D and it seems to fix it, but I wouldn't count on it being that way forever (or until the Vulkan test suite gets finished, which is still far off).

  19. sonic2kk commented on Jan 23, 2022

    @sonic2kk

    Still persists on Mesa 21.3.4 it seems, Overlay is still bugged in Terraria.

  20. murlakatamenka commented on Feb 9, 2022

    @murlakatamenka

    Another workaround for FNA games is using -gldevice:Vulkan

    Thanks, this works for Axiom Verge

  21. crumblingstatue commented on Mar 1, 2022

    @crumblingstatue

    Fixed in Terraria 1.4.3.6

  22. flibitijibibo commented on Mar 1, 2022

    @flibitijibibo

    Terraria updated to FNA ~22.03 last night, meaning it now has the point sprite workaround to avoid this issue. It will still persist for other titles that haven't updated yet (which I would actually hold off on until SDL's move to Wayland-by-default is finished, aiming for end of March provided #8020 doesn't end up blocking it).

  23. khaled-0 commented on Jun 24, 2022

    @khaled-0

    Happening on celeste too.
    Using Flatpak Steam on Fedora 36 (Wayland)
    image

  24. sunryze-git commented on Sep 2, 2022

    @sunryze-git

    Happening on celeste too.
    Using Flatpak Steam on Fedora 36 (Wayland)

    Update / Fix: To fix issues like this you need to update FNA. I used the script here: https://gist.github.com/flibitijibibo/f06e3f60eb66e5462da824e490229591#file-fnaupdate-sh

    Having the same problem with Celeste, Steam from pacman and under xorg.
    I suspect it is because Celeste is using an outdated FNA? Haven't looked into that though.
    A hacky fix for me is to just use the amdgpu-pro openGL driver

    image

  25. griffi-gh commented on Jul 12, 2023

    @griffi-gh

    still having this issue in Celeste, arch linux, amdgpu, gnome, wayland
    game fails to find a fna driver with the vulkan flag...

  26. smj-edison commented on Jan 6, 2024

    @smj-edison

    I just ran into this issue on Terraria too. Running latest version of arch (6.6.9-arch1-1), Terraria (v1.4.4.9), and Proton 8.0-4 on Xorg. -gldevice:Vulkan fixed the overlay issue for me, though I haven't played it long enough to see if it crashes. Steam overlay is also broken on Celeste for me.

    EDIT: tried running the script that @sunryze-git mentioned, but it didn't fix the issue (unless I did it wrong, lol).

  27. yaomtc commented on Jan 6, 2024

    @yaomtc

    Playing Terraria on Wayland (Plasma 5.27) natively, I don't have any issue with the overlay anymore. I haven't run that script on this install (I used it on a past install)

  28. yaomtc commented on Jan 6, 2024

    @yaomtc

    Just to be sure, I deleted all the FNA/mono files and had Steam reacquire them. Still works.
    Screenshot_20240105_213429
    No idea if it's using Wayland yet or if there's something else that fixed it, for me at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions