On Thu, Jun 07, 2001 at 08:35:06AM -0500, Andrew Hesford wrote:
> The solution is to comment out the calls to I810BindGARTMemory() and
> I810UnbindGARTMemory() in the VT-switching functions. The end result is
> that I810EnterVT() and I810LeaveVT() are now identical in 4.1.0 to the
> ones in 4.0.1, and the server no longer crashes when one switches
> terminals. I have attached a patch, and hope that the XFree86 port
> maintainer will consider adding this to the files/ directory to achieve
> maximum distribution. I will contact him shortly.
Damn it, I forgot to include the patch. Here we go.
--
Andrew Hesford
[EMAIL PROTECTED]
--- programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig Tue May 29 17:51:29
2001
+++ programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c Thu Jun 7 00:12:25
+2001
@@ -2006,9 +2006,10 @@
if (I810_DEBUG & DEBUG_VERBOSE_DRI)
ErrorF("\n\nENTER VT\n");
+/*********BUGGY*********************
if (! I810BindGARTMemory(pScrn))
return FALSE;
-
+***********************************/
#ifdef XF86DRI
if (pI810->directRenderingEnabled) {
if (I810_DEBUG & DEBUG_VERBOSE_DRI)
@@ -2047,9 +2048,10 @@
}
I810Restore(pScrn);
+/*********BUGGY***********************
if (! I810UnbindGARTMemory(pScrn))
return;
-
+*************************************/
vgaHWLock(hwp);
}