summaryrefslogtreecommitdiff
path: root/README.wayland
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-10-21 17:17:49 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-10-21 17:19:52 -0400
commit6eefae48229c76e9396602f39903ed9c396d2e3c (patch)
tree1077c249e329edc09f2280d38432c493427f992e /README.wayland
parent06652b98b0b0dc74309fc70e3279a6aad1440864 (diff)
add hacks to work around pulseaudio+xwayland integration deadlocks
enlightenment is (I think) the first wayland compositor to run with in-process pulseaudio integration for audio playback and not just mixer support. hooray. this results in a fun issue: if DISPLAY is set, as it must be for x11 clients to function, pulseaudio will unconditionally attempt to use a blocking socket connection to create a connection to the running xserver. the only exception here is if x11 support has been compiled out of pulseaudio, but probably no distro will do that ever. so, what happens when the compositor thread tries to create a socket connection to the xserver that the compositor thread has not yet started? absolutely nothing. forever. the easiest solution which continues to provide the key press sounds that everyone loves is to ensure that the pulseaudio connection is created before DISPLAY is ever set, namely in the xwayland module init. this will now occur automatically now in the case when the mixer module detects pulseaudio support. TL;DR: don't disable mixer module if you use xwayland
Notes
Notes: TIL mutter apparently does this too but doesn't deadlock
Diffstat (limited to 'README.wayland')
-rw-r--r--README.wayland3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.wayland b/README.wayland
index 53e9ee75f..61e357b2c 100644
--- a/README.wayland
+++ b/README.wayland
@@ -52,6 +52,9 @@ to try out XWayland support:
52 52
53 --enable-xwayland 53 --enable-xwayland
54 54
55NOTE: DO NOT DISABLE THE MIXER MODULE BUILD IF YOU ARE USING XWAYLAND.
56You have been warned.
57
55At this stage, you should have EFL properly built, and Enlightenment 58At this stage, you should have EFL properly built, and Enlightenment
56properly built. Let's move on to running it... 59properly built. Let's move on to running it...
57 60