Latest i810 driver

Lukas Hejtmanek xhejtman at fi.muni.cz
Tue Feb 6 09:14:54 PST 2007


On Tue, Feb 06, 2007 at 09:10:52AM -0800, Keith Packard wrote:
> On Tue, 2007-02-06 at 17:00 +0100, Lukas Hejtmanek wrote:
> > On Tue, Feb 06, 2007 at 04:38:54PM +0100, Michel Dänzer wrote:
> > > Does a logfile diff give any hints? Maybe the new 2D driver reserves too
> > > little memory for the legacy 3D driver or something like that.
> > 
> > Yup, you are right, the new driver allocates only 1MB for textures while the
> > older allocates about 32MB for textures. (Right now do not know how to
> > increase it for modesetting driver).
> 
> CacheLines should still control how much of the video memory is used by
> the 2D engine while VideoRam controls how much memory the driver
> allocates from the system.
> 
> Sounds like there's something mixed up in the default setting of one (or
> both) of these values?

This is my config:

Section "Device"
        BusID           "PCI:0:02:0"
        Identifier      "Intel915"
        Driver      "i810"
        Option      "PageFlip"   "yes"
        Option      "MonitorLayout" "CRT,LFP"
        Option      "AccelMethod" "XAA"
        Screen      0
EndSection

this is from log file.

(II) I810(0): [drm] added 8192 byte SAREA at 0xef8dd000
(II) I810(0): [drm] mapped SAREA 0xef8dd000 to 0xb7b60000
(II) I810(0): [drm] framebuffer handle = 0xd0100000
(II) I810(0): [drm] added 1 reserved context for kernel
(II) I810(0): Allocated 32 kB for the logical context at 0xffdd000.
(II) I810(0): Allocated 6400 kB for the back buffer at 0xf000000.
(II) I810(0): Allocated 6400 kB for the depth buffer at 0xe800000.
(II) I810(0): Allocated 1392 kB for textures at 0xe6a4000
(II) I810(0): 0x81fe4e0: Memory at offset 0x00100000, size 37888 kBytes
(II) I810(0): 0x8201124: Memory at offset 0x0ffff000, size 4 kBytes
(II) I810(0): 0x8201144: Memory at offset 0x0fffb000, size 16 kBytes
(II) I810(0): 0x82015ec: Memory at offset 0x0fffa000, size 4 kBytes
(II) I810(0): 0x820160c: Memory at offset 0x0fff6000, size 16 kBytes
(II) I810(0): 0x81ffc04: Memory at offset 0x00000000, size 128 kBytes
(II) I810(0): 0x81fe520: Memory at offset 0x0ffe5000, size 64 kBytes
(II) I810(0): 0x820b918: Memory at offset 0x0fff5000, size 4 kBytes
(II) I810(0): 0x81fe5f0: Memory at offset 0x0ffdd000, size 32 kBytes
(II) I810(0): 0x81fe610: Memory at offset 0x0f000000, size 6400 kBytes
(II) I810(0): 0x81fe630: Memory at offset 0x0e800000, size 6400 kBytes
(II) I810(0): 0x81fe650: Memory at offset 0x0e6a4000, size 1392 kBytes

I've also played with CacheLines. The result was that instead of allocation 
37888kB for framebuffer only 21000kB has been allocated but for textures still
only 1392. Do not know why.

-- 
Lukáš Hejtmánek



More information about the xorg mailing list