On Mon, 24 Jan 2005 22:59:46 +0100, Roland Scheidegger <[EMAIL PROTECTED]> wrote: > Michel D�nzer wrote: > >>will never appear again. > >>I believe the problem is AdjustFrame is only called before dri > >>initialization is finished, so directRendering is not enabled yet and > >>thus the values in the sarea never written. > >>However, I tried fixing that by moving (also tried copying) the > >>pScrn->AdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0); > >>to the end of RADEONScreenInit (3 lines before the end to be exact) and > >>all I got was a SIGSEGV :-(. > > > > > > Have you tried calling RADEONAdjustFrame() directly instead? > No, mostly because for mergedfb some magic is needed to get the right > coordinates.
actually RADEONAdjustFrame() should handle mergedfb fine. RADEONAdjustFrame() will then call RADEONAdjustFrameMerged() > > Alex Deucher wrote: > > what about calling adjustframe() again after DRI initialization? > Well, that's apparently the problem: calling it before DRI > initialization won't work, and calling it after DRI initialization > causes a segfault for some reason... I think it might be not be hard to > figure out why with a remote debugger. what about two calls? one after and one before? > > Roland > > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl -- _______________________________________________ Dri-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dri-devel
