Skip to content

Draft: RFC - add a pw-sysinfo tool to collect information about the system

Peter Hutterer requested to merge whot/pipewire:wip/pw-sysinfo into master

Just a brainfart I had last night. The goal here is to have a tool that users can run and copy the output into new bugs so we have all the information we need. So instead of having the template and hoping everyone fills it in correctly, we can just ask users to run pw-sysinfo and copy/paste the output.

Example from my system here:

$ ./builddir/src/tools/pw-sysinfo 
- Distribution: fedora 35
- Kernel: 5.14.3-300.fc35.x86_64
- PipeWire: Compiled with libpipewire 0.3.35, Linked with libpipewire 0.3.35
- Desktop Environment: GNOME
- Services: wireplumber: active, pipewire: active, media-session: inactive, pipewire-pulse: active

If we play things right we can also make this a "please download this script here and run it" so we're not fully reliant on whatever old version the user has installed. The script is python so this is possible right now, we'd just have to drop the .py suffix.

Thoughts?

Merge request reports