| Summary: | Spectacle/KPipeWire on hybrid AMD+NVIDIA systems can select the wrong recording device, crashing MP4/H.264 and producing invalid WebM/VP9 files | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] KPipeWire | Reporter: | marshland3943 |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | aleixpol, nate, Sevenseraphim |
| Priority: | NOR | ||
| Version First Reported In: | 6.6.3 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kpipewire/-/commit/76f05c8ccfb6586d068d0f57c3b6554658865e54 | Version Fixed/Implemented In: | 6.7.0 |
| Sentry Crash Report: | |||
|
Description
marshland3943
2026-03-22 18:42:13 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kpipewire/-/merge_requests/239 Git commit 76f05c8ccfb6586d068d0f57c3b6554658865e54 by Nate Graham, on behalf of Marsh Land. Committed on 26/03/2026 at 17:23. Pushed by ngraham into branch 'master'. recording: Use the current session render node consistently across recording KPipeWire currently chooses GPU/render devices in multiple places independently (VAAPI selection, DMA-BUF handling, modifier negotiation). On hybrid systems this can lead to inconsistent GPU selection across the recording pipeline. This change introduces a shared session render-node resolver and uses the current session render node consistently for: - VAAPI device selection - DMA-BUF import path - stream modifier negotiation FIXED-IN: 6.7.0 M +2 -0 autotests/CMakeLists.txt M +2 -1 src/CMakeLists.txt M +8 -36 src/dmabufhandler.cpp M +16 -4 src/pipewiresourcestream.cpp A +92 -0 src/rendernodecontext.cpp * A +28 -0 src/rendernodecontext_p.h * M +17 -28 src/vaapiutils.cpp The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. https://invent.kde.org/plasma/kpipewire/-/commit/76f05c8ccfb6586d068d0f57c3b6554658865e54 *** Bug 519941 has been marked as a duplicate of this bug. *** |