Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unified DXVK/VKD3D lag timebomb in most games if compiled from git #4436

Closed
SheMelody opened this issue Nov 8, 2024 · 135 comments
Closed

Unified DXVK/VKD3D lag timebomb in most games if compiled from git #4436

SheMelody opened this issue Nov 8, 2024 · 135 comments

Comments

@SheMelody
Copy link

SheMelody commented Nov 8, 2024

There's a literal "lag timebomb" when pulling the latest git versions of DXVK and VKD3D and compiling them. These lag timebombs are unified, meaning that they happen in both DXVK git and VKD3D git, and they trigger after roughly ~25 to ~40 minutes of gameplay and generally only trigger if the user is providing input to the game. This problem exists since roughly 2 months and I felt like it would be good to report it here. Since the problem is unified (happens on both DXVK and VKD3D) I actually didn't know where to report it.

Affected games mostly use Unreal Engine. Insomniac Engine games, for example, didn't seem to be affected.

Using a "Release" version of DXVK + a "Release" version of VKD3D seems to solve the problem.

More specifically, the game is smooth before the "timebomb" triggers, then consistent and repeated heavy stutters begin to happen. If needed, I can record a video.

EDIT: We have found out that, when this triggers, it only happens when moving the mouse.

Software information

Any game that uses DXVK or VKD3D pulled from git and compiled, this problem is unified and common in both DXVK and VKD3D

System information

  • GPU: Most likely any GPU, both NVIDIA and AMD (tested: 4070 SUPER, 4080 SUPER, 7900XTX)
  • Driver: Most likely any driver
  • Wine version: Tried multiple Proton versions, including GE and LFX2
  • DXVK version: straight from git

Apitrace file(s)

  • Can provide if needed, but this problem can easily be reproduced on any machine

Log files

  • Again I can provide this if it's really necessary, but this can be easily reproduced on any machine
@SheMelody
Copy link
Author

We have found out that, when this triggers, it only happens when moving the mouse, I'll be posting a video soon.

@doitsujin
Copy link
Owner

doitsujin commented Nov 8, 2024

DXVK does not interact with mouse input in any way, I strongly doubt it's even remotely possible that this is our bug.

Also haven't seen anything like this on my machine even in extended play sessions. As for Unreal Engine titles, I ran Hellblade and Days Gone for ~an hour not too long ago to test some unrelated changes.

@SheMelody
Copy link
Author

DXVK does not interact with mouse input in any way, I strongly doubt it's even remotely possible that this is our bug.

Also haven't seen anything like this on my machine even in extended play sessions. As for Unreal Engine titles, I ran Hellblade and Days Gone for ~an hour not too long ago to test some unrelated changes.

I understand that they don't interact with mouse input, but when I run a game that natively uses Vulkan (ie. Quake 2 Remastered, Saints Row) they're not affected by this problem.

Switching to any of your releases paired with a vkd3d release completely fixes this mouse problem. I'm not any more expert than you, but the only thing dxvk and vkd3d have in common is dxgi.

I don't know if I'm being helpful but I can post a video on YouTube or logs.

@doitsujin
Copy link
Owner

doitsujin commented Nov 8, 2024

Well what I'm saying is that this functionally doesn't make any sense and I can't reproduce it.

First step would probably be to provide detailed info about your build environment, including compiler version, MinGW version if applicable, and the exact command lines you're using to build the whole thing.

Another question would be what kind of environment you're running on as well, any sort of input issue points more towards wine/compositor issues than us.

@SheMelody
Copy link
Author

SheMelody commented Nov 8, 2024

Well what I'm saying is that this functionally doesn't make any sense and I can't reproduce it.

First step would probably be to provide detailed info about your build environment, including compiler version, MinGW version if applicable, and the exact command lines you're using to build the whole thing.

Another question would be what kind of environment you're running on as well, any sort of input issue points more towards wine/compositor issues than us.

I'm using fully updated Arch Linux, MinGW 13.1.0-1.

I tried with X11, X11 + gamescope, Wayland and Wayland + gamescope. Same problem happens after roughly 25 to 40 minutes of gameplay.

There's an intermittent heavy stutter that runs at its own pace, but only when playing with keyboard and mouse apparently, and it gets worse if you move your mouse once the "timebomb" triggers.

I'm using your package-release.sh script to build dxvk, using vkd3d's package-release.sh script to build vkd3d as well. Nothing goes wrong while compiling. Switching to "old" versions of vkd3d + dxvk completely gets rid of the issue.

Running a game that natively uses Vulkan or OpenGL never triggers this problem (under the same proton prefix and under the same circumstances of course).

I'm going to upload a video of the problem on YouTube (recorded by a friend of mine) in order to showcase the problem.

@SheMelody
Copy link
Author

Video uploaded, manually switch to 1080p if it starts at 360p. This is a footage after roughly 30 minutes of playtime. The lag "timebomb" shows up at 0:44 timestamp:

https://youtu.be/PNa_DGexFAs

@Blisto91
Copy link
Contributor

Blisto91 commented Nov 8, 2024

Does this also happen with the builds that ship with Proton Bleeding Edge or downloaded from GitHub CI or only with self compiled?

Also are you able to bisect which commit it started with?

@doitsujin
Copy link
Owner

doitsujin commented Nov 8, 2024

I'm using fully updated Arch Linux, MinGW 13.1.0-1.

This is precisely what the release builds are from. MinGW stuff hasn't been updated in a year or so, so the past couple of stable releases were compiled using exactly this in release mode.

Switching to "old" versions of vkd3d + dxvk completely gets rid of the issue.

Does "old versions" include self-compiled builds of stable releases?

I'm not running anything special here, just plain old KDE Wayland with (generally) no Steam overlay and (generally) no Gamescope, and RADV on a 6900XT. If this is an issue that supposedly affects any (UE4) game on any setup then what exactly is it that makes my system the special snowflake that this doesn't happen on?

Sorry for the rather annoyed tone but we have a release planned soon, so if this issue actually does affect a majority of users then I need a reliable way to reproduce it in order to actually do somehting about it.

@SheMelody
Copy link
Author

I'm using fully updated Arch Linux, MinGW 13.1.0-1.

This is precisely what the release builds are from. MinGW stuff hasn't been updated in a year or so, so the past couple of stable releases were compiled using exactly this in release mode.

Switching to "old" versions of vkd3d + dxvk completely gets rid of the issue.

Does "old versions" include self-compiled builds of stable releases?

I'm not running anything special here, just plain old KDE Wayland with (generally) no Steam overlay and (generally) no Gamescope, and RADV on a 6900XT. If this is an issue that supposedly affects any (UE4) game on any setup then what exactly is it that makes my system the special snowflake that this doesn't happen on?

Yes, to also answer @Blisto91 the "old versions" included my own self-compiled. I have self-compiled versions of both dxvk and vkd3d saved, but I don't know where to start, honestly, maybe we can guess something:

  • 21st of July 2024
  • 23rd of July 2024
  • 26th of July 2024
  • 27th of July 2024
  • 30th of July 2024
  • 10th of August 2024
  • 16th of August 2024
  • 22nd of August 2024
  • 30th of August 2024
  • 9th of September 2024
  • 10th of September 2024
  • 19th of September 2024
  • 21st of September 2024
  • 25th of September 2024
  • 1st of October 2024
  • 6th of October 2024
  • 12th of October 2024
  • 16th of October 2024
  • 18th of October 2024
  • 6th of November 2024
  • 7th of November 2024
  • Today

@SheMelody
Copy link
Author

For the sake of having a complete background, I'm actually going to test this whole thing without using ecores on intel and by using only one ccx on amd. It's probably unrelated and nonsensical but it doesn't harm me to test, my boyfriend is also testing with me. We've been trying to troubleshoot this for days to no avail.

@Etaash-mathamsetty
Copy link
Contributor

Etaash-mathamsetty commented Nov 8, 2024

could you send a log with DXVK_LOG_LEVEL=debug

also could u try windowed mode

@SheMelody
Copy link
Author

SheMelody commented Nov 8, 2024

could you send a log with DXVK_LOG_LEVEL=debug

also could u try windowed mode

Yes, I'll attempt both things after testing the ecores/ccx thingy.

Edit: I'm sorry because these tests take a very long time, it's 25 to 40 minutes per-test. Yet, reproducibility should be easy (not timewise of course) as long as you're playing with a mouse and a keyboard on newly compiled dxvk + vkd3d.

@doitsujin
Copy link
Owner

@Etaash-mathamsetty
Copy link
Contributor

could you send a log with DXVK_LOG_LEVEL=debug
also could u try windowed mode

Yes, I'll attempt both things after testing the ecores/ccx thingy.

Edit: I'm sorry because these tests take a very long time, it's 25 to 40 minutes per-test. Yet, reproducibility should be easy (not timewise of course) as long as you're playing with a mouse and a keyboard on newly compiled dxvk + vkd3d.

funny story, I can't reproduce it either

@SheMelody
Copy link
Author

Can you try https://github.com/doitsujin/dxvk/tree/no-occlusion?

I'm building it while my boyfriend is testing without ecores.

@SheMelody
Copy link
Author

could you send a log with DXVK_LOG_LEVEL=debug
also could u try windowed mode

Yes, I'll attempt both things after testing the ecores/ccx thingy.
Edit: I'm sorry because these tests take a very long time, it's 25 to 40 minutes per-test. Yet, reproducibility should be easy (not timewise of course) as long as you're playing with a mouse and a keyboard on newly compiled dxvk + vkd3d.

funny story, I can't reproduce it either

Is it actually git cloned and compiled or just picked from releases? If nobody can reproduce this here, it could actually be related to a change that affects ecores (to-be-confirmed since my boyfriend is still testing, he's playing since 31 minutes without the problem triggering as of now).

@SheMelody
Copy link
Author

For the sake of having a complete background, I'm actually going to test this whole thing without using ecores on intel and by using only one ccx on amd. It's probably unrelated and nonsensical but it doesn't harm me to test, my boyfriend is also testing with me. We've been trying to troubleshoot this for days to no avail.

Does not seem to be the problem. Will try no-occlusion straight away @doitsujin

@SheMelody
Copy link
Author

Can you try https://github.com/doitsujin/dxvk/tree/no-occlusion?

Timebomb triggered at 33 minutes with this fork. Some walls and corners were invisible. My boyfriend will test this again with debug logging, I'm going to sleep soon. Make a list of more things that I should try and I'll do it right after waking up (I don't have work so I'm free the whole day).

@doitsujin
Copy link
Owner

Well, that rules out the only DXGI change since 2.4.1, so....

@SheMelody
Copy link
Author

Well, that rules out the only DXGI change since 2.4.1, so....

Could it be a shared change between DXVK and VKD3D? Because we don't experience that problem with neither Proton GE and Experimental, yet we used to not have that problem at all and I always compiled the latest git releases for both of us.

I strictly believe that, at some point in time, something changed, and it affected both dxvk and vkd3d, and specifically "mouse handling" (probably not the right term) somehow.

It's weird that anything that runs on native API (Vulkan / OpenGL) does not suffer from this issue on any Proton prefix, yet the moment we try using git compiled dxvk + vkd3d this starts triggering.

It's interesting that games that run, for example, on Insomniac Engine and its forks, don't even suffer from this issue, while other games (notably Unreal Engine) have this timebomb as long as they use DXVK or VKD3D and as long as you play them with a mouse and keyboard.

My boyfriend will provide debug logging until the problem starts happening, and if you can 100% conclude that this is certainly not a DXVK + VKD3D issue, I'll have to look somewhere else. Most worrying scenario would be this problem affecting the majority of people but they have no idea. We really need more people testing this.

@Blisto91
Copy link
Contributor

Blisto91 commented Nov 8, 2024

Been playing Hogwarts Legacy for around 110 mins now but haven't been able to reproduce.
Proton Experimental Bleeding Edge (the beta branch), Ryzen 7950x, RTX 4080 (driver is 565.57.01), KDE X11, Steam overlay turned on and even obs open in the background.

@SheMelody
Copy link
Author

Been playing Hogwarts Legacy for around 110 mins now but haven't been able to reproduce. Proton Experimental Bleeding Edge (the beta branch), Ryzen 7950x, RTX 4080 (driver is 565.57.01), KDE X11, Steam overlay turned on and even obs open in the background.

That's not exactly the steps, I meant manually compiling dxvk and vkd3d straight away and putting them in a compatibility tool.

@Blisto91
Copy link
Contributor

Blisto91 commented Nov 8, 2024

I asked above if the issue shows with the builds included in Proton Bleeding Edge or from the CI.

Edit: Could you share the ones you have compiled?

@SheMelody
Copy link
Author

I asked above if the issue shows with the builds included in Proton Bleeding Edge or from the CI.

This will take a long time to test, I was mainly testing git compiled dxvk and vkd3d. Bleeding Edge breaks too much stuff, I'd rather live with the lag timebomb.

@Blisto91
Copy link
Contributor

Blisto91 commented Nov 8, 2024

I would like to try the ones you have compiled yourself to test with. Just package them up and attach here

@SheMelody
Copy link
Author

I would like to try the ones you have compiled yourself to test with. Just package them up and attach here

All.tar.gz

@SheMelody
Copy link
Author

I've got to sleep now, I'll keep myself updated when I wake up. File attached in the previous message.

@Blisto91
Copy link
Contributor

Blisto91 commented Nov 9, 2024

Played Hogwarts Legacy for 90 minutes more, this time with the Bleeding Edge DLLs replaced with vkd3d-proton, dxvk and dxvk-nvapi from your archive. Still nothing sadly

@Etaash-mathamsetty
Copy link
Contributor

Etaash-mathamsetty commented Nov 9, 2024

since you can build your own dxvk and know that the issue has been happening for 2 months, could you bisect it?

@SheMelody
Copy link
Author

SheMelody commented Nov 9, 2024

Played Hogwarts Legacy for 90 minutes more, this time with the Bleeding Edge DLLs replaced with vkd3d-proton, dxvk and dxvk-nvapi from your archive. Still nothing sadly

My boyfriend actually tried experimental bleeding edge overnight (without my DLLs) and the timebomb triggers there as well. Are you sure you were actually playing with a keyboard and a mouse? The problem only seems to happen when using m+k. Regular Proton Experimental is completely fine and unaffected by the way. And again: native Vulkan/OpenGL games running under any of these compatibility tools do not expose the problem, so it's definitely a dxvk+vkd3d thing.

since you can build your own dxvk and know that the issue has been happening for 2 months, could you bisect it?

See my message above where I list my older compiled dxvk+vkd3d combos, I don't know where to start. If you have an idea, maybe a date, I can start from there and test.

@GreatBigWhiteWorld
Copy link

It's funny that this issue has existed for one year or more as far as I remember but people are still not understanding the nature of the issue.
I solved this infamous "28-min time bomb mouse moving stutter" by enabling steam overlay in CS2 (counter strike2). I ain't no programmer and don't know why it helped, but it's shocking to me that not only the bug has not been resolved till this day, but also no one seems to understand what's the source of the bug.

@alexzk1
Copy link

alexzk1 commented Jan 7, 2025

but also no one seems to understand what's the source of the bug.

Steam/ubuntu12_32/gameoverlayrenderer.so
Steam/ubuntu12_64/gameoverlayrenderer.so

Those are preloaded, 1 of them will print famous error in log. Because system is 32 or 64 and it tries both.
Any way, if someone never uses overlay (like me), then it is better to set it empty.

I just imagined ... what will happen if both can be loaded ? :) (for example system has multilib config). I guess they will fight each other => lag.

@alexzk1
Copy link

alexzk1 commented Jan 7, 2025

Yep, my bet is on 32 and 64 conflict each other when both are loaded:

[alex@mymsi 20:01:53 sfml_wrap]$ lsof /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
COMMAND      PID USER  FD   TYPE DEVICE SIZE/OFF    NODE NAME
steam     203628 alex  77rR  REG  259,4   349308 3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
run60fps  206877 alex  77r   REG  259,4   349308 3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamemode_ 206879 alex  77r   REG  259,4   349308 3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
prime-run 206903 alex  77r   REG  259,4   349308 3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
reaper    206905 alex mem    REG  259,4   349308 3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
CrBrowser 207293 alex mem    REG  259,4          3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
CrGpuMain 207341 alex mem    REG  259,4          3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
CrUtility 207356 alex mem    REG  259,4          3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
CrRendere 207367 alex mem    REG  259,4          3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
CrRendere 207371 alex mem    REG  259,4          3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
CrUtility 207508 alex mem    REG  259,4          3146492 /home/alex/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
[alex@mymsi 20:01:59 sfml_wrap]$ lsof /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
COMMAND      PID USER  FD   TYPE DEVICE SIZE/OFF    NODE NAME
run60fps  206877 alex mem    REG  259,4   320632 3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
gamemode_ 206879 alex mem    REG  259,4   320632 3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
prime-run 206903 alex mem    REG  259,4   320632 3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so
python3   207061 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
steam.exe 207075 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
wineserve 207091 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 207098 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 207103 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 207114 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 207129 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
svchost.e 207137 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 207269 alex mem    REG  259,4          3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
sleep     207729 alex mem    REG  259,4   320632 3146509 /home/alex/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so

