Dolphin, the GameCube and Wii emulator - Forums
Dolphin-emu through docker privileged container - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Dolphin-emu through docker privileged container (/Thread-dolphin-emu-through-docker-privileged-container)



Dolphin-emu through docker privileged container - mauruco - 11-11-2022

Hello guys. I'm trying to run dolphin through docker on a “--privileged” container.
I've already used a video card nvidia gtx 1070 ti, amd rx 6650 xt, igpu vega ryzen 5 pro 4650G, ubuntu 18.04, ubuntu 20.04, ubuntu 22.04 and arch:latest with no success.
The error is always the same “Bus error (core dumped)”.
I activated Logger.ini but it also doesn't give me useful information “36:46:531 AudioCommon/PulseAudioStream.cpp:131 I[Audio]: Pulse successfully initialized” “Bus error (core dumped)”.
I also tried to use dolphin core in retroarch, but the same error happens.
Strangely, the game “star wars rogue squadron II” works perfectly on dolphin and retroarch with dolphin core.
I would like to know if there is anything else I can do for debugging, outside the docker container all games work, but I would like to run through the container to keep everything centralized.
Thank you for your help

Code:
docker run --name test \
--workdir=/root \
--detach \
--tty \
--interactive \
--privileged \
--net host \
--env PULSE_SERVER=unix:/tmp/pulseaudio.socket \
--env PULSE_COOKIE=/tmp/pulseaudio.cookie \
--env PULSE_SERVER=unix:/tmp/pulseaudio.socket \
--env PULSE_COOKIE=/tmp/pulseaudio.cookie \
--volume $(pactl info | grep "Server String: " | cut -d ' ' -f 3):/tmp/pulseaudio.socket \
--volume /run/media/bigdrive:/run/media/bigdrive \
--volume=$XAUTHORITY:/root/.Xauthority:rw \
--volume /dev/bus/usb:/dev/bus/usb \
--gpus all --volume /tmp/.X11-unix/:/tmp/.X11-unix:ro --env DISPLAY=$DISPLAY docker.io/archlinux:latest



RE: Dolphin-emu through docker privileged container - mauruco - 11-14-2022

Enabling "Optios->Configuration->Advanced->Enable MMU" did the trick.
Please mark as resolved.


RE: Dolphin-emu through docker privileged container - mauruco - 11-25-2022

For the record: Passing the "--ipc host" flag to the docker run command did the trick without having to enable "Enable MMU" in settings.