Experimental options
Michel Dänzer
michel at daenzer.net
Mon Dec 13 20:40:52 PST 2004
On Mon, 2004-12-13 at 23:13 -0500, Vladimir Dergachev wrote:
> >>>> well, the drm is only used if 3d is enabled. but if you don't have
> >>>> enough ram for 3d or you don't want to use the dri, the driver falls
> >>>> back to MMIO. It'd be nice to use the drm for 2d all the time
> >>>> assuming the drm is available for your platform.
> >>>
> >>> I admit I don't know the dri code that well, but it seemed to me that
> >>> depth buffer (for instance..) was allocated dynamically in a function
> >>> that allocates context, right ?
> >>
> >> no, the back and depth buffers are allocated statically when the server starts.
> >
> > No, they aren't. Obviously though, 3D acceleration isn't enabled if they
> > can't fit into the available memory.
>
> Well, I just don't see any checks for buffer size in
> ati/radeon_dri.c::RADEONDRIScreenInit()
It's in RADEONScreenInit() in radeon_driver.c. Look for the dreaded
'Static buffer allocation failed'.
--
Earthling Michel Dänzer | Debian (powerpc), X and DRI developer
Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer
More information about the xorg
mailing list