You are not logged in.

#1 2011-09-04 20:00:59

axs
Member
Registered: 2009-01-23
Posts: 71
Website

[SOLVED] Awfully slow X after system upgrade

Namely, keyboard input in X, but there are non-keyboard issues as well. Before I start investigating myself, maybe someone will recognize the symptoms and direct me to some kind of solution?

1. keyboard is sloooow in rxvt-unicode. Characters I type appear on screen with a noticeable delay. Repeat rate/dealy was off as well, I set it to some usable values with xset r rate, but the problem is not about repeating the keys. Looks like there's a long slow queue somewhere, as if I'm working over ssh... and honestly, I've seen overseas ssh servers that were faster.

Xterm works faster than urxvt, but I'm not sure whether post-upgrade xterm works slower than pre-upgrade xterm. Delays are also noticeable in Opera; but again, I'm not sure here, but I'd say it was faster pre-upgrade.

2. (slow input vs slow redrawing) I do notice slow redrawing when switching between several rxvt windows, but "cat long-file" works fast so it's likely not redrawing issues. OTOH, cat works differently now, I don't really see the text scrolling, it's just blink- and the tail on the file is on screen.

3. X server crashes when I try to compile/upload my keymap. Ok, I've seen it already, but it indicates indirectly that keymap-related parts in xserver were changed.

4. qiv doesn't work. I get

Gdk-ERROR **: BadMatch (invalid parameter attributes)
  serial 119 error_code 8 request_code 2 minor_code 0

together with 100% cpu load and a black window, and have to kill it from another terminal. Hardly related to slow keyboard, but may be related to slow redrawing.

Significant parts of the upgrade log:

[2011-09-04 10:59] removed kernel26 (2.6.36.3-1)
[2011-09-04 11:00] installed linux (3.0.4-1)
[2011-09-04 11:06] upgraded xorg-server (1.9.2-2 -> 1.10.3.901-1)
[2011-09-04 11:07] upgraded rxvt-unicode (9.10-1 -> 9.12-1)
[2011-09-04 11:19] upgraded intel-dri (7.9.0.git20101207-2 -> 7.11-2)
[2011-09-04 11:23] upgraded xf86-video-intel (2.13.0-4 -> 2.15.0-2)
[2011-09-04 11:23] installed xorg-xkbcomp (1.2.3-1)
[2011-09-04 11:23] upgraded xkeyboard-config (2.0-1 -> 2.2.1-1)
[2011-09-04 20:20] installed xterm (271-1)

that's all I guess. X uses intel video driver and evdev for keyboard.

I'm going to try downgrading rxvt, then xorg-server, then the kernel to see if it changes anything. Maybe anybody has better ideas?


Update: #4 solved by re-building qiv, I forgot it's not from official Arch repos.

Last edited by axs (2011-09-05 17:10:43)

Offline

#2 2011-09-05 17:09:59

axs
Member
Registered: 2009-01-23
Posts: 71
Website

Re: [SOLVED] Awfully slow X after system upgrade

5. Opera 9.64 crashes randomly

Fixed all by downgrading xorg-server to 1.9 (and xf-{input,video}-* to corresponding versions). The immediate reason seems to be slow evdev driver in 1.10; I use kbd in 1.9, with all lines in xorg.conf.d/10-evdev commented out, but 1.10 doesn't allow such tricks and apparently ignores InputDevice sections in xorg.conf.

Btw, the same evdev configuration works much faster in 1.9 than in 1.10. It's still slower than kbd though, or at least feels weird. Ok, maybe I've got used to kbd too much.

Offline

#3 2011-09-05 17:13:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Awfully slow X after system upgrade

Have you tried xorg 1.11 from [testing]?

qiv is in the repos http://www.archlinux.org/packages/?sort … =&limit=50
You mean you are using your own version?

Last edited by karol (2011-09-05 17:15:12)

Offline

#4 2011-09-06 12:35:49

axs
Member
Registered: 2009-01-23
Posts: 71
Website

Re: [SOLVED] Awfully slow X after system upgrade

Hm, yeah, confused several qiv versions. I had qiv-2.1 from my [local] repo before the upgrade. Then I re-built it, but installed qiv-2.2.4 from [extra], which did work. 2.1 doesn't work even after being re-built, with the same Gdk-ERROR. Pity, as 2.1 handled window centering much better than 2.2. So I guess I've got to fix 2.2.4 now.

On xorg: just tried 1.11 from [testing]. It's much faster with evdev than 1.10, I'd say it solves the problem. But it seems to ignore InputDevice sections just like 1.10, and xkbcomp still makes the server crash, so I guess I'm sticking with 1.9 for now.

Offline

Board footer

Powered by FluxBB