Solaris Sparc builds

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Solaris Sparc builds

Joerg
Hi there,
are there builds for Solaris Sparc scheduled in near future? Sorry, but I can't find any information about this topic here.
What is the latest build available for Sparc and where to get it?

Thanks and greets,
Joerg
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

gouessej
Administrator
Hi

You may have to build it yourself, I don't find any build for Sparc. Sven, please can you confirm?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Joerg
Okay, I've build gluegen and jogl 2.0-rc9 on my Sparc successfully.

But running a simple example failed due to MachineDescription incompatibility. See output below:

Caused by: java.lang.RuntimeException: Incompatible MachineDescriptions:
 Static MachineDescriptionStatic: X86_32_UNIX(1): MachineDescription: runtimeValidated false, littleEndian true, 32Bit true, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 4
  float   4 / 4, double  8 / 4, ldouble 12 / 4
  pointer 4 / 4, page    4096
 Runtime MachineDescription: runtimeValidated true, littleEndian false, 32Bit true, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 8
  pointer 4 / 4, page    8192

Any suggestions? Seems, that MachineDescriptions doesn't support Sparc architecture?
Regards,
Joerg
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

gouessej
Administrator
You're probably right. I have no machine with such a microprocessor but I think you have identified a possible root cause. Please try to modify the machine descriptor and maybe provide a patch. I already fixed some bugs "blindly" (without being able to reproduce it because I didn't have access to a given OS), I won't be able to do that once again.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Joerg
I've hacked the MachineDescription for my CPU in and it seems to be working. Due to corporate restrictions I'm unable to use git on the Sun (and I'm not familiar with it, either..).
So how to send the patch? There are only two files modified, can I send you these files via mail and you do the patching?
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Joerg
I look around whether to find here a Sun with a Sparcv9 CPU...
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

gouessej
Administrator
In reply to this post by Joerg
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Sven Gothel
Administrator
On 07/19/2012 01:39 PM, gouessej [via jogamp] wrote:
> You can send it to Sven:
> http://jogamp.org/wiki/index.php/Maintainer_and_Contacts

Received files :)

@Joerg: Please make a unified patch of the files from the project root folder,
i.e.

cd jogl
diff -Nur `find . -name MachineDescription.java` >> my_patch.diff
diff -Nur `find . -name MachineDescriptionRuntime.java` >> my_patch.diff

Pls attach that patch file to a reply to this forum .. in public.
Thank you.

Have you passed all (or most) unit tests (GlueGen and JOGL) ?

~Sven


signature.asc (910 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Joerg
The only way I can create patches is using Netbeans under Windows. Hope they will work for you.

MachineDescription.patch
MachineDescriptionRuntime.patch

GlueGen unit test succeeded, JOGL causes my X server to crash (using Exceed14 under Windows and sshed to Solaris).

Regards, Joerg
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Wade Walker
Administrator
Does Exceed even support OpenGL 2+? Last time I looked, it seemed like it was OpenGL 1.4-level support. You might check with the glxinfo to see what level support it has.
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Joerg
Not sure about this. xglxinfo gives a version string 'GLX EXTENSION', which points to version 1.4. This might be the needed information.

Despite the crashing JOGL unit tests, there is no problem for me (at least so far...)
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Wade Walker
Administrator
You should look for GL_VERSION in the output, for example:

GL_VERSION: 2.1 Mesa 7.5
GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_draw_buffers...
GL_RENDERER: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
GL_VENDOR: Tungsten Graphics, Inc
GLU_VERSION: 1.3

This will tell you if your Exceed supports OpenGL 2.0+, which I think is necessary to create a context with JOGL.
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Joerg
There is no glxinfo on my Solaris box (5.10). The only suitable thing is 'ogl_install_check', which has similar output and reports:
OpenGL API Standard Version 1.4
OpenGL GLX Client Vendor: Sun Microsystems, Inc
OpenGL GLX Client version 1.4 Sun OpenGL
OpenGL GLX Server Vendor: OpenText
OpenGL GLX Server version 1.4

According to a data sheet publishied by OpenText, the Exceed 3D add-on supports only 1.4. It is sufficient for my needs - which may be quite low - but I can visualize my stuff.
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

Wade Walker
Administrator
Hey, if JOGL is working for you, that's good!  I just didn't think JOGL would work properly without a 2.0+ version of OpenGL available.
Reply | Threaded
Open this post in threaded view
|

Re: Solaris Sparc builds

gouessej
Administrator
Wade Walker wrote
I just didn't think JOGL would work properly without a 2.0+ version of OpenGL available.
Wade, several people including me still use JOGL 2.0 with OpenGL 1.3, it is not new.
Julien Gouesse | Personal blog | Website