Wine inside docker with pulseaudio

Questions about Wine on Linux
Locked
glisignoli
Newbie
Newbie
Posts: 3
Joined: Tue Aug 25, 2020 10:34 pm

Wine inside docker with pulseaudio

Post by glisignoli »

I've been trying to create a lightweight docker container that runs a single application (fbneo) in wine with xvfb, except the application requires pulseaudio otherwise it crashes. Specifically with the error:

Code: Select all

Assertion 'clock_gettime(CLOCK_REALTIME, &ts) == 0' failed at pulsecore/core-rtclock.c:93, function pa_rtclock_get(). Aborting.
I've seen another project list a fix for this:
* https://github.com/scottyhardy/docker-wine/issues/82
* https://github.com/scottyhardy/docker-w ... 813847e3d7
I've tried implementing the same fix in mine but I still get the same error.

The fix I am doing is:

Code: Select all

echo -e ".include /etc/pulse/default.pa\nload-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse-socket" > "${HOME}/.config/pulse/default.pa"
Then starting pulseaudio with:

Code: Select all

pulseaudio -v --start --log-target=file:/root/pulse.log
One line that seems relevant to me is:

Code: Select all

I: [null-sink] util.c: Failed to acquire real-time scheduling: Input/output error
That's as far as I have gotten. If anyone has any ideas on how I could troubleshoot this that would be awesome. Thanks!
Locked