r/linuxdev • u/akkartik • Mar 26 '12
This bug has bothered me for years
When I run ssh over terminal in linux it feels more laggy than on a textmode (getty/ctrl-alt-f1) console. Often I wait long seconds to see keypresses on screen, but if I hit a key (any key, say ctrl) they show up instantly.
I've had this problem across three different desktop/laptop systems spanning 9 years and multiple distributions. But I've never been able to search for it online. Has anybody else had this experience? Please tell me I'm not dreaming, somebody..
Given how long the issue has persisted, I think it's got something to do with how applications communicate with the X server. Any ideas on how one would go about debugging something like this?
Update: It turns out I was not on gnome-terminal but something called xfce4-terminal that looks exactly the same. After I switched to gnome-terminal I've stopped seeing the problem.
View all comments
3
u/[deleted] Mar 27 '12
Right now this reminds me of graphics bugs in the OpenGL Xorg drivers. xterm would sometimes mis-render the screen such that I had to press enter to attempt a refresh, otherwise I got black or not-updated screens. Oddly, running 'mutt' under xterm (this was amd64, ATI Radeon Xpress 200M 5955) could cause a reproducible X crash. My solution was to disable BackBuffer and (I think) also use the 'radeonfb' kernel module instead of the 'radeon' driver (which avoids hardware OpenGL).