[MPlayer-users] Optimization for a slow CPU

Rich Felker dalias at aerifal.cx
Wed Sep 13 19:48:01 CEST 2006


On Sun, Sep 10, 2006 at 09:09:18PM -0700, Grant wrote:
> system1 ~ # cat /proc/mtrr
> reg00: base=0x00000000 (   0MB), size= 128MB: write-back, count=1
> reg01: base=0x08000000 ( 128MB), size=  64MB: write-back, count=1
> reg02: base=0x0bf00000 ( 191MB), size=   1MB: uncachable, count=1
> 
> I have a 128MB RAM stick, a 64MB RAM stick, and I don't know about
> video memory.  How does that ouput look?

Very bad. The video memory should be "write-combining", not
"uncachable". The way it's set right now will have extremely poor
video performance. Assuming the block at 0x0bf00000 actually is your
video memory (check this with lspci), try something like:

echo "base=0x0bf00000 size=0x100000 type=write-combining" > /proc/mtrr
(0x100000 is 1 meg written in hex)

Also read the kernel docs on MTRR before doing anything so you know
what you're doing..

BTW what video card do you have? Maybe you said earlier in the thread
but I'm too lazy to go back and read. :)

Rich





More information about the MPlayer-users mailing list