Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Mouse lag
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Gambler
n00b
n00b


Joined: 18 Jan 2006
Posts: 9

PostPosted: Thu Jan 19, 2006 10:43 pm    Post subject: [solved] Mouse lag Reply with quote

When I emerge something in the background, mouse cursor starts to lag in X. Badly. Is it a common problem? Is there any way around? (I'm not sure what configs/logs should I post, so ask.)

Last edited by Gambler on Fri Jan 20, 2006 9:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
xante
Apprentice
Apprentice


Joined: 23 Aug 2004
Posts: 229

PostPosted: Fri Jan 20, 2006 1:50 am    Post subject: Reply with quote

Check to see if dma support is enabled with hdparm:

xante xante # hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 19457/255/63, sectors = 160041885696, start = 0
xante xante #
Back to top
View user's profile Send private message
Gambler
n00b
n00b


Joined: 18 Jan 2006
Posts: 9

PostPosted: Fri Jan 20, 2006 8:27 pm    Post subject: Reply with quote

Code:
multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 80000000000, start = 0

You asserted the problem correctly. Thanks.

How can I enable dma and 32-bit IO support permanently?
Back to top
View user's profile Send private message
Gambler
n00b
n00b


Joined: 18 Jan 2006
Posts: 9

PostPosted: Fri Jan 20, 2006 8:45 pm    Post subject: Reply with quote

Oh, forgot to say that I have WD800 harddrive. I can't just type
Code:
$ hdparm -d1 /dev/hda

setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)

$ htdparm -i  /dev/hda

Model=WDC WD800BB-75JHA0, FwRev=05.01C05, SerialNo=WD-WMAM92681517
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=66
 BuffType=unknown, BuffSize=2048kB, MaxMultSect=16, MultSect=16
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=156250000
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:

 * signifies the current active mode

$ lspci
...
0000:00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
...
Back to top
View user's profile Send private message
Gambler
n00b
n00b


Joined: 18 Jan 2006
Posts: 9

PostPosted: Fri Jan 20, 2006 9:20 pm    Post subject: Reply with quote

Solved by compiling kernel with VIA 82XX IDE controller support.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum