codex icon indicating copy to clipboard operation
codex copied to clipboard

[Linux desktop voice] PipeWire master gain becomes zero while channel gains remain at unity

Open hexspa opened this issue 1 month ago • 17 comments

Summary

Voice playback in the ChatGPT Linux desktop app repeatedly becomes unusually quiet. The application's native PipeWire playback master is reduced or zero while per-channel controls remain at unity. Correcting only the voice master restores normal playback. The component responsible for changing it has not been established.

Filed here because the official desktop troubleshooting page directs bug reports to this repository. Please redirect if another tracker owns desktop voice/audio integration.

Environment

  • Installed package: chatgpt 26.1027.51404 (queried locally).
  • LMDE 7 Cinnamon, Debian 13 base.
  • Kernel: 6.12.113+deb13-amd64.
  • Session: X11, X-Cinnamon (current process environment).
  • PipeWire; application playback routes through a desktop sink into REAPER.
  • Playback properties identify application.process.binary=ChatGPT, application.name=Chromium, client.api=pipewire-pulse.

Observations and workaround

On October 31, 2026, inspection found native master volume: 0.25, both channel gains 1.0, and mute false. Restoring only master to 1.0 was independently verified, and the user confirmed improved voice playback.

On November 1, 2026, an active voice stream showed:

volume: 0.0
channelMap: [FL, FR]
channelVolumes: [1.0, 1.0]
softVolumes: [1.0, 1.0]
monitorVolumes: [1.0, 1.0]
mute: false
softMute: false
monitorMute: false

Ending voice removed that stream. Restarting voice produced a new, freshly identified ChatGPT playback stream with the same zero master and unity channel/software/monitor gains.

After user authorization, only the active stream's native master was restored:

pw-cli set-param CURRENT_VERIFIED_NODE_ID Props '{ volume: 1.0 }'
pw-cli enum-params CURRENT_VERIFIED_NODE_ID Props

A separate property reread confirmed master 1.0, the gain arrays still [1.0, 1.0], and mute states false. The user confirmed normal audible voice playback. Routing, REAPER gain, hardware routing, and listening trims were unchanged by this correction.

A saved read-only sensor log separately records a ChatGPT playback node initializing with master 1.0, then reporting 0.0. These events identify the affected process, not the writer of the change. Initialization timing alone does not establish causation.

Reproduction

Intermittent during ordinary voice use; no deterministic trigger established. For this recurrence, restarting voice created another zero-master stream. Inspect the actual active playback node's native Props; ordinary channel-volume controls alone do not expose the discrepancy.

Expected behavior

Voice playback stays at the selected level, with any intended attenuation reflected consistently in visible controls.

Actual behavior

Native master can become reduced or zero while channel controls remain at unity, requiring manual correction.

Investigation request

Please investigate desktop voice stream volume initialization/restoration, or advise what narrowly scoped diagnostics can distinguish application behavior from PipeWire/session-policy behavior. The workaround is verified; persistent resolution and writer attribution remain unknown.

No raw session transcripts, recordings, credentials, or private project files are attached. In-app feedback/session-ID submission has not been completed.

hexspa avatar Nov 01 '26 14:11 hexspa

also seeing this issue.

theOxifier avatar Nov 02 '26 13:11 theOxifier

Looks like the cause is the bundled resources/native/dictation-ducking helper. During dictation it sets every playback stream's PipeWire volume to x * 0.25 and only restores streams that are still alive when dictation ends. WirePlumber remembers the ducked value per app, so it keeps compounding across sessions. Mine got down to 0.25^8.

opportunity356 avatar Nov 02 '26 15:11 opportunity356

Ubuntu ARM64: observed dictation attenuation being persisted across destroyed/recreated streams

Submitted with the affected owner's explicit authorization. This adds a measured event sequence supporting the dictation-ducking explanation above.

Environment: official chatgpt 26.1027.51404, Ubuntu 24.04 ARM64, PipeWire 1.0.5, WirePlumber 0.4.17, X11, HDMI output. The official APT candidate 26.1029.61003 was downloaded without installation and verified against its APT SHA-256; its resources/native/dictation-ducking is byte-for-byte identical to the installed helper. This comparison alone does not establish whether other paths changed in that release.

