Login  Register

Instability with nvidia 260 drivers?

Posted by ariekenb on Oct 17, 2010; 10:47pm
URL: https://forum.jogamp.org/Instability-with-nvidia-260-drivers-tp1721802.html

I've been using JOGL 1.1.1a on Ubuntu for some time and setting sun.java2d.opengl=True to improve performance for applications using GLJPanel.  Everything has been working smoothly until I updated to Ubuntu 10.10 which includes the new Nvidia driver version 260.19.06 (Ubuntu 10.04 used 195.36.15, which worked great).

With Ubuntu 10.10 and the Nvidia 260.19.06 and sun.java2d.opengl=True I see the following problems:

1. Nothing is visibly drawn in GLJPanels.
2. If I turn on jogl.debug I get this warning: X11ExternalGLDrawable: WARNING: forcing GLX_RGBA_TYPE for newly created contexts.
3. X often crashes with a segmentation fault when the java application exits:

Backtrace:
[   770.382] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a0fa8]
[   770.382] 1: /usr/bin/X (0x400000+0x60fcd) [0x460fcd]
[   770.382] 2: /lib/libpthread.so.0 (0x7f7d47901000+0xfb40) [0x7f7d47910b40]
[   770.382] 3: /usr/lib/xorg/extra-modules/nvidia_drv.so (0x7f7d42279000+0x3a3a7c) [0x7f7d4261ca7c]
[   770.382] 4: /usr/bin/X (FreeClientResources+0xef) [0x44bc5f]
[   770.382] 5: /usr/bin/X (CloseDownClient+0x5c) [0x427c0c]
[   770.382] 6: /usr/bin/X (0x400000+0x2c3a6) [0x42c3a6]
[   770.382] 7: /usr/bin/X (0x400000+0x2184b) [0x42184b]
[   770.382] 8: /lib/libc.so.6 (__libc_start_main+0xfe) [0x7f7d4686cd8e]
[   770.382] 9: /usr/bin/X (0x400000+0x213d9) [0x4213d9]
[   770.382] Segmentation fault at address (nil)


With Nvidia 260.19.06 and sun.java2d.opengl=false, I see things being drawn correctly in GLJPanels.  However I still often see the X segmentation fault when the java application exits (#3 above).


Ubuntu 10.10 also gives me the option to install version 173.14.28 of the Nvidia drivers.  Using this version, things work perfectly with sun.java2d.opengl=True or sun.java2d.opengl=false.  I do not see any warning from X11ExternalGLDrawable.


So it appears I have a workaround for the moment in using older Nvidia 173.14.28 drivers, but I am a bit nervous that things are broken with the newer drivers.  Has anyone else seen problems with Nvidia 260.xx drivers?