@jeisom
Copy link

jeisom commented Jan 7, 2025

Yep, my bet is on 32 and 64 conflict each other when both are loaded:

They should only actually load the correct version for the executable, not both. Easy to test, just set the LD_PRELOAD to one of them.

@alexzk1
Copy link

alexzk1 commented Jan 7, 2025

Yep, my bet is on 32 and 64 conflict each other when both are loaded:

They should only actually load the correct version for the executable, not both. Easy to test, just set the LD_PRELOAD to one of them.

Yep, in addition, steam itself (and all it's children processes) are "infected" by 32 bit library on 64 bit multi-lib system.

@GreatBigWhiteWorld
Copy link

Yep, my bet is on 32 and 64 conflict each other when both are loaded:

Why it only happens after a certain time, e.g. for cs2 it's somewhat 28-min.
Whose fault is this? Steam or linux distro?

@alexzk1
Copy link

alexzk1 commented Jan 11, 2025

Yep, my bet is on 32 and 64 conflict each other when both are loaded:

Why it only happens after a certain time, e.g. for cs2 it's somewhat 28-min. Whose fault is this? Steam or linux distro?

It depends on the nature of the conflict. I also made chown root:root and cmod -r -w -x for that 32 bit library, so now Steam does not load any of them. Games just work and with good fps as it was 1-2 years ago.
If somebody needs browser overlay, it is better to setup OS keybindings (into DE config), it always overrides what game sets (at least for that DEs I used).

@Slashic
Copy link

Slashic commented Jan 14, 2025

I've been able to reproduce this issue too on Fedora/KDE Plasma 6 (Wayland)/ProtonGE 9 22

So far only LD_PRELOAD="" seems to completely eliminate the problem, no severe stuttering after 40-45mins of gameplay.

I tried disabling GPU acceleration in web view without success.

It depends on the nature of the conflict. I also made chown root:root and cmod -r -w -x for that 32 bit library, so now Steam does not load any of them. Games just work and with good fps as it was 1-2 years ago. If somebody needs browser overlay, it is better to setup OS keybindings (into DE config), it always overrides what game sets (at least for that DEs I used).

I tried changing uid/guid owner and chmoding ~/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so, steam overlay isn't loaded as expected but the issue remains.
Maybe i need to do that on the whole ubuntu12_32 folder?

@alexzk1
Copy link

alexzk1 commented Jan 14, 2025

Maybe i need to do that on the whole ubuntu12_32 folder?

Not sure, I had 32 and 64 bits loaded. So I did LD_PRELOAD. Then I checked again both libraries using lsof and found that 32 bit is still loaded by Steam on startup. So I just banned it until lsof stopped to show it loaded. Try whatever is best for you, confirm by the lsof.
I did both. Because LD_PRELOAD stops for new game launched and chmod cleanses startup of the steam.

@Slashic
Copy link

Slashic commented Jan 14, 2025

Not sure, I had 32 and 64 bits loaded. So I did LD_PRELOAD. Then I checked again both libraries using lsof and found that 32 bit is still loaded by Steam on startup. So I just banned it until lsof stopped to show it loaded. Try whatever is best for you, confirm by the lsof. I did both. Because LD_PRELOAD stops for new game launched and chmod cleanses startup of the steam.

That's interesting, out of curiosity, i extended the scope of what was loaded and... this is quite confusing... i'll deep dive on it later to experiment.

lsof | grep -i overlay
gamescope 75862                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (path dev=0,50)
winedevic 76026                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76028 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76029 wine_sech          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76031 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76032 libusb_ev          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76033 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76034 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76035 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76037 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 76026 76040 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
steam     84305                          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84316 SteamUpda          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84317 pool-spaw          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84318 gmain              slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84319 dconf\x20          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84320 IOCP\x20T          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84321 gdbus              slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84357 HTMLContr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84388 steam:cs0          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84389 steam:dis          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84390 steam:sh0          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84391 steam:sh_          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84393 steam:tra          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84394 steam:tra          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84395 steam:tra          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84396 steam:tra          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84397 steam:gdr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84398 steam:gl0          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84409 IPC:CServ          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84414 IOCP\x20T          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84415 IPC:CStea          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84417 CFileWrit          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84424 SteamEngi          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84425 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84426 CHTTPCach          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84428 Controlle          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84429 CSteamCon          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84437 threaded-          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84439 CHTTPClie          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84441 CSystemMa          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84442 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84472 CFileWrit          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84477 threaded-          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84479 GamepadUI          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84482 SteamUIWa          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84490 IPC:CStea          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 84542 Steam\x20          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 85266 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 85272 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 85288 steam              slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 85296 SocketThr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 85324 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 85955 CNet\x20E          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 86131 CHTTPClie          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 86147 CNet\x20E          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 86148 steam              slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 87088 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     84305 87100 CJobMgr::          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826                          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826                          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87827 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87827 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87828 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87828 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87829 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87829 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87830 pool-spaw          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87830 pool-spaw          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87831 gmain              slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87831 gmain              slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87833 gdbus              slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87833 gdbus              slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87834 dconf\x20          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87834 dconf\x20          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87835 gamesco:d          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87835 gamesco:d          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87836 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87836 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87851 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87851 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87852 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87852 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gamescope 87826 87854 gamescope          slash  mem       REG               0,39              563100 /home/slash/.local/share/Steam/ubuntu12_64/steamoverlayvulkanlayer.so (path dev=0,50)
gamescope 87826 87854 gamescope          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839                          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87840 Xwayland:          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87841 Xwaylan:d          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87842 Xwayland:          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87843 Xwayla:sh          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87844 Xwayla:tr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87845 Xwayla:tr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87846 Xwayla:tr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87847 Xwayla:tr          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87848 Xwayland:          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Xwayland  87839 87849 Xwayland:          slash  102r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
Ysc_dx11. 88063                          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88065 wine_xinp          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88066 wine_sech          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88069 Ysc_dx1:d          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88070 Ysc_dx11.          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88071 Ysc_dx11.          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88072 dxvk-subm          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88073 dxvk-queu          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88074 dxvk-cs            slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88076 dxvk-fram          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88080 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88081 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88082 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88083 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88084 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88085 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88086 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88087 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88088 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88089 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88090 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88091 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88092 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88093 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88094 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88095 dxvk-shad          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88097 WSI\x20sw          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88098 WSI\x20sw          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88100 Ysc_dx11.          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88108 audio_cli          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88109 audio_cli          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88110 wine_dsou          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)
Ysc_dx11. 88063 88111 Ysc_dx11.          slash  mem       REG               0,39              563091 /home/slash/.local/share/Steam/ubuntu12_32/steamoverlayvulkanlayer.so (stat: Operation not permitted)

