Apps loaded with MangoHud hang on start inside Distrobox containers

Unsure if this is a problem with Distrobox or what, but it used to work. Simply fails to render and stops responding with some high CPU usage. Something else I've noticed is that /usr/share/vulkan/implicit_layer.d/MangoHud.x86_64.json & libMangoApp.x86_64.json from host are being mounted in the box? Can't seem to remove them. MangoHud is installed in there, as it needed to be back when it did work. Could replicate it both in ghcr.io/ublue-os/arch-distrobox:latest and quay.io/toolbx/arch-toolbox:latest. Also in dolphin-emu, dolphin-emu-git and dolphin-emu-primehack-git.
No description
5 Replies
Crono
CronoOP2mo ago
Of course, I am on a recent :testing build Works fine on Bazzite 40, afraid this might be a Distrobox 1.8.0 issue.
termdisc
termdisc2mo ago
do the flatpaks also fail?
Crono
CronoOP4w ago
Installing them now, but the Steam overlay will not work on Flatpaks at all currently afaik On Distrobox there's at least a chance of it working Works on Flatpak Going to open up an issue on the Distrobox repo, seems to affect everything Found a workaround by doing sudo umount for the affected files inside the container, basically for every file named MangoHud or libMangoApp under /usr/share/vulkan/implicit_layer.d/. Then I was able to run a sudo pacman -S --overwrite "*" mangohud, which installed and now works just fine. Thanks to https://discord.com/channels/1072614816579063828/1248096102725718067/1249289682421026857 Unfortunately this is only a temporary workaround, if the container is restarted, the behavior will resume.
Crono
CronoOP4w ago
GitHub
[Error] Read-only files from host causing application hangs and ins...
Describe the bug When attempting to install applications such as mangohud or obs-vkcapture in a container, certain files will be mounted read-only from the container host, and will lead to either i...
Want results from more Discord servers?
Add your server