Author Topic: 1004 beta 1 hdmi audio issues  (Read 5361 times)

klanmce

  • Veteran
  • ***
  • Posts: 133
    • View Profile
1004 beta 1 hdmi audio issues
« on: August 26, 2012, 12:51:56 pm »
I am not sure what happened, I was able to hear the test sounds when choosing hdmi for audio, was able to hear the first past through but not the second. I was also able to hear sarah for setting up Media Player; this is an MD. Now I have finished, I am not getting any sound for videos, dvd or audio; all channels unmutted

This is my aplay -l

root@moon43:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662 rev1 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

Also

aplay -l | grep -i 'hdmi'
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]

If I do the following test, I am hearing

root@moon43:~# speaker-test -c 2 -l 1 -t sine -D hw:0,3

speaker-test 1.0.22

Playback device is hw:0,3
Stream parameters are 48000Hz, S16_LE, 2 channels
Sine wave rate is 440.0000Hz
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 1048576
Period size range from 32 to 524288
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 11.070719
root@moon43:~#
root@moon43:~#
root@moon43:~# aplay -D plughw:0,3 /usr/share/sounds/alsa/Rear_Right.wav
Playing WAVE '/usr/share/sounds/alsa/Rear_Right.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono

This MD is an original ION

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #1 on: August 26, 2012, 04:08:55 pm »
Fix one thing, break another.

I will look into it. I have one so it shouldn't take too terribly long.
I never quit... I just ping out.

klanmce

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #2 on: August 26, 2012, 06:49:21 pm »
Ok thanks

Did not want to go the route as in 810, manually upgrading nvidia and alsa as I knew it suppose to work

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #3 on: August 26, 2012, 11:37:01 pm »
guys,

     I was working on getting AC3 audio via HDMI on LMCE 1004 today...   after much searching the last two mornings, I found this:

http://ubuntuforums.org/showthread.php?t=1608804   Something about a52 not set up causing the problem.
My board is an MSI 870A-G46 with the Realtek ALC-892 chip.   I was only getting PCM (stereo) from my Media Director into my Denon receiver via HDMI (and also thru SPDIF).   I havent tried HD audio yet... but will be firing up a movie later today.

I can do:  speaker-test -Da52:0 -c6 and all speakers check properly. Unfortunately I have to figure out how to get the Media Director to know about it.

Good luck,

Dennis
« Last Edit: August 27, 2012, 12:16:18 am by ardirtbiker »

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #4 on: August 27, 2012, 03:04:07 am »
Ok thanks

Did not want to go the route as in 810, manually upgrading nvidia and alsa as I knew it suppose to work

Yeah... like I said... I have an acer revo 16xx ion1 and all of my stuff looks exactly like yours... and I am fully upgraded... however it was setup under the old scheme. We have made a lot of changes trying to get all of the ion2/GTxxx series to work automatically with hdmi audio. If yours no longer does, then it is likely we broke it. I have been gone all day. Will be gone most of tomorrow. Will figure it out tomorrow afternoon or Tuesday.
I never quit... I just ping out.

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #5 on: August 29, 2012, 03:28:58 am »
bringing this back up again... Im at a loss at getting HDMI audio working.

Mobo - MSI 870A-G46
GPU - nVidia GTX-550 Ti

**************************************************************************
lspci:
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
01:00.0 VGA compatible controller: NVIDIA Corporation GF116 [GeForce GTX 550 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GF116 High Definition Audio Controller (rev a1)

**************************************************************************
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

****************************************************************************************

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


****************************************************************************************

ls -F /proc/asound/card1
codec#0  codec#2  eld#0.0  eld#2.0  id      pcm7p/  pcm9p/
codec#1  codec#3  eld#1.0  eld#3.0  pcm3p/  pcm8p/

****************************************************************************************

cat /proc/asound/card1/eld#1.0
monitor_present         1
eld_valid               1
monitor_name            DENON-AVR
 
connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0xee11
product_id              0x2e
port_id                 0x20000
support_hdcp            0
support_ai              0
audio_sync_delay        0
speakers                [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count               6
sad0_coding_type        [0x1] LPCM
sad0_channels           8
sad0_rates              [0x1ee0] 44100 48000 88200 176400 192000 384000
sad0_bits               [0xe0000] 16 20 24
sad1_coding_type        [0x7] DTS
sad1_channels           6
sad1_rates              [0x6c0] 48000 88200 176400 192000
sad1_max_bitrate        1536000
sad2_coding_type        [0x2] AC-3
sad2_channels           6
sad2_rates              [0xe0] 44100 48000 88200
sad2_max_bitrate        640000
sad3_coding_type        [0xb] DTS-HD
sad3_channels           8
sad3_rates              [0x1ec0] 48000 88200 176400 192000 384000
sad4_coding_type        [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad4_channels           8
sad4_rates              [0xc0] 48000 88200
sad5_coding_type        [0xc] MLP (Dolby TrueHD)
sad5_channels           8
sad5_rates              [0x1ec0] 48000 88200 176400 192000 384000

*******************************************************************************************

from dmesg:

[   43.874570] NVRM: GPU at 0000:01:00: GPU-9df96c4f-7ee2-795c-b4c1-19cd4b719619
[   43.979833] HDMI hot plug event: Pin=5 Presence_Detect=1 ELD_Valid=0
[   43.998243] HDMI hot plug event: Pin=5 Presence_Detect=0 ELD_Valid=1
[   44.776030] HDMI: detected monitor DENON-AVR
[   44.776032]    at connection type HDMI
[   44.776034] HDMI: available speakers: FL/FR LFE FC RL/RR RC RLC/RRC
[   44.776038] HDMI: supports coding type LPCM: channels = 8, rates = 44100 48000 88200 176400 192000 384000, bits = 16 20 24
[   44.776041] HDMI: supports coding type DTS: channels = 6, rates = 48000 88200 176400 192000, max bitrate = 1536000
[   44.776043] HDMI: supports coding type AC-3: channels = 6, rates = 44100 48000 88200, max bitrate = 640000
[   44.776045] HDMI: supports coding type DTS-HD: channels = 8, rates = 48000 88200 176400 192000 384000
[   44.776047] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital Plus): channels = 8, rates = 48000 88200
[   44.776049] HDMI: supports coding type MLP (Dolby TrueHD): channels = 8, rates = 48000 88200 176400 192000 384000


******************************************************************************************************



at a terminal, the following command will play on all speakers:
                    speaker-test -c 8 -r 48000 -D hw:1,7    *** this works for 7.1 channels


While running AVWizard, I get a screen (#5) to select which audio controller to use... then select HDMI... but i get no sound at all during the test.


Can someone tell me what I am 'missing' (besides a few screws!!!)


Thanks,
Dennis

klanmce

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #6 on: August 31, 2012, 11:52:10 pm »
Not sure if this would be helpful, but launched browser and youtube and am getting sound

klanmce

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: 1004 beta 1 hdmi audio issues
« Reply #7 on: September 01, 2012, 12:40:13 am »
Okay I got sound for all my files by disabling ACS/DTS pass-through.

The first test worked in avwizard, while the second did not, maybe its my tv

Thanks all