---------- Forwarded Message ----------
Subject: Re: [utah-glx-users] Utah-GLX Patch for 2.2.15
Date: Sat, 10 Jun 2000 23:29:59 +0100
From: Peter Ruskin <[EMAIL PROTECTED]>
I finally got GLX working again on my Mandrake 7.0-2 -> 7.1
box. I downloaded 2.2.16-1mdk kernel, did
`rm -f /usr/src/linux/include/linux/agpgart.h' then sucessfully
applied the Utah `/usr/local/glx/newagp/agpgart-2.2.13.patch'
patch. Here are the results for my PentiumIIMMX-400 box
with 380MB RAM and Matrox G400-32MB card. I'm quite
impressed!
#*********************************************
[/usr/local/glx/mesa/demos]# ./bounce # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./clearspd # works fine
For options: clearspd -help
Mode: RGB
SwapBuffers: no
Size: 400 x 400
Buffers: color
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
Rate: 25600 clears in 2.741s = 9339.66 clears/s 1494345129 pixels/s
Rate: 25600 clears in 2.701s = 9477.97 clears/s 1516475379 pixels/s
Rate: 25600 clears in 2.705s = 9463.96 clears/s 1514232902 pixels/s
#*********************************************
[/usr/local/glx/mesa/demos]# ./drawpix # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
Loaded 194 by 188 image
Keys:
SPACE Reset Parameters
Up/Down Move image up/down
Left/Right Move image left/right
x Decrease X-axis PixelZoom
X Increase X-axis PixelZoom
y Decrease Y-axis PixelZoom
Y Increase Y-axis PixelZoom
w Decrease glDrawPixels width*
W Increase glDrawPixels width*
h Decrease glDrawPixels height*
H Increase glDrawPixels height*
p Decrease GL_UNPACK_SKIP_PIXELS*
P Increase GL_UNPACK_SKIP_PIXELS*
r Decrease GL_UNPACK_SKIP_ROWS*
R Increase GL_UNPACK_SKIP_ROWS*
s Toggle GL_SCISSOR_TEST
f Toggle front/back buffer drawing
b Benchmark test
ESC Exit
* Warning: no limits are imposed on these parameters so it's
possible to cause a segfault if you go too far.
#*********************************************
[/usr/local/glx/mesa/demos]# ./gamma # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./gears # works fine
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
3185 frames in 5 seconds = 637 FPS
3280 frames in 5 seconds = 656 FPS
3282 frames in 5 seconds = 656.4 FPS
#*********************************************
[/usr/local/glx/mesa/demos]# ./glinfo
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
GL_VERSION: 1.2 Mesa 3.2 beta 1
GL_EXTENSIONS: GL_EXT_blend_color GL_EXT_paletted_texture GL_EXT_polygon_offset
GL_EXT_vertex_array GL_EXT_texture_object GL_EXT_texture3D GL_MESA_window_pos
GL_MESA_resize_buffers GL_EXT_rescale_normal GL_EXT_abgr GL_SGIS_texture_edge_clamp
GL_EXT_stencil_wrap GL_ARB_multitexture GL_NV_texgen_reflection GL_PGI_misc_hints
GL_EXT_compiled_vertex_array GL_EXT_clip_volume_hint GL_EXT_texture_env_add
GL_RENDERER: GLX-MGA-G400
GL_VENDOR: Utah GLX
GLU_VERSION: 1.2 Mesa 3.2 beta 1
GLU_EXTENSIONS: GL_EXT_abgr
GLUT_API_VERSION: 3
GLUT_XLIB_IMPLEMENTATION: 15
#*********************************************
[/usr/local/glx/mesa/demos]# ./gloss # works fine
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
670 frames in 5.006 seconds = 133.839 FPS
703 frames in 5.001 seconds = 140.572 FPS
701 frames in 5.002 seconds = 140.144 FPS
#*********************************************
[/usr/local/glx/mesa/demos]# ./glutfx # nothing appeared on
# screen and the xconsole froze at "try to open /usr/X11R6/lib/modules/glx.so:"
# Hitting [Esc] reveales the following text ...
NOTE: if you've got 3Dfx VooDoo hardware you must run this program as root.
Move the mouse. Press ESC to exit.
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
GLDestroyContext
deleted local context
Nr direct contexts remaining: 0
Unloading glx.so
deleted context on server
Segmentation fault (core dumped)
#*********************************************
[/usr/local/glx/mesa/demos]# ./isosurf # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
Nr unique vertex/normal pairs: 2723
num_tri_verts: 21531
FOG disable
#*********************************************
[/usr/local/glx/mesa/demos]# ./morph3d # wow
Morph 3D - Shows morphing platonic polyhedra
Author: Marcelo Fernandes Vianna ([EMAIL PROTECTED])
[1] - Tetrahedron
[RETURN] - Toggle smooth/flat shading
[ESC] - Quit
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./multiarb # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./osdemo
./osdemo: error in loading shared libraries:
./osdemo: undefined symbol: OSMesaCreateContext
#*********************************************
[/usr/local/glx/mesa/demos]# ./paltex # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./pointblast # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./reflect # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./renormal # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./spectex # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./stex3d # window
# appears (transparent) briefly, then dies.
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
creating 3d textures...
setting up 3d texture...
finished setting up 3d texture image...
Segmentation fault (core dumped)
#*********************************************
[/usr/local/glx/mesa/demos]# ./tessdemo # transparent
# window appears ... nothing ... right-click produces menu ...
# if I hit [Esc] then, the window expires OK; if I select the menu,
# no response to [Esc] but the window's close button works OK.
Press middle mouse button when done.
Select tesselate from the pop-up menu.
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./texcyl # works fine
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
[/usr/local/glx/mesa/demos]# ./texobj # works fine
sending isdirect request
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
GLDestroyContext
deleted local context
Nr direct contexts remaining: 0
Unloading glx.so
deleted context on server
Segmentation fault (core dumped)
#*********************************************
[/usr/local/glx/mesa/demos]# ./trispd # works fine
For options: ./trispd -help
sending isdirect request
isdirect succeeded
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
Dither: on
ShadeModel: smooth
DepthTest: off
Size: 50 pixels
RedBits: 8 GreenBits: 8 BlueBits: 8
Rate: 3115008 tri in 3.71s = 839625 tri/s 41981239 pixels/s
Rate: 3115008 tri in 3.714s = 838721 tri/s 41936025 pixels/s
Rate: 3115008 tri in 3.713s = 838946 tri/s 41947320 pixels/s
#*********************************************
[/usr/local/glx/mesa/demos]# ./winpos # window
# appears, capturing screen, then nothing. I've had this
# working very impressively with an older kernel.
sending isdirect request
isdirect succeeded
going direct
got reply mgaGLXClientInit
try to open /usr/X11R6/lib/modules/glx.so:
opened /usr/X11R6/lib/modules/glx.so
found init func
got api pointers
got dispatch table
calling init func:
Sucessfully loaded X11 client symbols
nvisual=32 (0+32)
glx extension init:
Initializing logs
[mga] mgaInitGLX completed
adding direct client:
Creating new client: 1!
Adding client as resource: 68!
finished glxInitDirectClient:
@@Created GLX Context..
Adding drawable 92274689 to glWindows list:
#*********************************************
end of test.
On Sat, 03 Jun 2000, Ralph Giles wrote:
> On Sat, 3 Jun 2000, Peter Ruskin wrote:
>
> > Hi,
> > I was using Utah-GLX successfully on kernel 2.2.13 and 2.2.14. Now I am
> > upgrading the kernel to linux-2.2.15-13mdk from the Mandrake Cooker site
> > and the 2.2.13 patch fails. Your web site only offers links to the 2.2.13
> > patch. Is there a newer one?
>
> The 2.2.13 patch applies works (with some offsets) with stock 2.2.15,
> which is why there's been no update. Did you try 'patch -p1'? Does the
> mandrake kernel already have agpgart included?
>
> -ralph
--
------------------------------------------------------
Peter Ruskin <[EMAIL PROTECTED]>
Wrexham, UK KDE - the professionals' choice
------------------------------------------------------
-------------------------------------------------------
--
------------------------------------------------------
Peter Ruskin <[EMAIL PROTECTED]>
Wrexham, UK KDE - the professionals' choice
------------------------------------------------------