I'm using Debian unstable, and I have the GLX drivers from NVidia installed (from the nvidia-glx package).
I thought it may be something funky with the libraries, but I can't seem to track down what it may be. [EMAIL PROTECTED]:~$ ls -l /usr/lib/libGL* -rw-r--r-- 1 root root 660 Feb 21 19:01 /usr/lib/libGL.la lrwxrwxrwx 1 root root 17 Mar 8 15:42 /usr/lib/libGL.so.1 -> libGL.so.1.0.5336 -rw-r--r-- 1 root root 364224 Feb 21 19:01 /usr/lib/libGL.so.1.0.5336 lrwxrwxrwx 1 root root 13 Mar 8 15:49 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 lrwxrwxrwx 1 root root 26 Mar 8 15:49 /usr/lib/libGLU.so.1.3 -> ../X11R6/lib/libGLU.so.1.3 lrwxrwxrwx 1 root root 21 Mar 8 15:42 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.5336 -rw-r--r-- 1 root root 4882612 Feb 21 19:01 /usr/lib/libGLcore.so.1.0.5336 [EMAIL PROTECTED]:~$ more /usr/lib/libGL.la # libGL.la - a libtool library file # Generated by Debian nvidia-graphics-drivers (for use by libtool) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libGL.so' # Names of this library. library_names='libGL.so.1.0.5336 libGL.so.1 libGL.so' # Libraries that this one depends upon. dependency_libs=' -L/usr/X11R6/lib -lm -lXext -lX11 -ldl' # Version information for libGL. current=1 age=0 revision=5336 # Is this an already installed library? installed=yes # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/lib' [EMAIL PROTECTED]:~$ I'm not really sure what's going on here, but it looks OK to me. From my looking around, it looks like the debian package is doing funky things to avoid libGL conflicts with the mesa packages. I'm not sure what it's doing (Something about diverting), but I have to trust that it works (no other complaints). I'm also going to check to see if other opengl things are working or not (something I probably should have done earlier...). Bill -----Original Message----- From: Chris Campbell [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 1:29 PM To: Bill Napier Cc: [EMAIL PROTECTED] Subject: Re: [JAVA2D] jdk1.5 and Java2d opengl pipeline renderer Hi Bill, Thanks for the quick reply. Based on the logs you sent, it looks like things should be working okay. The only other thing I can think of is that your libGL.so is pointing to the wrong library. Take a look in /usr/lib and see if there is a symlink called "libGL.so". On most systems, you'll have the following symlink setup in /usr/lib: libGL.so -> libGL.so.1 libGL.so.1 -> libGL.so.x.y.z libGL.so.x.y.z -> libGLcore.x.y.z ... Sometimes, the libGL.so symlink is missing or pointing to the wrong place. Let me know if anything's screwy in this area (perhaps send the output of "ls -l /usr/lib/libGL*"). Oh, and what Linux distro are you using (RedHat, SuSE, etc)? Chris On Mar 16, 2004, at 9:28 AM, Bill Napier wrote: > I've attached the glxinfo and xdpyinfo output. Hopefully the mailing > list won't barf on them... > > [EMAIL PROTECTED]:~$ uname -a > Linux localhost 2.4.24-1-686 #1 Wed Feb 18 21:59:13 EST 2004 i686 > GNU/Linux > napier@ localhost:~$ lspci | grep VGA > 01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 > MX/MX 400] (rev b2) > > I like the improvement for beta2, but I agree that more information on > why it failed would really be nice. > > Bill > > -----Original Message----- > From: Chris Campbell [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 16, 2004 12:20 PM > To: Bill Napier > Cc: [EMAIL PROTECTED] > Subject: Re: [JAVA2D] jdk1.5 and Java2d opengl pipeline renderer > > Hi Bill, > > If you send some more information, I can probably figure out why the > OGL pipeline is not being enabled on your system: > - OS version > - video card model > - output of "glxinfo" > - output of "xdpyinfo" > > I'm going to see if there is a way that we can print out more > information when OGL initialization fails. There are quite a few > possible points of failure, so it would be useful to receive a more > detailed error message. In beta2, things are slightly better in that > it now prints "Cannot enable OpenGL pipeline" instead of printing > nothing, but that's still not very helpful. > > Thanks, > Chris > > On Mar 16, 2004, at 8:26 AM, Bill Napier wrote: >> Anyone have any hints on how to get this running? >> >> I have a system that I thought meets all the requirements listed here >> (http://java.sun.com/j2se/1.5.0/docs/guide/2d/new_features.html#ogl), >> but when I start my programs with the "-Dsun.java2d.opengl=true" >> option, >> I don't get the "Using OpenGL pipeline" message that I expect. >> >> Any ideas on how to debug this problem? My guess is that something is >> not setup on my system to allow Java to use the OpenGL stuff, but I >> have >> no idea how to track down what is missing or misconfigured. Any help > >> in >> this area would be appreciated. >> >> Bill Napier >> >> > ======================================================================= >> ==== >> To unsubscribe, send email to [EMAIL PROTECTED] and include in the > >> body >> of the message "signoff JAVA2D-INTEREST". For general help, send >> email to >> [EMAIL PROTECTED] and include in the body of the message "help". > > <glxinfo.output><xdpyinfo.output> =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA2D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".