Using Distrobox with IntelliJ IDE's causes display to freeze occasionally

I want to use my Bazzite installation for some game / software development as well. Due to the nature of the system being immutable I had to resort to either Toolbox or Distrobox and went with the latter.
The problem I am having is that when I interact with Rider or CLion my display freezes from time to time.
When it freezes my system is unresponsive for 1 or 2 seconds then its gone.

If I run Rider outside of the Distrobox it runs without freezing my display.
However this method is not working for me because I do not want to layer the dotnet sdk build tools on top of my ostree.

I have this issue on both my laptop running Bazzite with an nvidia 4080 rtx mobile and my desktop running amd 9070xt.
Is this a known issue and can this be resolved?

The steps I took while installing my Distrobox:
distrobox create --name develop --hostname develop --home ~/.distrobox/develop
distrobox enter develop

# Depencenies based on what I've needed to run the Godot editor
sudo dnf install dotnet-sdk-10.0 libwayland-egl libwayland-cursor libdecor dbus-libs fontconfig


After that I've downloaded the Jetbrains toolbox, installed rider and exported it using distrobox-export --app rider
Everything runs like I've expected, but the display freezes makes it quite unusable for me.

Is there anything I can to do resolve this issue?
Thanks!
image.png
image.png
Was this page helpful?