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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
09-25-2004, 10:41 PM
|
#1
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Rep:
|
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.
|
|
|
09-25-2004, 11:25 PM
|
#2
|
Member
Registered: Aug 2004
Posts: 695
Rep:
|
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.
|
|
|
09-25-2004, 11:40 PM
|
#3
|
Senior Member
Registered: Jun 2004
Posts: 2,553
Rep:
|
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.
|
|
|
09-26-2004, 12:10 AM
|
#4
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Original Poster
Rep:
|
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.
|
|
|
09-26-2004, 12:17 AM
|
#5
|
Member
Registered: Aug 2004
Posts: 695
Rep:
|
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.
|
|
|
09-26-2004, 03:13 AM
|
#6
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Original Poster
Rep:
|
ps aux
Last edited by orgee; 09-26-2004 at 03:19 AM.
|
|
|
09-26-2004, 03:29 AM
|
#7
|
Member
Registered: Aug 2004
Posts: 695
Rep:
|
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.
|
|
|
09-26-2004, 03:58 AM
|
#8
|
Member
Registered: Nov 2003
Location: Mestre - ITALY
Distribution: Debian sarge
Posts: 132
Rep:
|
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
|
|
|
09-26-2004, 06:24 PM
|
#9
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Original Poster
Rep:
|
@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.
|
|
|
09-26-2004, 06:28 PM
|
#10
|
Member
Registered: Aug 2004
Posts: 695
Rep:
|
maybe try recompiling your kernel and leaving out things you dont use.
|
|
|
09-26-2004, 07:47 PM
|
#11
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Original Poster
Rep:
|
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 :|
|
|
|
09-27-2004, 01:30 AM
|
#12
|
LQ Newbie
Registered: Sep 2004
Posts: 4
Rep:
|
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
|
|
|
09-27-2004, 07:11 AM
|
#13
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Original Poster
Rep:
|
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.
|
|
|
09-28-2004, 11:07 AM
|
#14
|
LQ Newbie
Registered: Sep 2004
Posts: 4
Rep:
|
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
|
|
|
09-28-2004, 06:51 PM
|
#15
|
Member
Registered: Sep 2004
Distribution: slack-10 / kernel-2.6.81
Posts: 43
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|