@alexzk1
Copy link

alexzk1 commented Jan 14, 2025

this is quite confusing...

It is simple. Only 2 libraries are loaded there ;)
They're inherited. When Steam has loaded 32 bit library, anything it launches next (wine, proton, whatever script you have) - will have this library loaded + in addition proton loads 32 + 64 when it starts the game using LD_PRELOAD.

@Slashic
Copy link

Slashic commented Jan 14, 2025

Indeed, i chown/chmoded the 32 and 64bits libraries and that fixed the issue, from there i tested keeping the correct 32bits overlay and that worked.

From the tests i've done so far (with a 32bits DX11 game)

  • 32bits gameoverlayrenderer.so inactive & 64bits gameoverlayrenderer.so active => No Steam Overlay & Stuttering after 40mins
  • 32bits gameoverlayrenderer.so inactive & 64bits gameoverlayrenderer.so inactive => No Steam Overlay & No issue
  • 32bits gameoverlayrenderer.so active & 64bits gameoverlayrenderer.so inactive => Steam Overlay & No issue

I guess it's because a 64bits library is loaded with a 32bits game or the other way around (haven't tested it yet) causing this issue.
The question is why Steam is loading both at once... is it a normal behavior? What happens on a SteamDeck?
Could be a DXVK or PROTON issue as well not handling correctly these libraries with a 32bits or 64bits executable... (just a guess)

@alexzk1
Copy link

alexzk1 commented Jan 14, 2025

The question is why Steam is loading both at once... is it a normal behavior? What happens on a SteamDeck?

I can just speculate. As we see into LD_PRELOAD dump, it tries to load both. It has no sense if you know bitness. So this means, they didn't figure how to check current bitness and tried to load both. On plain Linux it would load 1 only though, because wrong bitness will fail unless you have multi-lib system.
That what I think.
But if you have stuttering with 1 loaded, then problem can be in library itself. For example, Windows has/had a "keyboard hook", that was a way to install the catch for any pressed key anywhere using DLL. And it had problem like here, if this hook was slow whole system was unresponsive. Probably they did the same for Linux to catch ctrl+tab. Any way, it is always bad idea to have any global hooks, I just removed it and don't bother. I admit though, voiding LD_PRELOAD may skip something useful in the future too.

