Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2002 18:11:56 -0800 (PST)
From:      Peter KC Lee <peterkclee@mindless.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33504: flickering LCD with i815 chipset using XFree86 4.1.0
Message-ID:  <200201030211.g032BuT19581@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         33504
>Category:       ports
>Synopsis:       flickering LCD with i815 chipset using XFree86 4.1.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 02 18:20:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter KC Lee
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
FreeBSD m1.kclee.2y.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Mon Dec 24 19:59:54
HKT 2001     peter@m1.kclee.2y.net:/usr/src/sys/compile/M  i386
>Description:
I have a Asus M1300 notebook with i815 chipset having flickering LCD problem using XFree86 4.1.0.

>How-To-Repeat:
Get a notebook with i815 chipset with FreeBSD 4.4-RELEASE. XFree86 4.1.0 and the /usr/ports/x11/wrapper port, then use xdm or startx.
The /boot/loader.conf is configured to load the agpgart module as follows:
--------------------------------
userconfig_script_load="YES"
agp_load="YES"
vesa_load="YES"
hw.pcic.intr_path="1"
hw.pcic.irq="0"

>Fix:
Possible fix found in
http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no\&bug=118038
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="i815em-fix.diff"

--- xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c.orig      Mon Oct  1 15:24:07 2001
+++ xc/programs/Xserver/hw/xfree86/drivers/i810/i810_driver.c   Fri Sep 21 18:49:45 2001
@@ -1019,10 +1019,15 @@
 {
    vgaHWPtr hwp;
    I810Ptr pI810;
+   unsigned temp;
 
    hwp = VGAHWPTR(pScrn);
    pI810 = I810PTR(pScrn);
    DoSave(pScrn, &hwp->SavedReg, &pI810->SavedReg, TRUE);
+
+   temp = INREG(MEMMODE);
+   temp |= 4;
+   OUTREG(MEMMODE, temp);
 }

--Dxnq1zWXvFF0Q93v--



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201030211.g032BuT19581>