LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-25-2004, 10:41 PM   #1
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Rep: Reputation: 15
Slow mouse responsiveness in X, is this normal?


Im pretty new to Linux, about a week old, but mind you I'm doing my homework and reading the docs and online books on how to use Linux and get around it. I just have one question, is it normal for the responsiveness to be slow during an X session? What i mean is that: When I click in lets say Gnome, or KDE, or WindowMaker (i tried them 3) and lets say I wanna click and move a window or click and doodle on Gimp, the mouse doesnt respond as fast as I do. It doesnt acknowledge where I clicked on that position, but instead it finally gets it a few milliseconds later.

The result in Gimp is that the initial spot where I wanna click in doesnt get painted in.

The result in any of the window managers is that it makes me seem like a blind man and I seem to miss the area I wanted to click to which is for example, the Window Title area, if I wanted to move the window or shade it.

I heard something about starting a program with root permissions so that it runs fast, is that really how it works? Cuz if it is, then i might as well be running root all the time (even though I read at Linux.org not to) because I want the response to be fast and instantaneous.
 
Old 09-25-2004, 11:25 PM   #2
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 30
don't use your computer as root user unless you're changing something that requires root privileges.

no, this isn't supposed to happen, to answer your question. what video card are you using? have you installed the drivers for it? when it's going slow post the result of "procinfo" and "ps aux" here, so we can see what's slowing it down.
 
Old 09-25-2004, 11:40 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
no it's not normal for the mouse to be behind you
and no it doesn't help performance to run as root
i keep seeing performance problems posted about xorg
switch to xorg is new ....... ?????? so all will work out in time
and the newer kernels/x combo do seem to be a little harder to setup the mouse properly
and even sometimes have some odd mouse bugs
but beyond that
lots of linux distributions are very very bloated (and that's an understatement)
absolutely everything that exits is running by default
if you don't have any configuration errors
(study the logs and system monitor output to see if anything is weird)
you will have to learn to slim things down so not so much stuff is running

also the newer kernels are alot better about always responding to the usr interface
many stock kernels come ready to run every peice of hardware in the known universe.
which slows them down.
and some stock kernel configurations are set to spit out extra debugging info.
also standard distribtions come with lots of debugging information compiled into everything and
the code is all compiled to run on the very oldest machines.. so it is not using the features of your modern processor..and all the debugging symbols choke the pipes.

you just have to take controll and with Linux user controll is strictly incouraged

Last edited by foo_bar_foo; 09-25-2004 at 11:48 PM.
 
Old 09-26-2004, 12:10 AM   #4
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
so what about the command called "nice"? i read that you should start some programs with that command to run it with root credentials so that it has a higher priority. i've never used it yet, have you?

anyway, i do have the latest drivers for my video card, i even recompiled my nvidia drivers with the optimizations i want, and so my 3d accel works. i also use slackware 10, and upgraded my kernel to 2.6.8.1. Everything works great actually, its just that mouse thing, although I can work with it by slowing myself down, that wouldn't be a very good thing for me to do to myself.
 
Old 09-26-2004, 12:17 AM   #5
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 30
load averages? "ps aux" output? is anything else slow or is it just the mouse?

we need to know what processes are running and how much of the system resources they are using - maybe there's something running that's slowing everything down, including the cursor.
 
Old 09-26-2004, 03:13 AM   #6
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
ps aux

Alright, here is the output:

http://orgeem0nster.net/auxout.txt


Last edited by orgee; 09-26-2004 at 03:19 AM.
 
Old 09-26-2004, 03:29 AM   #7
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 30
do you have a lot of mozilla windows open or something? looks like its sort of eating up some resources. what were you doing in mozila right as you used ps aux?

it's only 10% of cpu usage, but still, might as well check it out.
 
Old 09-26-2004, 03:58 AM   #8
mrosati
Member
 
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132

Rep: Reputation: 15
i had a quite similar problem, and i discovered that the DMA of my disc was disabled. you should try this command (as root):

# hdparm -d /dev/hda (if hda is the drive where you have linux installed)

just have a look at the output, if it sounds like this:

/dev/hda:
using_dma = 1 (off)

the problem if that your DMA isnt turned on. in this case i'll tell you how to turn it on. otherwise i don't know other solutions....

have you tried to install graphic drivers? if you have a grafica card...

Matteo
 
Old 09-26-2004, 06:24 PM   #9
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
@Sether:

I have nothing open except 1 mozilla window where I am writing the post above, and 1 terminal window where I did a ps aux command. I didnt understand that either why it had alot of mozilla on my process list. But even if Mozilla wasnt on, i'd still get that lag on my mouse regardless what windowing system I used.

@MrRosati:

I know youre just trying to be helpful, but if you read my earlier posts, its not the harddrive thats having problems and I have properly installed my drivers already. Thanks though.
 
Old 09-26-2004, 06:28 PM   #10
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 30
maybe try recompiling your kernel and leaving out things you dont use.
 
Old 09-26-2004, 07:47 PM   #11
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
I did already awhile back, from slackware default 2.4.26 to kernel 2.6.81. I took out a bunch of stuff actually. Anyway right now im about to try upgrading the X server to a newer version to see if that changes anything. I hope it does :|
 
Old 09-27-2004, 01:30 AM   #12
Seffius
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Same problem!!

Orgee,
I'm having exact same problem! I'm running Mandrake 10 w/ KDE and latest Nvidia drivers. I've been working with Cadega to run Warcraft III, and when I click to select some peons/units it doesnt respond right away! I end up selecting half the units I originally wanted. (Same problem with KDE desktop and moving windows around). I can slow myself down too, but why should I when I don't need to in WindowsXP? If you find an answer, be sure to post it back here....It's the only thing stopping me from switching to Linux.
Seffius
 
Old 09-27-2004, 07:11 AM   #13
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
Seffius, mind telling me what your system specs are? Maybe we have some similarities that might be causing it. Anyway I just got rid of my Windows XP partition and reinstalled Slackware Linux so now I have a clean machine. It still does it though.. I gotta try upgrading X still, and one thing that I havent tried doing is running X as root. Ill try that in a moment.
 
Old 09-28-2004, 11:07 AM   #14
Seffius
LQ Newbie
 
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
I have an Asus K8V SE Athlon 64 motherboard, Gefore TI4400 graphics card, running a Microsoft USB optical mouse, Gateway VX900 monitor, and 1 gig of RAM. I've tried Slackware, Red Hat, Mandrake, Debian, and Fedora, and they've all given me the slight delay. I'm no expert at Linux, but I've tried enough distros that I thought at least one of them would work. Maybe it's the USB mouse?
Seffius
 
Old 09-28-2004, 06:51 PM   #15
orgee
Member
 
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43

Original Poster
Rep: Reputation: 15
hey we got one similarity which is the usb mouse. Mine is a wireless mx700 and thats the only mouse I have so im gonna have to go find a ps/2 mouse to see if it changes anything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Slackware box, upload Extremely slow, download normal? fireman949 Linux - Networking 1 02-10-2005 01:20 PM
UI responsiveness yaBoy Linux - Laptop and Netbook 1 05-21-2004 05:23 PM
Improving USB Keyboard Responsiveness? dumtruck51 Linux - Newbie 4 12-26-2003 10:54 AM
Modem connection slow when logged on af normal user Fennek Linux - Networking 0 03-18-2003 05:09 PM
Modem connection fast when logged in as root slow when normal user Fennek Linux - Networking 0 03-17-2003 10:59 AM


All times are GMT -5. The time now is 06:45 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration