Date: Fri, 07 Apr 2006 15:38:53 -0500 From: Jeff Cross <jeff.cross@averageadmins.com> To: questions@freebsd.org Cc: ports@freebsd.org Subject: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port] Message-ID: <4436CDDD.5050002@averageadmins.com> In-Reply-To: <4435E812.2080008@averageadmins.com> References: <4435E812.2080008@averageadmins.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel 8285xM (85xGM GMCH) SVGA controller> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4436CDDD.5050002>