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".
