View previous topic :: View next topic |
Author |
Message |
Gambler n00b
Joined: 18 Jan 2006 Posts: 9
|
Posted: Thu Jan 19, 2006 10:43 pm Post subject: [solved] Mouse lag |
|
|
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 |
|
|
xante Apprentice
Joined: 23 Aug 2004 Posts: 229
|
Posted: Fri Jan 20, 2006 1:50 am Post subject: |
|
|
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 |
|
|
Gambler n00b
Joined: 18 Jan 2006 Posts: 9
|
Posted: Fri Jan 20, 2006 8:27 pm Post subject: |
|
|
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 |
|
|
Gambler n00b
Joined: 18 Jan 2006 Posts: 9
|
Posted: Fri Jan 20, 2006 8:45 pm Post subject: |
|
|
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 |
|
|
Gambler n00b
Joined: 18 Jan 2006 Posts: 9
|
Posted: Fri Jan 20, 2006 9:20 pm Post subject: |
|
|
Solved by compiling kernel with VIA 82XX IDE controller support. |
|
Back to top |
|
|
|