2007-06-18 12:49:01

by David Johnson

[permalink] [raw]
Subject: Sound plays at half speed; intel8x0 clock issue

Hi,

I'm running vanilla 2.6.21.5 on a Winfast NF4UK8AA motherboard and sound is
playing at half-speed.

I get the following output in dmesg:
intel8x0_measure_ac97_clock: measured 51345 usecs
intel8x0: measured clock 29136 rejected
intel8x0: clocking to 48000

lspci says:
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio
Controller (rev a2)

I've tried passing various ac97_clock values but it seems to have no effect.
I've also tried setting ac97_quirk but that doesn't help either.

I attach my full dmesg and .config. Please let me know if I can provide more
information or help debug this.

Thanks,
David.

--
David Johnson
http://www.david-web.co.uk


Attachments:
(No filename) (679.00 B)
config (69.19 kB)
dmesg (18.06 kB)
Download all attachments

2007-06-18 14:56:36

by Johannes Weiner

[permalink] [raw]
Subject: Re: Sound plays at half speed; intel8x0 clock issue

Hi,

On Mon, Jun 18, 2007 at 01:37:43PM +0100, David Johnson wrote:
> I'm running vanilla 2.6.21.5 on a Winfast NF4UK8AA motherboard and sound is
> playing at half-speed.
>
> I get the following output in dmesg:
> intel8x0_measure_ac97_clock: measured 51345 usecs
> intel8x0: measured clock 29136 rejected
> intel8x0: clocking to 48000
>
> lspci says:
> 00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio
> Controller (rev a2)
>
> I've tried passing various ac97_clock values but it seems to have no effect.
> I've also tried setting ac97_quirk but that doesn't help either.
>
> I attach my full dmesg and .config. Please let me know if I can provide more
> information or help debug this.

dmesg:

[SNIP]
> DMA32 zone: 3527 pages used for memmap
> DMA32 zone: 254505 pages, LIFO batch:31
> Normal zone: 0 pages used for memmap
> Nvidia board detected. Ignoring ACPI timer override.
> If you got timer trouble try acpi_use_timer_override
[SNAP]

Perhaps you might want to try the acpi_use_timer_override bootflag?

Hannes

2007-06-18 15:15:32

by David Johnson

[permalink] [raw]
Subject: Re: Sound plays at half speed; intel8x0 clock issue

On Monday 18 June 2007 15:56, Johannes Weiner wrote:
>
> Perhaps you might want to try the acpi_use_timer_override bootflag?
>

I'm afraid that doesn't make any difference. I attach the new dmesg with that
flag set, in case it's helpful.

Thanks,
David.

--
David Johnson
http://www.david-web.co.uk


Attachments:
(No filename) (294.00 B)
dmesg2 (19.00 kB)
Download all attachments

2007-06-18 16:24:17

by Johannes Weiner

[permalink] [raw]
Subject: Re: Sound plays at half speed; intel8x0 clock issue

Hi,

On Mon, Jun 18, 2007 at 01:37:43PM +0100, David Johnson wrote:
> Hi,
>
> I'm running vanilla 2.6.21.5 on a Winfast NF4UK8AA motherboard and sound is
> playing at half-speed.
>
> I get the following output in dmesg:
> intel8x0_measure_ac97_clock: measured 51345 usecs
> intel8x0: measured clock 29136 rejected
> intel8x0: clocking to 48000
>
> lspci says:
> 00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio
> Controller (rev a2)

Could you give the output of

lspci -vv -s 00:04.0

and
cat /proc/asound/card0/codec97#0/ac97#0-0

? You should run lspci as superuser to get all device capabilities listed.

I also added Jaroslav to CC.

Hannes

2007-06-18 16:37:28

by David Johnson

[permalink] [raw]
Subject: Re: Sound plays at half speed; intel8x0 clock issue

On Monday 18 June 2007 17:23, Johannes Weiner wrote:
>
> Could you give the output of
>
> lspci -vv -s 00:04.0
>

00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio
Controller (rev a2)
Subsystem: Foxconn International, Inc. Unknown device 0ca2
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at f000 [size=256]
Region 1: I/O ports at ec00 [size=256]
Region 2: Memory at fe02d000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] 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-

> and
> cat /proc/asound/card0/codec97#0/ac97#0-0
>

0-0/0: Realtek ALC850 rev 0

PCI Subsys Vendor: 0x105b
PCI Subsys Device: 0x0ca2

Revision : 0x00
Compat. Class : 0x00
Subsys. Vendor ID: 0xffff
Subsys. ID : 0xffff

Capabilities :
DAC resolution : 16-bit
ADC resolution : 16-bit
3D enhancement : No 3D Stereo Enhancement

Current setup
Mic gain : +0dB [+0dB]
POP path : pre 3D
Sim. stereo : off
3D enhancement : off
Loudness : off
Mono output : MIX
Mic select : Mic1
ADC/DAC loopback : off
Double rate slots: 7/8
Extended ID : codec=0 rev=2 LDAC SDAC CDAC DSA=0 SPDIF DRA
Extended status : SPCV LDAC SDAC CDAC SPDIF=10/11
SPDIF Control : Consumer PCM Category=0x2 Generation=1 Rate=48kHz

Many thanks for your help thus far.

Regards,
David.

--
David Johnson
http://www.david-web.co.uk