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
{{ message }}
Repository navigation
[Overlay] Steam Overlay is glitched when playing Terraria. #7889
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.
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).
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).
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
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).
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)
Just to be sure, I deleted all the FNA/mono files and had Steam reacquire them. Still works.
No idea if it's using Wayland yet or if there's something else that fixed it, for me at least.
Activity
kisak-valve commentedon Jun 29, 2021
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4191 is further along in evaluating this issue.
Tau5 commentedon Jul 6, 2021
For what I've seen, they have passed the issue to you.
supermar1010 commentedon Jul 7, 2021
I have exactly the same issue but with unrailed, so it seems to affect more than one game
Tau5 commentedon Jul 16, 2021
The mesa devs say you have to fix the code in the steam overlay
nutta-git commentedon Jul 17, 2021
@Tau5
if I am not wrong, I believe a valve developer (Plagman) already knows about this issue.
psy-q commentedon Jul 17, 2021
This seems to affect (at least) FNA titles, I've seen it in:
Here's a video of the corruption on an RX580, Mesa 21.1.4. Same issue appeared on an HD2000 Intel iGPU.
nutta-git commentedon Aug 3, 2021
Found a workaround for Arch Linux users:
progl %command%Start the game and use Overlay.
crumblingstatue commentedon Aug 3, 2021
It's more of a workaround than a fix. Using the mesa driver over amdgpu-pro is highly preferred for most applications.
nutta-git commentedon Aug 3, 2021
@crumblingstatue
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
crumblingstatue commentedon Aug 3, 2021
My point was that you shouldn't have to use AMDGPU-PRO for Terraria either. Hence a workaround, rather than a fix.
roddyrap commentedon Aug 24, 2021
This is also a problem for Intel Iris (i7-1165G7) with Celeste. Both on Wayland and Xorg.
hellotinh03 commentedon Sep 2, 2021
Did someone found a fix? I'm on Linux Mint
Natural-H commentedon Sep 10, 2021
Same here, with a RX 570, using Zorin OS and Pop OS (Both based on Ubuntu)
14 remaining items
flibitijibibo commentedon Sep 28, 2021
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.
flibitijibibo commentedon Sep 28, 2021
The regression may have already been identified:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/5423
Commit in question: https://gitlab.freedesktop.org/mesa/mesa/-/commit/11d1309d8276768aca3f02ddd7cc57cdb323113c
flibitijibibo commentedon Sep 29, 2021
Merge request for anyone that's self-building Mesa:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13105
crumblingstatue commentedon Nov 19, 2021
As of Mesa 21.3, this issue still persists.
flibitijibibo commentedon Nov 19, 2021
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).
sonic2kk commentedon Jan 23, 2022
Still persists on Mesa 21.3.4 it seems, Overlay is still bugged in Terraria.
murlakatamenka commentedon Feb 9, 2022
Thanks, this works for Axiom Verge
crumblingstatue commentedon Mar 1, 2022
Fixed in Terraria 1.4.3.6
flibitijibibo commentedon Mar 1, 2022
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).
khaled-0 commentedon Jun 24, 2022
Happening on celeste too.

Using Flatpak Steam on Fedora 36 (Wayland)
sunryze-git commentedon Sep 2, 2022
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
griffi-gh commentedon Jul 12, 2023
still having this issue in Celeste, arch linux, amdgpu, gnome, wayland
game fails to find a fna driver with the vulkan flag...
smj-edison commentedon Jan 6, 2024
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:Vulkanfixed 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).
yaomtc commentedon Jan 6, 2024
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)
yaomtc commentedon Jan 6, 2024
Just to be sure, I deleted all the FNA/mono files and had Steam reacquire them. Still works.

No idea if it's using Wayland yet or if there's something else that fixed it, for me at least.