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

Grant emailgrant at gmail.com
Fri Sep 15 18:20:50 CEST 2006


> > > > You can adjust the video ram size by putting e.g.
> > > > VideoRam 32768
> > > > into the "Device" section of your /etc/X11/xorg.conf file.
> > >
> > > I have VideoRam 4096 in there now.  It should be 65536?
> >
> > 4MByte is too less. Do you read the other mails? That's why I proposed 32MByte....
>
> And did you read his mail?  He just wants to know if the correct value for his
> card should be 65536 as opposed to your given value of 32768.
>
> Most X drivers figure it out without the need of a VideoRam attribute.
> Try commenting it out and see what the log file says.
>
> > echo "base=0xf8000000 size=0x40000000 type=write-combining" >| /proc/mtrr
>
> 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

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?

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

Thanks a lot for your help.

- Grant



More information about the MPlayer-users mailing list