Freitag, 21. November 2008

JGears2 / RenderMark

1.) JGears2, a simple Java2D shape rendering benchmark (Zack Rusin's QGears2 ported to Java) is available on the project page.
You can give it a try using Webstart.
Update: Somebody else did the port almost simultaneously, and his veryion even implements the "fance" mode:
Well, this clearly deprecates my version ;)

2.) I am currently developing RenderMark, a simple XRender benchmark written in C. It test the areas the pipeline uses heavily, to allow driver/xorg developers to find regressions and optimize their drivers for our type of workload.
A first version, only testing geometry processing, can also be found on the project pages.
Hopefully it will help AMD to optimize their drivers, and will be integrated into the phoronix unix benchmarking suite.

3.) Google decided to build a new datacenter located 2km away from my home. Strange ;)

4.) Today I got Catalyst-8.11 working on my HD3850.
As I suspected its almost software-only - so results are not bad, but also not that good.
Lightbeam/Nimbus took 9300ms vs. 15500ms with the X11 pipeline, and 6800ms with the NVidia driver.
However the nvidia driver hit fallbacks, so once these issues are resolved things should be even better.
By the way, the Radeon does the job in 4000ms on WindowsXP with the D3D pipeline - thats definitivly where I would like to be after the rewrite (and with useable drivers!)


Patrick hat gesagt…

Tried the JGears2 on my machine - MBP, NVidia 8600M GT with 177.80 driver on Ubuntu 8.10-

Native On, AA off: 2.74
Native On, AA on: 9.00
Native Off, AA off: 130-150
Native Off, AA on: 80

These are all approximate--the values change very quickly (esp. with Native off, AA off)--could you add some sort of stable average?

New toys!


Clemens hat gesagt…

Hi Patrick,

Its not suited as a reliable benchmark, it is still ... only a toy ;)
Wow, rendering to a native surface is really bad - 2.74/9fps. Have you disabled SHMPixmaps?

By the way I still need testers with GF8+ for my pipeline ;)

Patrick hat gesagt…

Hi Clemens:

SHMPixmaps--I launched the gears demo via webstart, so no, I was running with defaults. Do you have a link to a download for the gears demo? Didn't see it on the project page.

Testing--Look, as long as you don't make me break my currently stable video driver config (total nightmare for months), and I can test and then revert back to normal, am glad to test your stuff out. Just point me to instructions.


patric hat gesagt…

Yet some more on that:

Ubuntu 8.10 on HP8710w Notebook (2.4GHz Dualcore, NVidia Quadro 1600@1920x1080x32, SHMPixmaps off, all performance hints from NVidia set, running ia32-jdk1.6.0_10b33
#uname -a
Linux schleppux2 2.6.27-8-generic #1 SMP Thu Nov 6 17:38:14 UTC 2008 x86_64 GNU/Linux
#java -version
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

plain java JGears2

Native On, AA off: 2.2
Native On, AA on: 9.00
Native Off, AA off: 118-124
Native Off, AA on: 70-80

with -Dsun.java2d.opengl=True

Native On, AA off: 800-1000 (!)
Native On, AA on: 70-80
Native Off, AA off: 140-160
Native Off, AA on: 75-90

I was a bit surprised about the first result with opengl, sadly it didn't continue *that* well later. But, funny, though.


mjw hat gesagt…

Thanks for all your hard work. It is really inspiring.

While testing some of it I believe I found a bug in the pisces Stroker:

Keep up the good work!

Dmitri hat gesagt…

Hey Clemens, I'm getting this exception (windows xp, 6u10):

Exception in thread "Thread-7" java.lang.StringIndexOutOfBoundsException: String index out of range: 6
at java.lang.String.substring(Unknown Source)
at JGears2$

Linuxhippy hat gesagt…

Hi Dmitri, thanks for mentioning the bug, should be fixed now. I guess it was caused by beeing too lazy .. but it also got a lazy fix ;)

Thanks for activly improving pisces, Mark.
Hopefully some day pisces will replace ductus (JDK7?), for now it seems to be a stepchild :-/

예제맨 hat gesagt…

I tried running JGears2 via webstart but failed. the jnlp specifies required JVM version as 1.5+, but it seems that Path2D class is used which required Java 6.