Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JWS/JOGL test..

0 views
Skip to first unread message

Andrew Thompson

unread,
Oct 13, 2005, 9:27:39 PM10/13/05
to
I am attempting to launch previews of JOGL[1] based
Saverbeans[2] screensavers.

A test on one of them has returned mixed results and I
would appreciate further test results.

Note that it takes around 6 Megs, Java 1.5, and accepting
signed code (by this outfit called 'Sun') to get this on-screen.
<http://www.javasaver.com/testjs/pv/pv.html#javasaver>

Click the 'planetview.jnlp' link and report as to which
of the two images (shown at the top of that page) more
closely describes what appears on-screen. I refer to the
second as 'white blob'.

[1] <https://jogl.dev.java.net/>
[2] <https://screensavers.dev.java.net/>

Roedy Green

unread,
Oct 13, 2005, 10:12:51 PM10/13/05
to
On Fri, 14 Oct 2005 01:27:39 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

><http://www.javasaver.com/testjs/pv/pv.html#javasaver>

This displayed a screen with two images on it, then quickly yanked
them away before I could examine them. On the following text page I
clicked the planetview.jnlp link.

It then loaded over a meg of stuff from two different websites giving
me an irritating progress message that gave no indication of how long
this was going to go on.

Upon Java's recommendation, I accepted the Sun cert, and off it went
and displayed a black and gold globe smoothly spinning much faster
than real time.

I am using Win2K, and Java 1.5_05.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.

Andrew Thompson

unread,
Oct 13, 2005, 10:35:36 PM10/13/05
to
Roedy Green wrote:

> On Fri, 14 Oct 2005 01:27:39 GMT, Andrew Thompson
> <seemy...@www.invalid> wrote or quoted :
>
>><http://www.javasaver.com/testjs/pv/pv.html#javasaver>
>
> This displayed a screen with two images on it, then quickly yanked
> them away before I could examine them.

...scroll up. (note the 'anchor' on the end of the URL?;)

>...On the following ..

same actually.

>..text page I


> clicked the planetview.jnlp link.
>
> It then loaded over a meg of stuff from two different websites giving
> me an irritating progress message that gave no indication of how long
> this was going to go on.

I specify the size of the jar files in the JNLP I created,
in case the server does not return the file size, that is
what the client side Webstart uses for the 'indicator bars'
of both the saverbeans-api.jar (tiny ~40Kb), and the
planetview.jar.jar (around 2 meg).

I have observed the progress for the larger file, which at
first reports 'nnnK of 2.1 Meg' downloaded, then it shows
the prgress bar, then, once an approximate *speed* is
established, it gives a 'time till completion' estimate.

The 40K jar is too small to invoke most of that behaviour
(on my set-up).

Unfortunately, all the JOGL jars are called from a *different*
JNLP[1] at the JOGL project, and since tit (apparently) does not
list the jar sizes, and the JDIC site (apparently) does not
return the file sizes, the progress dialogs will not appear.

That is a pity, and I am tempted to approach them directly
to get that changed. Wish me luck.

[1] I forogt to mention, the other day when we were discussing
the <applet-desc> element in the JNLP syntax, I also discovered
two much more useful ones - <component-desc> and <installer-desc>.
JOGL is marked as a component, so I can reference it from my
site in a JNLP as an 'extension'. It saves me building, uploading
the (big) JOGL files, but also the bandwidth of serving them.
Unfortunately, it does also reduce the control I have..

> Upon Java's recommendation, I accepted the Sun cert, and off it went
> and displayed a black and gold globe

Must be Sol(?).

Are you positive it is 'gold' rather than 'white'?

Here is a (cough)direct(cough) link to those screenshots.
<http://www.javasaver.com/testjs/pv/pv.html>

> ..smoothly spinning much faster
> than real time.

Aha! That info. is probably useful to the author, I'll
pass it on.

> I am using Win2K, and Java 1.5_05.

