You are not logged in.
Pages: 1
I've installed KDE Plasma and I have no sound via HDMI. I am using a NVIDIA card. For the record, sound works out of the box with GNOME.
Output of aplay -l:
card 0: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog]
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 #0GNOME lists HDMI 2 as the proper device. However, using aplay to any of these devices yields no sound. Any ideas? Thanks in advance.
Edit
Using speaker-test -c 2 -D hw:1,7 does give me sound.
Last edited by jfarthing84 (2015-04-19 22:42:18)
Offline
Have you unmunted hdmi outs in alsamixer?
Offline
Yessir. As mentioned, I get sound while specifying the device with speaker-test.
Offline
Are you using plain ALSA? Try configuring the correct device in Phonon (Systemsettings --> Multimedia) or better yet if you intend to use it as your primary device set it as default: https://wiki.archlinux.org/index.php/Ad … sound_card
Offline
Plain ALSA at the moment. Just wanted to get that working before introducing other layers, like Pulseaudio.
Multimedia settings only has "Default" as a selection.
I've actually configured it as the default device just after posting the OP. However, no difference.
aplay -l:
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 0: ALC262 Analog [ALC262 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0Offline
I think that during boot order of sound cards are being changed from HDMI to MID ALC 262 Analog. You could specify order of the sound cards in /etc/modprobe.d/alsa-base.conf but i'm not sure what options should be there (there should be
options snd_hda_intel index=0
options snd_midi_sound_driver* index=1 or -2for sure) because hdmi from nvidia uses snd_hda_intel driver and maybe the same driver works for MID ALC262. You could check it with lspci -v. If this midi uses different driver, than in my opinion you are good to go.
*only an example for a driver, check it
Last edited by firekage (2015-04-13 21:43:56)
Offline
I was able to get plain ALSA sound by using this in .asoundrc:
pcm.!default {
type hw
card 0
device 7
}
ctl.!default {
type hw
card 0
device 7
}Then I installed Pulseaudio and couldn't get any sound until I deleted .asoundrc. I had to use pavucontrol to select the proper device for Pulse, because KDE doesn't show all of the profiles for the card - I guess I should file that bug.
Offline
That isn't a bug, you can switch profiles in the middle tab in phonon, but yeah it's cumbersome and slated to be fixed somewhere down the Plasma 5 line, so doing it with pavucontrol is easier, you generally have to do it only once.
And this is the reason I asked if you intend to use plain ALSA because with pulseaudio this becomes obsolete because it can handle this itself
Offline
That isn't a bug, you can switch profiles in the middle tab in phonon, but yeah it's cumbersome and slated to be fixed somewhere down the Plasma 5 line, so doing it with pavucontrol is easier, you generally have to do it only once.
And this is the reason I asked if you intend to use plain ALSA because with pulseaudio this becomes obsolete because it can handle this itself
I don't think that switching it in phonon works. I had 3 cards without rder index...and after each boot sound could pop up or not, could hear it, or not...even when i choose card with middle phonon tab. I had to gave order and index in /etc/modprobe.d/alsa-base.conf.
IMHO soud in kde, is something that should be rewrited or fixed...
Offline
order and index in alsa-base.conf is something you should do anyway, completely unrelated to what you are using, as only like that you can guarantee the order of indexes. That said afaik a rewrite and tighter integration with pulseaudio are things that are planned.
Last edited by V1del (2015-04-17 11:46:42)
Offline
No, Phonon only listed HDMI and HDMI 4. Missing 2 profiles, in which HDMI 2 is the one that works.
Last edited by jfarthing84 (2015-04-19 22:41:04)
Offline
Pages: 1