From owner-freebsd-bugs@FreeBSD.ORG Sun Feb 24 22:00:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A4BC16A402 for ; Sun, 24 Feb 2008 22:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 670DD13C442 for ; Sun, 24 Feb 2008 22:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1OM05lw067877 for ; Sun, 24 Feb 2008 22:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1OM052I067865; Sun, 24 Feb 2008 22:00:05 GMT (envelope-from gnats) Date: Sun, 24 Feb 2008 22:00:05 GMT Message-Id: <200802242200.m1OM052I067865@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Dominic Fandrey Cc: Subject: [patch] Re: kern/120978: [dri] intel i915.ko does not create /dev/dri with 965GM X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dominic Fandrey List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 22:00:05 -0000 The following reply was made to PR kern/120978; it has been noted by GNATS. From: Dominic Fandrey To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de Cc: Subject: [patch] Re: kern/120978: [dri] intel i915.ko does not create /dev/dri with 965GM Date: Sun, 24 Feb 2008 22:59:01 +0100 I got it working. Ioquake3 and glxgears both work now. Changes were necessary in drm and in the dri port. Those are the required patches: diff -u sys/dev/drm/drm_pciids.h.orig sys/dev/drm/drm_pciids.h --- sys/dev/drm/drm_pciids.h.orig 2008-02-24 21:30:07.000000000 +0100 +++ sys/dev/drm/drm_pciids.h 2008-02-24 21:31:34.000000000 +0100 @@ -293,6 +293,7 @@ {0x8086, 0x2982, 0, "Intel i965G"}, \ {0x8086, 0x2992, 0, "Intel i965Q"}, \ {0x8086, 0x29A2, 0, "Intel i965G"}, \ + {0x8086, 0x2A02, 0, "Intel i965GM"}, \ {0, 0, 0, NULL} #define imagine_PCI_IDS \ diff -Pur graphics/dri.orig/Makefile graphics/dri/Makefile --- graphics/dri.orig/Makefile 2008-02-24 22:42:28.000000000 +0100 +++ graphics/dri/Makefile 2008-02-24 22:38:29.000000000 +0100 @@ -42,6 +42,7 @@ ${INSTALL_PROGRAM} ${WRKSRC}/lib/tdfx_dri.so ${DRIMODDIR} .elif ${ARCH} == amd64 ${INSTALL_PROGRAM} ${WRKSRC}/lib/i915_dri.so ${DRIMODDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/lib/i965_dri.so ${DRIMODDIR} .endif ${INSTALL_PROGRAM} ${WRKSRC}/lib/mach64_dri.so ${DRIMODDIR} ${INSTALL_PROGRAM} ${WRKSRC}/lib/mga_dri.so ${DRIMODDIR} diff -Pur graphics/dri.orig/pkg-plist graphics/dri/pkg-plist --- graphics/dri.orig/pkg-plist 2008-02-24 22:42:28.000000000 +0100 +++ graphics/dri/pkg-plist 2008-02-24 22:43:42.000000000 +0100 @@ -1,5 +1,6 @@ %%I386%%lib/dri/i810_dri.so %%I386_AMD64%%lib/dri/i915_dri.so +%%I386_AMD64%%lib/dri/i965_dri.so %%I386%%lib/dri/i965_dri.so lib/dri/mach64_dri.so lib/dri/mga_dri.so