LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 05-14-2009, 04:49 AM   #1
Furious_George
LQ Newbie
 
Registered: May 2009
Posts: 3

Rep: Reputation: 1
Question No HDMI Audio despite showing up unmuted in alsamixer


Like the title says, I see a in output named 'HDMI' in alsamixer, it is not muted (immutable, actually) and is turned all the way up.

Code:
$ amixer |grep -B0 -a6 HDMI
Simple mixer control 'HDMI',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 39
  Mono:
  Front Left: Playback 39 [100%] [0.00dB]
  Front Right: Playback 39 [100%] [0.00dB]
On the other hand, as per my research, I should get a subdevice listed in aplay, yet I don't.

Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
I believe all my drivers are up to date, or at least new enough...

Code:
$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  180.44  Tue Mar 24 05:46:32 PST 2009
GCC version:  gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
So I'm kinda stuck. Any ideas are much appreciated.
 
Old 05-14-2009, 11:21 PM   #2
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
It's been my limited experience that you should see more in aplay -l if hdmi is working. For me, card 0,0 and 0,1 are for analog and digital (for me 0,1 is for optical). Card 1,0 (now 1,3 with newer kernel) is hdmi.

What distribution are you using?

What is you mboard?

What does lspci show?
 
Old 05-15-2009, 01:37 PM   #3
Furious_George
LQ Newbie
 
Registered: May 2009
Posts: 3

Original Poster
Rep: Reputation: 1
Hi, and thanks for the response.

I'm using a Asus Rampage II Gene (x58 chipset) and Kubuntu 9.04.

Code:
$ sudo lspci -vv|grep -B1 -a28 -i audio

00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
        Subsystem: ASUSTeK Computer Inc. Device 82ea
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 22
        Region 0: Memory at f7ff8000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- RBE- FLReset+
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
                LnkCap: Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed unknown, Width x0, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [130] Root Complex Link <?>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
No mention of HDMI, or digital anything. Perhaps my chipset or onboard sound need an updated driver?

Last edited by Furious_George; 05-15-2009 at 02:21 PM.
 
Old 05-15-2009, 11:48 PM   #4
Unmindfulawe
Member
 
Registered: Aug 2005
Location: WI
Distribution: openSUSE 11.1/ TinyMe
Posts: 51

Rep: Reputation: 16
You probably need to update your alsa drivers. Currently I am using the .19 driver. Until I started using that driver my HDMI sound device did not show up.

Last edited by Unmindfulawe; 05-15-2009 at 11:55 PM.
 
Old 05-16-2009, 10:40 AM   #5
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
The asus webpage shows alsa 1.0.16 supports but no specific mention about HDMI (that I saw rapidly).

The alsa changes pages indicate some activity with hda-intel.
Changes for V1.0.18 to .18a as well as changes from .18 to .19 indicate hdmi audio support is added and also that some patches are added.
.19 to .20 changes show some reversion on the patches. Unmindfulawe's advice is probably valid and you should try newer alsa.

I'm not familiar with your mboard. On mine, hdmi audio out shows up as card 1, whereas all other sound output comes off of card 0. Is it possible your 0:1 is out for all digital, i.e. the output to the optical is parallel and concurrent with hdmi? Who knows.

Unmindfulawe, do you have ich10 and if so, how does your hdmi audio show up?

Once you get some indication that your hdmi port is seen by the PC, actually getting sound out of it might still be another step. For me with a amd (ati) chip, the video driver has to enable sound to be carried out of the hdmi port. This is only accomplished using the proprietary fglrx driver (Catalyst), or with the current git of radeonhd.

I'm not familiar with nvidia or intel but the situation could be similar.

So there are two steps. 1) getting hardware to recognize hdmi audio port and 2) having proper video driver (and xorg.conf options) to enable/combine output out of the graphic hdmi port. Hope this helps.

Last edited by forum1793; 05-16-2009 at 10:50 AM.
 
Old 05-16-2009, 11:36 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,554

