Open scottyhardy opened 4 years ago
I think I'm running into a problem on macOS where my app running in wine is bailing because of pulse. I'm not 100% sure. Same config works running on a linux box (actually a VM running linux in my macbook, but whatever).
Is there a way to fully disable pulse on the mac? I don't need sound for what I'm doing. Maybe it's already there. Sorry if this is a stupid question.
Sound pretty much is disabled already on Mac - only the pulseaudio-utils package is installed which is the minimum so I can forward to a UNIX socket on Linux to use the host’s pulseaudio server. There is no option to disable sound on Linux so I’ll add that as a task.
I suspect your program is trying to contact the pulseaudio server. Adding audio support may solve your issue, otherwise I suspect you’d need to run pulseaudio in the container as a dummy that doesn’t output any sound - a bit like using xvfb for dummy X11 server. I think I’ll look at adding the dummy pulseaudio server too.
@ds17f give the latest ./docker-wine
script and image a try. I've now added dummy pulseaudio as the default for macOS (for now, I may change to using TCP socket later) and can also be specified by using the --sound=dummy
option with ./docker-wine
Something I’ve wanted to do for a while. X11 performance is currently pretty crap using X11 over TCP to Xquartz but still might be useful to someone.
Pretty good example here that I want to try out: https://devops.datenkollektiv.de/running-a-docker-soundbox-on-mac.html