Re: [Cooker] Re: Mesa / XFree 4attn: Guillaume Cottenceau

2000-07-16 Thread Peter Ruskin

At last - a Cooker kernel patched for agpgart!

For all you cookers out there with Matrox AGP cards, this is what I would
do:
1.  Uninstall all your cooker Mesa rpms, except the demos (the latest ones
 require glide, which is no use for a Matrox owner) 
2.  Point your browser at http://utah-glx.sourceforge.net and download
glxMesa-2328-1.i586.rpm and the gart module README
3.  Get kernel-source-2.2.17-0.9mdk.i586.rpm from Cooker, together with 
 -headers, -doc and -utils
4.  Use XFree86-3.3.6-16mdk.i586.rpm - 4.0 is no use
5.  Install glxMesa
4.  Build kernel, enabling AGP support with the appropriate chipset under
"Character devices"
5.  `mknod /dev/agpgart c 10 175` to make /dev/agpgart
6.  Add this to /etc/rc.d/rc.local, to load agpgart at start-up:
# load 3DFX module
action "Loading AGPGART module" insmod agpgart
7.  Add this to your XF86Config:
Section "Module"
# This loads the 3DFX module
   Load "glx.so"
EndSection
8.  Reboot, with fingers crossed.

I did this and most of the Mesa demos work (200+ frames per second with
gears) - see attached GLtest.  I don't do Quake, but it's reported to work.

On Tue, 04 Jul 2000, Mike & Tracy Holt wrote:
> Hello Guillaume,
> O.k., I've printed the userguide that you pointed me to
> (http://dri.sourceforge.net/DRIuserguide.html) and as I read through, I'm
> starting to see a few problems already.
> 
> 1)  It says that for the Matrox G400 card I should be using kernel 2.3.51
> with AGP support; I'm currently using 2.2.17-0.4mdk, is that sufficiently
> back-ported?
> 
-- 

--
 Peter Ruskin  <[EMAIL PROTECTED]>
 Wrexham, UK  KDE - the professionals' choice
--


$ ./bounce
@@Created GLX Context..

$ ./clearspd 
Mode:  RGB
SwapBuffers: no
Size: 400 x 400
Buffers: color
@@Created GLX Context..
Rate: 51200 clears in 5.38s = 9516.73 clears/s   1522676579 pixels/s
Rate: 51200 clears in 5.38s = 9516.73 clears/s   1522676579 pixels/s
Rate: 51200 clears in 5.382s = 9513.19 clears/s   1522110739 pixels/s

$ ./drawpix
@@Created GLX Context.. 
GL_VERSION = 1.2 Mesa 3.2 beta 1
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.
Benchmarking...
Result:  120 draws in 4.015000 seconds = 1095870.485679 pixels/sec  

$ ./gamma
@@Created GLX Context..  

$ ./gears
@@Created GLX Context..
1048 frames in 5.003 seconds = 209.474 FPS
1061 frames in 5.001 seconds = 212.158 FPS

$ ./glinfo
@@Created GLX Context..
GL_VERSION: 1.2 Mesa 3.2 beta 1
GL_EXTENSIONS:
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

$ ./glutfx
NOTE: if you've got 3Dfx VooDoo hardware you must run this program as root.
Move the mouse.  Press ESC to exit.
@@Created GLX Context..  

$ ./isosurf
7179 vertices, 7177 triangles
@@Created GLX Context..
Vertex arrays not supported by this renderer
Nr unique vertex/normal pairs: 2723
num_tri_verts: 21531
FOG disable
libGL: Application called unsupported GL API function.
Fix the application!

$ ./morph3d
Morph 3D - Shows morphing platonic polyhedra
Author: Marcelo Fernandes Vianna ([EMAIL PROTECTED])
 
  [1]- Tetrahedron
  [2]- Hexahedron (Cube)
  [3]- Octahedron
  [4]- Dodecahedron
  [5]- Icosahedron
[SPACE]  - Toggle colored faces
[RETURN] - Toggle smooth/flat shading
 [ESC]   - Quit
@@Created GLX Context..

$ ./multiarb
@@Created GLX Context..
Sorry, GL_ARB_multitexture not supported by this renderer.

$ ./osdemo
./osdemo: error in loading shared libraries: ./osdemo: undefined symbol: 
OSMesaCreateContext   

$ ./paltex
@@Created GLX Context..
Sorry, GL_EXT_paletted_texture not supported

$ ./pointblast
@@Created GLX Context..
libGL: Application called unsupported GL API function.
Fix the application!

$ ./reflect
@@Created GLX Context..

$ ./renormal
@@Created GLX Context..

$ ./spectex
Invalid value to GLX_lightmodel_size

Re: [Cooker] Re: Mesa / XFree 4attn: Guillaume Cottenceau

2000-07-04 Thread Guillaume Cottenceau

"Mike & Tracy Holt" <[EMAIL PROTECTED]> writes:

> Hello Guillaume,
> O.k., I've printed the userguide that you pointed me to
> (http://dri.sourceforge.net/DRIuserguide.html) and as I read through, I'm
> starting to see a few problems already.
> 
> 1)  It says that for the Matrox G400 card I should be using kernel 2.3.51
> with AGP support; I'm currently using 2.2.17-0.4mdk, is that sufficiently
> back-ported?

Not a single idea. I suppose it's the agpgart stuff, but I'm a no kernel
guy and can not answer.

(Anyway, you'll see in the logs of the start of your X server)

> 2)  Quake 3 for Linux has been out now for quite some time, how was it done
> on XFree 3.3.x?  Not that this is very important, I'm interested in doing

I don't understand your question.

On XFree-3.3.6 with a Voodoo3 on a k6-2/300 here I get 20/25 fps. I
suppose the Mesa accelerated is for 3dfx-1 (max for 3dfx-2, but I think
not for 3dfx-3) ; and also it's not DRI ; so we could get better
performance.

> whatever it takes to get this working in 4.0 (it's faster!); I'm just trying

I heard someplace that it's not always faster with 4.0 ; but could not
test by myself.

> to figure out why I've had such a problem getting this working.

> I'll continue to study this and hopefully get something going within the
> next couple days.

Don't forget to send feedback on how you succeeded, on the list! :-)

-- 
Guillaume Cottenceau




[Cooker] Re: Mesa / XFree 4attn: Guillaume Cottenceau

2000-07-03 Thread Mike & Tracy Holt

Hello Guillaume,
O.k., I've printed the userguide that you pointed me to
(http://dri.sourceforge.net/DRIuserguide.html) and as I read through, I'm
starting to see a few problems already.

1)  It says that for the Matrox G400 card I should be using kernel 2.3.51
with AGP support; I'm currently using 2.2.17-0.4mdk, is that sufficiently
back-ported?

2)  Quake 3 for Linux has been out now for quite some time, how was it done
on XFree 3.3.x?  Not that this is very important, I'm interested in doing
whatever it takes to get this working in 4.0 (it's faster!); I'm just trying
to figure out why I've had such a problem getting this working.

I'll continue to study this and hopefully get something going within the
next couple days.

Thanks for you help, Mike