LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   slow system (https://www.linuxquestions.org/questions/debian-26/slow-system-477212/)

binary_dreamer 08-25-2006 05:35 AM

slow system
 
hi i am running sarge. my system is a AMD Athlon XP 300+ with 768 ram and a 80 GB Sata HDD, with 256 MB ati graphics card. when i am going to play a dvd/avi/any+other then the movies plays quite slow. though when i open xine to play a movie it gives me a warning message that the system drops many frames. anyideas on what to do?

Dutch Master 08-25-2006 05:40 AM

Did you enable DMA? Install hdparm to get DMA working on your system.
Code:

hdparm /dev/hd*
Replace hd* with the appropriate devicenames found on your system.

binary_dreamer 08-25-2006 08:27 AM

it is sata. so the:
hdparm /dev/sda

???

Dutch Master 08-25-2006 08:34 AM

Bingo :)

<edit: this needs to be here as the forumengine complained about "to short reply" :rolleyes: >

binary_dreamer 08-25-2006 01:48 PM

LanParty:~# hdparm /dev/sda

/dev/sda:
readonly = 0 (off)
readahead = 256 (on)
geometry = 9729/255/63, sectors = 156301488, start = 0
LanParty:~#

still the system is slow. what is the whole command that i have to type to make it faster?

HappyTux 08-25-2006 02:54 PM

Quote:

Originally Posted by binary_dreamer
LanParty:~# hdparm /dev/sda

/dev/sda:
readonly = 0 (off)
readahead = 256 (on)
geometry = 9729/255/63, sectors = 156301488, start = 0
LanParty:~#

still the system is slow. what is the whole command that i have to type to make it faster?

What does this command show you and what is in the machine for a video card/driver being used for said card.

Code:

HappyTux:/home/stephen# hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:  4480 MB in  2.00 seconds = 2240.43 MB/sec
 Timing buffered disk reads:  184 MB in  3.03 seconds =  60.82 MB/sec


binary_dreamer 08-26-2006 03:20 AM

LanParty:~# hdparm -Tt /dev/sda

/dev/sda:
Timing cached reads: 2068 MB in 2.00 seconds = 1032.09 MB/sec
Timing buffered disk reads: 172 MB in 3.01 seconds = 57.11 MB/sec
LanParty:~#

i am running it as root, because the user cannot do that. i do not know if that matters.

HappyTux 08-26-2006 12:37 PM

Quote:

Originally Posted by binary_dreamer
LanParty:~# hdparm -Tt /dev/sda

/dev/sda:
Timing cached reads: 2068 MB in 2.00 seconds = 1032.09 MB/sec
Timing buffered disk reads: 172 MB in 3.01 seconds = 57.11 MB/sec
LanParty:~#

i am running it as root, because the user cannot do that. i do not know if that matters.

Yes root has to run that command. So what model is the ATI card and the driver you are using for it? It seems to me that your system is more than fast enough so it pretty much has to be something along the video driver usage.

PMorph 08-26-2006 04:30 PM

Might be worthwhile to check that DRI is working:
grep DRI /var/log/X*

binary_dreamer 08-27-2006 04:45 AM

LanParty:~# grep DRI /var/log/X*
/var/log/XFree86.0.log:(II) Loading extension XFree86-DRI
/var/log/XFree86.0.log.old:(II) Loading extension XFree86-DRI
LanParty:~#



regarding my graphics card it is a ATI Radeon 9200 256MB. i used the vesa driver to make it work.

PMorph 08-27-2006 08:30 AM

"used the vesa driver to make it work"

That is probably your problem. You shoud use either the integrated "ATI" driver or the proprietary driver from ATI.

Edit: and unless I've mistaken, the proprietary driver currently has some problems with the R200 chip, so the integrated ATi driver should be your best bet.

HappyTux 08-27-2006 11:38 AM

Quote:

Originally Posted by PMorph
"used the vesa driver to make it work"

That is probably your problem. You shoud use either the integrated "ATI" driver or the proprietary driver from ATI.

Edit: and unless I've mistaken, the proprietary driver currently has some problems with the R200 chip, so the integrated ATi driver should be your best bet.

Should almost be able to use the radeon one in X for that card I think.

PMorph 08-27-2006 01:56 PM

Aah, I remembered it was named "ATI" in the install script?
But you are right, "RADEON" driver is what he needs.

binary_dreamer 08-28-2006 02:48 AM

ok and how do i install the proprietary drivers or the integrated drivers, in sarge?

PMorph 08-28-2006 12:42 PM

To reconfigure the Xserver, give:
dpkg-reconfigure xserver-xfree86

And pick ATI when shown the list of drivers.


All times are GMT -5. The time now is 06:30 PM.