From owner-freebsd-ports@FreeBSD.ORG Sat Apr 8 06:18:39 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB64316A402; Sat, 8 Apr 2006 06:18:39 +0000 (UTC) (envelope-from jeff.cross@averageadmins.com) Received: from S3.cableone.net (s3.cableone.net [24.116.0.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18E1343D49; Sat, 8 Apr 2006 06:18:36 +0000 (GMT) (envelope-from jeff.cross@averageadmins.com) Received: from [172.16.0.102] (unverified [24.117.52.220]) by S3.cableone.net (CableOne SMTP Service S3) with ESMTP id 53345842 for multiple; Sat, 08 Apr 2006 00:00:12 -0700 Message-ID: <443755B9.1010500@averageadmins.com> Date: Sat, 08 Apr 2006 01:18:33 -0500 From: Jeff Cross User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: Jona Joachim References: <4435E812.2080008@averageadmins.com> <4436CDDD.5050002@averageadmins.com> <4436D3C7.5070707@freebsd.org> <4436DEB9.6020303@averageadmins.com> <4436E3D6.4030102@freebsd.org> <4436E994.2090401@gmail.com> In-Reply-To: <4436E994.2090401@gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IP-stats: Incoming Last 1, First 18, in=21, out=0, spam=0 X-External-IP: 24.117.52.220 X-Abuse-Info: Send abuse complaints to abuse@cableone.net Cc: ports@freebsd.org, questions@freebsd.org Subject: Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 06:18:39 -0000 Jona Joachim wrote: > Michael Nottebrock wrote: >> Jeff Cross schrieb: >> >>> I did have "glx" and "dri" but I added the DRI section to my >>> configuration. Adding the section ans restarting X did not seem to work. >>> >>> I also did not have the i915.o kernel module on my system. How might I >>> go about getting/compiling that to see if ti may help? >> cd /usr/src/modules/drm >> make obj && make depend && make && make install >> >> One thing I forgot in my last mail: Also make sure you have the >> graphics/dri port installed. >> >>> Also, if I don't have GLX support, why does glxgears run? >> It runs using the fallback software renderer (which is slow and doesn't >> support many features). > > > To know whether hardware acceleration is available or not you can type > glxinfo | grep rendering > It should say "direct rendering: Yes" if everything works right. > You should check out http://people.freebsd.org/~anholt/dri/index.html > Perhaps you will need graphics/linux_dri as the game runs under the > Linux compatibility layer but I don't know. I have an NVidia graphics > card so I'm a bit spoiled :) RTCW as well as Enemy Territory run just > fine here. > > Jona > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > > I ran the "make" commands you specified but still do not have a i915.o file on my system. Here is what I have related to i915: $ locate i915 /usr/X11R6/lib/modules/dri/i915_dri.so /usr/local/include/drm/i915_drm.h /usr/src/sys/dev/drm/i915_dma.c /usr/src/sys/dev/drm/i915_drm.h /usr/src/sys/dev/drm/i915_drv.c /usr/src/sys/dev/drm/i915_drv.h /usr/src/sys/dev/drm/i915_irq.c /usr/src/sys/dev/drm/i915_mem.c By the way, glxinfo | grep rendering returns no. I also loaded the graphics/dri port and graphics/linux_dri is already installed. Any other suggestions? Thanks in advance! Jeff Cross www.averageadmins.com