You are not logged in.

#1 2010-04-26 04:18:47

thisismynewhandle
Member
Registered: 2010-01-29
Posts: 7

Slow terminal performance [SOLVED]

Hello everyone,

I've been trying to move to a mostly CLI environment (no X).

I've in my /boot/grub/menu.lst I've changed my framebuffer from the default to a large resolution. When I do this and reboot, the framebuffer works, but the terminal seems to act slower when performing various functions.

For example, when I search within a manpage, instead of instantly jumping to the results it found, it will slowly scroll down the page. The same thing happens when I press spacebar in the less command. Another example is when I run tcpdump and output results to the screen, they output much slower than normal. It's almost painfully slow compared to the quickness I'm used to.

I've checked and this slowness does not occur when I do not set the framebuffer (just using the grub default). I've tried various supported resolutions, but I still experience the same slowness.

I'm aware this is kind of a weird/vague issue, but has anyone else experienced or solved this before?

Thanks! smile

Last edited by thisismynewhandle (2010-04-30 02:44:14)

Offline

#2 2010-04-26 06:48:42

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: Slow terminal performance [SOLVED]

Same here. I just assumed it was just the nature of the framebuffer. But then again, if mplayer can play movies in the fb then I suppose you should be able to scroll text at a decent speed tongue
Maybe someone else knows about this more than I.


neutral

Offline

#3 2010-04-26 08:27:58

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Slow terminal performance [SOLVED]

It's not an uncommon problem, apparently.
Try the fix posted here: http://gddd.wordpress.com/2009/10/08/ad/


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#4 2010-04-26 23:26:33

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

Re: Slow terminal performance [SOLVED]

> I've in my /boot/grub/menu.lst I've changed my framebuffer from the default to a large resolution.
How did you do it - KMS? Do vga options work w/ KMS?

Offline

#5 2010-04-27 01:41:13

thisismynewhandle
Member
Registered: 2010-01-29
Posts: 7

Re: Slow terminal performance [SOLVED]

Thank you for the respones

skanky wrote:

It's not an uncommon problem, apparently.
Try the fix posted here: http://gddd.wordpress.com/2009/10/08/ad/

Tried this. It seemed to imrpove scrolling speed a little bit, but it might just be in my head

karol wrote:

> I've in my /boot/grub/menu.lst I've changed my framebuffer from the default to a large resolution.
How did you do it - KMS? Do vga options work w/ KMS?

I changed the framebuffer by appending "vga=0x37B" (or any other resolution) to the kernel line of my grub menu.list. I've never messed with kernel mode, but if I get the chance I'll do some research tonight and see what I find.

Offline

#6 2010-04-27 01:51:27

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Slow terminal performance [SOLVED]

If you have kernel 2.6.33, KMS is enabled by default. What drivers are you using? Do NOT append any framebuffer lines, as they conflict with KMS and slow your system down.

Offline

#7 2010-04-27 02:38:03

thisismynewhandle
Member
Registered: 2010-01-29
Posts: 7

Re: Slow terminal performance [SOLVED]

I didn't realize that KMS was enabled by default now.

I have an NVIDIA GeForce9800 GT... just got the drivers from Pacman.

I tried adding MODULES="intel_agp drm i915" to /etc/mkinitcpio.conf and ran "mkinitcpio -p kernel26" then added "i915.modeset=1" to the kernel line in my /boot/grub/menu.lst file.   Restarted, but didn't see any results.

My understanding is that if KMS is turned on and supported, the terminal resolution should configured by default. Is this correct? Up until now I've had a small resolution with an incorrect aspect ratio.

Thanks.

Offline

#8 2010-04-27 02:46:16

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

Re: Slow terminal performance [SOLVED]

> My understanding is that if KMS is turned on and supported, the terminal resolution should configured by default.
You should get a native resolution or sth thereabout. I'm not sure that all cards / drivers support KMS, but it shouldn't be an issue with the one you have (because it's a relatively new one).

The slowness you encountered may be related to font scaling, although it's a really wild guess.
I think that bitmapped fonts may be "faster" but many users don't like how they look.

Offline

#9 2010-04-27 03:56:09

thisismynewhandle
Member
Registered: 2010-01-29
Posts: 7

Re: Slow terminal performance [SOLVED]

I get the feeling that kernel mode isn't on or my hardware doesn't support it. If it is, I can expect a native resolution. Native would be 1920x1080, but I'm getting 800x600 right now. Not even close.

Is there some way besides resolution to check if kernel mode is enabled on a live system?

Offline

#10 2010-04-27 11:32:52

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

Re: Slow terminal performance [SOLVED]

Did you try different drivers like nouveau?
http://nouveau.freedesktop.org/wiki/KernelModeSetting

Offline

#11 2010-04-27 11:37:47

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: Slow terminal performance [SOLVED]

I have the same problem and it drives me crazy. If there was a solution, I would be very happy to hear that.


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#12 2010-04-27 11:54:07

nsa.wijayanto
Member
From: solo-id
Registered: 2009-09-29
Posts: 28

Re: Slow terminal performance [SOLVED]

@thisismynewhandle: you should use nouveau, not i915 (it's for intel integrated graphic chip). With nouveau, you should have native console/Xorg resolution using KMS, Please read this wiki entry to properly use and activate it http://wiki.archlinux.org/index.php/Nouveau#KMS

Beware that when you intend to use Xorg, there is no support for 3D yet. For more info check this page http://nouveau.freedesktop.org/wiki/


Eee PC 2G Surf (700)

Offline

#13 2010-04-27 17:16:06

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Slow terminal performance [SOLVED]

An interesting side note:  you will not be able to change to ywrap mode in the VESA framebuffer if you are using 64-bit Arch and you have an AMD processor.

Last edited by Wintervenom (2010-04-27 17:16:20)

Offline

#14 2010-04-27 17:51:06

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

Re: Slow terminal performance [SOLVED]

On my other box I have an old nvidia GirlFriend (or is it GeForce?) FX 5500 that needs the old nvidia-173xx drivers. It is possible to install both those drivers (while removing libgl) and nouveau, but you get big fonts that way. If I remove the nvidia drivers (and reinstall libgl), the nouveau ones seem to take over and I get small fonts w/o changing a single line in my configuration files. It seem to just work.

Offline

#15 2010-04-28 00:56:19

schen
Member
Registered: 2009-06-06
Posts: 468

Re: Slow terminal performance [SOLVED]

Nouveau seems to support KMS, however the official drivers don't seem to.

http://wiki.archlinux.org/index.php/Nouveau

Offline

#16 2010-04-29 03:12:32

thisismynewhandle
Member
Registered: 2010-01-29
Posts: 7

Re: Slow terminal performance [SOLVED]

As soon as I installed the Nouveau drivers, the framebuffer went to the native 1920x1080 resolution.

Thank you all for the help!

Offline

#17 2010-04-30 12:06:10

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: Slow terminal performance [SOLVED]

thisismynewhandle wrote:

As soon as I installed the Nouveau drivers, the framebuffer went to the native 1920x1080 resolution.

Thank you all for the help!

Also the speed is ok?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#18 2014-06-05 19:29:47

osirisgothra
Member
Registered: 2013-09-24
Posts: 4

Re: Slow terminal performance [SOLVED]

try: sudo modprobe fb_vesa, suprisingly it wasnt loaded for me somehow and right afterwards my scrolling was like 2-3 times faster.  Also, try using SMALLER fonts.. sounds wrong, but hear me out: When in a GUI, smaller means more to draw. When in text console, smaller FONT means that more data can fit on a line (and in the screen but that doesnt matter if the screen is full), therefore, less scrolling has to be done, and each line is smaller in height. stuff like fbterm is nice but you have to have permissions to use the /dev/fb0 so if you dont your out of luck. Also, you might even have to have permissions to use setfont, make sure you set your default font directory because it isnt set most of the time, and make sure you copy your favorite to a file named "default.psf[.tgz]" in that same folder, then you only need to type setfont alone to get the font to your favorite. (you can set that command in a stanza if you have upstart)

Offline

#19 2014-06-05 22:10:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Slow terminal performance [SOLVED]


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB