Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-23 Thread Peter Jeremy
On Mon, 2006-May-22 16:35:28 -0500, Jeff Cross wrote:
Is there anyway I can apply the DRM updates w/o upgrading my system to
6-STABLE?

One approach is to maintain your own CVS repo (via CTM or CVSup) and
then you can easily change the tags on different parts of the tree:
You do a 'cvs co -rRELENG_6_1' and then 'cvs co -rRELENG_6' in
/usr/src/sys/dev/drm.

  I would really like to maintain my system with freebsd-update
and not have to compile every time a security update comes out.

Running FreeBSD update means you must run a stock system with no local mods.

  I run
FreeBSD on my laptop and compile times can run a little long.

Let it compile overnight.

-- 
Peter Jeremy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-22 Thread Jeff Cross
Eric Anholt wrote:
 On Fri, 2006-05-19 at 16:26 -0500, 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:
 
 RELENG_6_1 is a security branch, so my update to the DRM in RELENG_6
 won't ever be merged there.  Use RELENG_6 instead.
 
Is there anyway I can apply the DRM updates w/o upgrading my system to
6-STABLE?  I would really like to maintain my system with freebsd-update
and not have to compile every time a security update comes out.  I run
FreeBSD on my laptop and compile times can run a little long.

Suggestions?  Suck it up and compile?! :)

Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-22 Thread Michael Nottebrock
Jeff Cross schrieb:

 Is there anyway I can apply the DRM updates w/o upgrading my system to
 6-STABLE?  I would really like to maintain my system with freebsd-update
 and not have to compile every time a security update comes out.  I run
 FreeBSD on my laptop and compile times can run a little long.
 
 Suggestions?  Suck it up and compile?! :)

Or wait for 6.2 ... although of course nobody can tell for sure that
your hardware will be actually supported by then. One thing you could
try is get a very current Linux LiveCD distribution (like Knoppix,
Kanotix or the Kororaa Xgl Live CD) and check if 3d acceleration seems
to work there. If it does not, there's probably no point in updating or
trying to make a patch against RELENG_6_1, since the codebase is the
mostly the same in Linux and FreeBSD.


Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-21 Thread Eric Anholt
On Fri, 2006-05-19 at 16:26 -0500, 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:

RELENG_6_1 is a security branch, so my update to the DRM in RELENG_6
won't ever be merged there.  Use RELENG_6 instead.

-- 
Eric Anholt [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-20 Thread dawnshade
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 0xc040 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 0xc0b1 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
 0xd800-0xdfff,0xe038-0xe03f 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:

[EMAIL PROTECTED] [ttyp1] ~ glxinfo | grep rendering
direct rendering: Yes
[EMAIL PROTECTED] [ttyp1] ~ pkg_info |grep dri
dri-6.4.1,2 OpenGL hardware acceleration drivers for the DRI


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-05-19 Thread Jeff Cross
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 AddressSize Name
 1   36 0xc040 691928   kernel
 21 0xc0a92000 5f60 snd_ich.ko
 32 0xc0a98000 22b88sound.ko
 41 0xc0abb000 2d48 wlan_wep.ko
 51 0xc0abe000 4040 wlan_tkip.ko
 61 0xc0ac3000 6da4 wlan_ccmp.ko
 71 0xc0aca000 1b88 wlan_xauth.ko
 81 0xc0acc000 2cf4 wlan_acl.ko
 91 0xc0acf000 fa20 if_ath.ko
103 0xc0adf000 3015cath_hal.ko
112 0xc0b1 3fbc ath_rate.ko
121 0xc0b14000 4ae8 atapicam.ko
132 0xc0b19000 c7fc netgraph.ko
141 0xc0b26000 77e4 ng_ubt.ko
151 0xc0b2e000 5858 vkbd.ko
161 0xc0b34000 58554acpi.ko
171 0xc47ee000 16000linux.ko
181 0xc4f3f000 5000 i915.ko
191 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
0xd800-0xdfff,0xe038-0xe03f irq 16 at device 2.0 on pci0

Thanks,

Jeff Cross
www.averageadmins.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-08 Thread Jeff Cross
Jona Joachim wrote:
 Michael Nottebrock wrote:
 Jeff Cross schrieb:

 I did have glx and dri but I added the DRI section to my
 configuration.  Adding the section ans restarting X did not seem to work.

 I also did not have the i915.o kernel module on my system.  How might I
 go about getting/compiling that to see if ti may help?
 cd /usr/src/modules/drm
 make obj  make depend  make  make install

 One thing I forgot in my last mail: Also make sure you have the
 graphics/dri port installed.

 Also, if I don't have GLX support, why does glxgears run?
 It runs using the fallback software renderer (which is slow and doesn't
 support many features).
 
 
 To know whether hardware acceleration is available or not you can type
 glxinfo | grep rendering
 It should say direct rendering: Yes if everything works right.
 You should check out http://people.freebsd.org/~anholt/dri/index.html
 Perhaps you will need graphics/linux_dri as the game runs under the
 Linux compatibility layer but I don't know. I have an NVidia graphics
 card so I'm a bit spoiled :) RTCW as well as Enemy Territory run just
 fine here.
 
 Jona
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 

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:

$ locate i915
/usr/X11R6/lib/modules/dri/i915_dri.so
/usr/local/include/drm/i915_drm.h
/usr/src/sys/dev/drm/i915_dma.c
/usr/src/sys/dev/drm/i915_drm.h
/usr/src/sys/dev/drm/i915_drv.c
/usr/src/sys/dev/drm/i915_drv.h
/usr/src/sys/dev/drm/i915_irq.c
/usr/src/sys/dev/drm/i915_mem.c

By the way, glxinfo | grep rendering returns no.  I also loaded the
graphics/dri port and graphics/linux_dri is already installed.

Any other suggestions?  Thanks in advance!

Jeff Cross
www.averageadmins.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-08 Thread Michael Nottebrock
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,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-08 Thread Jeff Cross
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,
Okay.  I guess I'll wait for the official 6.1 release.  Thanks for
everyone's assistance!  I'll holler back after the release if this needs
to be revisited.

Thanks again!

Jeff Cross
www.averageadmins.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-07 Thread Jeff Cross
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 0xd800-0xdfff,0xe038-0xe03f 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
 
 [EMAIL PROTECTED] /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.
 

Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-07 Thread Michael Nottebrock
Jeff Cross schrieb:

 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.
 ***

 [...]

 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.

You seem to not have direct rendering / GLX enabled. I'm not sure if
that is supported on your particular chipset, but it's nevertheless
worth a try, since pretty much all games assume/require
hardware-accelerated 3d graphics to be working in order to run properly.

Make sure you have

Load glx
Load dri

in Section Module in your xorg.conf as well as

Section DRI
Mode0666
EndSection

Also make sure you have the i915 drm kernel module available (is
available in FreeBSD 6.0 and newer, should be in /boot/kernel/i915.o)
and loaded (check with kldstat, try manually loading it before starting
X if it doesn't get autoloaded).


Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-07 Thread Jeff Cross
Michael Nottebrock wrote:
 Jeff Cross schrieb:
 
 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.
 ***
 
 [...]
 
 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.
 
 You seem to not have direct rendering / GLX enabled. I'm not sure if
 that is supported on your particular chipset, but it's nevertheless
 worth a try, since pretty much all games assume/require
 hardware-accelerated 3d graphics to be working in order to run properly.
 
 Make sure you have
 
 Load glx
 Load dri
 
 in Section Module in your xorg.conf as well as
 
 Section DRI
 Mode0666
 EndSection
 
 Also make sure you have the i915 drm kernel module available (is
 available in FreeBSD 6.0 and newer, should be in /boot/kernel/i915.o)
 and loaded (check with kldstat, try manually loading it before starting
 X if it doesn't get autoloaded).
 
 
 Cheers,

I did have glx and dri but I added the DRI section to my
configuration.  Adding the section ans restarting X did not seem to work.

I also did not have the i915.o kernel module on my system.  How might I
go about getting/compiling that to see if ti may help?

Also, if I don't have GLX support, why does glxgears run?

Jeff Cross
www.averageadmins.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-07 Thread Michael Nottebrock
Jeff Cross schrieb:

 I did have glx and dri but I added the DRI section to my
 configuration.  Adding the section ans restarting X did not seem to work.
 
 I also did not have the i915.o kernel module on my system.  How might I
 go about getting/compiling that to see if ti may help?

cd /usr/src/modules/drm
make obj  make depend  make  make install

One thing I forgot in my last mail: Also make sure you have the
graphics/dri port installed.

 Also, if I don't have GLX support, why does glxgears run?

It runs using the fallback software renderer (which is slow and doesn't
support many features).


Cheers,
-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-07 Thread Eric Anholt
On Sat, 2006-04-08 at 00:12 +0200, Michael Nottebrock wrote:
 Jeff Cross schrieb:
 
  I did have glx and dri but I added the DRI section to my
  configuration.  Adding the section ans restarting X did not seem to work.
  
  I also did not have the i915.o kernel module on my system.  How might I
  go about getting/compiling that to see if ti may help?
 
 cd /usr/src/modules/drm
 make obj  make depend  make  make install
 
 One thing I forgot in my last mail: Also make sure you have the
 graphics/dri port installed.

Since he's trying to run RTCW, linux_dri.

  Also, if I don't have GLX support, why does glxgears run?
 
 It runs using the fallback software renderer (which is slow and doesn't
 support many features).

At least my libGL doesn't have a fallback software renderer, and relies
on the server providing GLX.

-- 
Eric Anholt [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part


Re: OpenGL and Intel Graphics [WAS: Cake and Eat it Too: RTCW Port]

2006-04-07 Thread Michael Nottebrock
Eric Anholt schrieb:

 At least my libGL doesn't have a fallback software renderer, and relies
 on the server providing GLX.

I lose for bad terminology. It runs using indirect rendering.

-- 
   ,_,   | Michael Nottebrock   | [EMAIL PROTECTED]
 (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



signature.asc
Description: OpenPGP digital signature