Linux: system audio fails, "Could not confirm the Linux audio input route ... but the input did not change" (PipeWire 1.0.5)
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 35/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- linux, rust
- Bereich
- audio-video-rtc, desktop
Rechercherichtung
Start in the Linux system audio capture path at cap_recording::sources::screen_capture::linux and trace how the pulse input route is checked against the output monitor. Reproduce on Linux with PipeWire 1.0.5 and inspect the route check when the stream is already on the monitor. Done means system audio records from the default output monitor without the reported error; linked pull request #3534 is already open.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
Recording with system audio enabled fails on Linux. Cap shows this error:
studio recording actor: Linux system audio could not reach the output monitor: Linux system audio input 'pulse' failed to connect: BuildStream: Could not confirm the Linux audio input route: PulseAudio/PipeWire acknowledged routing stream 1183 to 'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor', but the input did not change
Expected: system audio is captured from the default output's monitor source.
Screen and microphone recording work. Only system audio fails.
Reproduction
- Launch Cap 0.6.1 on Linux Mint 22.3 MATE (X11, PipeWire).
- Enable system audio (microphone also enabled).
- Start a recording.
- The error above appears.
I also tried making the monitor the default source before launching Cap, so the stream would already start on it:
pactl set-default-source alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Same error (stream 1404). This makes me suspect the route check fails whenever the input doesn't change, even if the stream is already on the monitor, but that's a guess from outside.
Additional Context
- Cap version: 0.6.1 (.deb, amd64, binary dated 2026-10-20)
- Operating system, version: Linux Mint 22.3 MATE, X11 session
- Device (optional): Laptop, Intel Arrow Lake graphics, built-in Intel HDA audio (
pci-0000_00_1f.3)
Audio server (pactl info):
Server Name: PulseAudio (on PipeWire 1.0.5)
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_input.pci-0000_00_1f.3.analog-stereo
Log excerpt (from terminal output):
INFO cap_gpui::main_window: enumerated capture devices cameras=2 microphones=3 displays=1 windows=5
WARN cap_recording::sources::screen_capture::linux: Reconnecting the Linux system-audio input after routing failed error=Linux system audio input 'pulse' failed to connect remaining_retries=1
Note: Cap was launched with GPUI_X11_SCALE_FACTOR=1 as a workaround for #2323 (fixed in #2590, not yet released). I don't expect that to affect audio.
- Vorherrschende Sprache
- Rust
- Sterne
- 23.7k
- Forks
- 2.1k
- Ø Merge
- 1 T. 55 Min.
- Gemergte PRs (30 T.)
- 697
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus CapSoftware/Cap
-
Web player intercepts ⌘⇧M and blocks Chrome profile-menu shortcutEvtl. vergeben @AatmanAJ hat das vor 15 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
CapSoftware/Cap#2596 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CapSoftware/Cap#2384 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Dashboard pagination causes full page reloads on self-hosted CapEvtl. vergeben @Dewin hat das vor 43 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
CapSoftware/Cap#2305 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CapSoftware/Cap#1714 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
CapSoftware/Cap#3578 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in CapSoftware/Cap
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Y-ASLant/ElegantClipboard#178 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
linxiv-dev/linXiv#384 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug drawings ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
userFRM/egui-charts#1595 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
smoltcp-rs/smoltcp#1235 ·
Maintainer antworten meist innerhalb von 1 Tag
-
scope:core type:security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag