* nvidia initial sound being skipped [not found] <AANLkTikH529TdvgfZX7bYvQVEHuj+1zTJS2YwjKc1yp_@mail.gmail.com> @ 2010-11-16 10:05 ` David Shirley 2010-11-19 7:18 ` David Shirley 1 sibling, 0 replies; 9+ messages in thread From: David Shirley @ 2010-11-16 10:05 UTC (permalink / raw) To: alsa-devel 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@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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped [not found] <AANLkTikH529TdvgfZX7bYvQVEHuj+1zTJS2YwjKc1yp_@mail.gmail.com> 2010-11-16 10:05 ` nvidia initial sound being skipped David Shirley @ 2010-11-19 7:18 ` David Shirley 2010-11-19 8:09 ` Clemens Ladisch 1 sibling, 1 reply; 9+ messages in thread From: David Shirley @ 2010-11-19 7:18 UTC (permalink / raw) To: alsa-devel Hi All, I just want to say I upgraded to kernel 2.6.36 today and still miss the first 0.5seconds or so of the sound output. Again I have ruled out player - mplayer, aplay and audacious all do it I have ruled out source format - both flac and the wav decoded version have the same problem. I have also ruled out physical connection to the AVR, both HDMI and SPDIF exhibit the same problem. Any ideas? Cheers Dave On 16 November 2010 20:57, David Shirley <tephra@gmail.com> wrote: > 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@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 > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-19 7:18 ` David Shirley @ 2010-11-19 8:09 ` Clemens Ladisch 2010-11-19 9:53 ` David Shirley 0 siblings, 1 reply; 9+ messages in thread From: Clemens Ladisch @ 2010-11-19 8:09 UTC (permalink / raw) To: David Shirley; +Cc: alsa-devel David Shirley wrote: > > 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. > > I just want to say I upgraded to kernel 2.6.36 today and still miss > the first 0.5seconds or so of the sound output. > ... > both HDMI and SPDIF exhibit the same problem. Apparently, your receiver needs even more time to detect that some sound is playing; there's nothing that the computer could do about it. Try playing some silence before starting playing music. (This requires a software mixer like dmix or PulseAudio.) Regards, Clemens ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-19 8:09 ` Clemens Ladisch @ 2010-11-19 9:53 ` David Shirley 2010-11-19 11:31 ` Clemens Ladisch 0 siblings, 1 reply; 9+ messages in thread From: David Shirley @ 2010-11-19 9:53 UTC (permalink / raw) To: Clemens Ladisch; +Cc: alsa-devel Yeah it could be that. How would u setup a dmix to play silence? Thanks D. On 19/11/2010 7:07 PM, "Clemens Ladisch" <clemens@ladisch.de> wrote: > David Shirley wrote: >> > 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. >> >> I just want to say I upgraded to kernel 2.6.36 today and still miss >> the first 0.5seconds or so of the sound output. >> ... >> both HDMI and SPDIF exhibit the same problem. > > Apparently, your receiver needs even more time to detect that some > sound is playing; there's nothing that the computer could do about it. > > Try playing some silence before starting playing music. (This requires > a software mixer like dmix or PulseAudio.) > > > Regards, > Clemens ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-19 9:53 ` David Shirley @ 2010-11-19 11:31 ` Clemens Ladisch 2010-11-20 4:15 ` David Shirley 0 siblings, 1 reply; 9+ messages in thread From: Clemens Ladisch @ 2010-11-19 11:31 UTC (permalink / raw) To: David Shirley; +Cc: alsa-devel David Shirley wrote: > How would u setup a dmix to play silence? If you haven't create or modified /etc/asound.conf or ~/.asoundrc, dmix should be enabled by default. (If PulseAudio is installed correctly, PA should be enabled by default.) Try this to play ten seconds of silence: aplay -d 10 -t raw -f dat /dev/zero To play continuously, omit the "-d 10". Regards, Clemens ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-19 11:31 ` Clemens Ladisch @ 2010-11-20 4:15 ` David Shirley 2010-11-22 7:53 ` Clemens Ladisch 0 siblings, 1 reply; 9+ messages in thread From: David Shirley @ 2010-11-20 4:15 UTC (permalink / raw) To: Clemens Ladisch; +Cc: alsa-devel OK that works! But I am concerned about the loss of audio quality when using dmix.. Apart from the sample rate mismatch (and therefor resampling, which can be avoided by using the correct rate in asound.rc) is there anything else I should be worried about? Cheers D. On 19 November 2010 22:31, Clemens Ladisch <clemens@ladisch.de> wrote: > David Shirley wrote: >> How would u setup a dmix to play silence? > > If you haven't create or modified /etc/asound.conf or ~/.asoundrc, > dmix should be enabled by default. (If PulseAudio is installed > correctly, PA should be enabled by default.) > > Try this to play ten seconds of silence: > > aplay -d 10 -t raw -f dat /dev/zero > > To play continuously, omit the "-d 10". > > > Regards, > Clemens > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-20 4:15 ` David Shirley @ 2010-11-22 7:53 ` Clemens Ladisch 2010-11-23 3:16 ` David Shirley 0 siblings, 1 reply; 9+ messages in thread From: Clemens Ladisch @ 2010-11-22 7:53 UTC (permalink / raw) To: David Shirley; +Cc: alsa-devel David Shirley wrote: > But I am concerned about the loss of audio quality when using dmix.. > > Apart from the sample rate mismatch (and therefor resampling, which > can be avoided by using the correct rate in asound.rc) is there > anything else I should be worried about? x + 0 = x Regards, Clemens ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-22 7:53 ` Clemens Ladisch @ 2010-11-23 3:16 ` David Shirley 2010-11-23 8:49 ` Clemens Ladisch 0 siblings, 1 reply; 9+ messages in thread From: David Shirley @ 2010-11-23 3:16 UTC (permalink / raw) To: Clemens Ladisch; +Cc: alsa-devel Does that mean that dmix/alsa doesn't introduce or loose any bits when the input rate matches the output rate? Cheers D. On 22 November 2010 18:53, Clemens Ladisch <clemens@ladisch.de> wrote: > David Shirley wrote: >> But I am concerned about the loss of audio quality when using dmix.. >> >> Apart from the sample rate mismatch (and therefor resampling, which >> can be avoided by using the correct rate in asound.rc) is there >> anything else I should be worried about? > > x + 0 = x > > > Regards, > Clemens > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: nvidia initial sound being skipped 2010-11-23 3:16 ` David Shirley @ 2010-11-23 8:49 ` Clemens Ladisch 0 siblings, 0 replies; 9+ messages in thread From: Clemens Ladisch @ 2010-11-23 8:49 UTC (permalink / raw) To: David Shirley; +Cc: alsa-devel David Shirley wrote: > Does that mean that dmix/alsa doesn't introduce or loose any bits when > the input rate matches the output rate? In that case, the resample plugin is skipped. Regards, Clemens ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2010-11-23 8:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <AANLkTikH529TdvgfZX7bYvQVEHuj+1zTJS2YwjKc1yp_@mail.gmail.com>
2010-11-16 10:05 ` nvidia initial sound being skipped David Shirley
2010-11-19 7:18 ` David Shirley
2010-11-19 8:09 ` Clemens Ladisch
2010-11-19 9:53 ` David Shirley
2010-11-19 11:31 ` Clemens Ladisch
2010-11-20 4:15 ` David Shirley
2010-11-22 7:53 ` Clemens Ladisch
2010-11-23 3:16 ` David Shirley
2010-11-23 8:49 ` Clemens Ladisch
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).