Skip to content

Instantly share code, notes, and snippets.

@safijari
Created April 10, 2023 16:06
Show Gist options
  • Save safijari/1cc2d3c567f8c04a434ef080cb8a302a to your computer and use it in GitHub Desktop.
Save safijari/1cc2d3c567f8c04a434ef080cb8a302a to your computer and use it in GitHub Desktop.
pipewire gamescope bug investigation and info
Last pipewire commit that works: https://github.com/PipeWire/pipewire/commit/76313161866db1a48a798da1ff8e196de747d238
@safijari
Copy link
Author

How to figure out where the gamescope window is according to pipewire:

pw-dump | less

Look for a node with type "PipeWire:Interface:Node",with media.name "gamescope" in props, use the "id" from that node.

@safijari
Copy link
Author

@safijari
Copy link
Author

safijari commented Apr 10, 2023

Test pipeline

gst-launch-1.0 -e -vvv pipewiresrc path=$1 do-timestamp=true ! vaapipostproc ! queue ! vaapih264enc ! h264parse ! matroskamux ! filesink location=/home/$USER/test.mkv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment