Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 11:46:32 +0400
From:      dawnshade <dawnshade@mail.ru>
To:        freebsd-ports@freebsd.org
Cc:        Jona Joachim <jona.joachim@gmail.com>, ports@freebsd.org, questions@freebsd.org, Jeff Cross <jeff.cross@averageadmins.com>, Michael Nottebrock <lofi@freebsd.org>
Subject:   Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]
Message-ID:  <200605201146.33687.dawnshade@mail.ru>
In-Reply-To: <446E37E8.8060409@averageadmins.com>
References:  <4435E812.2080008@averageadmins.com> <44379651.3000506@freebsd.org> <446E37E8.8060409@averageadmins.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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. =A0Here 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. =A0
> >
> > 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.
> =A0Below is the output from kldstat:
> $ kldstat
> Id Refs Address =A0 =A0Size =A0 =A0 Name
> =A01 =A0 36 0xc0400000 691928 =A0 kernel
> =A02 =A0 =A01 0xc0a92000 5f60 =A0 =A0 snd_ich.ko
> =A03 =A0 =A02 0xc0a98000 22b88 =A0 =A0sound.ko
> =A04 =A0 =A01 0xc0abb000 2d48 =A0 =A0 wlan_wep.ko
> =A05 =A0 =A01 0xc0abe000 4040 =A0 =A0 wlan_tkip.ko
> =A06 =A0 =A01 0xc0ac3000 6da4 =A0 =A0 wlan_ccmp.ko
> =A07 =A0 =A01 0xc0aca000 1b88 =A0 =A0 wlan_xauth.ko
> =A08 =A0 =A01 0xc0acc000 2cf4 =A0 =A0 wlan_acl.ko
> =A09 =A0 =A01 0xc0acf000 fa20 =A0 =A0 if_ath.ko
> 10 =A0 =A03 0xc0adf000 3015c =A0 =A0ath_hal.ko
> 11 =A0 =A02 0xc0b10000 3fbc =A0 =A0 ath_rate.ko
> 12 =A0 =A01 0xc0b14000 4ae8 =A0 =A0 atapicam.ko
> 13 =A0 =A02 0xc0b19000 c7fc =A0 =A0 netgraph.ko
> 14 =A0 =A01 0xc0b26000 77e4 =A0 =A0 ng_ubt.ko
> 15 =A0 =A01 0xc0b2e000 5858 =A0 =A0 vkbd.ko
> 16 =A0 =A01 0xc0b34000 58554 =A0 =A0acpi.ko
> 17 =A0 =A01 0xc47ee000 16000 =A0 =A0linux.ko
> 18 =A0 =A01 0xc4f3f000 5000 =A0 =A0 i915.ko
> 19 =A0 =A01 0xc4f44000 e000 =A0 =A0 drm.ko
>
> glxinfo still shows no direct rendering:
>
> $ glxinfo | grep rendering
> direct rendering: No
>
>
> glxgears still runs at around 300fps average... =A0It still craps on
> itself when trying to launch the window. =A0X goes crazy for a second and
> then I am returned back to this:
>
> ]$ wolfsp
> Wolf 1.41 linux-i386 Dec =A04 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
>
>
> ***********************************************************
> =A0You are using software Mesa (no hardware acceleration)!
> =A0Driver DLL used: libGL.so.1
> =A0If this is intentional, add
> =A0 =A0 =A0 =A0"+set r_allowSoftwareGL 1"
> =A0to 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@dawnshade-note [ttyp1] ~ glxinfo | grep rendering
direct rendering: Yes
dawnshade@dawnshade-note [ttyp1] ~ pkg_info |grep dri
dri-6.4.1,2         OpenGL hardware acceleration drivers for the DRI





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