I'm trying to fix a system of a friend of mine facing a problem somehow related to pulseaudio and/or xorg.
I wanted to get Skype working, as it used to freeze, when a call was established, killing the sound immediately.
Sound (Playing mp3s) does work in general. But some special operation seem to cause a bug, when I open the "Sound Properties" Panel. Sooner or later, if open, it almost freezes the system by pushing some programs to have abnormal high CPU load. Especially Xorg has high values, so the problem is somehow more complex I guess.
Asus eeepc 1201T
- AMD Athlon Neo MV-40 processor (1.6GHz single core)
- AMD M780G chipset
- 64 bit
- ATI Radeon HD 3200 graphics
- 2GB RAM
$ lspci | grep Audio
$ aplay -l
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
$ cat /proc/asound/card0/codec#* | grep Codec
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: SB [HDA ATI SB], Gerät 0: ALC269 Analog [ALC269 Analog]
Sub-Gerät #0: subdevice #0
Codec: Realtek ALC269
$ uname -a
Linux Krassandra 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
- skype (18.104.22.168-1ubuntu5)
- pulseaudio (1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu14)
- xorg (1:7.5+5ubuntu1)
Programs, that I saw with high load:
Once I saw pulseaudio having 100% cpu, normally all (even htop) are having 20-30% adding up to 100%+ then.
Normal CPU-loads, when the system "works":
- totem playing mp3 (~30%)
- Xorg idle (~10%)
- Xorg moving mouse (~18%)
- Xorg changing workspace (~55%)
- Xorg + gedit constant scrolling 2700 lines (freezes system for some sec)
Some maybe interesting dmesg:
I think, this could be a reasonable reason, but I haven't found something useful yet.
Jul 5 02:31:29 Krassandra pulseaudio: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write!
Jul 5 02:31:29 Krassandra pulseaudio: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers.
This occured regulary during a high-load-time within thousands. when sound works it is normally only one digit.
pulseaudio: ratelimit.c: 4526 events suppressed
I also tried to change "hpet"(default) to "acpi_pm"(the 2nd one available here), which at least didn't fix the occurence of a freeze.
Jul 5 02:31:29 Krassandra pulseaudio: alsa-util.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel.
Jul 5 03:21:45 Krassandra kernel: [ 79.520038] Clocksource tsc unstable (delta = -109730578 ns)
This message occures quite frequently. I am using a special wlan-driver (rtl8192se-linux-2.6.0015.0127.2010_20100516-1_amd64_2.6.32-22), a deb package someone put together for this wireless card (Realtek Semiconductor Co., Ltd. Device 8171 (rev 10)), to fixe some stability issues. I can't provide you a link atm, if that would help, as the German Ubuntu community site is down. Anyway it seems to be independent of the more serious issue. Once it was even the only message, which appeared during one high-load-time and not more frequently as before, so i guess this is not the problem.
kernel[...]:===>rtl8192se_link_change():ieee->iw_mode is 2
- I tried acpi=off, what turned out to be even worse responsive
- Swap-Drive is used by the system but has always 0 usage. Seems also very unusual to me.
- To fix an issue about automatic switching of "line-out" and "headphones" due to plugging in headphones I finally found an option in /etc/modprobe.d/alsa-base.conf (model=lenovo probe_mask=1), if that could add it's sum to the more-than-whole
Any help would be highly appreciated, I don't know, where to go on. If you need a deeper look into the syslog, don't hesitate to ask Thanks in advance.