From: Takashi Iwai Subject: Re: Backported sbxfi driver, possible fix Date: Tue, 28 Oct 2008 15:12:54 +0100 Message-ID: References: <4900A4FA.7020300@jasonline.co.uk> <49038448.3090704@jasonline.co.uk> <5501535d0810251457k165cc4ceid2e34930a2bdc8ec@mail.gmail.com> <49055255.8030102@gmail.com> <5501535d0810271710y246926f2xdd8a3f31719c6af3@mail.gmail.com> <5501535d0810280648l7d83505bp3f980bc75da9201c@mail.gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id DD03924477 for ; Tue, 28 Oct 2008 15:12:54 +0100 (CET) In-Reply-To: <5501535d0810280648l7d83505bp3f980bc75da9201c@mail.gmail.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Bjoern Olausson Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 28 Oct 2008 14:48:01 +0100, Bjoern Olausson wrote: > > On Tue, Oct 28, 2008 at 08:14, Takashi Iwai 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- SERR- 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- SERR- 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