Observed on November 3:

  1. ChatGPT's verified AudioService playback nodes had scalar Props.volume=0.000244, channelVolumes=[1,1], and mute=false. The same scalar was stored under WirePlumber's Output/Audio:application.name:Chromium state key.
  2. The bundled dictation-ducking process appeared. Within the next sample, both existing playback nodes changed from 0.000244 to 0.000061, exactly another factor of 0.25. Channel volumes and mute did not change.
  3. Both original playback nodes disappeared while the helper remained alive. When the helper exited, neither original stream was available for restoration.
  4. WirePlumber retained approximately 0.000061 after the helper exited. A separate silent diagnostic playback stream using the same persistence key inherited that reduced scalar, with channel volumes still at unity. This control was explicitly distinguished from actual ChatGPT speech.

Installed-code correlation: the helper stores gain per object serial, writes gain * 0.25, then restores only still-live serials whose gain matches its temporary value. WirePlumber 0.4.17's installed restore-stream.lua saves Props.volume on parameter changes and restores it when matching streams are created. Thus a transient reduction can become the next stream's saved baseline and compound on later dictation. This was correlated with the helper process and exact gain transition; individual write syscalls were not instrumented. We do not claim to reconstruct the full historical series from the initial value, or that repeatedly clicking Read Aloud alone causes new attenuation.

Local mitigation and validation: The owner authorized disabling only automatic playback attenuation while preserving the original app and speech paths. A reversible local dpkg diversion preserves the vendor helper and routes future package versions to the preserved vendor path; the active helper now only waits for the existing stdin lease and performs no gain changes. The damaged scalar was restored once to 1.0. Three controlled lifecycle cycles invoked the active helper, destroyed and recreated silent playback streams during its lease, released it, and created another stream afterward: every measured scalar stayed at 1.0 with channels [1,1], mute=false, and the persisted baseline ended at 1.0. These tests validate gain/lifecycle behavior, not live microphone capture or server speech generation. No whole-package upgrade test was performed; this is a local mitigation, not an official fix.

Please prevent temporary dictation attenuation from being saved as an application's baseline, and add regression coverage for playback streams disappearing/reappearing before the dictation lease is released. Ordinary channel-volume/mute checks do not reveal this scalar attenuation.

No recordings, microphone audio, chat text, raw traces/logs, credentials, account details, private paths, or project files are attached.

panchito05 avatar Nov 03 '26 22:11 panchito05

Possible related issue on Linux Mint 22.3 with PipeWire 1.0.5. On 4 November 2026, ChatGPT desktop voice output was inaudible, although microphone input worked. Chrome was extremely faint, while Firefox audio worked and the system sound test was loud.

Chrome 157.0.8103.38 and ChatGPT desktop 26.1029.61003 were updated on 4 November. I cannot establish that the updates caused the problem.

While Chrome was playing, its PipeWire stream scalar volume measured 0.015625, with channel gains [1.0, 1.0] and mute off. The normal mixer simultaneously showed 100%. The output sink measured 1.0. ChatGPT’s playback stream was not active during that measurement.

Could you advise whether these observations are consistent with this issue and what safe checks or workaround you recommend?”

carolusventer1 avatar Nov 04 '26 07:11 carolusventer1

Thanks for the additional reports. The Chrome observations appear consistent with the attenuation mechanism discussed above, although the measurement alone doesn’t establish which process changed the gain.

Maintainers: would a regression test covering playback streams disappearing and reappearing during dictation help? The ARM64 report provides a concrete sequence where temporary attenuation becomes the persisted baseline. Please advise whether there’s a specific diagnostic affected users should collect.

hexspa avatar Nov 04 '26 10:11 hexspa

On 5 November, Chrome streaming audio is still extremely faint on Linux Mint 22.3, even with the volume at 100%.

My dot call in the ChatGPT Linux desktop app has also stopped working properly again. The call can hear me, but I cannot hear any response. It had worked perfectly since Tuesday, but the problem returned after the last two updates.

carolusventer1 avatar Nov 05 '26 04:11 carolusventer1

Independent confirmation on Fedora x86_64, with a deterministic silent reproduction of the persistence problem described above and a tested local mitigation that preserves ducking.

Environment and observed impact

  • App RPM: chatgpt-26.1029.61003-1.x86_64, verified from installed package metadata.
  • Fedora Workstation 45, kernel 7.2.15-300.fc45.x86_64.
  • PipeWire 1.6.11, WirePlumber 0.5.19.
  • Observed on November 6, 2026: Brave was very quiet even with the desktop and speakers at maximum. ChatGPT “Read Aloud” ran but was effectively inaudible.

The normal PulseAudio mixer showed 100%, channel gains were [1, 1], and mute was false. Native PipeWire Props instead showed:

Actual playback process Scalar volume
Brave 0.015625
ChatGPT, exposed as application.name=Chromium approximately 0.000061

The corresponding reduced scalars were present in WirePlumber's saved per-application stream properties. Restoring only the scalar to 1.0 restored audible playback, confirmed by the affected user. A newly created ChatGPT playback stream retained 1.0 after the repair.

Deterministic silent reproduction

This exercised the vendor helper's existing duck_pipewire() implementation against the real running PipeWire/WirePlumber stack. A test-only filter restricted its node selection to one uniquely named diagnostic application, routed to a null sink, so unrelated playback was untouched. It did not record microphone audio or request speech generation.

  1. Start silent PCM playback with a unique application.name; confirm scalar 1.0.
  2. Start the helper's PipeWire ducking function and keep its stdin lease open.
  3. Confirm scalar 0.25; wait until WirePlumber has saved that value.
  4. Destroy the playback stream while the helper remains alive.
  5. Close the helper's stdin lease and wait for it to exit.
  6. Start another silent stream with the same application name, after the helper has exited.

Measured result:

{
  "initial_gain": 1.0,
  "during_dictation_first_stream": 0.25,
  "temporary_gain_saved_by_wireplumber": true,
  "after_playback_restart": 0.25,
  "reproduced": true
}

The unmodified installed helper, preserved before local changes, has SHA-256:

6a8517562755ee33554c6d5571ba8febfadd188d87b12047a4c70cf230f86186

Its stream selection, gain * 0.25 write, serial-based bookkeeping, and restoration of only surviving streams match the earlier reports. WirePlumber 0.5.19's installed node/state-stream.lua saves Props.volume on parameter changes and restores it on matching new streams. This reproduces how temporary dictation attenuation becomes a persistent baseline. It does not reconstruct every historical write or independently explain the literal zero scalar in the original report.

Tested local mitigation

Locally, only the helper's target selection was changed: apply the temporary scalar to Audio/Sink nodes with device.routes > 0, instead of Stream/Output/Audio nodes. WirePlumber's routed-device state does not persist this scalar. Unrouted virtual sinks are excluded because their scalar can be persisted by the stream-state policy.

With silent regression playback:

  • The routed test sink was attenuated to 0.25, while the application's scalar remained 1.0.
  • Three playback-stream replacements during the lease retained scalar 1.0.
  • Closing the lease and separately sending SIGTERM restored the output scalar to 1.0.
  • The saved application baseline remained 1.0; the temporary output scalar was not saved.

The installed helper was also invoked against the actual routed output devices: each scalar followed 1.0 → 0.25 → 1.0, with channel gains unchanged, and both affected applications' saved scalars stayed at 1.0.

This is a local mitigation validated for this topology and WirePlumber version, not a complete cross-platform fix. Please prevent temporary dictation attenuation from entering persistent application-volume state and add a regression test for a playback stream ending before the dictation lease is released. Normal mixer/channel-volume checks miss this failure.

No recordings, chat transcripts, raw logs, account identifiers, hostnames, private paths, or project files are included.

samuelzcom avatar Nov 06 '26 06:11 samuelzcom

Update, 6 November: The issue persists on Linux Mint. Chrome streaming audio remain extremely faint even at 100% volume; this morning. During a dot call in the ChatGPT desktop app, the microphone could hear me, but I could not hear the response despite the volume being at 100%.

The desktop call output had worked correctly but since Tuesday, but the sound output issue appeared after the last two updates. Firefox and the ChatGPT web app play sound correctly on the same hardware. The problem remains in Chrome streaming and in dot’s desktop app output. On GhatGPT pro plan extremely expensive in South-Africa rand for module not working?

carolusventer1 avatar Nov 06 '26 06:11 carolusventer1

Update, 6 November: The workaround restored audio in both Chrome and the ChatGPT desktop dot call on my Linux Mint computer. Chrome’s hidden stream volume was 0.015625, and the desktop call’s was 0.0, despite the application mixer showing 100%. Resetting each verified live stream’s volume to 1.0 restored playback. I can now hear the desktop call clearly with the output at 77%.

Thank you for sharing the workaround. This confirms it worked on my setup; I have not yet tested whether the correction persists after restarting or further dictation.

carolusventer1 avatar Nov 06 '26 07:11 carolusventer1

Update, 8 November: Confirmed the issue on Fedora 44 with ChatGPT version 26.1103.60933. The audio playback was not working during voice mode. I was able to restore it by applying the workaround mentioned in this issue, manually resetting the PipeWire stream volume to 1.0:

pw-cli set-param <ID> Props '{ volume: 1.0 }'

Audio playback started working immediately after applying the workaround. The issue is still reproducible in version 26.1103.60933.

cadiego avatar Nov 08 '26 19:11 cadiego

update for GitHub issue 58704:

The problem has happened again after several recent updates. The ChatGPT voice call became inaudible even though the volume appeared to be at 100%. The workaround suggested here on GitHub was to restore the hidden individual playback stream volume. Setting it to 77% made the voice audible again.

This is a workaround, not a permanent fix: the problem keeps recurring. We cannot yet confirm that the updates caused it. Does anyone know of a permanent solution, or what causes the stream volume to reset to zero?

carolusventer1 avatar Nov 09 '26 16:11 carolusventer1

I observed the same symptom on CachyOS using chatgpt-desktop-bin 26.1103.60933-2.

During an active voice chat, PipeWire reported the ChatGPT playback stream as application.name=Chromium and application.process.binary=ChatGPT. Its Props.volume was 0.000061 while channelVolumes were [1.0, 1.0].

I reset the active playback node's Props.volume to 1.0 using pw-cli. After that, I confirmed that the voice playback returned to a normal level.

The node ID changed between voice sessions, so I had to identify the active stream again before applying the workaround. I have not established what caused the gain to drop or whether the issue will recur.

vawaver avatar Nov 11 '26 13:11 vawaver

Additional occurrence: Read Aloud appears to play but produces no sound on Linux

I am experiencing a similar symptom in the ChatGPT desktop app on Linux: clicking Read Aloud displays the playback indicator and the Stop button, but no sound is audible.

For comparison, on the same computer:

  • ChatGPT conversational Voice in Google Chrome works in both directions: I can speak and hear the responses.
  • Videos and audio from other applications play normally.
  • The observed failure is Read Aloud in the desktop app. Conversational Voice inside the desktop app and Read Aloud on the web have not been tested.

This appears consistent with the inaudible Read Aloud occurrence already described in this issue, but I am not claiming that the underlying cause has been established. I also cannot establish whether an app update introduced the problem.

Please consider this an additional affected-user report. No recordings, screenshots, logs, system inventory or account details are attached.

juanramon23 avatar Nov 18 '26 14:11 juanramon23

Also affected on Ubuntu 22.04.5 LTS, running ChatGPT 26.1111.21308, PipeWire 0.3.48, and WirePlumber 0.4.8.

During an inaudible voice session, the live playback node identified itself as application.process.binary=ChatGPT, application.name=Chromium, and showed:

volume: 0.003906
channelVolumes: [1.0, 1.0]
mute: false

WirePlumber’s saved Chromium playback state also contained volume=0.00390625, with channel volumes at unity and mute off.

Running this against the verified live ChatGPT playback node immediately restored audible voice:

pw-cli set-param NODE_ID Props '{ volume: 1.0 }'

A reread confirmed volume=1.0, with channel volumes and mute unchanged. I haven’t yet tested recurrence or established what originally reduced the gain.

wesbroadway avatar Nov 18 '26 18:11 wesbroadway

Also affected on Ubuntu using PipeWire 1.0.5. Codex conversational voice was extremely quiet while other applications and the system speaker test sounded normal. Restarting the audio services and the computer did not resolve it.

The active ChatGPT playback stream was identified as Chromium via pipewire-pulse. Its native PipeWire volume was 0.015625, with channel volumes [1.0, 1.0] and mute false; the normal application volume appeared to be 100%. Restoring only the verified active stream’s native volume to 1.0 with pw-cli immediately restored audible voice, confirmed by listening.

I have not established what lowered the gain or whether the workaround persists across sessions.

LexGear avatar Nov 23 '26 00:11 LexGear

Update, 25 November 2026: ChatGPT desktop voice playback on Linux Mint (PipeWire 1.0.5) was very quiet again today even though the visible volume was at 100%. The workaround restored clear playback on this call.

On 23 November, both the app and speaker showed 100%, but the active playback stream’s PipeWire Props.volume was 0.25. Both channel gains were 1.0, and the stream was unmuted. After lowering the speaker volume, resetting only the affected stream’s gain to 1.0 restored playback. The problem has recurred after restarting, and I haven’t confirmed the trigger or a lasting fix. This may be related to #60537.

carolusventer1 avatar Nov 25 '26 06:11 carolusventer1

The Linux Mint desktop voice playback was very quiet again on 26 November. This time the active call stream’s PipeWire gain was already at 1.0. I kept the speaker output at 65% and increased only the call stream gain from 1.0 to 1.12, then to 1.25. The first boost helped somewhat. On 23 and 25 November the active stream’s gain had dropped to 0.25 despite the visible volume showing 100%. The workaround helps during a call, and the issue keeps recurring. Could you investigate what controls the playback level across calls?

carolusventer1 avatar Nov 26 '26 07:11 carolusventer1