linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.51k stars 733 forks source link

Desync between sound applet and system on reboot #11193

Open dubrowgn opened 2 years ago

dubrowgn commented 2 years ago
 * Cinnamon version: 5.4.12+vanessa, LM21
   This bug has been around for as long as I can remember; definitely LM 20, and *I think* LM 19)
 * Distribution: Linux Mint 21, 20, *IIRC* 19
 * Graphics hardware: N/A
 * 64 bit
$ lsusb
...
Bus 003 Device 006: ID 1038:1297 SteelSeries ApS Arctis Pro Wireless
Bus 003 Device 005: ID 1038:1290 SteelSeries ApS Arctis Pro Wireless
...

Issue

When using multiple audio outputs, the cinnamon sound applet can pick a different output device on boot than the system is actively using to output sound. This means changing volume, muting, etc. all "work", but have no affect on actively outputted sound, since the sound applet is modifying a different audio sink than the system is using to output sound.

Steps to reproduce

For me, this is 100% reproducible with line-out and a usb-connected, wireless headset transceiver (SteelSeries Arctis Pro). If the audio output device is the headset when I reboot, the system selects line-out on boot, but the sound applet selects/remembers the headset. Changing volume at this point changes the headset's volume, which has no affect on sound actively being outputted via line-out.

Expected behavior

On boot, the cinnamon sound applet should select the same output device as the system is actively using to output sound.

Other information

I was hoping this would magically get fixed in LM 21, but no luck ;)

There are several other related issues already open, but they tend to tie multiple things together, such as changing default device behavior, etc. I cut a separate issue to keep things focused. Regardless of default device behavior, the sound applet should (IMHO) always match what the system is actually using to output sound.

Related

https://github.com/linuxmint/cinnamon/issues/11117 - [BUG] Linux Mint Cinnamon does not remember sound sources https://github.com/linuxmint/cinnamon/issues/11022 - [Feature Request] Setting & remembering last used/default audio devices. https://github.com/linuxmint/cinnamon/issues/10931 - Standard Audio Output and Input changes it's self after reboot

gtmaskall commented 1 year ago

I support this. For the longest time, every boot up I'll sigh a little before opening up the sound settings, noting that the desired output device is selected/highlighted, selecting some other output device, then selecting the original (previously "selected") device in order to then have the volume control actually modify the volume of the actually selected output device.

raketenhunddev commented 1 year ago

Experiencing the same problem on my machine.

My default output device is configured in ~/.config/pulse/default.pa