From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000698]: Random beeps, ticks and clicks Date: Fri, 3 Dec 2004 01:18:31 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 87FF4250 for ; Fri, 3 Dec 2004 01:18:31 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: moonlite Assigned To: pzad ====================================================================== Project: ALSA - driver Issue ID: 698 Category: PCI - emu10k1 Reproducibility: always Severity: major Priority: normal Status: assigned Distribution: Gentoo Kernel Version: 2.6.9 ====================================================================== Date Submitted: 12-02-2004 02:56 CET Last Modified: 12-03-2004 01:18 CET ====================================================================== Summary: Random beeps, ticks and clicks Description: Below is what i posted to the gentoo-forums without getting without getting help that solved any of my problems. URL: http://forums.gentoo.org/viewtopic.php?t=255710&start=0&postdays=0&postorder=asc&highlight= --- I have a problem with alsa and my SBLive-card and kernels newer than 2.4.19. All in all it works without error-messages and the sound is pretty nice etc. But every now and then the music i listen to is interrupted for a small period of time (around 0.5s most of the time) and during this time i can't type or move the mouse and an annoying beep comes from my speakers. I am pretty sure that it is some sort of interruption because the few times the interrupts are long i am sure that the music continues from where it were and also, as i said above, i can't type etc during this small period. This seems to happen more during heavy load than under normal load but it still happens a lot at any given time. --- This problem happened with these kernels: vanilla-sources-2.4.20 vanilla-sources-2.4.28 gentoo-sources-2.4.20 gentoo-sources-2.4.26-r12 gentoo-dev-sources-2.6.9-r4 (gentoo-sources are gentoo's own patchsets) Anyway. Since i posted this i've realized that the beeps (and sometimes also clicks/ticks) also happen more frequent during high network-load and not only normal load. Especially the clicking and ticking noise appear more frequent when downloading large amount of data with high transfer-rates. ====================================================================== ---------------------------------------------------------------------- moonlite - 12-03-04 00:55 ---------------------------------------------------------------------- Below is output from lspci -v (should give all latency-data) I have NO idea what an extreme latency setting would be. root@starbase /home/moonlite # lspci -v 0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] Flags: bus master, medium devsel, latency 0 Memory at e0000000 (32-bit, prefetchable) Capabilities: [a0] AGP version 2.0 Capabilities: [c0] Power Management version 2 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] (prog-if 00 [Normal decode]) Flags: bus master, 66Mhz, medium devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 Memory behind bridge: e6000000-e8ffffff Prefetchable memory behind bridge: e4000000-e5ffffff Capabilities: [80] Power Management version 2 0000:00:0c.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a) Subsystem: Creative Labs SBLive! 5.1 Digital Model SB0220 Flags: bus master, medium devsel, latency 32, IRQ 11 I/O ports at d000 Capabilities: [dc] Power Management version 1 0000:00:0c.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a) Subsystem: Creative Labs Gameport Joystick Flags: bus master, medium devsel, latency 32 I/O ports at d400 Capabilities: [dc] Power Management version 1 0000:00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74) Subsystem: 3Com Corporation 3C905C-TX Fast Etherlink for PC Management NIC Flags: bus master, medium devsel, latency 32, IRQ 10 I/O ports at d800 Memory at ea000000 (32-bit, non-prefetchable) [size=128] Capabilities: [dc] Power Management version 2 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge Subsystem: VIA Technologies, Inc.: Unknown device 0000 Flags: bus master, stepping, medium devsel, latency 0 Capabilities: [c0] Power Management version 2 0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP]) Subsystem: VIA Technologies, Inc. VT82C586/B/VT82C686/A/B/VT8233/A/C/VT8235 PIPC Bus Master IDE Flags: bus master, medium devsel, latency 32, IRQ 11 I/O ports at dc00 [size=16] Capabilities: [c0] Power Management version 2 0000:00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32 I/O ports at e000 [size=32] Capabilities: [80] Power Management version 2 0000:00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32, IRQ 255 I/O ports at e400 [size=32] Capabilities: [80] Power Management version 2 0000:00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b) (prog-if 00 [UHCI]) Subsystem: VIA Technologies, Inc. (Wrong ID) USB Controller Flags: bus master, medium devsel, latency 32, IRQ 255 I/O ports at e800 [size=32] Capabilities: [80] Power Management version 2 0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400 AGP (rev 04) (prog-if 00 [VGA]) Subsystem: Matrox Graphics, Inc. Millennium G400 MAX/Dual Head 32Mb Flags: bus master, medium devsel, latency 64, IRQ 255 Memory at e4000000 (32-bit, prefetchable) Memory at e6000000 (32-bit, non-prefetchable) [size=16K] Memory at e7000000 (32-bit, non-prefetchable) [size=8M] Capabilities: [dc] Power Management version 2 Capabilities: [f0] AGP version 2.0 ---------------------------------------------------------------------- moonlite - 12-03-04 01:18 ---------------------------------------------------------------------- I did this: setpci -v -d *:* latency_timer=b0 #all cards setpci -v -s 01:00.0 latency_timer=ff #graphics-card setpci -v -s 00:0d.0 latency_timer=ff #network-card It was explained in an article by daniel robbins on ibm.com. I have no real clue to if these values are good or bad in any way. He used it to make sound work when an AGP-card that had agp turned of (thus putting LOTS of data on the pci-bus) would make his soundcard make distorted sound. He wanted to keep his graphics-card and network-card being able to put lots of data on the bus but still making more room for other stuf or something. Anyway. It seems to work pretty ok. But, if anyone has some other, maybe more sensible, values for my pci-latency settings, please post them! :) But for now i'm just glad it all seems to work. Issue History Date Modified Username Field Change ====================================================================== 12-02-04 02:56 moonlite New Issue 12-02-04 02:56 moonlite Distribution => Gentoo 12-02-04 02:56 moonlite Kernel Version => 2.6.9 12-02-04 17:32 pzad Note Added: 0002687 12-02-04 23:27 moonlite Note Added: 0002699 12-02-04 23:54 moonlite Note Added: 0002700 12-03-04 00:23 moonlite Note Added: 0002701 12-03-04 00:23 moonlite Note Added: 0002702 12-03-04 00:23 moonlite Note Deleted: 0002701 12-03-04 00:35 rlrevell Note Added: 0002703 12-03-04 00:49 moonlite Note Added: 0002704 12-03-04 00:55 moonlite Note Added: 0002705 12-03-04 01:18 moonlite Note Added: 0002706 ====================================================================== ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/