[alsa-devel] Backported sbxfi driver, possible fix

Bjoern Olausson lkmlist at gmail.com
Tue Oct 28 14:48:01 CET 2008


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?

>> 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....

> This will disable the conversion in OSS emulation, so mplayer will
> take 96kHz as is.
>
>> A)    Xine 0.99.5
>> B)    No samplingrate is clear, all is crackeling....
>> C)    ALSA I guess (bug-mplayer file)
>> D)    See bug-xine file
>> E)    nothing
>
> Not sure about this...
>
>
> Takashi
>

Bjoern


More information about the Alsa-devel mailing list