Experimental options

Vladimir Dergachev volodya at mindspring.com
Mon Dec 13 20:13:17 PST 2004


>>>> 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()

If they are made than it is likely in generic DRI code, in which case this 
should be worked around there first.

                     best

                      Vladimir Dergachev

>
>
> -- 
> 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