@Slashic
Copy link

Slashic commented Jan 14, 2025

On closer inspection, the culprit may be gamescope, i noticed that all 64bits gameoverlayrenderer.so are "not permitted" without it and with gamescope based on the 1st lsof i posted, one manages to be loaded by gamescope:

With gamescope, tries to load the 64bits one instead:

gamescope 75862                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (path dev=0,50)
...

Without gamescope, reaper (wine) loads the correct 32bits gameoverlayrenderer:

reaper    18456                          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (path dev=0,50)

Full lsof:

lsof | grep -i gameoverlayrenderer
steam     13174                          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13185 SteamUpda          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13186 pool-spaw          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13187 gmain              slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13188 dconf\x20          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13189 IOCP\x20T          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13190 gdbus              slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13228 HTMLContr          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13257 steam:cs0          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13259 steam:dis          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13260 steam:sh0          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13261 steam:sh_          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13262 steam:tra          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13263 steam:tra          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13264 steam:tra          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13265 steam:tra          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13266 steam:gdr          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13267 steam:gl0          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13278 IPC:CServ          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13279 IOCP\x20T          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13280 IPC:CStea          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13282 CFileWrit          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13284 SteamEngi          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13285 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13286 CHTTPCach          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13287 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13288 Controlle          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13289 CSteamCon          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13293 threaded-          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13294 CSystemMa          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13295 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13303 CFileWrit          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13312 threaded-          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13316 GamepadUI          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13321 SteamUIWa          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13340 IPC:CStea          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13390 Steam\x20          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13565 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13589 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13594 CNet\x20E          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13598 steam              slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13636 SocketThr          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 13637 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 14260 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 14261 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 14808 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 14969 CNet\x20E          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 14970 steam              slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 15291 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 16586 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 16587 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 16589 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 16825 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 16831 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 16835 CHTTPClie          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 17027 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 17099 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 17192 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 17212 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
steam     13174 17243 CJobMgr::          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
reaper    18456                          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (path dev=0,50)
python3   18592                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
steam.exe 18594                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
steam.exe 18594 18658 steam.exe          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
steam.exe 18594 18664 steam.exe          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
wineserve 18596                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18601 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18604 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18608 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18614 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18626 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18632 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18637 services.          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
services. 18600 18647 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18606 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18607 wine_sech          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18609 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18610 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18611 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18635 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18603 18636 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18615 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18616 wine_sech          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18617 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18618 libusb_ev          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18619 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18620 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18621 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
winedevic 18613 18623 winedevic          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 18625                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 18625 18627 plugplay.          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 18625 18628 wine_sech          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 18625 18629 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 18625 18667 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
plugplay. 18625 18668 wine_thre          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
svchost.e 18631                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
svchost.e 18631 18633 svchost.e          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
svchost.e 18631 18634 wine_sech          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 18646                          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 18646 18649 rpcss.exe          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 18646 18650 wine_sech          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 18646 18651 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 18646 18652 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
rpcss.exe 18646 18653 wine_rpcr          slash  mem       REG               0,39              563097 /home/slash/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663                          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18665 wine_xinp          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18666 wine_sech          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18669 Ysc_dx1:d          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18670 Ysc_dx11.          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18671 Ysc_dx11.          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18672 dxvk-subm          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18673 dxvk-queu          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18674 dxvk-cs            slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18676 dxvk-fram          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18679 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18680 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18681 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18682 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18683 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18684 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18685 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18686 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18690 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18691 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18693 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18694 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18695 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18696 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18697 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18698 dxvk-shad          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18700 WSI\x20sw          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18701 WSI\x20sw          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18707 Ysc_dx11.          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18710 audio_cli          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18711 audio_cli          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18712 wine_dsou          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
Ysc_dx11. 18663 18713 Ysc_dx11.          slash  mem       REG               0,39              563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so (stat: Operation not permitted)
gameoverl 18702                          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gameoverl 18702 18704 HTMLContr          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gameoverl 18702 18705 Screensho          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so
gameoverl 18702 18706 Screensho          slash  128r      REG               0,50   353248     563077 /home/slash/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so

