Re: [XFree86] All annoying error in I830WaitLpRing() in some details

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 09, 2003 at 03:47:22PM +0200, Egbert Eich wrote:
> Nicolas Joly writes:
>  > * NoAccel			... ok
>  > * Accel				... KO
>  > * Accel + SWcursor + 4Mo	... KO
>  > * Accel + NeedRingBufferLow	... KO
>  > 
>  > For the "NoAccel" case, i successfully switched about 20 times to the
>  > 4 text consoles and went back to X without any problem. But still no
>  > luck with acceleration enabled.
> 
> 'NeedRingBufferLow' is a variable in the source code, not an option.
> Did you take this into account?

I recompiled/installed the i810 driver with the following modifiation:

Index: i830_driver.c
===================================================================
RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/i810/i830_driver.c,v
retrieving revision 1.39
diff -u -r1.39 i830_driver.c
--- i830_driver.c       8 Oct 2003 15:48:40 -0000       1.39
+++ i830_driver.c       9 Oct 2003 13:53:43 -0000
@@ -1769,7 +1769,8 @@
       pI830->CursorNeedsPhysical = FALSE;
 
    /* Force ring buffer to be in low memory for the 845G. */
-   if (IS_845G(pI830) || IS_I85X(pI830) || IS_I865G(pI830))
+   /* HACK: temporary enable NeedRingBufferLow
+   if (IS_845G(pI830) || IS_I85X(pI830) || IS_I865G(pI830)) */
       pI830->NeedRingBufferLow = TRUE;

> The idea of this variable is to place the ring buffer into the
> stolen (ie. permanently allocated) memory.  When VT switching the
> agp memory will get unmapped. Therefore other physical pages may get
> mapped later. The LpRing doesn't seem to like this.
> Have you tried to do Accel+NeedRingBufferLow+SWcursor? This should
> move all things that may cause problems out of the danger zone.

I just made the test, but it doesn't work either.

> Also please disable DRI!

I do not have DRI under NetBSD.

-- 
Nicolas Joly

Biological Software and Databanks.
Pasteur Institute, Paris.
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux