Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: nvidia driver 310.xx or newer

  1. #11
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,146
    You should try. It doesn't cost much.
    Just create a compatibility/debug context and give it a try.
    Compatibility profile should support all you have mentioned.

    In the meantime, could you check whether your GL rendering context is valid and current at the moment crash happens.

  2. #12
    Junior Member Regular Contributor
    Join Date
    Feb 2007
    Location
    Hungary
    Posts
    168
    Thanks for all the tips. I finally had enough of insisting on older driver versions. Windows automatically updated my driver to 311 and I had to uninstall it every time I switched on. In the end I found out that the fault was mine. Sometimes the application tried to update a uniform that did not exist for the shader currently selected. Previous driver versions tolerated this, >=310.xx do not. It was much more difficult to find than to fix, so thankfully it is alright now. Thanks once again.

  3. #13
    Senior Member OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,201
    Quote Originally Posted by aronsatie View Post
    Thanks for all the tips. I finally had enough of insisting on older driver versions. Windows automatically updated my driver to 311 and I had to uninstall it every time I switched on. In the end I found out that the fault was mine. Sometimes the application tried to update a uniform that did not exist for the shader currently selected. Previous driver versions tolerated this, >=310.xx do not. It was much more difficult to find than to fix, so thankfully it is alright now. Thanks once again.
    This is actually a driver bug; it shouldn't crash, it should just set an error: http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml

    If location is a value other than
    -1 and it does not represent a valid uniform variable location
    in the current program object, an error will be generated, and
    no changes will be made to the uniform variable storage of the
    current program object. If location is
    equal to -1, the data passed in will be silently ignored and the
    specified uniform variable will not be changed.

  4. #14
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,128
    Windows automatically updated my driver to 311 and I had to uninstall it every time I switched on.
    Ehm, yeah ... O_O

    Or, you could switch to manual updates (i.e. be notified but install yourself) and just don't give a damn about what Windows tells you (don't know about Win8 though). You can also hide the update so it won't show up.

  5. #15
    Junior Member Regular Contributor
    Join Date
    Feb 2007
    Location
    Hungary
    Posts
    168
    Which is what I did in the end. Still not much fun, particularly when you have to ask your customers as well to switch off windows update.

  6. #16
    Junior Member Regular Contributor
    Join Date
    Feb 2007
    Location
    Hungary
    Posts
    168
    Quote Originally Posted by mhagain View Post
    This is actually a driver bug; it shouldn't crash, it should just set an error: http://www.opengl.org/sdk/docs/man/xhtml/glUniform.xml
    Thanks, good to know. It would be interesting to know how something like handling an error can vanish from one driver version to the next.

  7. #17
    Senior Member OpenGL Pro
    Join Date
    Apr 2010
    Location
    Germany
    Posts
    1,128
    to switch off windows update.
    But you don't. You just move away from automatic updates.

  8. #18
    Senior Member OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,201
    Quote Originally Posted by thokra View Post
    But you don't. You just move away from automatic updates.
    It's still something you can't tell customers to do. Customers hate being told to do this kind of thing - they may have their own requirements to have automatic updates enabled, and now your program has just conflicted with those requirements. So you've potentially lost a sale. Telling customers to switch off automatic updates is an overly-simplistic non-solution.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •