Bug 498198

Summary: When using 768000 sample rate audio icon is slashed out
Product: [Plasma] plasmashell Reporter: timon2201
Component: Audio Volume widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: minor CC: isma.af, nate
Priority: NOR    
Version First Reported In: 6.2.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description timon2201 2025-01-03 10:30:48 UTC
SUMMARY

When you are on wayland and use pipewire for audio and you configure in your pipewire.conf file in /etc/pipewire/pipewire.conf the sample rate to 768000. Then the audio icon on the panel gets slashed out and says you have no audio but it works fine with librewolf and other applications. The audio output also doesn't get listed in the devices tab in when you click on the icon.

Except some which seem to rely on the reporting of kde for the audio devices. 

Everthing works fine when you only use 384000 or less.


STEPS TO REPRODUCE
1.  change in the /etc/pipewire/pipewire.conf the following:

copy the file from /usr/share/pipewire/pipewire.conf to /etc/pipewire/pipewire.conf

then change in the context.properties the settings to 

    default.clock.rate          = 768000
    default.clock.allowed-rates = [ 768000 ]

change them and comment them in.

2.  Be sure to have a dac which is 768000 capable otherwise it wont work with that high of a sample rate.
3.  Icon should now be slashed out red but is still working with librewolf for example or games. But not with for example electron applications.

OBSERVED RESULT
Audio icon on the panel gets slashed out and some applications don't give any sound anymore.
The output audio device is also not listed in the device list when you click on the audio icon.

EXPECTED RESULT
Audio icon should not be slashed out and applications should work fine.
And audio device should be listed in the device list in the audio icon on the panel.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.4-273-tkg-eevdf-llvm (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570 AORUS MASTER
System Version: -CF

kde version 6.2.5-1.1 in arch repos.

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-01-03 17:59:14 UTC
> Audio icon on the panel gets slashed out and some applications don't give any sound anymore.
These symptoms seem connected, and indicate that the issue is in PipeWire itself. I would recommend reporting it at https://gitlab.freedesktop.org/pipewire/pipewire/-/issues. Thanks!