Bug 498500 - On headphone only, no sound from applications while sound working from KDE system
Summary: On headphone only, no sound from applications while sound working from KDE sy...
Status: REPORTED
Alias: None
Product: pulseaudio-qt
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Nicolas Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-10 20:19 UTC by Dimitri
Modified: 2025-11-14 14:40 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
My Audio settings (with headphone plugged in) (99.70 KB, image/png)
2025-01-10 20:20 UTC, Dimitri
Details
PipeWire Graph, VLC open after, in headphone, without hover (119.08 KB, image/png)
2025-01-16 17:43 UTC, Dimitri
Details
PipeWire Graph, VLC open after, in headphone, with VLC hover (153.27 KB, image/png)
2025-01-16 17:46 UTC, Dimitri
Details
PipeWire Graph, VLC open before, in headphone, without hover (154.97 KB, image/png)
2025-01-16 17:48 UTC, Dimitri
Details
PipeWire Graph, VLC open before, in headphone, without hover (188.71 KB, image/png)
2025-01-16 17:49 UTC, Dimitri
Details
PipeWire Graph, VLC open before, in headphone, with VLC hover (188.71 KB, image/png)
2025-01-16 17:52 UTC, Dimitri
Details
PipeWire Graph, in headphone (VLC open before, without hover) when changing OS volume (169.52 KB, image/png)
2025-01-16 17:57 UTC, Dimitri
Details
PipeWire Graph, VLC open before, using NATIVE SPEAKER, without hover (170.39 KB, image/png)
2025-01-16 18:01 UTC, Dimitri
Details
pw-dump.json (192.75 KB, application/json)
2025-01-16 18:02 UTC, Dimitri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitri 2025-01-10 20:19:16 UTC
SUMMARY
Again an audio bug that only affect one of the laptop.
While sound from the computer build-in audio works fine. On headphone only, there is no sound coming out of applications (like VLC or Firefox) but sound is working from KDE (audio indicating a volume change and Right/Left sound test from audio settings).
Maybe this bug is related to an other bug which makes that headphone are shown unplugged on this laptop (not the other) whether they are plugged or unplugged.
I had a similar bug before on an older laptop where it was the audio from KDE that was not working and audio was working for Applications. This old bugs has solved himself in maybe one month. (I am not using the older laptop anymore, but I could go watch if this new bug is on it if someone want.)


STEPS TO REPRODUCE
1. Use an affected laptop (easier say than done)
2. Plug a headphone and put the audio to headphone (even if unplugged is written on it)
3. Play the audio test from systemsettings/audio (Front Left/Front Right), the sound should play in headphone
4. Now play audio from an application like VLC (with a video that has sound).

OBSERVED RESULT
No sound can be heard in the headphone from VLC. But sound is heard from the audio test (or when changing KDE main volume).
When using the laptop build-in audio, sound can be heard from everything.

EXPECTED RESULT
Sound should work from everywhere on the computer, on headphone, on all laptop.


SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.2
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-5200U CPU @ 2.20GHz
Memory: 3.7 Gio of RAM
Graphics Processor: Mesa Intel® HD Graphics 5500
Manufacturer: Hewlett-Packard
Product Name: HP 15 Notebook PC
System Version: 0974120000405F00000620180
Comment 1 Dimitri 2025-01-10 20:20:11 UTC
Created attachment 177269 [details]
My Audio settings (with headphone plugged in)
Comment 2 Harald Sitter 2025-01-13 13:18:19 UTC
please run the following commands

flatpak install org.rncbc.qpwgraph
flatpak run org.rncbc.qpwgraph

play a longer audio/video file in vlc and take a screenshot of the qpwgraph window
additionally the output of the following command would be interesting

pw-dump
Comment 3 Dimitri 2025-01-16 17:40:00 UTC
Sorry for the delay.
On Terminal, when opening org.rncbc.qpwgraph, I get : "Qt: Session management error: Could not open network socket".
But it still open.
The content shown is different depending on if VLC was open before or after qpwgraph and if a an other window than qpwgraph is hovered.
I will add screenshot of different cases.
Comment 4 Dimitri 2025-01-16 17:43:54 UTC
Created attachment 177426 [details]
PipeWire Graph, VLC open after, in headphone, without hover

Screenshot of the PipeWire Graph, with VLC open after qpwgraph, audio set to headphone, without hover on an other window.
Comment 5 Dimitri 2025-01-16 17:46:15 UTC
Created attachment 177427 [details]
PipeWire Graph, VLC open after, in headphone, with VLC hover

Screenshot of the PipeWire Graph, with VLC open after qpwgraph, audio set to headphone, with a hover on VLC.
Comment 6 Dimitri 2025-01-16 17:48:27 UTC
Created attachment 177428 [details]
PipeWire Graph, VLC open before, in headphone, without hover

Screenshot of the PipeWire Graph, with VLC open before qpwgraph, audio set to headphone, without hover on an other window.
Comment 7 Dimitri 2025-01-16 17:49:57 UTC
Created attachment 177429 [details]
PipeWire Graph, VLC open before, in headphone, without hover

Screenshot of the PipeWire Graph, with VLC open before qpwgraph, audio set to headphone, with hover on VLC.
Comment 8 Dimitri 2025-01-16 17:52:14 UTC
Created attachment 177430 [details]
PipeWire Graph, VLC open before, in headphone, with VLC hover

Screenshot of the PipeWire Graph, with VLC open before qpwgraph, audio set to headphone, with hover on VLC.
Comment 9 Dimitri 2025-01-16 17:57:57 UTC
Created attachment 177431 [details]
PipeWire Graph, in headphone (VLC open before, without hover) when changing OS volume

Screenshot of the PipeWire Graph, when changing OS audio volume in headphone. In this case, the sound is playing in headphone as it should.
(with VLC open before qpwgraph, without hover on an other window)
Comment 10 Dimitri 2025-01-16 18:01:10 UTC
Created attachment 177432 [details]
PipeWire Graph, VLC open before, using NATIVE SPEAKER, without hover

Screenshot of the PipeWire Graph, with VLC open before qpwgraph, audio set to NATIVE SPEAKER, without hover on an other window.
There is no issue with native speaker audio. This is just to compare.
Comment 11 Dimitri 2025-01-16 18:02:35 UTC
Created attachment 177433 [details]
pw-dump.json

The output of the pw-dump command.
Comment 12 Dimitri 2025-01-16 18:13:39 UTC
Thank you for your help. I wasn't sure what was the needed screenshot(s).
I put the bug back from needsinfo to reported for until you need something else.
Comment 13 Dimitri 2025-11-14 14:40:20 UTC
Update, the issue on this computer is also present on Linux Mint 22.2 Xfce-64bits (fully installed).
Headphones are shown as not connected even when they are (both KDE and Xfce) and even when we say to use them anyway no sound is coming out anywhere on Xfce.
On KDE, KDE system settings audio test was able to play audio on headphone when we say to use headphone, even if nothing else on the OS was able to play sound.
Both KDE and Xfce have no issue with audio from build-in speakers.