From owner-freebsd-questions@FreeBSD.ORG Fri Apr 7 20:38:56 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E559F16A403; Fri, 7 Apr 2006 20:38:56 +0000 (UTC) (envelope-from jeff.cross@averageadmins.com) Received: from S1.cableone.net (s1.cableone.net [24.116.0.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A36943D6B; Fri, 7 Apr 2006 20:38:56 +0000 (GMT) (envelope-from jeff.cross@averageadmins.com) Received: from [172.16.0.102] (unverified [24.117.52.220]) by S1.cableone.net (CableOne SMTP Service S1) with ESMTP id 53405021 for multiple; Fri, 07 Apr 2006 13:39:29 -0700 Message-ID: <4436CDDD.5050002@averageadmins.com> Date: Fri, 07 Apr 2006 15:38:53 -0500 From: Jeff Cross User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: questions@freebsd.org References: <4435E812.2080008@averageadmins.com> In-Reply-To: <4435E812.2080008@averageadmins.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 0, First 10, in=7, 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 Subject: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Apr 2006 20:38:57 -0000 Jeff Cross wrote: > I got brave today and attempted to install RTCW on my laptop. I was > weary at first due to the fact that my laptop uses an Intel graphics > chip (agp0: port > 0xeff0-0xeff7 mem 0xd8000000-0xdfffffff,0xe0380000-0xe03fffff irq 16 at > device 2.0 on pci0). > > I installed the port this evening and when attempting to run RTCW, I am > returned the following output: > > $ wolfsp > Wolf 1.41 linux-i386 Dec 4 2002 > ----- FS_Startup ----- > Current search path: > /home/cross/.wolf/main > /usr/local/share/rtcw/main/sp_pak2.pk3 (232 files) > /usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files) > /usr/local/share/rtcw/main/pak0.pk3 (4775 files) > /usr/local/share/rtcw/main > > ---------------------- > 6349 files in pk3 files > execing default.cfg > couldn't exec language.cfg > couldn't exec wolfconfig.cfg > couldn't exec autoexec.cfg > Hunk_Clear: reset the hunk ok > Bypassing CD checks > ----- Client Initialization ----- > Cmd_AddCommand: map_restart already defined > ----- Initializing Renderer ---- > ------------------------------- > ----- Client Initialization Complete ----- > ----- R_Init ----- > ...loading libGL.so.1: Initializing OpenGL display > ...setting mode 3: 640 480 > Using XFree86-VidModeExtension Version 2.2 > XF86DGA Mouse (Version 2.0) initialized > XFree86-VidModeExtension Activated at 1024x768 > Using 4/4/4 Color bits, 16 depth, 0 stencil display. > GL_RENDERER: Mesa GLX Indirect > > > *********************************************************** > You are using software Mesa (no hardware acceleration)! > Driver DLL used: libGL.so.1 > If this is intentional, add > "+set r_allowSoftwareGL 1" > to the command line when starting the game. > *********************************************************** > ...WARNING: could not set the given mode (3) > ----- CL_Shutdown ----- > RE_Shutdown( 1 ) > ----------------------- > ----- CL_Shutdown ----- > ----------------------- > Sys_Error: GLimp_Init() - could not load OpenGL subsystem > > I then tried the "+set r_allowSoftwareGL 1" option: > > $ wolfsp "+set r_allowSoftwareGL 1" > Wolf 1.41 linux-i386 Dec 4 2002 > ----- FS_Startup ----- > Current search path: > /home/cross/.wolf/main > /usr/local/share/rtcw/main/sp_pak2.pk3 (232 files) > /usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files) > /usr/local/share/rtcw/main/pak0.pk3 (4775 files) > /usr/local/share/rtcw/main > > ---------------------- > 6349 files in pk3 files > execing default.cfg > couldn't exec language.cfg > couldn't exec wolfconfig.cfg > couldn't exec autoexec.cfg > Hunk_Clear: reset the hunk ok > Bypassing CD checks > ----- Client Initialization ----- > Cmd_AddCommand: map_restart already defined > ----- Initializing Renderer ---- > ------------------------------- > ----- Client Initialization Complete ----- > ----- R_Init ----- > ...loading libGL.so.1: Initializing OpenGL display > ...setting mode 3: 640 480 > Using XFree86-VidModeExtension Version 2.2 > XF86DGA Mouse (Version 2.0) initialized > XFree86-VidModeExtension Activated at 1024x768 > Using 4/4/4 Color bits, 16 depth, 0 stencil display. > GL_RENDERER: Mesa GLX Indirect > > > *********************************************************** > You are using software Mesa (no hardware acceleration)! > Driver DLL used: libGL.so.1 > If this is intentional, add > "+set r_allowSoftwareGL 1" > to the command line when starting the game. > *********************************************************** > ...WARNING: could not set the given mode (3) > ----- CL_Shutdown ----- > RE_Shutdown( 1 ) > ----------------------- > ----- CL_Shutdown ----- > ----------------------- > Sys_Error: GLimp_Init() - could not load OpenGL subsystem > > [cross@xtop /usr/home/cross]$ wolfsp "+set r_allowSoftwareGL 1" > Wolf 1.41 linux-i386 Dec 4 2002 > ----- FS_Startup ----- > Current search path: > /home/cross/.wolf/main > /usr/local/share/rtcw/main/sp_pak2.pk3 (232 files) > /usr/local/share/rtcw/main/sp_pak1.pk3 (1342 files) > /usr/local/share/rtcw/main/pak0.pk3 (4775 files) > /usr/local/share/rtcw/main > > ---------------------- > 6349 files in pk3 files > execing default.cfg > couldn't exec language.cfg > couldn't exec wolfconfig.cfg > couldn't exec autoexec.cfg > Hunk_Clear: reset the hunk ok > Bypassing CD checks > ----- Client Initialization ----- > Cmd_AddCommand: map_restart already defined > ----- Initializing Renderer ---- > ------------------------------- > ----- Client Initialization Complete ----- > ----- R_Init ----- > ...loading libGL.so.1: Initializing OpenGL display > ...setting mode 3: 640 480 > Using XFree86-VidModeExtension Version 2.2 > XF86DGA Mouse (Version 2.0) initialized > XFree86-VidModeExtension Activated at 1024x768 > Using 4/4/4 Color bits, 16 depth, 0 stencil display. > GL_RENDERER: Mesa GLX Indirect > > > *********************************************************** > You are using software Mesa (no hardware acceleration)! > Driver DLL used: libGL.so.1 > If this is intentional, add > "+set r_allowSoftwareGL 1" > to the command line when starting the game. > *********************************************************** > ...WARNING: could not set the given mode (3) > ----- CL_Shutdown ----- > RE_Shutdown( 1 ) > ----------------------- > ----- CL_Shutdown ----- > ----------------------- > Sys_Error: GLimp_Init() - could not load OpenGL subsystem > > Does anyone have any ideas on how I might be able to play this great > game on my laptop?! Obviously upgrading the video care (and the laptop) > are out of the question. I *love* using FreeBSD and just thought I > might be able to due some "old school" gaming on it as well. > > If this doesn't work, I may just have to settle for xmahjongg! :) > > Jeff Cross > www.averageadmins.com > _______________________________________________ > 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" > > > Does anyone know if it is possible to run OpenGL game graphics on an Intel based chipset? When I run glxgears it runs like a champ, returning anywhere from 450-500 fps. So, is it possible to tell RTCW to run in a window instead of full screen? Would I run into the same problems trying to run Quake3? Any assistance in troubleshooting this is greatly appreciated. Jeff Cross www.averageadmins.com