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.53k stars 735 forks source link

[sound applet] missing output devices #2888

Closed gregsheremeta closed 9 years ago

gregsheremeta commented 10 years ago

In the Output device submenu of the sound applet, only two devices show up, but I have 3. When I click the Sound Settings submenu, I can then choose from all 3.

For some reason, get_sinks() must only return the two devices. Maybe it's that my digital and analog outputs are both "Built-in Audio"?

cinnamon.x86_64 2.0.14-4.fc20 Fedora 20 greg@dauntless:~$ yum list installed alsa Loaded plugins: langpacks, refresh-packagekit Installed Packages alsa-firmware.noarch 1.0.27-2.fc20 installed alsa-lib.x86_64 1.0.27.2-2.fc20 installed alsa-plugins-pulseaudio.x86_64 1.0.27-2.fc20 installed alsa-tools-firmware.x86_64 1.0.27-3.fc20 installed alsa-utils.x86_64 1.0.27.2-3.fc20 installed greg@dauntless:~$ yum list installed pulseaudio Loaded plugins: langpacks, refresh-packagekit Installed Packages pulseaudio.x86_64 4.0-9.gitf81e3.fc20 installed pulseaudio-gdm-hooks.x86_64 4.0-9.gitf81e3.fc20 installed pulseaudio-libs.x86_64 4.0-9.gitf81e3.fc20 installed pulseaudio-libs-glib2.x86_64 4.0-9.gitf81e3.fc20 installed pulseaudio-module-bluetooth.x86_64 4.0-9.gitf81e3.fc20 installed pulseaudio-module-x11.x86_64 4.0-9.gitf81e3.fc20 installed pulseaudio-utils.x86_64 4.0-9.gitf81e3.fc20 installed

greg@dauntless:~$ aplay -l \ List of PLAYBACK Hardware Devices ** card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0

workspace 1_008

selection_007

tochoromero commented 10 years ago

I have the exact same issue, the sound applet only displays the current one, so I have to go into settings to be able to change it.

anandrkris commented 10 years ago

Yes, even I am facing this issue when I connect my headphones in the socket in Mint Box it shows up in Settings but not in sound applet. Although Bluetooth speaker connected shows up and works fine.

gregsheremeta commented 10 years ago

I can work on this if someone can point me to the API docs for get_sinks() and its friends. I'm need even sure what API that is (GTK?)

iraklisg commented 10 years ago

I have the same issue here. When I am connecting an external TV monitor via an hdmi cable. I am able to switch among the prefered sound devices through Settings --> sound but the hdmi option is not listed in sound applet

buddebej commented 10 years ago

Same here!

anandrkris commented 10 years ago

Also, another feature request - showing Headphone icon while connected to such device would be a useful addition. Often, I have both head phone and speaker connected and dont realize that it is playing through headphone.

kenden commented 10 years ago

Issue present on Linux Mint 17 - Cinnamon 2.2.16. It happens each time the computer resumes from sleep. To change the volume level of the second device, the Sound Settings window has to be opened and the device selected. Then it appears on the sound applet.

It's annoving: each morning, each afternoon I have to open the Sound Settings window and select the headphones if I want to change the volume of the headphones.

menu_040

anandrkris commented 10 years ago

@kenden - I face the same issue. :cry: Am now thinking if installing pavucontrol will help store the sound profile?

kenden commented 9 years ago

Still the same in Cinnamon 2.4.

iraklisg commented 9 years ago

The problem is still present in Linux Mint 17.1. Whenever I am connecting an external TV monitor via an hdmi cable, the hdmi sound option is not listed in sound applet/output device.... I am able to switch among the preferred sound devices only through Settings --> Sound (which is really annoying sometimes) See also there for a description of the problem http://forums.linuxmint.com/viewtopic.php?f=48&t=144629

clefebvre commented 9 years ago

This should help https://github.com/linuxmint/Cinnamon/commit/47c9223a5dbc276e9b598c3295582415aa019ada

It brings the Cinnamon GVC lib on par with the one used by cinnamon-control-center. That doesn't mean it fixes the issues you mentioned (I think it might help with detecting devices connections/removals in the applet but it certainly doesn't make the applet differentiate between Built-In Audio profiles for instance).

Anyway, give it a try if you get a chance.

mtwebster commented 9 years ago

fixed as of 05f65cf

mlopezcoria commented 7 years ago

I've got a similar issue with Linux Mint 18.2 Cinnamon 64-bit (https://gist.github.com/anonymous/ae19404aa8097399f521ab007f5d6ac3) Normally I can see my output analog audio adapter, that's the one I use. But when I plug my headphones into the frontal panel it disappears from the sound settings dialog, the only device that becomes available is HDMI/Display Port Built-in Audio and the speakers doesn't sound.

sound_019