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
.5 Replies
Of course, I am on a recent
:testing
build
Works fine on Bazzite 40, afraid this might be a Distrobox 1.8.0 issue.do the flatpaks also fail?
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.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...
Supposedly fixed by https://github.com/89luca89/distrobox/commit/d3810d0c0cfbb710c54eb1f7ec40775b7da4b956
GitHub
init: fix missing hooks in pacman, Fix #1595, Fix #1602, Fix #1610,...
…ix #1619
Signed-off-by: Luca Di Maio