Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 16:26:00 -0500
From:      Jeff Cross <jeff.cross@averageadmins.com>
To:        Michael Nottebrock <lofi@freebsd.org>
Cc:        Jona Joachim <jona.joachim@gmail.com>, ports@freebsd.org, questions@freebsd.org
Subject:   Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Message-ID:  <446E37E8.8060409@averageadmins.com>
In-Reply-To: <44379651.3000506@freebsd.org>
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> <443755B9.1010500@averageadmins.com> <44379651.3000506@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael Nottebrock wrote:
> Jeff Cross schrieb:
>> 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:
> 
> Oops. Turns out the complete i915 module was only added *after* FreeBSD
> 6.0 release. You'll have to upgrade to 6-STABLE/6.1-RELEASE (to be
> released very soon now) to get it.
> 
>> By the way, glxinfo | grep rendering returns no.  
> 
> Yes, direct rendering won't work without the drm kernel module.
> 
> 
> Cheers,

I have recently upgraded to RELENG_6_1 and am still not able to play
RTCW on my laptop. I do have the i915 module loaded now as well as drm.
 Below is the output from kldstat:
$ kldstat
Id Refs Address    Size     Name
 1   36 0xc0400000 691928   kernel
 2    1 0xc0a92000 5f60     snd_ich.ko
 3    2 0xc0a98000 22b88    sound.ko
 4    1 0xc0abb000 2d48     wlan_wep.ko
 5    1 0xc0abe000 4040     wlan_tkip.ko
 6    1 0xc0ac3000 6da4     wlan_ccmp.ko
 7    1 0xc0aca000 1b88     wlan_xauth.ko
 8    1 0xc0acc000 2cf4     wlan_acl.ko
 9    1 0xc0acf000 fa20     if_ath.ko
10    3 0xc0adf000 3015c    ath_hal.ko
11    2 0xc0b10000 3fbc     ath_rate.ko
12    1 0xc0b14000 4ae8     atapicam.ko
13    2 0xc0b19000 c7fc     netgraph.ko
14    1 0xc0b26000 77e4     ng_ubt.ko
15    1 0xc0b2e000 5858     vkbd.ko
16    1 0xc0b34000 58554    acpi.ko
17    1 0xc47ee000 16000    linux.ko
18    1 0xc4f3f000 5000     i915.ko
19    1 0xc4f44000 e000     drm.ko

glxinfo still shows no direct rendering:

$ glxinfo | grep rendering
direct rendering: No


glxgears still runs at around 300fps average...  It still craps on
itself when trying to launch the window.  X goes crazy for a second and
then I am returned back to this:

]$ wolfsp
Wolf 1.41 linux-i386 Dec  4 2002
----- FS_Startup -----
Current search path:
/home/cross/.wolf/main
/usr/local/share/rtcw/main/sp_pak3.pk3 (14 files)
/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

----------------------
6363 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

Is there anything else I can try or should I get over running games on
my laptop with a makeshift video card?

agp0: <Intel 8285xM (85xGM GMCH) SVGA controller> port 0xeff0-0xeff7 mem
0xd8000000-0xdfffffff,0xe0380000-0xe03fffff irq 16 at device 2.0 on pci0

Thanks,

Jeff Cross
www.averageadmins.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446E37E8.8060409>