LWJGL
May 23, 2012, 03:07:48 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: NVidia 285.62 driver problems  (Read 1251 times)
jouvieje
Newbie
*
Posts: 12


« on: November 11, 2011, 08:58:22 »

I've upgraded my nvidia driver to 285.62 on a GTX 260 (Windows 7 x64) and now I have everthing broken. The first opengl error I see is an invalid operation on glVertexAttribPointer with a GL_FLOAT type.

I use a 3.3 forward compatible context attribs with core profile (tried without and give same error).

Reverting to the previous driver (275.33) everything gone fine again.
Does anyone have upgraded their nvidia driver to 285.62 and see any troubles ?
Logged
spasi
Nerdus Imperius
*****
Posts: 643



WWW
« Reply #1 on: November 11, 2011, 09:21:49 »

Try a debug context, it might print relevant info.
Logged

jouvieje
Newbie
*
Posts: 12


« Reply #2 on: November 13, 2011, 03:47:18 »

I'm using lwjgl-debug jar (2.8.2 #1434), and I have tried with a debug context.
No error before the invalid operation on glVertexAttribPointer (same with GL20.glVertexAttribPointer and ARBVertexProgram.glVertexAttribPointerARB).

With a null context (ie 2.x), the same code works fine (and it used to works fine too with the previous nvidia driver with opengl 3.x).

Anyone with an nvidia card and using 3.x ?
Logged
Fool Running
Nerdus Imperius
*****
Posts: 648


« Reply #3 on: November 14, 2011, 05:41:02 »

Is it possible that you are getting that error because of the following (taken from the OpenGL spec):
Quote
Client vertex arrays - all vertex array attribute pointers must refer to buffer
objects (section 2.9.2). The default vertex array object (the name zero) is
also deprecated. Calling VertexAttribPointer when no buffer object or no
vertex array object is bound will generate an INVALID OPERATION error,
as will calling any array drawing command when no vertex array object is
bound
I mean is it possible that NVidia is now enforcing the spec where it wasn't before?
Logged

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option Grin
jouvieje
Newbie
*
Posts: 12


« Reply #4 on: November 14, 2011, 06:09:36 »

Hum, seems we must exclusively use vao + vbo with 3.x.
Thanks for pointing me out this, I'll go read the spec about that.

So seems you're right, the new driver enforce the specs. Good in a way Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!