[MPlayer-users] Re: [-] Optimization for a slow CPU

Don Koch aardvark at krl.com
Fri Sep 15 19:37:46 CEST 2006


On Fri, 15 Sep 2006 09:20:50 -0700
Grant wrote:


> > Try: echo "base=0xf8000000 size=0x4000000 type=write-combining" >| /proc/mtrr
> > (one less 0 on the size).
> 
> I basically don't understand how the information from lspci, dmesg,
> and /proc/mtrr is used to determine optimal values for xorg.conf
> VideoRam and /proc/mtrr itself.  I hope that doesn't offend anyone.
> 
> Don, your command worked great, although I did leave out the |
> character.  I now have this.
> 
> 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
> reg03: base=0xf8000000 (3968MB), size=  64MB: write-combining, count=1

Glad to see that that worked.

> My video driver's source says if I leave out the xorg.conf VideoRam
> attribute, it will figure it out on its own.  Would you specify your
> own value?

No.  Let X figure it out.  You can see what it used in your Xorg.0.log
file. It may be that you will need to add a VideoRam directive for your
card - some cards need the setting because X can't find the info on the
board (see references below).

> Here is lspci -v:
> 
> 00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133 CGC
> [Chipset Graphics Controller] (rev 03) (prog-if 00 [VGA])
>         Subsystem: Intel Corporation Unknown device 4332
>         Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 11
>         Memory at f8000000 (32-bit, prefetchable) [size=64M]
>         Memory at ffa80000 (32-bit, non-prefetchable) [size=512K]
>         Capabilities: [dc] Power Management version 1
> 
> and dmesg:
> 
> agpgart: Detected an Intel i810 E Chipset.
> agpgart: detected 4MB dedicated video ram.
> agpgart: AGP aperture is 64M @ 0xf8000000
> ...
> I810FB: Video RAM   : 4096K

Try "man i810".  From it, it would appear that you can set
VideoRam to 65536.

You should also try a web search on "X11 videoram intel 82810e" and
also on "X11 mtrr intel 82810e".  You might try the searches with "i810"
substituted for the "82810e" keyword. I'm not familiar with the chipset
to offer a definitive setting.

-d



More information about the MPlayer-users mailing list