LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-11-2005, 01:17 AM   #1
tommyr1216
Member
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Gentoo, Suse, Fedora, Slackware
Posts: 56

Rep: Reputation: 15
Choppy mouse movement with xorg 6.7.0-11


The movement of my mouse cursor is very eratic. For example, if I try to move the cursor straight across the screen, the mouse will go straight for a little bit, then dive down a little, and then come back up to the original line. It moves kinda like one of those heart monitors they have in the hospital. After some research, I disabled HWCursor in my xorg.conf file, which made the problem less severe, but didn't cure it entirely. I haven't been able to find any other information on this problem or this mouse. I dual-boot with Windows 2000 on this system, and the mouse is perfectly smooth there.

logitech mx1000 mouse
Fedora Core 2
Kernel 2.6.9-1.6
xorg-x11 6.7.0-11
kde 3.2.2-6
geforce 4 ti 4600 using nvidia linux drivers v1.0 build 6111

***Relevant sections from xorg.conf***
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
Option "Buttons" "12"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
Option "HWCursor" "false"
Option "NoLogo" "yes"
EndSection

Any help is greatly appreciated
 
Old 01-11-2005, 02:16 AM   #2
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
try adding
Option "Resolution" "600"
Option "Samplerate" "1000"


thats what worked for me on a 1600x1200 desktop...play around with those settings and it shuould help(specifically sample rate)
 
Old 01-11-2005, 12:37 PM   #3
tommyr1216
Member
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Gentoo, Suse, Fedora, Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
I've played around with "Resolution" and "Samplerate" for a few hours now. Adjusting the sample rate does seem to affect the problem, but I can't seem to make an improvement. Dropping the sample rate makes the problem worse, however, increasing it doesn't make it better. I've tried a bunch of sample rates, from 150 to 3000.

Does X perhaps offer 'mouse smoothing' like some 3D games do? I don't usually like this, but I'd be willing to try it to eliminate these cursor jumps.
 
Old 01-11-2005, 10:51 PM   #4
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
i read somewhere that this might have to do with hdparm ...can u post the output of

hdparm -i /dev/hda (assuming hda is ure primary harddisk)
 
Old 01-16-2005, 07:59 PM   #5
tommyr1216
Member
 
Registered: Sep 2004
Location: Pennsylvania
Distribution: Gentoo, Suse, Fedora, Slackware
Posts: 56

Original Poster
Rep: Reputation: 15
I have two hard disks, hda and hdc. My root partition is on a RAID-0 array between them.
This is the output from hdparm.
_________________________________________________________________
/dev/hda:

Model=Maxtor 5T060H6, FwRev=TAH71DP0, SerialNo=T6HFACHC
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120103200
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 0:

* signifies the current active mode
__________________________________________________________________
/dev/hdc:

Model=SAMSUNG SP1203N, FwRev=TL100-24, SerialNo=S00QJ10X767386
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=234493056
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: (null):

* signifies the current active mode
 
Old 01-23-2005, 12:48 AM   #6
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
yup, dma is disabled...just to confirm, see the output of hdparm /dev/hda (and hdc)

if dma is off, do this ....

hdparm -d 1 /dev/hda
hdparm -c 3 /dev/hda (if this isnt supportd do a 'c 2')
hdparm -X 66 /dev/hda

repeat the same for the other drive ...

do a comparison of the test results of 'hdparm -tT /dev/hda' before and after using hese settings..

note: these settings are not permanent, just copy paste them to /etc/rc.d/rc.local or whatever..
 
  


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
Mouse Movement Problem in DOSbox smannell Linux - Software 14 06-14-2009 03:35 PM
System reboots from mouse movement 24jedi Linux - Hardware 2 06-03-2005 08:42 AM
usb mouse in X has only horizontal movement quantum_comp Linux - Hardware 6 09-23-2004 05:02 PM
SlackWare 9.1 Mouse-Constant Movement Zero-0-Effect Slackware 6 12-21-2003 07:43 AM
Optical mouse and choppy movement sienarot Linux - Hardware 7 07-06-2003 06:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration