mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-04-27 08:35:48 +03:00
[GH-ISSUE #71] Possibly simpler invocation #63
Labels
No labels
bug
documentation
enhancement
following upstream developments
good first issue
help wanted
invalid
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Docker-OSX#63
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jimdigriz on GitHub (Jul 24, 2020).
Original GitHub issue: https://github.com/sickcodes/Docker-OSX/issues/71
I find the following helps get audio (pulseaudio seems to be what everyone has by default) and works around various gotchas regarding permissions (assumes you are a member of the
kvmgroup already so can access /dev/kvm without making it globally read-write):@sickcodes commented on GitHub (Jul 24, 2020):
This looks good, I will add this to the troubleshooting section, thank you!!
Only issue is it wouldn't work for anyone who isn't using pulse audio.
@jimdigriz commented on GitHub (Jul 24, 2020):
Drop the audio bits for now, though it plumbs on on my side and pulseaudio sees QEMU, I'm not hearing any sound so I should dig further into it. Though you do get a 95% solution by just simply documenting it so that would be great too.
As a passing note, you could make the flip between pulseaudio and alsa automatic, two options either use
test -cfrom shell against where you expect the ALSA device to be or (as image size is not a problem) then drag in an ALSA CLI tool to do the testing for you.@sickcodes commented on GitHub (Jul 28, 2020):
Would you like to submit a PR for the readme edit?
I would put it under the extended run in the troubleshooting section :)
@jimdigriz commented on GitHub (Jul 29, 2020):
Sure, happy to help out! I'll have a bit more of a stab with getting both pulse and alsa working and then get back to you.
@mrkvn commented on GitHub (Jan 9, 2021):
I ran this command and it outputs a list of Modules/Sinks. Not sure what to do with them.
And created the container by running this.
I actually didn't use the image sickcodes/docker-osx. I modified the size in Dockerfile from 200G to 80G to create a new image. OSX is installed and booted properly there's just no output sound device. Not sure what I did wrong. Thanks.
@jimdigriz commented on GitHub (Jan 9, 2021):
As per the notes in the PR https://github.com/sickcodes/Docker-OSX/pull/82 which adds to the troubleshooting section of the README:
It means (though probably could be clearer/explicit) that the pulseaudio plumbing is now there (so audio from the guest to the host will work) but OS X has no 'codec' component (though it does have a 'driver') to actually drive sound through it...there is no audio support.
If someone can figure out the codec problem, that would solve this. Good luck!