ports/87160: [UPDATE] fix xorg-server and bump PORTREVISION
Ying-Chieh Chen
yinjieh at csie.nctu.edu.tw
Sun Oct 9 11:00:29 UTC 2005
>Number: 87160
>Category: ports
>Synopsis: [UPDATE] fix xorg-server and bump PORTREVISION
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 09 11:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Ying-Chieh Chen
>Release: FreeBSD 6.0-BETA4 amd64
>Organization:
MANA lab, CCU CS
>Environment:
System: FreeBSD amd64.yinjieh.org 6.0-BETA4 FreeBSD 6.0-BETA4 #0: Sat Oct 1 07:23:35 UTC 2005 root@:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
XOrg hangs with GeForce 6200 and 6600.
According to https://bugs.freedesktop.org/show_bug.cgi?id=3333 ,
there is a patch to fix this problem.
Bump PORTREVISION.
Please commit this patch, thanks!
>How-To-Repeat:
Use a GeForce 6200 or 6600 VGA and startx.
>Fix:
--- xorg-server.patch begins here ---
diff -ruN /usr/ports/x11-servers/xorg-server/Makefile xorg-server/Makefile
--- /usr/ports/x11-servers/xorg-server/Makefile Sun Sep 18 16:34:24 2005
+++ xorg-server/Makefile Sun Oct 9 18:48:20 2005
@@ -7,7 +7,7 @@
PORTNAME= xorg-server
PORTVERSION= 6.8.2
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src
diff -ruN /usr/ports/x11-servers/xorg-server/files/patch-nv_hw.c xorg-server/files/patch-nv_hw.c
--- /usr/ports/x11-servers/xorg-server/files/patch-nv_hw.c Thu Jan 1 00:00:00 1970
+++ xorg-server/files/patch-nv_hw.c Sun Oct 9 18:33:28 2005
@@ -0,0 +1,22 @@
+--- programs/Xserver/hw/xfree86/drivers/nv/nv_hw.c.orig Sat Oct 8 20:13:06 2005
++++ programs/Xserver/hw/xfree86/drivers/nv/nv_hw.c Sat Oct 8 20:14:53 2005
+@@ -915,7 +915,7 @@
+ RIVA_HW_STATE *state
+ )
+ {
+- int i;
++ int i, j;
+
+ pNv->PMC[0x0140/4] = 0x00000000;
+ pNv->PMC[0x0200/4] = 0xFFFF00FF;
+@@ -1162,6 +1162,10 @@
+ pNv->PGRAPH[0x008C/4] = 0x60de8051;
+ pNv->PGRAPH[0x0090/4] = 0x00008000;
+ pNv->PGRAPH[0x0610/4] = 0x00be3c5f;
++
++ j = pNv->REGS[0x1540/4] & 0xff;
++ for(i = 0; !(j & 1); j >>= 1, i++);
++ pNv->PGRAPH[0x5000/4] = i;
+
+ if((pNv->Chipset & 0xfff0) == 0x0040) {
+ pNv->PGRAPH[0x09b0/4] = 0x83280fff;
--- xorg-server.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list