diff options
| author | Alexander Clouter <[email protected]> | 2020-09-20 10:47:23 +0100 |
|---|---|---|
| committer | Alexander Clouter <[email protected]> | 2020-09-20 11:45:09 +0100 |
| commit | 812c4a2e0971b48953e54b9086c0b0f70c2dd7d5 (patch) | |
| tree | e1c9aa59d5d534b1a588a09800843f818280f5c6 /README.md | |
| parent | make audio driver configurable but defaults to alsa (diff) | |
| download | docker-osx-812c4a2e0971b48953e54b9086c0b0f70c2dd7d5.tar.xz docker-osx-812c4a2e0971b48953e54b9086c0b0f70c2dd7d5.zip | |
pulseaudio example
AppleALC does not support the codec out of the box and I have been unable
to work through https://osy.gitbook.io/hac-mini-guide/details/hda-fix to
figure out how to make it appear. The controller does work, but without
the codec driver support there no soundcard is present to macOS
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -133,6 +133,15 @@ xhost + docker run --device /dev/kvm --device /dev/snd -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx ./OpenCore-Boot.sh ``` +PulseAudio for sound (note neither [AppleALC](https://github.com/acidanthera/AppleALC) and varying [`alcid`](https://dortania.github.io/OpenCore-Post-Install/universal/audio.html) or [VoodooHDA-OC](https://github.com/chris1111/VoodooHDA-OC) have [codec support](https://osy.gitbook.io/hac-mini-guide/details/hda-fix#hda-codec) though [IORegistryExplorer](https://github.com/vulgo/IORegistryExplorer) does show the controller component working): +```bash +docker run --device /dev/kvm -e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket -v /run/user/$(id -u)/pulse/native:/tmp/pulseaudio.socket -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx +``` +PulseAudio debugging: +```bash +docker run --device /dev/kvm -e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket -v /run/user/$(id -u)/pulse/native:/tmp/pulseaudio.socket -v /tmp/.X11-unix:/tmp/.X11-unix -e PULSE_SERVER=unix:/tmp/pulseaudio.socket sickcodes/docker-osx pactl list +``` + Alternative run, thanks @roryrjb ```bash |