Re: [alsa-devel] intel 8x0 ALSA driver in virtualbox - choppy sound
At Fri, 13 Aug 2010 17:37:33 +0100, Lex F wrote:
Hi
Thanks for your reply. I tried to answer your questions below.
On 13 August 2010 17:06, Takashi Iwai tiwai@suse.de wrote:
We have had many problems with VMware, too :) Which sound backend are you using? Direct ALSA / dmix or PA?
I believe it's direct ALSA, I have choppy output even with aplay /usr/share/sounds/alsa/*.wav
It doesn't mean always that you use direct ALSA. Try to pass -Dplughw option to aplay.
Actually, there is no real interrupt, but just the virtual one, thus it can be never accurate. So, rather the question is how the driver is tolerant for sloppy IRQ updates.
Usually, when the period size is large and the buffer have many periods (not two), the delayed update works more stably.
I am afraid I don't understand this :)
The comment above is rather to Jaroslav.
I am compiling a kernel with the following options enabled: CONFIG_SND_PCM_XRUN_DEBUG, CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG
Would any of these help to determine the cause and suggest a fix?
Fix VirtualBox :)
Or try to set xrun_debug and check kernel log as Jaroslav wrote.
Takashi
On 13 August 2010 19:32, Takashi Iwai tiwai@suse.de wrote:
At Fri, 13 Aug 2010 17:37:33 +0100, Lex F wrote:
Hi
Thanks for your reply. I tried to answer your questions below.
On 13 August 2010 17:06, Takashi Iwai tiwai@suse.de wrote:
We have had many problems with VMware, too :) Which sound backend are you using? Direct ALSA / dmix or PA?
I believe it's direct ALSA, I have choppy output even with aplay /usr/share/sounds/alsa/*.wav
It doesn't mean always that you use direct ALSA. Try to pass -Dplughw option to aplay.
It tried that but it did not make any difference. As I already pointed out to Daniel, I do not have pulse audio installed or any other audio server for that matter. I run arch and know my installed packages quite well.
I am compiling a kernel with the following options enabled: CONFIG_SND_PCM_XRUN_DEBUG, CONFIG_SND_VERBOSE_PROCFS, CONFIG_SND_DEBUG
Would any of these help to determine the cause and suggest a fix?
Fix VirtualBox :)
Or try to set xrun_debug and check kernel log as Jaroslav wrote.
I've tried setting xrun_debug to various values as per XRUN DEBUG page on Alsa Project Wiki yet all I see in my kernel.log is loads of hwptr_updates and sometimes period_update. I am afraid it does not mean anything to me. I certainly do not see any obvious errors.
Can somebody please advise what I should be looking for? I can post the output here.
Thanks!
Lex
participants (2)
-
Lex F
-
Takashi Iwai