Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-14-2012, 01:59 PM   #1
LQ Newbie
Registered: Sep 2009
Posts: 28

Rep: Reputation: 0
No HDMI Sound


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.

Old 05-16-2012, 12:06 AM   #2
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,408
Blog Entries: 15

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
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:

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):

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:

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.

Last edited by ReaperX7; 05-17-2012 at 12:52 AM.
Old 05-18-2012, 06:58 AM   #3
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 68
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware HDMI Sound delroot Linux - Newbie 5 09-26-2013 02:04 PM
No Sound with HDMI gjblackford Linux - Hardware 2 07-19-2011 02:04 PM
[SOLVED] HDMI Sound SavoTU Slackware 6 01-25-2011 03:32 PM
No HDMI sound tovarish Linux - Hardware 4 06-21-2010 07:09 AM
No sound over HDMI connection Felipe Linux - Hardware 5 02-25-2010 05:45 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration