Linux xbmcbuntu: no hdmi-5.1 sound from right rear speaker
#1
hi, i just noticed i am getting no sound from my right-rear channel:
Code:
schneidz@xbmc:~$ uname -a -m -p
Linux xbmc 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
schneidz@xbmc:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default
sysdefault:CARD=NVidia
    HDA NVidia, ALC662 rev1 Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    Direct sample mixing device
dmix:CARD=NVidia,DEV=1
    HDA NVidia, ALC662 rev1 Digital
    Direct sample mixing device
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
    HDA NVidia, ALC662 rev1 Digital
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
    HDA NVidia, ALC662 rev1 Digital
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 rev1 Analog
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
    HDA NVidia, ALC662 rev1 Digital
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
schneidz@xbmc:~$ cat ~/.asoundrc
# --auto-generated-- by /etc/xbmc/live.d/01-make-asoundrc.sh
# AUTOUPDATE=True  # change this to disable updating of this file
pcm.!default {
  type plug;
  slave.pcm "hdmi:CARD=NVidia,DEV=0";
}
schneidz@xbmc:~$ cat .xbmc/userdata/guisettings.xml
...
    <audiooutput>
        <ac3passthrough default="true">true</ac3passthrough>
        <ac3transcode default="true">false</ac3transcode>
        <audiodevice>ALSA:hdmi:CARD=NVidia,DEV=0</audiodevice>
        <channels>8</channels>
        <config default="true">2</config>
        <dtshdpassthrough default="true">false</dtshdpassthrough>
        <dtspassthrough default="true">false</dtspassthrough>
        <eac3passthrough default="true">false</eac3passthrough>
        <guisoundmode default="true">1</guisoundmode>
        <normalizelevels default="true">true</normalizelevels>
        <passthrough default="true">false</passthrough>
        <passthroughdevice default="true">ALSA:iec958:CARD=NVidia,DEV=0</passthroughdevice>
        <processquality default="true">30</processquality>
        <samplerate default="true">48000</samplerate>
        <stereoupmix default="true">false</stereoupmix>
        <streamsilence default="true">1</streamsilence>
        <truehdpassthrough default="true">false</truehdpassthrough>
    </audiooutput>
...
whats weird is when i pause a movie i hear i faint hiss from that speaker. i ran the speaker test from the lg blu-ray settings and all the speakers hiss according to the hi-lited speaker on the screen. any other trouble-shooting tips ?
Reply
#2
Try with speaker-test from the command line - if that also does not work - fix your cable :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
thanks, i ran speaker-test; here is the output (#as well as what it should be):
Code:
schneidz@xbmc:~$ speaker-test -D hdmi -c 6 -t wav

speaker-test 1.0.27.2

Playback device is hdmi
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 5440
Period size range from 32 to 2720
Using max buffer size 5440
Periods = 4
was set period_size = 1088
was set buffer_size = 5440
0 - Front Left #should be -fl
2 - Rear Left #should be -c
1 - Front Right #should be -fr
5 - LFE #should be -rr
4 - Center #should be -rl
3 - Rear Right #should be -lfe
Time per period = 8.524630
so how do i trick xbmc into remapping these channels ?
Reply
#4
Post a Debug Log - is that ION-1? if yes, this is a problem known since years - see the wiki on howto remap those channels.

Alternatively upgrade to a Helix nightly, that one has better channel detection of broken drivers.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#5
This should do:
Code:
pcm.!default {
    type plug
    slave {
        pcm fixmapping
    }
}

pcm.fixmapping {
    type route
    slave {
        pcm hdmi
    }
       ttable.0.0 1
       ttable.1.1 1
       ttable.2.4 1
       ttable.3.5 1
       ttable.4.2 1
       ttable.5.3 1
}

Choose Default Nvidia as output
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
thanks fritsch, your advice worked.
Reply

Logout Mark Read Team Forum Stats Members Help
xbmcbuntu: no hdmi-5.1 sound from right rear speaker0