@alexzk1
Copy link

alexzk1 commented Jan 14, 2025

With gamescope, tries to load the 64bits one instead:

I don't have "gamescope" and still had a problem.
What you see there is inheritance, when binary starts new binary, that new one gets libraries of the parent loaded by the OS.
I have here complex chain of the bash scripts, which start bash and it has library, than this script restarts gamemode daemon for me and it gets library loaded too and so on.

@Slashic
Copy link

Slashic commented Jan 15, 2025

Could be a wrong lead there for sure, i'll try to investigate while playing a bit more later, thanks for the help.

@netborg-afps
Copy link

No, it's not gamescope.
As far as I understood, it's hanging within Steam's redirected input processing.

@SheMelody
Copy link
Author

SheMelody commented Jan 15, 2025

Just a heads up, the problem was confirmed to be related to the Steam for Linux, you should continue discussing it here: ValveSoftware/steam-for-linux#11446

Although this problem doesn't seem to affect native APIs such as Vulkan and OpenGL, it's still not directly related to DXVK/VKD3D, although there's a correlation between gameoverlayrenderer.so and DXVK/VKD3D running under Proton.

Enabling Steam Overlay or else using a custom LD_PRELOAD statement such as LD_PRELOAD="" to preload nothing or LD_PRELOAD="something:something:something" to preload your things seems to completely workaround the problem. Steam Input will still continue to work.

The problem started happening since the game recording update for Steam.

Edit: Native Vulkan games (under Proton) seem to be affected as well, maybe not all of them.

@alexzk1
Copy link

alexzk1 commented Jan 15, 2025

Steam Input will still continue to work.

I have no idea what is it. So I would prefer to keep it completely removed in my setup. Thanks, though.

@SheMelody
Copy link
Author

Steam Input will still continue to work.

I have no idea what is it. So I would prefer to keep it completely removed in my setup. Thanks, though.

You only need Steam Input for PlayStation / Nintendo gamepads and such. Usually, the "default" setting works just fine.

@netborg-afps
Copy link

netborg-afps commented Jan 15, 2025

Although this problem doesn't seem to affect native APIs such as Vulkan and OpenGL

This is only correct for OpenGL. Native Vulkan games (running via wine) are affected as well.

@SheMelody
Copy link
Author

Although this problem doesn't seem to affect native APIs such as Vulkan and OpenGL

This is only correct for OpenGL. Native Vulkan games are affected as well.

Yeah, I just saw some users having this problem on Vulkan, was never reported before and I never had them so I assumed it was fine.

@netborg-afps
Copy link

I did run into this issue in Path of Exile 2 with its Vulkan renderer.
However the OpenGL game Slay the Spire was fine.

@alexzk1
Copy link

alexzk1 commented Jan 15, 2025

I don't get why they keep adding "features" which immediately break everything or make it worse. This one is not alone. They added GPU detection, which powers-on double gpu which raises heat and consumption just to keep steam opened, Had to block it by appguard.

@GreatBigWhiteWorld
Copy link

The problem started happening since the game recording update for Steam.

Nah, this time-bomb stutter issue started long before. It has existed at least for more than a year. People reported it on CS:GO long long time ago, and the fix was similar: disable steam overlay or use 'LD_PRELOAD'.

@wrona6667
Copy link

for me LD_PRELOAD does nothing. and true that i had this time bomb before steam recording, however i only noticed it in CS2 and as i dont play CS2 for some few months, i havent tried to troubleshot this so cant confirm for sure is this related in any way.

@AlkaizerLord
Copy link

AlkaizerLord commented Jan 19, 2025

Actually, I just played overwatch 2 and did run into the same issue.

Were you able to fix it with the LD_PRELOAD method?

LD_PRELOAD="" %COMMAND%

If you need mangohud:

LD_PRELOAD="" VK_LOADER_LAYERS_ENABLE=VK_LAYER_MANGOHUD_overlay_x86_64 %COMMAND%

If you also need gamemode for some reason:

LD_PRELOAD="/usr/lib/libgamemodeauto.so.0" VK_LOADER_LAYERS_ENABLE=VK_LAYER_MANGOHUD_overlay_x86_64 gamemoderun %COMMAND%

(you still need gamemoderun for gamemode to actually trigger)

Will mangohud workaround command be needed to work with
gamescope --mangoapp

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

No branches or pull requests