Thanks for the test results Roedy, as well as the detailed
description of your experiences. With that in mind, I would
make slight changes to future posts (a little more info.,
fewer HTML 'anchors';).

Roedy Green

unread,
Oct 14, 2005, 1:49:25 AM10/14/05
to
On Fri, 14 Oct 2005 02:35:36 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>I specify the size of the jar files in the JNLP I created,


>in case the server does not return the file size, that is
>what the client side Webstart uses for the 'indicator bars'
>of both the saverbeans-api.jar (tiny ~40Kb), and the
>planetview.jar.jar (around 2 meg).

I did not get any indicator bars, just an increasing numeric without
an indication of where it was headed. I know this is not your code,
but it is something not right.

Roedy Green

unread,
Oct 14, 2005, 1:52:06 AM10/14/05
to
On Fri, 14 Oct 2005 02:35:36 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>


>I have observed the progress for the larger file, which at
>first reports 'nnnK of 2.1 Meg' downloaded, then it shows
>the prgress bar, then, once an approximate *speed* is
>established, it gives a 'time till completion' estimate.

I saw nothing like that. Perhaps this is a browser problem. I was
using Opera 8.5. I will try again with some other browsers.

How big a file can http headers report?

Roedy Green

unread,
Oct 14, 2005, 2:21:46 AM10/14/05
to
On Fri, 14 Oct 2005 02:35:36 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>


>I have observed the progress for the larger file, which at
>first reports 'nnnK of 2.1 Meg' downloaded, then it shows
>the prgress bar, then, once an approximate *speed* is
>established, it gives a 'time till completion' estimate.

tried with IE and Win2k, after uninstalling JAWS planet app to force
reload.

Same progress behaviour
loading jarname... from website...
1.7M loaded

no progress bars, no ultimate size.

Roedy Green

unread,
Oct 14, 2005, 2:24:34 AM10/14/05
to
On Fri, 14 Oct 2005 02:35:36 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>


>I have observed the progress for the larger file, which at
>first reports 'nnnK of 2.1 Meg' downloaded, then it shows
>the prgress bar, then, once an approximate *speed* is
>established, it gives a 'time till completion' estimate.

same again with Firefox and Win 2k. The only difference was there is
one additional message when the JNLP file is finished loading in the
bottom right of the screen.

Andrew Thompson

unread,
Oct 14, 2005, 2:39:15 AM10/14/05
to
Roedy Green wrote:

> On Fri, 14 Oct 2005 02:35:36 GMT, Andrew Thompson
> <seemy...@www.invalid> wrote or quoted :
>
>>I specify the size of the jar files in the JNLP I created,
>>in case the server does not return the file size, that is
>>what the client side Webstart uses for the 'indicator bars'
>>of both the saverbeans-api.jar (tiny ~40Kb), and the
>>planetview.jar.jar (around 2 meg).
>

> I did not get any indicator bars, ..

..please note that
- There is only one file of any size that has the proper
file size indicator.
- I might set up an independent demonstration using *only* files
that have a size specified in the JNLP.
- This test is *not* about JWS progress bars!

Chris Uppal

unread,
Oct 14, 2005, 3:28:45 AM10/14/05
to
Andrew Thompson wrote:

> Click the 'planetview.jnlp' link and report as to which
> of the two images (shown at the top of that page) more
> closely describes what appears on-screen. I refer to the
> second as 'white blob'.

For me both jnlp links produce the same result: a rotating world rather than a
white blob.

That's with Java 1.5.0, but I'm afraid I have little idea about the version of
OGL on this machine, and that -- I assume -- is the more relevant info.
Anyway, it's the one that comes with WinXP, the opengl32.dll is version
5.1.2600.1106, if that helps ;-)

BTW, it also uses 100% CPU and is apparently running at high enough priority
that other apps become unresponsive, and it's hard to kill itself :-(

-- chris


Andrew Thompson

unread,
Oct 14, 2005, 4:13:07 AM10/14/05
to
Chris Uppal wrote:

> Andrew Thompson wrote:
>
>>Click the 'planetview.jnlp' link and report as to which
>>of the two images (shown at the top of that page) more
>>closely describes what appears on-screen. I refer to the
>>second as 'white blob'.
>
> For me both jnlp links produce the same result: a rotating world rather than a
> white blob.

Thank you! Two 'works', and two 'no work'*.

* I am guessing Roedy's 'golden' was actually a 'no work'.

> That's with Java 1.5.0, but I'm afraid I have little idea about the version of
> OGL on this machine, and that -- I assume -- is the more relevant info.

No. The JOGL stuff used for the demo *should* be
coming from jogl.dev.java.net.

> Anyway, it's the one that comes with WinXP, the opengl32.dll is version
> 5.1.2600.1106, if that helps ;-)

...hmm. I'm showing version 5.1.2600.0 for that DLL.
(I don't think it is relevant, but it is hard to say
for sure before the problem is resolved.)

> BTW, it also uses 100% CPU and is apparently running at high enough priority
> that other apps become unresponsive, and it's hard to kill itself :-(

Sorry, they are intended as Screensavers, and depend on an
underlying API that calls a repaint at a rate of 60Hz (AFAIR).
It makes WinAmp (which I've heard play flawlessly during
system lock-ups, and otherwise extremely heavy useage)
'miss a beat'.

This is all *very* experimental.

See how you go with these two savers. The first is not JOGL
and only requires a download of <100Kb.
<http://www.javasaver.com/testjs/xsl/04/jws/install.html>
Note that the Webstarted 'Applet' links below those, suck.
( JWS and applets are a bad combo., I have decided. ;)

Chris Uppal

unread,
Oct 14, 2005, 5:57:31 AM10/14/05
to
Andrew Thompson wrote:

> * I am guessing Roedy's 'golden' was actually a 'no work'.

Well, the globe does look fairly golden -- all those deserts -- so it may be
that Roedy was reporting a 'work'. (Admittedly there's more sea than desert,
but the overall impression is rather golden -- at least to a land animal, I
suppose a fish would say it was almost all blue).


> > That's with Java 1.5.0, but I'm afraid I have little idea about the
> > version of OGL on this machine, and that -- I assume -- is the more
> > relevant info.
>
> No. The JOGL stuff used for the demo *should* be
> coming from jogl.dev.java.net.

Isn't that built on the underlying OGL implementation in the OS (if there is
one) ? Certainly the downloaded DLL seems to use the system opengl32.dll
(according to DependencyWalker).


> > Anyway, it's the one that comes with WinXP, the opengl32.dll is version
> > 5.1.2600.1106, if that helps ;-)
>
> ...hmm. I'm showing version 5.1.2600.0 for that DLL.
> (I don't think it is relevant, but it is hard to say
> for sure before the problem is resolved.)

I just tried on a Win2K box, with a freshly installed JDK 1.5.0_5. That box
has version 5.0.2195.6611 of the opengl32 DLL. Both jnlps showed a rotating
globe. I think that machine must be better at using hardware acceleration in
the OGL implementation since CPU was reasonable rather than <ouch!>.


> See how you go with these two savers. The first is not JOGL
> and only requires a download of <100Kb.
> <http://www.javasaver.com/testjs/xsl/04/jws/install.html>

The line demo runs at more-or-less zero CPU (even if I maximise the window !!).
The picture cube is just as bad as the rotating world. (And, for some reason
downloaded JOGL yet again [*]).

-- chris

([*] making it five downloads of JOGL so far this morning -- if anyone's
monitoring my net habits they must think I'm some kind of pervert...)


Andrew Thompson

unread,
Oct 14, 2005, 6:33:57 AM10/14/05
to
Chris Uppal wrote:

> Andrew Thompson wrote:

>>No. The JOGL stuff used for the demo *should* be
>>coming from jogl.dev.java.net.
>
> Isn't that built on the underlying OGL implementation in the OS (if there is
> one) ? Certainly the downloaded DLL seems to use the system opengl32.dll

'the' system version? I understand that JOGL distributes some
'natives' to get things working.

> (according to DependencyWalker).

You now know better than I do, so.. apparently. ;-)

> I just tried on a Win2K box, with a freshly installed JDK 1.5.0_5. That box
> has version 5.0.2195.6611 of the opengl32 DLL. Both jnlps showed a rotating
> globe. I think that machine must be better at using hardware acceleration in
> the OGL implementation since CPU was reasonable rather than <ouch!>.

Interesting..

>>See how you go with these two savers. The first is not JOGL
>>and only requires a download of <100Kb.
>><http://www.javasaver.com/testjs/xsl/04/jws/install.html>
>
> The line demo runs at more-or-less zero CPU (even if I maximise the window !!).
> The picture cube is just as bad as the rotating world.

OK - non JOGL low CPU, JOGL high.

>..(And, for some reason


> downloaded JOGL yet again [*]).

I will have to look into that. The JOGL API is marked
<offline-allowed />, so webstart should be caching it,
even between different JNLP's!

> ([*] making it five downloads of JOGL so far this morning -- if anyone's
> monitoring my net habits they must think I'm some kind of pervert...)

Or a bandwidth HOG(L). ;-)

Thanks for all the downloads you've suffered, and thanks
for the feedback and results. :-)

Scott Ellsworth

unread,
Oct 14, 2005, 7:50:29 PM10/14/05
to
In article <fQD3f.17291$U51....@news-server.bigpond.net.au>,
Andrew Thompson <seemy...@www.invalid> wrote:

> Click the 'planetview.jnlp' link and report as to which
> of the two images (shown at the top of that page) more
> closely describes what appears on-screen. I refer to the
> second as 'white blob'.

Rotating world rather than white blob.

MacOS X 10.4, 1.5.0_05

work@boggle:build$ java -version
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-64)
Java HotSpot(TM) Client VM (build 1.5.0_05-43, mixed mode, sharing)

--
Scott Ellsworth
sc...@alodar.nospam.com
Java and database consulting for the life sciences

Roedy Green

unread,
Oct 14, 2005, 9:36:34 PM10/14/05
to
On Fri, 14 Oct 2005 08:13:07 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>* I am guessing Roedy's 'golden' was actually a 'no work'.

I was a gold and black representation of planet earth. It looks
plausible as a desired result. Perhaps you could post an JPG of what
you want it to look like.

Roedy Green

unread,
Oct 14, 2005, 9:43:24 PM10/14/05
to
On Fri, 14 Oct 2005 08:13:07 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>* I am guessing Roedy's 'golden' was actually a 'no work'.

I have emailed you a screen capture so you can judge for yourself.

Andrew Thompson

unread,
Oct 14, 2005, 11:13:31 PM10/14/05
to
Roedy Green wrote:
> On Fri, 14 Oct 2005 08:13:07 GMT, Andrew Thompson
> <seemy...@www.invalid> wrote or quoted :
>
>>* I am guessing Roedy's 'golden' was actually a 'no work'.
>
> I have emailed you a screen capture so you can judge for yourself.

Thank you Roedy! I appreciate the effort you put into
sending that screenshot to me[1], and it certainly confirms
that you are seeing 'rotating planet', rather than the
'white blob' I am seeing.

[1] I could bounce the screenshot I am seeing back to you, but..
a) There is no further doubt in my mind that you are seeing
the 'correct thing'.
b) It is truly, truly boring. It is a big, blob of undifferentiated
white with a few stars around it. The only thing that gives a sense
of rotation are the rotating BG of stars (very subtle, hard to notice)
and the outline of the 'blob of white' changes slightly.

Andrew Thompson

unread,
Oct 14, 2005, 11:29:55 PM10/14/05
to
Scott Ellsworth wrote:

> In article <fQD3f.17291$U51....@news-server.bigpond.net.au>,
> Andrew Thompson <seemy...@www.invalid> wrote:
>
>>Click the 'planetview.jnlp' link and report as to which
>>of the two images (shown at the top of that page) more
>>closely describes what appears on-screen. I refer to the
>>second as 'white blob'.
>
> Rotating world rather than white blob.
>
> MacOS X 10.4, 1.5.0_05

Heh.. Way cool! The SaverBeans savers themselves are not
yet available for Mac's, but I have been looking for 'leverage'
to convince the author to port the underlying API to it.

This may help, as he defected (from Linux) to Mac. some
months ago. :-)

Andrew Thompson

unread,
Oct 14, 2005, 11:30:04 PM10/14/05
to
Andrew Thompson wrote:
> I am attempting to launch previews of JOGL[1] based
> Saverbeans[2] screensavers.

Halt! The author of the saver gave me a development
version where it was easier to configure the 'image detail'
provided in the screen rendering.

This PC was able to render the planet on 'low resolutions',
but the image went to 'white blob' at higher resolutions.

This gives us a new direction to research, and I suspect
gives the author the reason why it is only failing on one
(crappy) PC.

Thanks to all respondents (and anybody who took the interest
to read!).

Roedy Green

unread,
Oct 15, 2005, 2:12:36 AM10/15/05
to
On Sat, 15 Oct 2005 03:30:04 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>This gives us a new direction to research, and I suspect


>gives the author the reason why it is only failing on one
>(crappy) PC.

One thing to check is the version of DirectDraw installed.

Andrew Thompson

unread,
Oct 15, 2005, 2:32:52 AM10/15/05
to
Andrew Thompson wrote:

> I am attempting to launch previews of JOGL[1] based
> Saverbeans[2] screensavers.
>
> A test on one of them has returned mixed results and I
> would appreciate further test results.
>
> Note that it takes around 6 Megs, Java 1.5, and accepting
> signed code (by this outfit called 'Sun') to get this on-screen.
> <http://www.javasaver.com/testjs/pv/pv.html#javasaver>

Problem solved.
- My own (crappy) PC* was the only PC unable to render the
saver at the default options
- Tests with a lower resolution, 'imagedetail 2', work on this PC.
- Those who can see it at it's default resolution might be
interested to see it at 'imagedetail 2' for comparison,
so I have added links to JNLP's that add it to the options
(search for 'imagedetail 2' in the page).
- The JOGL jar's definitely seem to be cached here, now,
I no longer have to wait more than a few moments to see
the previews.

* AMD Athlon XP1800+ with 1 Gig memory and ..NVIDIA
GeForce2 MX 100/200 video card (shrugs vaguely).

Roedy Green

unread,
Oct 15, 2005, 4:03:15 AM10/15/05
to
On Sat, 15 Oct 2005 06:32:52 GMT, Andrew Thompson
<seemy...@www.invalid> wrote or quoted :

>* AMD Athlon XP1800+ with 1 Gig memory and ..NVIDIA


>GeForce2 MX 100/200 video card (shrugs vaguely).

I have AGP4x video controller
128 bit, 32 MB
http://www.msi.com.tw
3D AGPhantom
nVidia Riva TNT2 model 64 chipset

Visit nVidia and see if they have a newer video driver, also upgrade
directDraw. Perhaps your beast will hum too. It is newer than mine.

Andrew Thompson

unread,
Oct 15, 2005, 6:01:46 AM10/15/05
to
Roedy Green wrote:

> Visit nVidia and see if they have a newer video driver, also upgrade
> directDraw. Perhaps your beast will hum too.

Thanks. I'll give it a try.

> ...It is newer than mine.

:-0 I was thinking as I wrote that. ..The PC's
I was using earlier this year on a Swing contract,
ran like molasses.

The contractors argued till they were blue in the face,
that developers needed machines with 'all bells and whistles'
to justify the money they cost.

Management quietly ingored them, probably thinking that
as soon as you give high-grade machines to developers,
they start writing software to suit (resource hungry).

I think management was on to a good thing. The 'molasses'
PC's stayed, and any momentary pause in the GUI was
*painfully* obvious. ;-)

0 new messages