LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

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

Rep: Reputation: 0
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
 
Old 05-15-2012, 11:06 PM   #2
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,883
Blog Entries: 15

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

Last edited by ReaperX7; 05-16-2012 at 11:52 PM.
 
Old 05-18-2012, 05:58 AM   #3
XGizzmo
Member
 
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.
 
  


Reply


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 01:04 PM
No Sound with HDMI gjblackford Linux - Hardware 2 07-19-2011 01:04 PM
[SOLVED] HDMI Sound SavoTU Slackware 6 01-25-2011 02:32 PM
No HDMI sound tovarish Linux - Hardware 4 06-21-2010 06:09 AM
No sound over HDMI connection Felipe Linux - Hardware 5 02-25-2010 04:45 PM


All times are GMT -5. The time now is 02:19 AM.

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