Kodi Community Forum

Full Version: New Pioneer AVR - No sound via HDMI at all !
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
UPDATE: Resolved kinda - Buy a Denon not an Pioneer AVR.

Hello

I just bought a new Pioneer VSX-527 AV Receiver as my old Sherwood AVR had no HDMI ports on it and I was previously using Digital Optical out of the HTPC.

Ubuntu 12.10 minimal / XBMC Frodo 12.1 - I am getting no sound at all via HDMI when connected to the Pioneer AVR. Not even when playing a music album or a XVID movie with a 2.0 audio track in it. Also movies with 5.1 audio tracks have no sound.

I do however get sound from the HTPC if I connect the HDMI directly to my LG HDTV and change the audio settings in XBMC accordingly.

If I connect my XBOX 360 to the new Pioneer AVR via HDMI I get Dolby Digital audio on the AVR OK no problems. I've tried connecting the Ubuntu HTPC to several different HDMI ports on the back of the AVR.

All of this makes me think I have an issue on the Ubuntu HTPC settings. I am using an Intel DH67CF ITX motherboard with an i3 Processor Intel HD 2000 Graphics.

Alsamixer:

Image

XBMC Audio Settings:

Image

Image

Output of aplay -L

Code:
xbmc@xbmc01:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC892 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dmix:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC892 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC892 Digital
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
    HDA Intel PCH, HDMI 1
    Hardware device with all software conversions
xbmc@xbmc01:~$

Output of aplay -l

xbmc@xbmc01:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
xbmc@xbmc01:~$
Not sure if this is the right command but I tried running in Terminal

speaker-test -D plughw:0,3 -c 2

and

speaker-test -D plughw:0,7 -c 2

I hear no sound from the front speakers at all.
I wonder if this is the problem?

3 Intel Systems with both SPDIF & HDMI

http://wiki.xbmc.org/index.php?title=Int...r_HD_Audio

Worth a try I guess.
I just tried both of those fixes in the Wiki link and still no sound over HDMI to the Pioneer AVR.

Very frustrating I can't use my new AVR at the moment..

EDIT: As a work around for tonight, I just connected a digital optical cable from PC to Pioneer AVR, Switched HDMI cable to DVD port on back of AVR and assigned the audio to Optical. I now have picture and sound.

Will have to get HDMI audio work though I've got 14 days in that time I can send the AVR back to the shop if I am not happy with it, but think the problem is on the HTPC.
I think the same problem I have is described in this thread:

http://forum.xbmc.org/showthread.php?tid...pid1341476

I've tried various things (See here) but nothing seems to get the sound working.

Thanks

Here is my Kernel version

uname -a
Linux xbmc01 3.5.0-25-generic #39-Ubuntu SMP Mon Feb 25 18:26:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

The Wiki says:

"HD Audio on Intel SandyBridge & IvyBridge systems require a patch from Intel to be included within the kernel, Linux 3.7 and higher include this patch as standard."

So my kernel is not the correct version ??

xbmc@xbmc01:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Just as a quick hint since I had similar problems with a different AVR: Simply try to connect your HTPC to each available HDMI input connector - one after another - to see if that would make a difference. On my AVR it's only possible to get a signal on one specific HDMI input connector.
(2013-04-08, 15:12)einhänder Wrote: [ -> ]Just as a quick hint since I had similar problems with a different AVR: Simply try to connect your HTPC to each available HDMI input connector - one after another - to see if that would make a difference. On my AVR it's only possible to get a signal on one specific HDMI input connector.

Hi

Thanks for your help!

I have tried 3 of the HDMI ports on the AVR, there are 6 in total so I will try the rest as you suggested.

I think my problem is my kernel version is not 3.7 or higher ? I used Bram's install script from this thread.
(2013-04-08, 15:21)cw-kid Wrote: [ -> ]I think my problem is my kernel version is not 3.7 or higher ? I used Bram's install script from this thread.

Can't tell you if that is a problem. All I can say is that I already used the 2.6 kernel series in the past and I had the problem then and now with the 3.8 kernel. So that didn't make a difference to me.
I'm really not sure where the problem is with the Linux PC or the Pioneer AVR?

I just updated the firmware on the AVR from version 1.050 to 1.058. I've tried all the HDMI ports now still no sound.

Other issues with the AVR when switching to the inbuilt Network feature i.e the DLNA player / Net radio etc, if I then switch back to the XBMC PC the colours of the UI go all strange and are just purple and green. If I then switch to the XBOX 360 and back to the XBMC PC the colours are restored and look OK again.

The DLNA player on the AVR says files format error on albums that are MP3, it plays some MP3 albums OK but not others.

I know it was a cheap AVR but I expected it to work better than this, I've never used a Pioneer AVR before, but I have setup lots of AVRs in the past for other people, Denon, Onkyo, Harman Kardon, Sony etc with Windows Media Center PCs.

I am tempted to take it back to the shop and swap it for a Denon unit.

But need to confirm really if this kernel version is an issue?

Someone here with same AVR and same version of Ubuntu 12.10 on Intel platform and has the same problem.

http://askubuntu.com/questions/276503/no...y-to-the-t

No solution posted.

Similar problem here as well:

http://www.openelec.tv/forum/68-audio/63...blem-sound
You found the solution but decided not to do anything with it ?

Code:
HD Audio on Intel SandyBridge & IvyBridge systems require a patch from Intel to be included within the kernel, Linux 3.7 and higher include this patch as standard.

You will need to upgrade your kernel to 3.7 to get bitstreaming audio over intel HDMI.
Intel_Linux_Modifications_for_HD_Audio#Kernel_upgrades (wiki)

I can't say anything about the quality of the AVR you have, it might be good or bad - i don't know.
I do know you will not get audio over HDMI if you do not upgrade your kernel.

Pay attention: because you also have SPDIF, you either need to disable that (easy) or configure both to work (hard) as explained in that same wiki post.

Code:
Systems which have a Intel GPU feeding a HDMI out but also have a motherboard SPDIF out also require a patched Linux 3.7 or higher kernel, however further system modification is also required to get sound on the HDMI out. In these circumstances both SPDIF & HDMI share certain system file settings which cause a conflict resulting in the HDMI sound being blocked, to fix this there are two options available
(2013-04-08, 21:30)Kibje Wrote: [ -> ]You found the solution but decided not to do anything with it ?

Code:
HD Audio on Intel SandyBridge & IvyBridge systems require a patch from Intel to be included within the kernel, Linux 3.7 and higher include this patch as standard.

You will need to upgrade your kernel to 3.7 to get bitstreaming audio over intel HDMI.
Intel_Linux_Modifications_for_HD_Audio#Kernel_upgrades (wiki)

Hi thanks for your reply.

I guess I am being hesitant as I am new to Linux and have never updated the kernel before.

I will give it a go tomorrow hopefully it works out.

So would you recommend just updating to 3.7 or 3.8.5 ?

Cheers
OK I bit the bullet and just updated the Kernel, which seemed to go OK.

xbmc@xbmc01:~$ uname -a
Linux xbmc01 3.8.5-030805-generic #201303281651 SMP Thu Mar 28 20:52:32 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

xbmc@xbmc01:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal

I then edited the /usr/share/alsa/cards/HDA-Intel.conf file as per the wiki and rebooted.

That didn't seem to work still no sound and I lost the HDMI device named "HDA INTEL PCH, PIO VSX-527 ON HDMI" in XBMC. Leaving me only one HDMI device called "HDA INTEL PCH, HDMI".

I then edited the HDA-Intel.conf file back to what it was originally and this got the "HDA INTEL PCH, PIO VSX-527 ON HDMI" device back again.

I then blacklisted iec958 in the /etc/modprobe.d/blacklist file instead and rebooted, still no sound. Then tried blacklisting IEC958 and ALC892 still no sound.

I then tried adding this line: snd_hda_codec_realtek index=-2 in to the /etc/modprobe.d/alsa-base.conf file, still no sound.

That was my last hope so now I am SOL.
Maybe this is the command I should be running

rmmod snd_hda_codec_realtek

but it says:

ERROR: Module snd_hda_codec_realtek is in use.

Code:
xbmc@xbmc01:~$ lsmod
Module                  Size  Used by
snd_hda_codec_hdmi     37223  1
snd_hda_codec_realtek    79916  1
snd_hda_intel          44339  0
snd_hda_codec         141474  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_pcm               102477  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
kvm_intel             137899  0
snd_seq_midi           13324  0
kvm                   451836  1 kvm_intel
snd_rawmidi            30417  1 snd_seq_midi
ghash_clmulni_intel    13259  0
gpio_ich               13526  0
cryptd                 20501  1 ghash_clmulni_intel
snd_seq_midi_event     14899  1 snd_seq_midi
rc_imon_pad            12505  0
snd_seq                61930  2 snd_seq_midi,snd_seq_midi_event
imon                   32757  1
snd_timer              29989  2 snd_pcm,snd_seq
rc_core                26422  3 rc_imon_pad,imon
snd_seq_device         14497  3 snd_seq_midi,snd_rawmidi,snd_seq
microcode              23017  0
snd                    69533  10 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse                92375  0
joydev                 17613  0
serio_raw              13215  0
lpc_ich                17144  0
soundcore              12680  1 snd
snd_page_alloc         18798  2 snd_hda_intel,snd_pcm
w83627ehf              43203  0
mei                    41820  0
mac_hid                13253  0
hwmon_vid              12827  1 w83627ehf
coretemp               13596  0
usb_storage            61749  0
uvesafb                33356  0
hid_generic            12540  0
usbhid                 47346  0
hid                   101262  2 hid_generic,usbhid
i915                  616273  1
drm_kms_helper         49597  1 i915
drm                   286915  2 i915,drm_kms_helper
e1000e                202150  0
ahci                   25879  2
libahci                31606  1 ahci
i2c_algo_bit           13564  1 i915
video                  19467  1 i915

blacklisting snd_hda_codec_realtek in the /etc/modprobe.d/blacklist file works in that if I then do a aplay-l the digital SPDIF device is no longer present.

But still no sound at all via AVR.

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: HDA Generic [HDA Generic]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 0/1
Subdevice #0: subdevice #0
Hi
I gave up with my pioneer avr and frodo AE (went back to eden Smile ) but I did get sound working by switching from hdmi to analog in the audio output setting
dono how much help it is but worth a shot Smile
I think there are two issues here.

1. A problem with the Pioneer AVR and my Ubuntu HTPC no sound at all
2. I also need to update the kernel and apply the fix for Intel HD audio

I have also noticed another new issue.

After updating the kernel to V3.8.5 I seem to be loosing hardware acceleration and the CPU usage is very high when playing a Blu-ray ISO

3.8.5 Kernel

Image

3.5.0 Kernel

Image

Think I will swap the Pioneer AVR for another unit.

In the XBMC Video playback settings I still have all 3 options enabled:

VDPAU
VAAPI
XVBA

I am presuming I should only really have one of them enabled but not sure which one for the Intel GPU platform. I would guess at XVBA.
Pages: 1 2