OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
dawnshade
dawnshade at mail.ru
Sat May 20 00:45:43 PDT 2006
On Saturday 20 May 2006 01:26, Jeff Cross wrote:
> 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
did you installed graphics/dri?
I am running 6.1-STABLE at i915 chipset, for me all worked fine:
dawnshade at dawnshade-note [ttyp1] ~ glxinfo | grep rendering
direct rendering: Yes
dawnshade at dawnshade-note [ttyp1] ~ pkg_info |grep dri
dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI
More information about the freebsd-questions
mailing list