On Wed, 2003-07-09 at 17:30, Alex Deucher wrote: > --- Michel Dnzer <[EMAIL PROTECTED]> wrote: > > On Wed, 2003-07-09 at 16:03, Alex Deucher wrote: > > > > > > I haven't been able to test mergedfb with a 3D context of 2048x2048 > > or > > > larger since my m6 only has 8 mb of ram. > > > > You could try with just the horizontal or vertical virtual resolution > > larger than 2048? > > True, but the largest useful framebuffer size I can get is 1664x768. > Modes other than 1024x768 on my laptop's LCD tend to be a bit wonky, or > don't work when using both crtcs (perhaps a limitation of RMX?). Still, > for testing purposes it is worth a try.
Maybe something like 2080x480 single head? (with a 640x480 mode, only the virtual resolution matters) BTW, Option "NoBackBuffer" may be useful for lowering the video RAM requirements. > > > According to Michel Danzer, you may be able to support up to > > 4096x4096 > > > using two cliprects, [...] > > > > Well, actually four cliprects in the worst case. :) > > > > What's involved in doing that? Unfortuantely my understanding of the > 3D side is still pretty limited. Perhaps I will delve into that when I > have time next. AFAICS the cliprects are generated in the X server dri module, in DRIGetDrawableInfo(). A rough plan would be: * dri module: add support for maximum cliprect size and position, and split the cliprects in DRIGetDrawableInfo() if necessary * radeon driver (or any driver simlarly, for that matter): * if we're dealing with the new dri module (detected via module version or presence/absence of new symbols), set the maximum supported cliprect size and position, and disable the DRI if the framebuffer size exceeds 4096 (or whatever the correct limit will be) horizontally or vertically * otherwise, disable the DRI if the framebuffer size exceeds 2048 horizontally or vertically. Of course, I'd first hack in support for splitting the cliprects to verify that it actually works as intended. -- Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel