You are not logged in.

#1 2010-08-31 22:03:53

Athunye
Member
Registered: 2009-02-26
Posts: 33

Terminal lagging when typing (solved)

No matter if I open gnome-terminal, urxvt or xterm, the typing of characters becomes slow.

I type 4 or 5 characters, and only then the first one shows up in the screen. The same thing if I launch
vim from a terminal and also the same thing with irssi.

I tried creating a new user, with a fresh $HOME folder and no personalized config
files at all. The problem is exactly the  same. I even reinstalled the system with the netinstall cd.

It also doesn't matter whether I run gnome, openbox/tint2 or lxde.

Some of you will probably remember my other thread, with a very similar problem.
https://bbs.archlinux.org/viewtopic.php?id=99776

Now, it doesn't happen in gvim, like before, for instance. I don't know what else to look for.
I use the  terminal/vim/irssi all the time. That problem is driving me crazy.

Last edited by Athunye (2010-09-01 14:25:29)

Offline

#2 2010-08-31 22:10:41

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

Re: Terminal lagging when typing (solved)

Offline

#3 2010-08-31 22:31:31

Athunye
Member
Registered: 2009-02-26
Posts: 33

Re: Terminal lagging when typing (solved)

I don't think so. The load on the cpu is always low. Very low.
EVERYTHING runs smoothly. Just X terminals don't.

Offline

#4 2010-08-31 22:36:38

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

Re: Terminal lagging when typing (solved)

Turn off antialiasing & Co. I'm not sure whether they are turned on by default or not.

Edit: What graphics card and driver are you using?

Last edited by karol (2010-08-31 22:38:56)

Offline

#5 2010-08-31 23:01:22

Athunye
Member
Registered: 2009-02-26
Posts: 33

Re: Terminal lagging when typing (solved)

vaio@athunye, Tue Aug 31 20:01:02
~ $ 
bash >>> lspci | grep -i 'vga'
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

Offline

#6 2010-08-31 23:04:19

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

Re: Terminal lagging when typing (solved)

Athunye wrote:

vaio@athunye, Tue Aug 31 20:01:02
~ $ 
bash >>> lspci | grep -i 'vga'
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

And what driver?
Any errors in the logs?

Offline

#7 2010-09-01 00:44:03

Athunye
Member
Registered: 2009-02-26
Posts: 33

Re: Terminal lagging when typing (solved)

I installed package xf86-video-intel. The only thing I am configuring myself about Xorg
is the keyboard in /etc/X11/xorg.conf.d/keyboard.conf. I don't know how to set the video
driver nowadays. I guess udev is correctly using the intel driver I miss (a little bit) the times we had to configure the /etc/x11/xorg.conf file...

I was not able to see something that could be relevant in the logs.

load average: 0.01, 0.11, 0.07

Last edited by Athunye (2010-09-01 00:46:46)

Offline

#8 2010-09-01 01:03:24

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

Re: Terminal lagging when typing (solved)

You can still use xorg.conf if you like.

Can you post your keyboard configs? Maybe those system-wide settings are the source of your problems.
Can you boot into bare X, start xterm and check if it still lags?

Offline

#9 2010-09-01 10:46:37

Athunye
Member
Registered: 2009-02-26
Posts: 33

Re: Terminal lagging when typing (solved)

Here's my keyboard.conf file:

Section "InputClass"
    Identifier             "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option                 "XkbLayout" "br"
    Option                 "XkbModel" "abnt2"
EndSection

Although I said the link you gave me didn't seem to be related to my problem,
having in mind that the load average was always low here in my notebook, it
actually is related.

As I had nothing else that I hadn't tried (that I could
think of) I decided to use an older kernel. Here's what I did:

As I didn't have a way to downgrade the kernel. I reinstalled the
system with the archlinux-2010.05-core-i686.iso and prevented pacman from
upgrading the kernel, so I'm currently running the kernel 2.6.33.4-1. The rest of
the packages are up to date. I've been using terminal, vim, and irssi for about an
hour and a half now, and no signs of lagging terminals. So, the
kernel 2.6.35 - which I had been using before - really seems to be the problem.

I read in that thread ( https://bbs.archlinux.org/viewtopic.php … 56#p818256 ) that
using kernel 2.6.36 makes things even worse. So, no way of running a newer kernel ?

Karol, thanks a lot (a lot, a lot, a lot) for your help. Sorry I didn't think that my problem
was not related with the problem mentioned in the link you gave me in you first
reply to this thread. As users were always mentioning a (kind of) high load average (which
was not my case) I didn't relate my problem with theirs. I apologize.
Thanks.

Last edited by Athunye (2010-09-01 10:52:27)

Offline

#10 2010-09-01 11:49:09

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

Re: Terminal lagging when typing (solved)

No need to apologize, no high load didn't make things easier to diagnose.
I'm still happily running .34 kernel and I don't know if .36 is better or worse than .35.

Please mark the thread as [solved]

Offline

Board footer

Powered by FluxBB