Skip to contentSkip to conversation

warning "hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj."

DISCUSSION Simos Xenitellis 2 participants 4 messages Jun 29, 2009

lore
Share & tools
lore
#0 lore raw

Hi All,

I am getting the above warning when trying to play audio files.

Contrary to other similar cases with this warning, in my case the playback of the media files fails. For every single media file, the playback fails after a random
amount of time (a few seconds to a few minutes).

I am running Ubuntu 9.04 (kernel 2.6.28-13-generic, x86_64, upgraded to Alsa 1.0.20 using AlsaUpgrade,
http://ubuntuforums.org/showthread.php?p=6589810).

I increased bdl_pos_adj to 32 and there is no effect (I added "options snd-hda-intel bdl_pos_adj=32" to /etc/modprobe.d/alsa-base.conf, then "/sbin/alsa force-reload").

lspci -vvv says:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
Subsystem: Dell Device 02bb
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 2293
Region 0: Memory at f6500000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA
PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [60] Message Signalled Interrupts: Mask- 64bit+
Queue=0/0 Enable+
Address: 00000000fee0300c Data: 41d1
Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
ExtTag- RBE- FLReset+
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq-
AuxPwr+ TransPend-
LnkCap: Port #0, Speed unknown, Width x0, ASPM
unknown, Latency L0 <64ns, L1 <1us
ClockPM- Suprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed unknown, Width x0, TrErr- Train-
SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

lshw says:

*-multimedia
description: Audio device
product: 82801I (ICH9 Family) HD Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel

Simos

#1 lore raw

At Mon, 29 Jun 2009 14:28:04 +0100,

Quoted 9 lines · Simos Xenitellis

Hi All,

I am getting the above warning when trying to play audio files.

Contrary to other similar cases with this warning, in my case the playback of the media files fails. For every single media file, the playback fails after a random
amount of time (a few seconds to a few minutes).

You can disable it by setting bdl_pos_adj=0.

Quoted 3 lines

I am running Ubuntu 9.04 (kernel 2.6.28-13-generic, x86_64, upgraded to Alsa 1.0.20 using AlsaUpgrade,
http://ubuntuforums.org/showthread.php?p=6589810).

Is this with the latest alsa-driver-snapshot?
I have no idea about Ubuntu...

Takashi

#2 lore raw
Quoted 5 lines · Takashi Iwai

At Mon, 29 Jun 2009 14:28:04 +0100,

Quoted 3 lines · Simos Xenitellis

Hi All,

Quoted 8 lines
Quoted 6 lines

I am getting the above warning when trying to play audio files.

Contrary to other similar cases with this warning, in my case the playback of the media files fails. For every single media file, the playback fails after a random
amount of time (a few seconds to a few minutes).

You can disable it by setting bdl_pos_adj=0.

I just tried this and now the audio driver fails really quickly. Within a few seconds of playback,
the playback fails.

Quoted 6 lines
Quoted 3 lines

I am running Ubuntu 9.04 (kernel 2.6.28-13-generic, x86_64, upgraded to Alsa 1.0.20 using AlsaUpgrade,
http://ubuntuforums.org/showthread.php?p=6589810).

Is this with the latest alsa-driver-snapshot?
I have no idea about Ubuntu...

I tried earlier the released Alsa 1.0.20, though the script has an option to get the latest daily snapshot.
I have put the script on my github account at
http://github.com/simos/alsa-upgrade/
The script simply performs in an automated way the manual process of retrieval, compilation
and installation of a newer version of Alsa.

While writing this e-mail, I just tried the '-snap' option that
downloads and installs ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

With the snapshop of Alsa, audio playback works fine. I did not get an error during playback yet.
Thus, in my case, switching to Alsa snapshot fixes the problem. Something between the release 1.0.20
and current snapshot has fixed the audio driver for my case.

Cheers,
Simos

#3 lore raw

At Mon, 29 Jun 2009 15:01:12 +0100,

Quoted 39 lines · Simos Xenitellis
Quoted 5 lines · Takashi Iwai

At Mon, 29 Jun 2009 14:28:04 +0100,

Quoted 3 lines · Simos Xenitellis

Hi All,

Quoted 8 lines
Quoted 6 lines

I am getting the above warning when trying to play audio files.

Contrary to other similar cases with this warning, in my case the playback of the media files fails. For every single media file, the playback fails after a random
amount of time (a few seconds to a few minutes).

You can disable it by setting bdl_pos_adj=0.

I just tried this and now the audio driver fails really quickly. Within a few seconds of playback,
the playback fails.

Quoted 6 lines
Quoted 3 lines

I am running Ubuntu 9.04 (kernel 2.6.28-13-generic, x86_64, upgraded to Alsa 1.0.20 using AlsaUpgrade,
http://ubuntuforums.org/showthread.php?p=6589810).

Is this with the latest alsa-driver-snapshot?
I have no idea about Ubuntu...

I tried earlier the released Alsa 1.0.20, though the script has an option to get the latest daily snapshot.
I have put the script on my github account at
http://github.com/simos/alsa-upgrade/
The script simply performs in an automated way the manual process of retrieval, compilation
and installation of a newer version of Alsa.

While writing this e-mail, I just tried the '-snap' option that
downloads and installs ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz

Quoted 5 lines

With the snapshop of Alsa, audio playback works fine. I did not get an error during playback yet.
Thus, in my case, switching to Alsa snapshot fixes the problem. Something between the release 1.0.20
and current snapshot has fixed the audio driver for my case.

OK, that's good to hear, at least :)

Takashi