LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   HDMI Audio not working with ASUS M3N78-EM (https://www.linuxquestions.org/questions/linux-software-2/hdmi-audio-not-working-with-asus-m3n78-em-723434/)

Spectre5 05-03-2009 10:05 PM

HDMI Audio not working with ASUS M3N78-EM
 
I know this is a common question - but I've searching google and the forums for hours and hours without finding any solution that works for me!

When going through HDMI, the video is running great on my LCD TV, but the audio is not coming through at all. If I plug a PC Speaker into the analog out, then I get the audio there - but never from the TV via HDMI.

My motherboard is the ASUS M3N78-EM with an NVidia 8300 on-board with HDMI. The TV is a 720p 1366x768 TV (Sharp LC-19SB25U). I'm running Xubuntu 9.04 64 bit with a AMD 5050e processor.

aplay -l and aplay -L show that the HDMI device is hw:0,3. I've tried to run:

Code:

speaker-test -c2 -twav -Dplughw:0,3
and it runs correctly and without errors, but I just never hear any audio noise. I've checked the BIOS and it is outputting HDMI Audio (and I have the latest bios). I've checked the TV volume - it is up PLENTY loud...

I have no idea what to do! Most people that have the HDMI problems at least hear something when running a speaker-test, but I get nothing!

Any help? Let me know of any outputs you want to see to help diagnose the problems...

As always, thanks for any help!


EDIT: I guess I should also add that I've also gone into the alsa-mixer and turned on all options/controls, un-muted everything, set the volume up on everything, and turned all of the iec958 switches on.

Spectre5 05-03-2009 10:52 PM

To make sure the TV was able to handle HDMI audio (I don't know why it wouldn't be able to), I plugged a DVD player into the TV and played the DVD over HDMI video+audio and it worked flawlessly...so I know the TV is not the problem here...

Spectre5 05-04-2009 08:20 PM

Any ideas??? I've tried everything...I've also updated to the 19 ALSA drivers and the issue remains...I NEVER get audio from HDMI (but I do get it from the analog).

aplay -l
Code:

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
Code:

default:CARD=NVidia
    HDA NVidia, ALC1200 Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)

lspci -v
(Not that it shows NVidia 8200 but the motherboard advertises an 8300 (I'm looking at the specs/manual right now...is there a reason for this or should I call up ASUS and ask them?)
EDIT: err...I guess it does say 8300 for the VGA controller (second from bottom) which would be the video card portion of it, so nevermind!
Code:

00:00.0 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0
        Capabilities: <access denied>

00:01.0 ISA bridge: nVidia Corporation MCP78S [GeForce 8200] LPC Bridge (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0
        I/O ports at 0900 [size=256]

00:01.1 SMBus: nVidia Corporation MCP78S [GeForce 8200] SMBus (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: 66MHz, fast devsel, IRQ 15
        I/O ports at 0e00 [size=64]
        I/O ports at 0600 [size=64]
        I/O ports at 0700 [size=64]
        Capabilities: <access denied>

00:01.2 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: 66MHz, fast devsel

00:01.3 Co-processor: nVidia Corporation MCP78S [GeForce 8200] Co-Processor (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 11
        Memory at fcf80000 (32-bit, non-prefetchable) [size=512K]

00:01.4 RAM memory: nVidia Corporation MCP78S [GeForce 8200] Memory Controller (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: 66MHz, fast devsel

00:02.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1) (prog-if 10)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
        Memory at fcf7e000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd

00:02.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1) (prog-if 20)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
        Memory at fcf7fc00 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

00:04.0 USB Controller: nVidia Corporation MCP78S [GeForce 8200] OHCI USB 1.1 Controller (rev a1) (prog-if 10)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
        Memory at fcf7d000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ohci_hcd

00:04.1 USB Controller: nVidia Corporation MCP78S [GeForce 8200] EHCI USB 2.0 Controller (rev a1) (prog-if 20)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
        Memory at fcf7f800 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>
        Kernel driver in use: ehci_hcd

00:06.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] IDE (rev a1) (prog-if 8a [Master SecP PriP])
        Subsystem: ASUSTeK Computer Inc. (Wrong ID) Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
        I/O ports at ffa0 [size=16]
        Capabilities: <access denied>
        Kernel driver in use: pata_amd

00:07.0 Audio device: nVidia Corporation MCP78S [GeForce 8200] High Definition Audio (rev a1)
        Subsystem: ASUSTeK Computer Inc. Device 82fe
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
        Memory at fcf78000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel

00:08.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1) (prog-if 01)
        Flags: bus master, 66MHz, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        Capabilities: <access denied>

00:09.0 IDE interface: nVidia Corporation MCP78S [GeForce 8200] SATA Controller (non-AHCI mode) (rev a2) (prog-if 85 [Master SecO PriO])
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2300
        I/O ports at d480 [size=8]
        I/O ports at d400 [size=4]
        I/O ports at d080 [size=8]
        I/O ports at d000 [size=4]
        I/O ports at cc00 [size=16]
        Memory at fcf76000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

00:0a.0 Ethernet controller: nVidia Corporation MCP78S [GeForce 8200] Ethernet (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 2299
        Memory at fcf7c000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at c880 [size=8]
        Memory at fcf7f400 (32-bit, non-prefetchable) [size=256]
        Memory at fcf7f000 (32-bit, non-prefetchable) [size=16]
        Capabilities: <access denied>
        Kernel driver in use: forcedeth
        Kernel modules: forcedeth

00:0b.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fd000000-feafffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000fbffffff
        Capabilities: <access denied>
        Kernel modules: shpchp

00:10.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Capabilities: <access denied>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:12.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Express Bridge (rev a1)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        Capabilities: <access denied>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:13.0 PCI bridge: nVidia Corporation MCP78S [GeForce 8200] PCI Bridge (rev a1)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        Memory behind bridge: feb00000-febfffff
        Capabilities: <access denied>
        Kernel driver in use: pcieport-driver
        Kernel modules: shpchp

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
        Flags: fast devsel
        Capabilities: <access denied>

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
        Flags: fast devsel
        Capabilities: <access denied>
        Kernel driver in use: k8temp
        Kernel modules: k8temp

02:00.0 VGA compatible controller: nVidia Corporation GeForce 8300 (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 82f2
        Flags: bus master, fast devsel, latency 0, IRQ 21
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at f0000000 (64-bit, prefetchable) [size=128M]
        Memory at fa000000 (64-bit, prefetchable) [size=32M]
        I/O ports at ec00 [size=128]
        [virtual] Expansion ROM at feae0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nvidiafb

05:00.0 FireWire (IEEE 1394): JMicron Technologies, Inc. IEEE 1394 Host Controller (prog-if 10)
        Subsystem: ASUSTeK Computer Inc. Device 8313
        Flags: bus master, fast devsel, latency 0, IRQ 17
        Memory at febff800 (32-bit, non-prefetchable) [size=2K]
        Memory at febff400 (32-bit, non-prefetchable) [size=128]
        Memory at febff000 (32-bit, non-prefetchable) [size=128]
        Memory at febfec00 (32-bit, non-prefetchable) [size=128]
        Capabilities: <access denied>
        Kernel driver in use: ohci1394
        Kernel modules: firewire-ohci, ohci1394


Spectre5 05-04-2009 08:23 PM

Result from speaker-test:

speaker-test -c2 -twav -Dplughw:0,3
(runs with no errors - but I hear no audio. As I've said, the TV volume is up almost all the way)
Code:


speaker-test 1.0.19

Playback device is plughw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 16384
Period size range from 32 to 8192
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
...
...
...

I've also tried variants such as
speaker-test -c2 -twav -Dhdmi:CARD=NVidia,DEV=0
speaker-test -c2 -twav -Dplughw:0,1
and many others, but I get the same result - a successful test but without any sound!

I've tried all of the "fixes" I could find with /etc/asound.conf and alsamixer, I've updated alsa as I mentioned above...

I've seen most of the common threads about this issue - I'm getting no where though!

Any ideas????

EDIT: And no, pulseaudio is NOT installed...

Spectre5 05-04-2009 09:55 PM

A little more information that might help someone??? Anyone?

Code:

$ cat /proc/asound/cards
 0 [NVidia        ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfcf78000 irq 20

Code:

$ cat /proc/asound/modules
 0 snd_hda_intel

Code:

$ cat /proc/asound/card0/codec#* | grep -i codec
Codec: Realtek ALC1200
Codec: Nvidia MCP78 HDMI

Code:

$ cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2


Spectre5 05-07-2009 11:51 PM

Bump. Anyone?

Spectre5 05-25-2009 10:19 PM

Just to follow up with this, I have still not been able to get this to work, but several others have been successful with this mobo. I'm not sure why it won't work for me, but does for others.

Here is a thread with a number of solutions (in case someone stumbles on this thread in search of answers):
http://ubuntuforums.org/showthread.php?t=1147977


All times are GMT -5. The time now is 02:07 PM.