Skip to main content

RC2 b32: Direct3D pipeline is broken with Oracle Forms

3 replies [Last post]
Joined: 2008-04-21

Hi forum

I have discovered a serious issue when using the latest RC2 together with Oracle Forms. Long story short: whenever you run an Oracle Forms-based application with 1.6.0_10-RC2 on either Windows XP or Vista - *on a machine with a DirectX 9-compatible graphics card* - window operation such as dragging and resizing suddenly runs incredibly slow - with all other earlier Java plugins, you can do this dragging and resizing smoothly.

By accident, I found out, that if I disabled the Direct3D pipeline with the workaround found in Sun bug 6717988, the problem would go away:

1. Open the Java control Panel
2. Go to the "Java" tab
3. Under "Java Applet Runtime Settings", click "View".
4. In the "Java Runtime Parameters", enter "-Dsun.java2d.d3d=false"
5. Click OK and OK to close the Java control panel.

I don't think I'm hit by bug 6717988, since it happens with the very latest graphics driver - but it must be related, since I have tested the issue on a wide range of systems with different graphics card - and the problem seemed to reproduce consistently on machines with DirectX 9-compatible graphics cards, both on Windows XP and Vista. Look at these data collected - all systems had the latest graphics drivers installed:

- It reproduced with NVIDIA Quadro NVS 290, ATI Radeon HD 2400 XT, NVIDIA Geforce 8800 GTX.
- It did not reproduce with Mobile Intel 915GM/GMS, 910 GML Express, NVIDIA Geforce 4, VMWare SVGA driver.

If any Sun engineer reading this post has access to Oracle MetaLink, I have just got bug #7396079 filed under SR 7074423.993 for this issue there, where you can read all these details.

The problem also reproduced with RC b28 and RC2 b31 - earlier releases have not been tested.

A testcase is available: open with IE with RC2 installed. A separate frame will appear, after the applet has finished loading. You see a window with the title "Log p

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-12-31

This may be due XOR performance problem with the d3d pipeline (bug 6635462). If application uses any operations with XOR paint mode they'll run into performance issues.

The work around is as you discovered disable the d3d pipeline.


Joined: 2008-04-21

Hello Dmitri

Thanks for pointing this bug out - from reading the bug description, I'm almost 100% sure it's the same bug, which is faced with Oracle Forms. I have reported this to my support engineer at Oracle.

I would like to ask you: In the bug, you wrote:

"One way we could work around this problem is to disable
acceleration for surfaces to which xor rendering is detected.
That at least wouldn't lead to huge performance issues,
even though application will not take advantage of
the rest of hw accelerated rendering."

Is there any chance, that this workaround could make it into the final version of 1.6.0_10?


Joined: 2003-12-31

Unfortunately it's too late for 6u10. But looks like enough people are running into this bug to consider the workaround for 6u11 or 12.