Rep: Reputation: 241Reputation: 241Reputation: 241
My HDMI audio is snd-hda-intel. Since it's my ATI HD4550 soundcard that is feeding the HDMI out. It's very limited though. Stereo 16 bit 48kHz. It supposedly does 5.1, but that's through AC3 codecs only. I believe I've gotten it to work. But I much prefer my 24 bit 96kHz Delta 44 (snd-ice1712).

cat /proc/asound/cards

If it's not card 0, you need to explicitly tell the application to use the OTHER soundcard. Or change your configuration to accomplish the same.

HTH
 
Old 05-16-2009, 01:02 PM   #7
Unmindfulawe
Member
 
Registered: Aug 2005
Location: WI
Distribution: openSUSE 11.1/ TinyMe
Posts: 51

Rep: Reputation: 16
Well, here are my thoughts on this situation. You say that you can see the HDMI output while in the alsamixer and it is turned up all the way but you still have no sound. You are using the Asus Rampage II Gene motherboard which if I'm not mistaken does not have an integrated graphics chipset. Which then begs me to believe that you are using an NVIDIA graphics card with an HDMI output. But here's the problem... it is my understanding that a great deal of non integrated graphics cards will have a spdif input which attaches to the spdif output coming from the motherboard which then the graphics card would pass-through the sound through your HDMI cable. That sound is then processed by the device that is interfaced using the HDMI cable. So, there are some more questions that need to answered; what graphics card are you using? What are you pluging the HDMI cable into. A computer monitor? A television set ? An audio receiever ? I think in order to solve this we need as much info about your setup as possible. :-) @Forum I do not have the same chipset (ICH10) on my motherboard. I read the previous posts too quickly and oversaw that there was an NVIDIA driver installed and falsely assumed that it was an NVIDIA audio chipset. So, to sum up, I believe that since you see the HDMI audio as a device and you aren't getting any audio then could it be that you just need to plug in a connector from your motherboard to your graphics card?

Last edited by Unmindfulawe; 05-16-2009 at 01:21 PM.
 
Old 05-16-2009, 07:49 PM   #8
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
Unmindfulawe: you are correct. It didn't occur to me that the mboard wouldn't have integrated graphics/hdmi. I looked at specs and owners manual and it doesn't. How then does alsa mixer see anything that is hdmi?

In any event, it looks like a separate cable from the audio output to something on the video card is needed. Then the video driver will still have to support. A quick websearch shows many people had trouble with this. I didn't search long enough to see if anyone solved it. Probably depends on the card.

This is a fairly expensive mboard.
 
Old 05-17-2009, 04:05 PM   #9
Unmindfulawe
Member
 
Registered: Aug 2005
Location: WI
Distribution: openSUSE 11.1/ TinyMe
Posts: 51

Rep: Reputation: 16
See, if you look at it from the perspective of the operating system then everything is making sense. See you have the graphics card plugged in and it has the capability to output audio through the HDMI output. Since you have the proprietary NVIDIA driver installed then the HDMI capability appears under the ALSA mixer. So when you turn up the volume in the alsamixer you are turning up the volume of nothing as the cable going from the motherboard to the graphics card is not present. So yes, after reviewing the manual for your motherboard, you should have an spdif output on the motherboard itself which consists of two pins. If you download the manual or have the paper version it shows which pins to plug the cable into under the section 2.2.1 (motherboard overview). I'm not sure where it plugs into on the graphics card itself as I do not have enough info about your graphics card. If your graphics card did not come with the spdif cable you will most likely have troubles findind this cable as it isn't a common one. Your best bet is this location. http://cgi.ebay.com/nVIDIA-9800-GX2-...3A1%7C294%3A50
 
  


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
HDMI Audio not working with ASUS M3N78-EM Spectre5 Linux - Software 6 05-25-2009 11:19 PM
LXer: Using HDMI Audio/Video On Linux LXer Syndicated Linux News 0 12-10-2008 05:00 PM
LXer: Using HDMI Audio/Video On Linux LXer Syndicated Linux News 0 12-10-2008 12:40 PM
ATI Technologies Inc SB450 HDA Audio alsamixer problem jelgavchik Linux - Laptop and Netbook 2 11-29-2006 07:45 PM
Alsamixer does not save the unmuted selection seraph-seph Slackware 3 07-28-2005 08:43 PM


All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
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