[alsa-devel] nvidia initial sound being skipped

David Shirley tephra at gmail.com
Tue Nov 16 11:05:23 CET 2010


Hi Developers,

I am using an nvidia MCP78 to connect to a Denon 1910 AVR via HDMI.

I was using Kernel 2.6.32.21 and noticed that the initial few seconds
of my songs was being chopped off.

After seeing http://www.spinics.net/lists/alsa-devel/msg29408.html I
upgraded to 2.6.35.8 (which has that fix in it) and the problem was
been reduced considerably.

But it is still occurring to some extent.

So to see if the HDMI was the problem I changed it to coax spdif - no
change/same problem.

Now I think it could be mplayer, so I try audacious - no change/same problem.

Now I think it could be the flac file/decoding, so I decode the flac
to wav and use aplay - no change/same problem.

The ONLY way I can get the first 0.5seconds of the file to play is by
using audacious and then MANUALLY rewinding (by dragging the scroll
bar thingy) back to the start... then it will play (on either flac or
wav)

Co-incidentally when I do this I get the following error message
dumped to console:
alsa: snd_pcm_prepare failed: Device or resource busy.

I hope someone can help :)

I am happy to get debug or whatever - just let me know what you need!

mythtv at crystal:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC1200 Analog [ALC1200 Analog]
 Subdevices: 1/1
 Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC1200 Digital [ALC1200 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

lspci -vvvv
00:07.0 Audio device: nVidia Corporation MCP72XE/MCP72P/MCP78U/MCP78S
High Definition Audio (rev a1)
       Subsystem: ASUSTeK Computer Inc. M3N72-D
       Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
       Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
       Latency: 0 (500ns min, 1250ns max)
       Interrupt: pin A routed to IRQ 11
       Region 0: Memory at fe020000 (32-bit, non-prefetchable) [size=16K]
       Capabilities: [44] Power Management version 2
               Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot+,D3cold+)
               Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
       Kernel driver in use: HDA Intel

Cheers
David


More information about the Alsa-devel mailing list