Sound issue with iec958
#1
I've always used iec958 (Alsa) as setting for both passthrough and normal audio without bigger issues.
Now it simply will not work.
I'm running Ubuntu 12.04 minimal and xbmc-pvr (Eden final). Alsa is version 1.0.24.

I thought it might be pulseaudio (like back in the days...) so I removed it. Did not help either!

My aplay -L :
Code:
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=NVidia
    HDA NVidia, ALC889A Analog
    Default Audio Device
sysdefault:CARD=NVidia
    HDA NVidia, ALC889A Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC889A 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, ALC889A Analog
    Direct sample mixing device
dmix:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A 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, ALC889A Analog
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A 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, ALC889A Analog
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A 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, ALC889A Analog
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
    HDA NVidia, ALC889A Digital
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions

Sometimes I find something that works. Navigation sounds, music, movies with or without passthrough, even airplay.
But it works only for the first couple of files. Then I'll get the usual error messages, e.g.:
Code:
11:35:40 T:3007785728 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
11:35:40 T:3007785728  NOTICE: DVDPlayer: waiting for threads to exit
11:35:40 T:3007785728  NOTICE: DVDPlayer: finished waiting
11:35:40 T:3007785728   ERROR: XLCDproc::writeCommand - empty command
11:35:40 T:2671856448  NOTICE: -->Python Interpreter Initialized<--
11:35:48 T:3007785728   ERROR: Initialize - device plug:iec958 busy retrying...
11:35:49 T:3007785728   ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
11:35:49 T:3007785728   ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
but don't look at that plug:iec958 too long, I've tried all kind of custom or default entries.
Life TV gives:
Code:
11:38:32 T:2671856448  NOTICE: Opening audio stream: 1 source: 256
11:38:32 T:2671856448  NOTICE: Finding audio codec for: 86016
11:38:32 T:2671856448   ERROR: CDVDAudioCodecPassthroughFFmpeg::Open - FFmpeg SPDIF muxer does not support this codec
11:38:32 T:2671856448   ERROR: Previous line repeats 1 times.
11:38:32 T:2671856448  NOTICE: Creating audio thread
11:38:32 T:2814135104  NOTICE: running thread: CDVDPlayerAudio::Process()
11:38:32 T:2671856448  NOTICE: Opening teletext stream: 3 source: 256
11:38:32 T:2671856448  NOTICE: Creating teletext data thread
11:38:32 T:2643000128  NOTICE: running thread: CDVDTeletextData
11:38:32 T:2814135104   ERROR: CDVDAudioCodecPassthroughFFmpeg::Open - FFmpeg SPDIF muxer does not support this codec
11:38:32 T:2814135104  NOTICE: Creating audio device with codec id: 86016, channels: 1, sample rate: 48000, no pass-through
11:38:32 T:2814135104   ERROR: Initialize - device plug:iec958 busy retrying...

Is it maybe xbmc-live messing up things with its etc scripts? (note: I found an error in a script there with grep "NVIDIA HDMI" which would find nothing and changed it to just grep "HDMI" (works). This might be a help for hdmi-users, sadly not for me as I use a iec958-only receiver.

any ideas (apart from the hw:CARD=NVidia etc. Confused)
Reply
#2
Hi rickx

I know it's a little late, but could you please check if this solution is of any good to you?
http://forum.xbmc.org/showthread.php?tid...pid1195399

Reply

Logout Mark Read Team Forum Stats Members Help
Sound issue with iec9580