# Use gstreamer out-of-process, since the gst gl support gets
# itself into a twist with its wayland connection when monitors
# disappear
- pipeline_desc = f'gst-launch-1.0 pipewiresrc path={node_id} ! video/x-raw,max-framerate={freq}/1,width={width},height={height} ! videoconvert ! glimagesink'
+ pipeline_desc = f'gst-launch-1.0 --verbose pipewiresrc path={node_id} ! video/x-raw,max-framerate={freq}/1,width={width},height={height} ! videoconvert ! glimagesink'
if verbose:
print(f'launching {pipeline_desc}')
- monitor['pipeline'] = subprocess.Popen([pipeline_desc], shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
+ monitor['pipeline'] = subprocess.Popen([pipeline_desc], shell=True)
return stream_added
srcdir=${MESON_CURRENT_SOURCE_DIR:-./testsuite/headless}
+export GTK_A11Y=none
+export GIO_USE_VFS=local
+
dbus-run-session sh <<EOF
export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
# echo DBUS_SESSION_BUS_ADDRESS=\$DBUS_SESSION_BUS_ADDRESS
# echo WAYLAND_DISPLAY=gtk-test
-export GTK_A11Y=none
-export GIO_USE_VFS=local
-
mutter --headless --no-x11 --wayland-display gtk-test >&mutter.log &
mutter_pid=\$!