Hello,
I just checked out Mesa-cvs, built it (make linux-dri-x86),
than copied the r200_dri.so to
the /usr/X11R6/lib/modules/dri directory and tried:
> glxinfo
name of display: :0.0
DISPATCH ERROR! _glapi_add_dispatch failed to add glAreTexturesResident!
DISPATCH ERROR! _glapi_add_dispatch failed to add glGenTextures!
DISPATCH ERROR! _glapi_add_dispatch failed to add glIsTexture!
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
...
so I tried to run glxgears
> glxgears
DISPATCH ERROR! _glapi_add_dispatch failed to add glAreTexturesResident!
DISPATCH ERROR! _glapi_add_dispatch failed to add glGenTextures!
DISPATCH ERROR! _glapi_add_dispatch failed to add glIsTexture!
but it showed the well known gears, as it should. So no problem.
Now I tried to run quake3 and due to some other issue it exited with
signal 11 (it didnt find the data-files)
And since I haven't played q3a for some time I didn't remember that I have
to start this version with full path to make it find the data files and thought
the problem might be with with my old libGL.
So I installed the libGL.so I just built from mesa sources.
After that the 3 DISPATCH ERROR!s were gone when running glxinfo/glxgears.
But when running quake3 (which works quite well) and then quitting, i get this:
----- CL_Shutdown -----
RE_Shutdown( 1 )
X Error of failed request: GLXBadContextTag
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 35
Current serial number in output stream: 35
after that the terminal is screwed, reset fixes this.
This didn't happen with the "old" libGL.so.
So I tried ut2003_demo, and (maybe after quitting) I got this:
ut2003_demo
fcntl: Operation not permitted
fcntl: Operation not permitted
Xlib: extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".
X Error of failed request: GLXBadContextTag
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 43
Current serial number in output stream: 43
X Error of failed request: GLXBadContextTag
Major opcode of failed request: 143 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 45
Current serial number in output stream: 45
Backtrace:
[ 1] ./Core.so [0x40a0b78a]
[ 2] [0x40017420]
[ 3] /lib/tls/libc.so.6(malloc+0x94) [0x40c04344]
[ 4] /lib/tls/libc.so.6(backtrace_symbols+0xe4) [0x40c69494]
[ 5] ./Core.so [0x40a0b79a]
[ 6] [0x40017420]
[ 7] ./Core.so(IsValid__7UObject+0x117) [0x409de8ab]
[ 8] ./Core.so(_._7UObject+0x50) [0x409def40]
[ 9] ./Core.so [0x40a02610]
[10] ./Core.so [0x40a088c1]
[11] ./Core.so [0x40986ee4]
[12] ./Core.so [0x40a2cc29]
[13] /lib/ld-linux.so.2 [0x4000d5a5]
[14] /lib/tls/libc.so.6(exit+0x60) [0x40bca270]
[15] /usr/X11R6/lib/libX11.so.6(_XDefaultError+0x2da) [0x40ceddea]
[16] ./libSDL-1.2.so.0 [0x4006bd50]
[17] /usr/X11R6/lib/libX11.so.6(_XError+0xd1) [0x40cee291]
[18] /usr/X11R6/lib/libX11.so.6(_XReply+0x203) [0x40cefde3]
[19] /usr/X11R6/lib/libGL.so.1 [0x432529df]
[20] /usr/X11R6/lib/libGL.so.1(glXMakeCurrentReadSGI+0xec) [0x43252b5e]
[21] /usr/X11R6/lib/libGL.so.1(glXMakeCurrent+0x16) [0x43252d64]
[22] ./libSDL-1.2.so.0(X11_GL_Shutdown+0x38) [0x40068c38]
[23] ./libSDL-1.2.so.0 [0x4006c5b2]
[24] ./libSDL-1.2.so.0 [0x4006dccc]
[25] ./libSDL-1.2.so.0(SDL_VideoQuit+0x51) [0x400638f1]
[26] ./libSDL-1.2.so.0(SDL_QuitSubSystem+0x8b) [0x400446b7]
[27] /home/as/ut2003_demo/System/SDLDrv.so [0x43166d50]
[28] /lib/tls/libc.so.6(exit+0x60) [0x40bca270]
[29] /usr/X11R6/lib/libX11.so.6(_XDefaultError+0x2da) [0x40ceddea]
[30] ./libSDL-1.2.so.0 [0x4006bd50]
[31] /usr/X11R6/lib/libX11.so.6(_XError+0xd1) [0x40cee291]
[32] /usr/X11R6/lib/libX11.so.6(_XReply+0x203) [0x40cefde3]
[33] /usr/X11R6/lib/libGL.so.1 [0x432529df]
[34] /usr/X11R6/lib/libGL.so.1(glXMakeCurrentReadSGI+0xec) [0x43252b5e]
[35] /usr/X11R6/lib/libGL.so.1(glXMakeCurrent+0x16) [0x43252d64]
[36] ./libSDL-1.2.so.0(X11_GL_Shutdown+0x38) [0x40068c38]
[37] ./libSDL-1.2.so.0 [0x4006c5b2]
[38] ./libSDL-1.2.so.0 [0x4006dccc]
[39] ./libSDL-1.2.so.0(SDL_VideoQuit+0x51) [0x400638f1]
[40] ./libSDL-1.2.so.0(SDL_QuitSubSystem+0x8b) [0x400446b7]
[41] /home/as/ut2003_demo/System/SDLDrv.so(Destroy__10USDLClient+0x6c)
[0x431671d4]
[42] ./Core.so(ConditionalDestroy__7UObject+0x3e) [0x409dedbe]
[43] ./Core.so(PurgeGarbage__7UObject+0x116) [0x409f1c7a]
[44] ./Core.so(StaticExit__7UObject+0x1c8) [0x409e4c80]
[45] ./Core.so(appPreExit__Fv+0x4b) [0x409d9813]
[46] ./ut2003-bin(main+0x33b9) [0x8058c59]
[47] /lib/tls/libc.so.6(__libc_start_main+0xe0) [0x40bb5500]
[48] ./ut2003-bin(GetFullName__C7UObjectPw+0x7d) [0x80512d1]
Signal: SIGTERM [terminate]
Aborting.
I had to kill the ut2003_demo-bin process from another virtual terminal because
it hung.
Than I had to xrandr -s 0 to fix the screen resolution.
When starting quake3 with indirect rendering, this problem doesn't exist.
export LIBGL_ALWAYS_INDIRECT=1
quake3 +set r_allowSoftwareGL 1
Do I need some newer glproto package?
Or do I really need to update to the modularised Xorg?
any hints?
from Xorg.0.log:
X Window System Version 6.8.99.903 (6.9.0 RC 3)
Release Date: 03 December 2005 + cvs
Build Date: 21 December 2005
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
compiled for 6.8.99.903, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
compiled for 6.8.99.903, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension GLX
please cc: me, since I'm not on the list.
best regards,
Andreas Stenglein
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev