LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   No HDMI Sound (http://www.linuxquestions.org/questions/slackware-14/no-hdmi-sound-944914/)

daniil 05-14-2012 01:59 PM

No HDMI Sound
 
Hi,

I have slackware 13.37 updated to the current.

If I run mplayer -ao alsa:device=hdmi The sound works perfectly, but it doesn't in kde.

I use mplayer as phonon backend, others backends doesn't work for me at all, and I didn't try to fix it.

In Phonon System Settings Test also doesn't work with hdmi device, the sound goes through notebook speakers.

Thanks

ReaperX7 05-16-2012 12:06 AM

Check your video card manufacturer (AMD, Intel, or Nvidia) website for their Linux driver section and FAQ as they should have proper documentation on it's setup and configuration.

Nvidia has a good tutorial on setting up HDMI audio on their website which should reflect wellon any other non-Nvidia HDMI setup as well.

Found the link for you:

ftp://download.nvidia.com/XFree86/gp...dmi-audio.html

You may need to create/edit your /etc/modules.conf file to add the HDMI device to the listing with it's ALSA driver, as such (example only):

Quote:

alias snd-card-0 snd-emu10k1 # PCI Audio device
alias snd-card-1 snd-hda-intel # HDMI Audio Device

alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias sound-slot-1 snd-card-1
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
Then create and edit this file in your Home/Root directories called .asoundrc like so:

vi ~/.asoundrc

And paste this into the file and save it:

Quote:

pcm.emu10k1 {
type hw
card 0
}

ctl.emu10k1 {
type hw
card 0
}

pcm.hda-intel {
type hw
card 1
}

pcm.hda-intel {
type hw
card 1
}
The HDMI audio device regardless of manufacturer should default to the Intel HD Audio driver.

XGizzmo 05-18-2012 06:58 AM

You may need to tell phonon that the hdmi output is the preferred output, you set it is the same area where you set the backend to use, just on a different tab.


All times are GMT -5. The time now is 08:13 PM.