Slow Command Line Interface

I’m not quite sure if this post belongs here or in the hardware section but here goes. I just finished putting together a new server I’m going to be using for software development. I installed openSUSE 11.4 with KDE but set the default runlevel to 3. Installation went fine and I didn’t have any problems until I booted up for the first time after installation. It booted into the graphical CLI and everything appeared to be fine. The only problem is that whenever I run a command that requires the text to scroll, such as a simple

ls -a

, it scrolls really slowly and appears to have some kind of refresh or hsync problem where the screen is “tearing” while it’s scrolling. The CLI works great other than this, but I’m greatly confused as to what the problem is, mostly because if it’s a problem with the video output then why does the scrolling seem to slow down? Wouldn’t I just see weird pixels but the command line would go at regular speed? Anyway, as I suspect this might be a hardware issue (please let me know what you think) here are my servers components:

Asus KGPE-D16(ASMB4-IKVM) Motherboard
2x AMD Opteron 6128
48GB (12 RDIMM) Ram
OCZ 30GB SSD (for / partition)
Adaptec Raid 5805Z running 6x 2TB Seagate Barracuda XT in ext4 RAID 5 (mounted at /srv)
ATEN CL1000M 17" SingleRail LCD Integrated Console (via KVM to VGA on MB)

I’ve run:

init 5

to boot into KDE and seen no graphical problems there to speak of. Any advice would be greatly appreciated. I’m sorry if I’m starting to bug anyone with all my recent questions.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Swap to another TTY… Alt+F2 through Alt+F6. Once there see if that
helps. The first TTY is “special” (has that funny background image) an
has that neat little feature of being slow as a result.

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOSn7bAAoJEF+XTK08PnB51+4QALVOzwgKQEj1QAX/SlkWCKyK
a8uRtgQekRf1oKU0dkGZSqOMK63+DzmdM5G2+rARlkrD37eupOyE88QLXAZAb56M
ZSj1cUGnlr3PrXF16xeU/TZCFGKg+eUx6gk1xMWLdYBoneYFUo5+yFmbvdBMz+Lx
1CveygqygWnfrKtgeDmJ/ZebVRHUNxK1yg8+z0B6ST3NlB/P89eVRX+3u2cprfzp
feSJKIBLDwMKFoxVb+hBcdZbrqtK09g5VZY385JjMSvTXk0/Sbw55AcqSmEFPpFv
pgWpKRx35C3N5ta9oCdJcIcUHxXnBBa8LpEja8P6+uJcKrgK3+nWfI6VKBTy06o/
tj5JggOcuFvYLkqFa9S0hpHoq+DzRe2U0Yr1RAo3/aMt7qxz89t4KuTn3k0V7+Ge
eijp+wMd+F3OvEhsO7iGU0VNtN2mFAzX/i+tCbaMy/L3F5gYICDx+Z1fEA09r8Vl
IKwGOGQNept8VZnqnpNlL3YIOsDs6gJIuqfQplXe8fhhFgZy6zHvGA9iBE1tpoEu
wKBetMKB/xFd8f7Xwf3vMb2fu222Bk9cfQ78As2/Dddx/i6ZQzjMz9utKItsdZI7
DlB2LEpRKcRgUenT7/0D6Xy/WiQZ8fMUPg84+HRzmB8vudyp73InD8MIgdfqxpCu
/Z6f0RNvQBXzH+wM4nEn
=F7ME
-----END PGP SIGNATURE-----

Well, yes that is a definite option… The only thing is that I’m concerned about why this is happening, not ways around it. I have a scrawny netbook running 11.4 in the same configuration and on the graphical CLI it flies just like any other CLI. Why would my server, which has significantly more power at it’s disposal, be having this problem, and my netbook wouldn’t? Thank you for your reply though. Seems either I’ve stumped everyone or the question is so stupid people just aren’t responding…

On 08/17/2011 09:36 AM, nicktlloyd wrote:
>
> Why would my server,
> which has significantly more power at it’s disposal, be having this
> problem, and my netbook wouldn’t?

does your scrawny netbook and significantly more powerful sever use
exactly the same graphics chips and video driver?

if not, you have your answer. (speed of video rendering is directly
related to the graphics in use, and ability of the driver in use…

maybe you need to change the video driver in your server, look here for
how and why http://tinyurl.com/37v9y7m

and, if you run into trouble, ask in a new thread with a subject kinda
like: changing drive for [nVidia/ATI/Intel] video [FX930X/whatever]


DD
openSUSE®, the “German Engineered Automobile” of operating systems!

So the graphic drivers will slow down the CLI? I suppose I should have immediately checked this but there is a linux driver provided by Asus for the graphics interface. I suppose I should start by installing that… They provide the driver in a .tar file. Is there a way to install that directly through yast or do I need to export it first?

On 08/17/2011 11:16 AM, nicktlloyd wrote:
>
> So the graphic drivers will slow down the CLI?

as mentioned by AB, real terminal at F1 is a hybrid which includes
graphics…as do all terminals which run in a window manager or desktop
environment…

> I suppose I should have
> immediately checked this but there is a linux driver provided by Asus
> for the graphics interface.

you may be right (probably are, since you are looking at it and i am
not) but i’ve not run into anyone here mentioning that Asus provides a
Linux graphics driver…is this something new? what of Asus do you
have, a motherboard? mind sharing its model number, please…

is it an Asus graphics set, or some other brand (ATI, nVidia, Intel, etc)

> I suppose I should start by installing
> that… They provide the driver in a .tar file. Is there a way to
> install that directly through yast or do I need to export it first?

without looking into the file i couldn’t answer except to say: usually
tar.bz files contain source which must be compiled prior to
installation…though it is true that some of the folks deeply steeped
in other operating systems include executables in such…

perhaps you could give us a link to the file and someone could take a
look at what you have…

well, i sure wouldn’t feel comfortable recommending you try to install
it, and if i did i’d ask you to read my sig caveat first…oh, here
look at this way to feed and care for the graphics systems i’m more
familiar with: http://tinyurl.com/37v9y7m


DD Caveat
openSUSE®, the “German Engineered Automobile” of operating systems!

The motherboard is an Asus KGPE-D16(ASMB4-IKVM). It uses an Aspeed AST2050 8MB onboard video interface. The website for it is here: ASUSTeK Computer Inc. - Server & Workstation- ASUS KGPE-D16. If you click on downloads and then choose Linux as it’s system it has VGA drivers available for download. They only list SUSE support but when you download them the folders are “FreeBSD” “Linux” and “Solaris” so I think they might work directly on the kernel.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Not knowing what your netbook has for graphics (I may have missed it
reading the latest stuff… sorry if so) I’d bet that your server’s
onboard graphics setup is pathetic in comparison… after all, servers
traditionally don’t care much about rendering graphics to monitors
(assuming they even have monitors). Netbooks, though, exist to do
things like play Youtube videos, stream HD through HDMI ports, and do
other things that are the traditional domains of NVidia and ATI/AMD and
so I’d bet your netbook has a lot more power in that regard. Anyway…
that’s all.

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOS8yYAAoJEF+XTK08PnB5UgcP/AgmIIdihBdrAIPrc9iOP5Vh
DFvgGedDuxwUiVtza5uF06d5kRg5/xif2Rjt7o2Xm8aMHwvo3YKi881RZZTHIyOM
z7GCKY57TjaHjsCSBo8cICXXMqBFc6CZaWDOgnwBWmzagQVDsbtup67BsXZzYUYQ
djZqNPiiHHSWJFHh2+PTlzVGoCdBpJa8dRnhzcGfRLLID+9MAkJejezjHgtr3eJX
7OWQ09emxNLe+nkBVHJt4eOiKtf6q8zsm2eTMih0Xf8ZzDZqyQ6ay912GrRltHg4
OAm6rEYvJ1gSNI+GQfOV0W3oOxNfXOiqXxq+509tYR8bIkX13v954wpOMElBy+QP
SOyYdR6TX3UOW3kAyS7BHfjfd/5gn+HYi0n+H2iCfLenPvEBlkAq6DJ0YkH6qDsg
qCTiWwoHOoaF9OLn3do6jJRm0owgt05QN2GMif16jVY/Go7qQz3Qh67jM5MbtYeD
tGPdvdBpVmGK0NeY2Aj42Z6T1feLvN+1m08XNu1RTydq+fIKkbAJDytqiwdboOZx
rGtwVKZPsDUu+DrRxSn1s9zGR02WcRYdSpq8XHBmBxNw78kVLSqkVPN9Vb0GYWQR
qIQUu6753co8zv4QT23z7YFw6K6w2p/5dUlFR/Ja/b+LIaG99gyfHLVRjk/Yey7x
Y5/eMURayHDqifmBlWB2
=XudV
-----END PGP SIGNATURE-----

On 08/17/2011 02:16 PM, nicktlloyd wrote:
>
> (http://www.asus.com/Server_Workstation/Server_Motherboards/KGPED16/).

from what i saw at the Asus site it appears your server is certified to
use SUSE Linux Enterprise Server (SLES) versions 9, 10, and 11…

which does not mean it is certified to run openSUSE 11.4, or any other
version…questions about SLES are best put to the folks who make,
distribute and support SLES at http://tinyurl.com/422mrnu

which is not to say you are not welcome to hang out here and see if
there is someone with a great answer for you…but, be advised that
most (almost all?) have never run SLES 11…i’ve never even seen it
running…and, while there is kinship between the two, SLES/D and
openSUSE are absolutely NOT identical twins…

finally, as AB mentioned graphics is not important on a server anyway
and the graphics hardware is almost surely very puny compared to the
netbook…it you wish it to scroll like a desktop machine you will
probably need to insert a graphics card into the system…


DD Caveat
openSUSE®, the “German Engineered Automobile” of operating systems!

On Wed, 17 Aug 2011 20:09:00 +0530, DenverD
<DenverD@no-mx.forums.opensuse.org> wrote:

> On 08/17/2011 02:16 PM, nicktlloyd wrote:
>>
>> (http://www.asus.com/Server_Workstation/Server_Motherboards/KGPED16/).
>
> from what i saw at the Asus site it appears your server is certified to
> use SUSE Linux Enterprise Server (SLES) versions 9, 10, and 11…
>
> which does not mean it is certified to run openSUSE 11.4, or any other
> version…questions about SLES are best put to the folks who make,
> distribute and support SLES at http://tinyurl.com/422mrnu
>
> which is not to say you are not welcome to hang out here and see if
> there is someone with a great answer for you…but, be advised that
> most (almost all?) have never run SLES 11…i’ve never even seen it
> running…and, while there is kinship between the two, SLES/D and
> openSUSE are absolutely NOT identical twins…
>
> finally, as AB mentioned graphics is not important on a server anyway
> and the graphics hardware is almost surely very puny compared to the
> netbook…it you wish it to scroll like a desktop machine you will
> probably need to insert a graphics card into the system…
>

but he installed openSUSE on his server, not SLES, and that should work,
whether certified or not. and i’ve seen server hardware with puny graphic
cards, but never experienced slowdown of any of the virtual terminals due
to that. i agree that it sounds like a graphics problem though; probably
the driver that’s loaded automatically doesn’t agree with the graphics
card, or the other way around.

did you (OP) try to run the standard boot line commands, like nomodeset,
to force loading of a different graphics driver? or start in failsafe
mode, and see if the termial’s still slow?


phani.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I’ve noticed this same speed difference on practically every box I’ve
ever used which is why I never use the first TTY (well, that and the
fact it doesn’t clear history when logging out which is kind of annoying
too). For that matter, I get significantly better performance using
‘konsole’ via the GUI (or xterm even) when 'cat’ing out entire files,
likely because the programs used do not try to print every single
character on every single line to show the text scrolling, which is fine
since obviously I really don’t care about reading all of it.

In general if you want to look through text quickly then offloading that
to something else (even something like ‘less’) will increase
performance. This doesn’t really help a lot if using tab-completion for
hundreds of file/directory names, but in most other cases output can be
piped to something that can be easily searched and I’d recommend doing
this anyway (using your eyes to search through kilobytes of output is
really silly if you can just search in a pager).

Good luck.


Want to yell at me in person?
Come to BrainShare 2011 in October: http://tinyurl.com/brainshare2011
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJOS+NKAAoJEF+XTK08PnB51L4P/0Hu1lwfOa19anfarvNDr9sH
P+T7b1Z7Y3ueYuGKNUCoPtw4tcDkmIKlopbG39fSl//5eYw5XRrR3Z2y/OOHhXF6
ELJiG3SfBNcvJDwAoA8Tfh0g3PJGZEDzMh9WTI0BFs1jBcF8TcYqRNy7so+wrKXp
44icvxqzORO0ahlN6I8fC33duaf9oPWgcOuzpNbk5IOmbPYNgS6gnWxt+5atApN2
Otr37rjUFvDuVDH8NK31/0u1cBqoraLLUdf3dItam9jys56zLD5bSUthKBaMFyKV
qrW4vH31Sa4GEJeiAhpagHAf7QH3iGZusKUQM7m/UpDS9AvOTuYScDSQbV93kcWB
nTaUjODkh7j/3I7NqUbKt/b5cGEfXzFeScEFrotPQVIFpFCjxSq3oMnnCaAF2fCd
UC1Bvp+Mu+l6cdyz6kY/nxNyG0o+UuTmzXZfMhl5Bk2HHdp9JiXG/ieMd4v0+vyW
9MtnqLb/zHdEVCy4cs1D8JvL2AQD1QaS1uyumGubMLjVsabuKrJCekdrjkB3GMBx
/U7YF1btxkN6nAC+lfPnkzLyedjTZ+nkJI/lb42Pw3Q1o6u39+cXraBYzyRofgI+
N/XqdxtjIV/AHTmDoAkxh14VI1dQTrRjKjLrlWUlBPwX7z8IvzuB7ES8tQbW0025
wOqpmvlsYT4ugrATrgzT
=IzsI
-----END PGP SIGNATURE-----

I realize that it’s not certified for openSUSE 11.4, I’m rather curious what hardware is “certified” for openSUSE… However, I have seen several drivers intended for use on SLES work quite well on openSUSE, including my Adaptec RAID card’s Storage Management program. As another poster said, I didn’t install SLES, I installed openSUSE.

Now back to the issue. Another poster mentioned trying

nomodeset

so I’m definitely going to give that I try tonight. Are there any potential problems with trying to install the Linux drivers for the VGA adapter from Asus, even though they’re only intended for SLES? If they couldn’t work with openSUSE would the installation just fail or could it screw up my system? Could I roll it back if there were a problem?

On Thu, 18 Aug 2011 15:36:03 +0530, nicktlloyd
<nicktlloyd@no-mx.forums.opensuse.org> wrote:

>
> DenverD;2375776 Wrote:
>>
>> questions about SLES are best put to the folks who make,
>> distribute and support SLES at ‘SUSE Linux Enterprise’
>> (http://tinyurl.com/422mrnu)
>>
>
> I realize that it’s not certified for openSUSE 11.4, I’m rather curious
> what hardware is “certified” for openSUSE… However, I have seen
> several drivers intended for use on SLES work quite well on openSUSE,
> including my Adaptec RAID card’s Storage Management program. As another
> poster said, I didn’t install SLES, I installed openSUSE.
>
> Now back to the issue. Another poster mentioned trying
> Code:
> --------------------
> nomodeset
> --------------------
> so I’m definitely going to give that I try tonight. Are there any
> potential problems with trying to install the Linux drivers for the VGA
> adapter from Asus, even though they’re only intended for SLES? If they
> couldn’t work with openSUSE would the installation just fail or could it
> screw up my system? Could I roll it back if there were a problem?
>

i don’t think using that driver is going to work. i’ve downloaded and
looked at it, and the installation script doesn’t attempt to compile the
driver for your kernel, just copies it somewhere. later i noticed that i
didn’t download the latest driver, but the one i looked at was meant for
xorg ver. 7.5, while openSUSE is at ver. 7.6 by now. perhaps the latest
driver uses that version (sorry, my internet is too slow today, don’t want
to download again).

the ‘normal’ procedure here at openSUSE involves compiling the driver into
a kernel module, which this ASUS thing doesn’t seem to do. (but better
check yourself, perhaps i overlooked something.)

IMO your best bet is to see if your video chip works well with one of the
opensource drivers used by openSUSE, especially if you don’t intend to use
the machine as a full-time workstation, i.e., video performance isn’t such
a big issue. here’s an explanation of the different options you have to
make openSUSE use another opensource driver:

http://en.opensuse.org/SDB:Configuring_graphics_cards

(not sure if that’s the most up-to-date link for that purpose; perhaps
somebody else can provide a better one.)


phani.

On 08/18/2011 12:41 PM, phanisvara wrote:
> http://en.opensuse.org/SDB:Configuring_graphics_cards
>
> (not sure if that’s the most up-to-date link for that purpose; perhaps
> somebody else can provide a better one.)

no, it is a good one to look to, because it among other things kinda
explains the “why” behind ‘nomodeset’ as well as points to the openSUSE
Graphic Card Practical Theory Guide for Users
<http://tinyurl.com/37v9y7m> which pretty well gives about all one needs
to know…

i also doubt the Asus driver will make that hardware perform video magic
like and bring a smile like the ‘scrawny netbook’ does (as it is
optimized for things like watching movies, youtube, etc and the server
optimized to do other stuff)…

but, to answer some questions:

  1. I’m rather curious what hardware is “certified” for openSUSE…

none i know of…enterprise level hardware makers are the folks who
generally test and certify enterprise level software to run on their
machine…as far as i know no one is trying to sell openSUSE as a
enterprise solution…

on the other hand 11.4 installed on this acer netbook and everything
just worked (well, to get it to work i did have to tell it the pass/id
for my wireless!)

as far as i know, these manufacturers sell hardware with SLES/D
installed, or certified for user additions: HP, DELL, IBM, and
Levono…and, there are probably others…

  1. Are there any potential problems with trying to install the Linux
    drivers for the VGA adapter from Asus, even though they’re only intended
    for SLES?

that would be a great question to ask the hardware maker…

  1. If they couldn’t work with openSUSE would the installation just fail

i would expect a correctly installed asus driver would result in
marginally better video…i say marginally better because i’d expect it
to not result in desktop/nettop/laptop like video performance (duh: it
is server hardware)

  1. … or could it screw up my system?

i wouldn’t expect it to harm the hardware.

  1. Could I roll it back if there were a problem?

yes, but i can’t tell you exactly how…

you might check the instructions in the asus driver package and see if
it gives a how to undo…

the biggest potential problem i see for you at this point is that in
trying to roll back to the default installed driver you could damage
the software system…but, that problem is easily overcome by making a
backup before hand, or just accepting you may mess up and have to
reinstall…

as mentioned earlier: if you want your server’s graphics to look like a
desktop you will probably have to add a video card which has the ability
(and on board video RAM) to do that…it would not have to be really
new, expensive or fancy to show a big boost in full screen streaming
ability, fancy rotating cubes, translucent panels, 3D games and all the
other glitz not required or needed on servers…

by the way, what video driver was installed by default? maybe the above
mentioned theory guide would lead you to a different, better open source
driver…i do not know. (but, still i bet it won’t reach the
performance of the ‘scrawny netbook’…)


DD Caveat
openSUSE®, the “German Engineered Automobile” of operating systems!

Seen this many times. 99% runs fine in failsafe mode. Then remove the options that differ in Failsafe one by one.