You could dig into it if you wish. if this is indeed the problem, you will have to figure out a way to maintain the state of the 3d enigne between the render accel and the DRI. you might want to ask Ian about it. you can also check the archives. there was some discussion about this in regards to using the 3d engine on radeon for Xv (YUV textures) and render accel. databooks were available, but I'm not sure they are giving them out anymore. Although I doubt you will really need them as the code is already there, you just need to make it play nice.
Alex --- Ryan Underwood <[EMAIL PROTECTED]> wrote: > > Thanks for the insight. Is this already something that has been > extensively looked at without success, or would it be worth my time > to > dig into the code and try to find the cause? I've thought about it, > but > afraid that I will just hit a brick wall someone else already ran > into > with it. ;) > > Is there anywhere I can get a G400 databook for reference, or is that > not publicly available? > > On Tue, Dec 09, 2003 at 07:55:20AM -0800, Alex Deucher wrote: > > renderaccel. the reason for the curruption is that both the 2d > driver > > and the 3d driver are using the 3d engine. since they are not > keeping > > state (render accel my write on 3d textures and vice versa, etc.), > > games will corrupt fonts and vice versa. Unfortunately it's a > tough > > problem to solve. I don't recall how you turn off render accel on > mga, > > you can probably find that on google. turning it off should solve > the > > problem since render (used for AA fonts) will use teh software > paths > > instead. > > > > Alex > > > > --- Ryan Underwood <[EMAIL PROTECTED]> wrote: > > > > > > By "turn off HW render", you mean RenderAccel "off", or NoAccel > "on" > > > ? > > > > > > BTW, I should clarify my previous post by saying that the fonts > > > across > > > _all_ Xft applications are corrupted when any of them is > corrupted by > > > DRI usage; no other non-AA fonts or pixmap data are affected, > > > however. > > > It is only AA fonts, and across _all_ AA applications when it > occurs. > > > > > > Would installing a debug X server help track the cause of the > > > corruption > > > down? > > > > > > On Tue, Dec 09, 2003 at 06:59:30AM -0800, Alex Deucher wrote: > > > > turn off HW render accel. both HW render and 3D use the 3D > engine > > > and > > > > I don't know if they both keep state properly. that's probably > > > were > > > > your corruption comes from. > > > > > > > > Alex > > > > > > > > --- Ryan Underwood <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > > > > > > I've had some problems with certain DRI applications > occasionally > > > > > corrupting fonts in programs that use Xft. The corruption > was > > > > > noticeable after the DRI program exited. Strangely, it could > be > > > > > mitigated by running another different DRI program > afterwards; > > > this > > > > > seems to be the only way to get rid of the corruption (moving > the > > > > > window > > > > > off screen or minimizing/maximizing it doesn't work). > > > > > > > > > > Here are the steps to reproduce with 100% success for me: > > > > > - Install licq (1.2.7 here) > > > > > - Install the Qt licq plugin > > > > > - Choose the "bheart" skin for licq-qt > > > > > - Ensure that anti-aliases fonts are being used (QT_XFT=1) > > > > > - Run either Quake2 (0.2.1) or crack-attack (1.1.9) > > > > > - Exit the game > > > > > > > > > > Voila, your fonts should now be corrupted in that program. > (The > > > rest > > > > > of > > > > > the pixmaps are okay). crack-attack seems to corrupt worse > than > > > > > quake2. > > > > > Now, run Unreal Tournament (UTPG latest version, which > > > coincidentally > > > > > still won't display a mouse cursor for me in recent mga DRI > > > driver). > > > > > After exiting UT, the corruption is gone 2 out of 3 times. > > > > > > > > > > I can also reproduce it using pan (with GDK_USE_XFT on) but > the > > > licq > > > > > case is > > > > > the most blindingly obvious. > > > > > > > > > > This has been going on for probably over a year now so I'd > like > > > to > > > > > start > > > > > heading towards a solution if possible. > > > > > > > > > > I am running Debian with Michel's XFree86 4.3.99 DRI trunk > > > package, a > > > > > recent DRM modules, 2.4.23 kernel, and a MGA G400 MAX. The > same > > > > > thing > > > > > happened with previous MGA G400 16MB. I think something in > the > > > mga > > > > > DRI > > > > > driver is stomping on memory used for the fonts, but only > under > > > > > certain > > > > > circumstances (triggered by e.g. quake2 and crack-attack). > > > > > > > > > > any ideas? > > > > > > > > > > -- > > > > > Ryan Underwood, <[EMAIL PROTECTED]> > > > > > > > > > > > > > > ATTACHMENT part 2 application/pgp-signature > name=signature.asc > > > > > > > > > > > > > > > > __________________________________ > > > > Do you Yahoo!? > > > > New Yahoo! Photos - easier uploading and sharing. > > > > http://photos.yahoo.com/ > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > > Become an expert in LINUX or just sharpen your skills. Sign up > for > > > IBM's > > > > Free Linux Tutorials. Learn everything from the bash shell to > sys > > > admin. > > > > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > > _______________________________________________ > > > > Dri-devel mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/dri-devel > > > > > > > > > > -- > > > Ryan Underwood, <[EMAIL PROTECTED]> > > > > > > > > ATTACHMENT part 2 application/pgp-signature name=signature.asc > > > > > > > > __________________________________ > > Do you Yahoo!? > > New Yahoo! Photos - easier uploading and sharing. > > http://photos.yahoo.com/ > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Dri-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/dri-devel > > > > -- > Ryan Underwood, <[EMAIL PROTECTED]> > > ATTACHMENT part 2 application/pgp-signature name=signature.asc __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel