Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quake3 and OpenGL (w/ Mesa <- No good)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
chris4amd
n00b
n00b


Joined: 26 Nov 2002
Posts: 74
Location: Pencey Prep. (with the phonies)

PostPosted: Thu May 08, 2003 4:52 am    Post subject: Quake3 and OpenGL (w/ Mesa <- No good) Reply with quote

When I go to run quake3, this is the output I get.

Code:
cberg@seraphim cberg $ quake3
Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/home/cberg/.q3a/baseq3
/opt/quake3/baseq3/pak8.pk3 (9 files)
/opt/quake3/baseq3/pak7.pk3 (4 files)
/opt/quake3/baseq3/pak6.pk3 (64 files)
/opt/quake3/baseq3/pak5.pk3 (7 files)
/opt/quake3/baseq3/pak4.pk3 (272 files)
/opt/quake3/baseq3/pak3.pk3 (4 files)
/opt/quake3/baseq3/pak2.pk3 (148 files)
/opt/quake3/baseq3/pak1.pk3 (26 files)
/opt/quake3/baseq3/pak0.pk3 (3539 files)
/opt/quake3/baseq3
./quake3.x86/baseq3
 
----------------------
4073 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
 
------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.1
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
cberg@seraphim cberg $ quake3
Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/home/cberg/.q3a/baseq3
/opt/quake3/baseq3/pak8.pk3 (9 files)
/opt/quake3/baseq3/pak7.pk3 (4 files)
/opt/quake3/baseq3/pak6.pk3 (64 files)
/opt/quake3/baseq3/pak5.pk3 (7 files)
/opt/quake3/baseq3/pak4.pk3 (272 files)
/opt/quake3/baseq3/pak3.pk3 (4 files)
/opt/quake3/baseq3/pak2.pk3 (148 files)
/opt/quake3/baseq3/pak1.pk3 (26 files)
/opt/quake3/baseq3/pak0.pk3 (3539 files)
/opt/quake3/baseq3
./quake3.x86/baseq3
 
----------------------
4073 files in pk3 files
execing default.cfg
couldn't exec q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok
 
------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.1
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 ran quake3 fine under Windows on this same laptop...but now without luck. It does have hardware openGL support. I also have GLX uncommented in my XF86Config.

I am not sure where to go from here, but I hope that you guys can point me in the right direction.

TIA
Back to top
View user's profile Send private message
zypher
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 416
Location: Cologne, ger.

PostPosted: Thu May 08, 2003 5:23 am    Post subject: Reply with quote

Could you post a bit more of your hardware specs?
And did you try the setting "+set r_allowsoftwaregl 1"? (though I would not recommend it)
_________________
linux user 65882
Back to top
View user's profile Send private message
chris4amd
n00b
n00b


Joined: 26 Nov 2002
Posts: 74
Location: Pencey Prep. (with the phonies)

PostPosted: Thu May 08, 2003 5:43 am    Post subject: Reply with quote

zypher wrote:
Could you post a bit more of your hardware specs?
And did you try the setting "+set r_allowsoftwaregl 1"? (though I would not recommend it)


Sure. P4 2.4 Ghz, 512 MB Ram, Desknote system. Uses onboard video, etc. 64 Available MB Video Ram. I had no problem with hardware supported OpenGL previously.

I tried setting the above flag, with the expected results of software GL. Hideously slow. Not playable. I couldn't really even navigate the menu @ 1024 x 768.

Any ideas?

C
Back to top
View user's profile Send private message
zypher
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 416
Location: Cologne, ger.

PostPosted: Thu May 08, 2003 4:58 pm    Post subject: Reply with quote

I dunno anything about a desknote system.
What kind of graphics chip is that onboard card?
Do you have accelerated X?
Start an xterm and have a look at the output of glxinfo and glxgears.
_________________
linux user 65882
Back to top
View user's profile Send private message
dermot
Tux's lil' helper
Tux's lil' helper


Joined: 28 Mar 2003
Posts: 108
Location: Dublin, Ireland

PostPosted: Fri May 09, 2003 1:43 pm    Post subject: Reply with quote

Type
Code:
glxinfo | grep Direct
and see if Direct Rendering is on or off. I'd be willing to bet that it's off, in which case you need to do a bit of reading about DRI/DRM. There are plenty of threads on this forum about that subject, so I'd start with them.
_________________
Dermot

I bought some rock star ashes from the back of Rolling Stone
I don't think he would've minded - he couldn't sell his soul
Back to top
View user's profile Send private message
chris4amd
n00b
n00b


Joined: 26 Nov 2002
Posts: 74
Location: Pencey Prep. (with the phonies)

PostPosted: Sun May 11, 2003 1:13 am    Post subject: Reply with quote

dermot wrote:
Type
Code:
glxinfo | grep Direct
and see if Direct Rendering is on or off. I'd be willing to bet that it's off, in which case you need to do a bit of reading about DRI/DRM. There are plenty of threads on this forum about that subject, so I'd start with them.


Good call.

Here is my output from glxinfo.

Code:

name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
 
   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x22 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 None


As you can see direct rendering is off. I will look more into this. Thanks for your help. If you have any additional ideas, I'd be an eager audience for them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum