Re: [I810fb-user] X server dying
Status: Beta
Brought to you by:
adaplas
|
From: Antonino D. <ad...@po...> - 2002-06-01 12:39:49
|
On Sat, 2002-06-01 at 04:30, Bryan Stillwell wrote: > On Tue, May 21, 2002 at 08:14:42AM +0800, Antonino Daplas wrote: > >I think you can minimize this problem by letting X finish drawing > >before switching to the console, (ie, if you have mozilla, let it > >finish first. Not all apps do that though, I know for sure mozilla and > >evolution. Probably openoffice too). Disabling DRI will also help a > >lot, since it's not really a very nice player. > > Would using the 'option UseFBDev' in my XF86Config-4 file help fix this > problem? Recently on linux-fbdev-devel Geert mentioned that this will > fix some problems using the aty128fb driver... (See that message below) > > Thanks, > Bryan > Not really. The 'Option UseFBDev' gives the FB driver a chance to restore it's own register state which has been theoretically destroyed, or incomplete restored by X. Otherwise, some FB drivers may be left with a corrupt display. It's not necessary of the i810fb driver because it always restores its register state. The main problem is that the XFree86 i810 driver does not invalidate its accel functions when it is out of context. Empirically, we can see that X is still using accel even when switched to the console. It's just not correct behavior. If you're up to recompiling X, here's a patch that will do just that, invalidate and revalidate the i810 accel engine when switching to and from the console. The patch is for vanilla XFree86-4.2.0. If you have a different version, let me know, and I'll send you an appropriate diff. Tell me also if you used one of my XFree86 patches. Tony |