I’ve just gotten JOGL working on an IBook loaded with Gentoo and IBM’s 1.4.1 JDK. (It’s for their power series but it works just fine on a G3 processor) Could this be a supported platform for JOGL? It seems that there are a few places in the build for linux that are tailored specifically for i386 and Sun’s JDK. I don’t think it would take too much to seperate that out and allow other JDK’s/Linux platforms.
There is no reason specifically why it shouldn’t compile and run - though I question your sanity for soiling a perfectly good iBook with Gentoo ;D
I’ve already gotten it to compile and run successfully. The biggest issue was finding a 1.4 JDK for PPC/Linux. I’m just wondering if we can integrate the necessary changes into “official” build. It seems that a lot of the build is geared toward Sun’s JDK on the Linux platform. (the JDK I was using is from IBM) The reason we’re using Linux on the ibooks is we’re developing a PPC based Linux device and the ibooks have similar specs to our final platform, though I haven’t played too much with OS X so I can’t really make any comparisons.
The “device” sound interesting. Can you say anything more about it?
If you post or email me the build changes you’re interested in seeing I’ll look at integrating them.
Unfortunately, no I can’t go into any more details about the project. The build changes I made were just hacks to get it to work. I’ll try to find a better way to integrate the necessary changes. Ken, can you please send me your email address. (schneidt@msoe.edu) I also have some multiheaded linux fixes that I would love to have integrated with the core JOGL. They’ve been emailed to someone from Sun, but we haven’t heard anything back yet.
Thanks,
Tom
Can you please post your diffs to JOGL to the forum or as proposed patch in Issuezilla?
Multiheaded Linux fixes sound really interesting, and this is what I planned to check nearest days.
Yuri
Yuri’s suggestion to post the patch on the JOGL issues page sounds good. I received your multihead fix but haven’t had a chance to review it yet. I think the way we will probably end up fixing this is not to put a GraphicsConfiguration inside the GLCapabilities, but instead to fabricate a GraphicsConfiguration inside the GLDrawableFactory whicih is compatible with the chosen GLCapabilities; my understanding is that this is how Java3D handled it.
I’ve submitted my multiheaded fix as Issue 45 on the main jogl website. I’m sorry it took so long, but I’ve been somewhat busy at work lately. I still haven’t gotten a chance to go through the build to figure out the necessary changes for PPC. (although I think most of the issues are about IBM vs. Sun JDK layout) Ken, the GLCapabilities was the first place I thought of to pass in the GraphicsConfiguration, if you have a better way to pass the information in, then go for it. My efforts were mainly in the X11GLContext and figuring out what screen to use. (always using 0 was not an option for us) Having the source is such a good thing when you run into issues like these.
Tom
I’ve posted the necessary build changes to build JOGL with IBM’s 1.4.1 JDK on x86. (which incidentally are almost identical to the PPC version) It is Issue 46 if anyone is interested.
Tom
Hi,
Yes, I can confirm that patch provided with Issue #45 makes JOGL working with multiheaded configs under Linux. Tested under Linux RH9 with 4 and 8 heads configured.
Yuri
8 heads!?!? You’re really serious about testing aren’t you. ;D Since I can’t edit Issue 46, the correct string for Linux/PPC/IBM JDK is lowercase “ppc” in the StructLayout.java. (I’m not even sure why this check is done since all the platforms default to the same layout)
Actually, I have 10 heads on this machine: 2xNVidia Quattro4 NVS400 + 2 onboard GeF4.
Yuri