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

Bug#315315: xserver-xfree86: accel disabled on ct69000



Dan Christensen <jdc@uwo.ca> writes:

> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-14
>
> I upgraded from an old (4.1) version of XFree86 to 4.3.0.dfsg.1-14
> today, and now acceleration is disabled for my chipset by the driver:
>
> (WW) CHIPS(0): Acceleration is disabled by default on C&T 69000 as it has been reported
> to be broken: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=74841
>
> That URL seems to only show one user with a problem, whereas my old
> laptop with that chip has uptimes of over a year.  It might make sense
> to have acceleration disabled by default, but it would be nice if I
> could insist on acceleration by putting
>
>   Option "Accel"
>
> in my config file.  As it is, that machine's poor 300MHz Celeron
> has trouble scrolling xterms, and especially with the visual bell
> (reverse video) in an xterm.

I see that this is a Debian specific patch:

  044_chips_default_to_noaccel_on_69k.diff

Instead of that patch, the attached patch changes the default to be
non-accelerated, but allows the XF86Config-4 file to override this.
This is my first time ever looking at X source code, and the patch
is untested, so please comment.  

If someone tells me what to type in order to build test packages,
I'll do so and report back.

Thanks,

Dan

--- ct_driver.c.orig    2002-11-25 09:04:58.000000000 -0500
+++ ct_driver.c 2005-06-27 13:41:41.000000000 -0400
@@ -1488,7 +1488,7 @@
        }
     }
     if ((cPtr->Flags & ChipsAccelSupport) &&
-       (xf86ReturnOptValBool(cPtr->Options, OPTION_NOACCEL, FALSE))) {
+       (xf86ReturnOptValBool(cPtr->Options, OPTION_NOACCEL, TRUE))) {
        cPtr->Flags &= ~ChipsAccelSupport;
        xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "Acceleration disabled\n");
     }

Reply to: