Kodi Community Forum

Full Version: Strange problem, Live, Nvidia 210, HDMI audio weird...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
ok, just started to work on building a media box, have a spare computer (Asus M2N MB, AMD X2 4400, 3gb, 640gb SATA) stuck in a Galaxy 210 card, plugged in the HDMI cables, made a LIVE usb stick.. booted up...

EUREKA! Worked 1st time (after setting audio to HDA NVidia), worked every time, played everything like a champ. Decided to install it to the HD and start setting up the library (all 22tb worth)....

and it died like a weasel.

Play AC3, MP3, works fine.... SOON as I play a DTS audio track... the HDMI audio stops. For everything.

Reboot, audio comes back.. till I play a DTS track then... phffft.

Suggestion? Help?
22TBHuh Shocked

Did anything changed meantime? Hardware? XBMC version? Configs?

Please enable debug and pastebin.ca the log.

h.udo
hudo Wrote:22TBHuh Shocked
Yeah, well, been a video packrat for about 20 years... finally finished digitizing all the Betas about 2 months ago and have been ripping/encoding DVD's/Blu's like mad... amazing how much space you get back when you don't have all the discs on the shelves and in storage instead. I would take a picture, but the camera isn't widescreen enough Big Grin Then I bought a Hauppauge HD-PVR and things got really out of hand.

Quote: Did anything changed meantime? Hardware? XBMC version? Configs?

Please enable debug and pastebin.ca the log.

Zip, zilch, nada, nutting... literally rebooted the stick and did the install to the HD. Latest XMBC Live (10.1).

Educate me on the "Please enable debug and pastebin.ca the log." please Huh
Okay. Read this, please.

h.udo
Well, I'm in the Linux impared category, failing badly in my attempts to get the log files out (not giving up yet)... however, while fumbling with this I noticed something weird...

audio is setup thus

Audio output : HMDI
Speaker Config : 5.1
Boost volume : enabled.
Dobly Digital AC3 : enabled
DTS : enabled.
Audio output device : HDA NVidia hdmi
Pasathru output device : HDA NVidia hdmi

this is what, after a reboot, will play MP3 & AC3 audio all day long, but the first time you play a DTS track, all audio is lost till a reboot (no error message on screen, just silence)

Now, here's the odd thing.. whilst going thru some permutations... I noticed some duplicate(??) entries in the choice of devices?

For auto output, with the selector starting at "Custom" then clicking to go thru them

Custom
HDA NVidia hdmi
HDA NVidia Defaults
HDA NVidia hdmi
HDA NVidia iec958
HDA NVidia Defaults
hdmi
iec958
Defaults
Custom (back where started)

for passthru -
Custom
HDA NVidia hdmi
HDA NVidia hdmi
HDA NVidia iec958
hdmi
iec958
Defaults
Custom (back where started)

multiple entries? as I said this is a Asus M2N board w/onboard audio and a Galaxy 210 card... now from what I can gather reading about... this is pertinent info? (I said Linux impaired here)

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: AD198x Analog [AD198x Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

and

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

I tried some variable things I saw on other comments... plughw:1,3 and such... no change in behavior, except when it didn't even initialize audio.

Just for giggles, I tried a Radeon 5450 card I had.. and using the hdmi:CARD=Generic posted elsewhere.. It flipping worked properly!
Except the displayed image was shrunk by about 20% leaving a 2" wide window-boxed around the picture (47" Vizio).... close but no cigar...

I shall find a proper FTP program or something and get those logs yet Smile but if any of this points anyone anywhere I may have overlooked.. PLS LMK!.


addendum: I thought that the onboard audio of the board might have been confusing things.. so I disabled it and..... (again cycling thru the options)

Custom
hdmi
iec958
Defaults
Custom (back where started)

for passthru -
Custom
hdmi
iec958
Defaults
Custom (back where started)

no mention of NVIDIA drivers at all? and nothing would produce sound in any form (either silence or 'unable to initalize drivers). the aplay did show the 210 as CARD=NVidia but that made no difference either...

HuhAngry
look here :
http://wiki.xbmc.org/index.php?title=HOW...,_or_GT240

and here :
http://forum.xbmc.org/showthread.php?p=7...post775093

for me, e.g , I had to edit modprobe.conf ( or /etc/modprobe.d/50-sound.conf ) and add these lines :
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
# u1Nb.8XogxLZzCR1:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel
# kEn8.MkHiyLrAnv1:nVidia Corporation
alias snd-card-1 snd-hda-intel
I've followed the things here http://wiki.xbmc.org/index.php?title=HOW...,_or_GT240

modprobe already had options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2

inserted the code here - http://forum.xbmc.org/showthread.php?p=7...post775093

that did get me UI sounds... until I played a DTS file and same thing happened.. all sounds disappeared until reboot.
allrighty, I wiped the HD I was installing to and started over from scratch

used the XBMC Live, 10.1
followed the instructions on here -http://wiki.xbmc.org/index.php?title=HOW-TO_set_up_HDMI_audio_on_nVidia_GeForce_G210,_GT220,_or_GT240

ran the alsa update

added options snd-hda-intel enable_msi=0 probe_mask=0xfff2 to /etc/modprobe.d/alsa-base.conf

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0

:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia
HDA NVidia, NVIDIA HDMI
HDMI Audio Output

so, this looks better, the internal MB sound is gone... but now....

XBMC won't start! it reboots, and just sets there with

Ubuntu 10.04.2 LTS XBMCLive tty1
XBMCLive login:

and never starts the GUI? (note: it did this before on the 1st boot after install, but after about 10 seconds the GUI started)..

WTF did I do wrong?
allrighty.. it appears that doing this step....

add-apt-repository ppa:team-iquik/alsa
add-apt-repository ppa:ubuntu-audio-dev/ppa
apt-get update
apt-get upgrade
apt-get install linux-alsa-driver-modules-$(uname -r) --force-yes

from here http://wiki.xbmc.org/index.php?title=HOW...,_or_GT240

breaks something that breaks the GUI and won't let it start up...

just finished wiping the HD and re-re-re-re-installing and if I don't do that, things start up normally.. but if I don't do that I still get the extra NVidia devices.. and it still doesn't work..

and without a GUI, I don't appear to be able to test to see what's what... or get any logs...

someone? anyone?
OK, disregard this.. I'm starting all over and having some very strange issues trying to follow guides from

here - http://wiki.xbmc.org/index.php?title=HOW...,_or_GT240

here - http://xbmcmediacenter.com/linux-nvidia-...s-updated/

and here - http://xbmcmediacenter.com/alsa-drivers-...s-updated/

after the 1st one, the system won't start up in GUI mode.. and when trying to start it I get an error from X saying no Nvidia drivers found...

I'm starting over (again) with a freshly wiped HD and freshly made LIVE USB stick.. I'll start a new thread then..