[alsa-devel] Backported sbxfi driver, possible fix

Takashi Iwai tiwai at suse.de
Tue Oct 28 15:12:54 CET 2008


At Tue, 28 Oct 2008 14:48:01 +0100,
Bjoern Olausson wrote:
> 
> On Tue, Oct 28, 2008 at 08:14, Takashi Iwai <tiwai at suse.de> wrote:
> >
> > Forgot to ask: which SBXFI model?  The product name, PCI ID, PCI SSID,
> > and /proc/asound/cards entry please.
> >
> 01:00.0 0401: 1102:0005
>         Subsystem: 1102:0021
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 64 (1000ns min, 1250ns max), Cache Line Size: 16 bytes
>         Interrupt: pin A routed to IRQ 21
>         Region 0: I/O ports at 8c00 [size=32]
>         Region 1: Memory at eb800000 (64-bit, non-prefetchable) [size=2M]
>         Region 3: Memory at e4000000 (64-bit, non-prefetchable) [size=64M]
>         Capabilities: [40] Power Management version 2
>                 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>         Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
> Queue=0/0 Enable-
>                 Address: 0000000000000000  Data: 0000
>         Kernel driver in use: SB-XFi
> 
> 01:00.0 Multimedia audio controller: Creative Labs SB X-Fi
>         Subsystem: Creative Labs X-Fi Platinum
>         Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx-
>         Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium
> >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
>         Latency: 64 (1000ns min, 1250ns max), Cache Line Size: 16 bytes
>         Interrupt: pin A routed to IRQ 21
>         Region 0: I/O ports at 8c00 [size=32]
>         Region 1: Memory at eb800000 (64-bit, non-prefetchable) [size=2M]
>         Region 3: Memory at e4000000 (64-bit, non-prefetchable) [size=64M]
>         Capabilities: [40] Power Management version 2
>                 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA
> PME(D0-,D1-,D2-,D3hot-,D3cold-)
>                 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
>         Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
> Queue=0/0 Enable-
>                 Address: 0000000000000000  Data: 0000
>         Kernel driver in use: SB-XFi
> 
> 
> >
> >> 2. base_rate value
> >>       rate: 96000 (96000/1)
> >
> > What about base_rate=48000?
> >
> > BTW, I changed now base_rate to 48000 for testing as I got more
> > positive results with it.
> >
> Should I pass this parameter during ./configure or as module parameter?

As a module parameter, either in somewhere modprobe.conf or such, or
via modprobe command line option.

I changed the latest version to use 48k as default, so you can just
grab the latest snapshot, too.

> >> A)    MPlayer dev-SVN-r27725-4.1.2
> >> B)    Working, but horrible, crackeling sound at samplingrate 11025Hz
> >> 22050Hz 44056 44100 47250 5000(less than the others) 50400 8000 88200
> >> (3200, 48000 and 96000 are fine)
> >>       checked with WindowsXP. In XP the sound is nice and clear. So the
> >> files are good.
> >> C)    OSS (see bug-mplayer file)
> >> D)    See bug-mplayer file
> >> E)    nothing
> >
> > What if you do the following (as root)?
> >
> >        # echo "mplayer 0 0 direct" > /proc/asound/card0/pcm0p/oss
> >
> Tested... but gives only white noise, no matter what samplingrate or file....

Weird.  What happens if you force to the sample rate to 48000 via
mplayer's option?


Takashi


More information about the Alsa-devel mailing list