[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:

> Dan Christensen <jdc@uwo.ca> writes:
>
>> Package: xserver-xfree86
>> Version: 4.3.0.dfsg.1-14
>>
>> (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
>
> 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.

The patch I sent changes the default for all CT chipsets.  The
patch attached to this message only changes the default for the
CT69000, similar to the behaviour of the 044 patch.

> 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.

These comments still apply...

Dan

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

Reply to: