Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  XFree86 4.3 + nvidia + vertexPointer  (Read 680 times)
0 Members and 1 Guest are viewing this topic.
Offline Toast

JGO n00b
*

Posts: 2


Java games rock!


« on: 2003-10-14 19:23:01 »

I recently updated to XFree 4.3 (unofficial debian packages) and now I have a problem with opengl in my application. The first thing I noticed is that I get:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
whenever I start an opengl program (e.g. glxgears). This is a little bit strange because I use the nvidia driver from nvidia, which, to my knowledge, doesn't need DRI. This output is caused by libmesa4 because with libmesa3 I don't get the message. However, opengl programs do definitely use the nvidia driver, so I don't think I have to pay too much attention to that message.

The real problem is that opengl arrays don't work anymore. More precisely I get no output (black window content), but it seems that everything works like before under the hood, because the framerate is the same. In that particual case I'm using glVertexPointer, glTexCoordPointer without lights and glDrawElements with triangle strips. Drawing the same scene with calls to glVertex3f produces the  expected output.
Another thing is that a test for glLoadTransposeMatrixARB now returns false instead of true with XFree 4.2.

Running the same program on my second computer which runs XFree 4.2 has no problems using vertex/tex arrays.

Both computers have (almost) the same setup: TNT2 graphics card, same version of nvidia drivers, kernel 2.6 etc. The only difference is the XFree version.

I doubt that anyone ran into that problem before, but I would like to know if this problem is more likely to be caused by X not working together with the nvidia drivers, or a problem with jogl.

Any hint in whatever direction can be helpful.

TIA Alex
Offline thomaswelsch

JGO n00b
*

Posts: 7


Thanks for all that fish !


« Reply #1 on: 2003-10-15 04:14:40 »

Hi,

DRI is uses by MesaGL,
check for old symbolic links from libGL to libMesa (I think...)

Have a look at the README for the NVIDIA-Driver, this was discussed
there (I think...)

My nvidia-driver has no problems with glgears.

byebye,
 Thomas
Offline Toast

JGO n00b
*

Posts: 2


Java games rock!


« Reply #2 on: 2003-10-15 12:38:17 »

thanks for the tip, problem solved
the symlinks in /usr/lib looked fine, which I had checked
but I also had to move /usr/X11R6/lib/libGL.so.1.2 out of the way

thx, Alex
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.121 seconds with 21 queries.