All of lore.kernel.org
 help / color / mirror / Atom feed
From: The Source <thesourcehim@gmail.com>
To: Alexey Bazhin <baz@irc.msk.ru>, Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: SB X-Fi driver status update
Date: Fri, 17 Oct 2008 10:08:30 +0400	[thread overview]
Message-ID: <48F82BDE.6080803@gmail.com> (raw)
In-Reply-To: <20081016225425.da6c296f.baz@irc.msk.ru>

Alexey Bazhin пишет:
> On Thu, 16 Oct 2008 15:18:32 +0200
> Takashi Iwai <tiwai@suse.de> wrote:
>
>   
>> Hi,
>>
>> now I'm stabilizing the driver a bit.  I hope it won't hang up any
>> more (so often), and make you happy testing. 
>>     
> speakers-test and aplay works perfect with both base_rates and any
> sample rate (tried only stereo samples), but mplayer become more glitchy
> - sound pauses for a bit every 5-10 seconds, dmesg included.
>
>   
>> - As default, the driver works only as a constant sample rate, either
>>   48000 or 96000 (default).  The rate can be changed via the module
>>   option base_rate.  For enabling the continuous rate support (it was
>>   on before), define XXX_CONT_RATE in sbxfi.c.
>>     
> only tried speakers-test:
> 96khz works fine
> 48khz plays slow (frequency is lower than it should be)
> 44.1khz silent, speakers-test ends with error, dmesg included.
>
> root@mayonaka:~# speaker-test -c 2 -r 44100 -t sine
>
> speaker-test 1.0.15
>
> Playback device is default
> Stream parameters are 44100Hz, S16_LE, 2 channels
> Sine wave rate is 440.0000Hz
> Rate set to 44100Hz (requested 44100Hz)
> Buffer size range from 32 to 16384
> Period size range from 32 to 16384
> Using max buffer size 16384
> Periods = 4
> was set period_size = 4096
> was set buffer_size = 16384
>  0 - Front Left
> Write error: -5,Input/output error
> xrun_recovery failed: -5,Input/output error
> Transfer failed: Operation not permitted
>  
>   
>> - If playback works well, try to define XXX_USE_SG in sbxfi.c.  This
>>   will make the driver using SG buffer instead of continuous pages.
>>     
> works absolutely the same as without it.
>
>   
>> - Also, test SBXFI_DMA_MASK being DMA_32BIT_MASK, especially if you
>>   have RAM more than 2GB.
>>     
> i have 3GB RAM on my test box, everything worked fine with 32-bit mask,
> but i haven't done many tests...
>
>   
>> - You can try dmix as well.  E.g. simply run like 
>> 	% aplay -Dplug:dmix:0 foo.wav
>>     
> works fine.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>   
I tested several players with alsa (oss causes oops):
xine works fine
xmms ok
mplayer constantly shows some error message I wasn't able to read (it's 
blinking) and sound pauses for ~0.2 second every ~27 seconds.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2008-10-17  6:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 13:18 SB X-Fi driver status update Takashi Iwai
2008-10-16 17:26 ` Vedran Miletić
2008-10-16 18:54 ` Alexey Bazhin
2008-10-17  6:08   ` The Source [this message]
2008-10-17  7:34   ` The Source
2008-10-17  9:27     ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48F82BDE.6080803@gmail.com \
    --to=thesourcehim@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=baz@irc.msk.ru \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.