Thanks for checking that. One of the optimizations D3D12 backend uses is to 
sometimes avoid clearing background Render Targets when we’re about to fully 
draw over its original contents. This is helpful to bring up performance 
especially on less powerful GPUs (ex. Integrated) in some scenarios in our 
testing.

I filed JDK-8384276 to track this.

-Lukasz

From: Glavo <[email protected]>
Sent: Monday, 11 May 2026 09:41
To: Lukasz Kostyra <[email protected]>
Cc: openjfx-dev <[email protected]>
Subject: [External] : Re: An image unexpectedly appeared on the button while 
using the d3d12 pipeline

Hi Lukasz,

I tried adding the "-Dprism.d3d12.clearOpts=false" option, and it did solve the 
problem.

Glavo

On Mon, May 11, 2026 at 3:09 PM Lukasz Kostyra 
<[email protected]<mailto:[email protected]>> wrote:
Hi Glavo,

Thanks for checking!

To narrow it down at first, could you check if this happens with 
"-Dprism.d3d12.clearOpts=false" option?

Independently, I'll try running HMCL locally later today and see if I can also 
reproduce it.

Thanks,
-Lukasz

-----Original Message-----
From: Glavo <[email protected]<mailto:[email protected]>>
Sent: Saturday, 9 May 2026 04:16
To: openjfx-dev <[email protected]<mailto:[email protected]>>
Subject: [External] : An image unexpectedly appeared on the button while using 
the d3d12 pipeline

Hi,

I am running HMCL[1] with JavaFX Build 27-direct3d12+3. I observed that some 
JFXButtons from JFoenix unexpectedly display unrelated, incomplete images. 
These images disappear after the buttons are clicked once:


   - 
https://imgur.com/Zs15Fic<https://urldefense.com/v3/__https:/imgur.com/Zs15Fic__;!!ACWV5N9M2RV99hQ!JqqXAm23aIB6uKkhm6ifPsxF6t-yT11BiNCUC0jaYR4kfpcCS2uAVDewRSq0nndv6LwtnmgiwPnEZ0R7iTNhx_o$>
   - 
https://imgur.com/hKmmCOj<https://urldefense.com/v3/__https:/imgur.com/hKmmCOj__;!!ACWV5N9M2RV99hQ!JqqXAm23aIB6uKkhm6ifPsxF6t-yT11BiNCUC0jaYR4kfpcCS2uAVDewRSq0nndv6LwtnmgiwPnEZ0R7D2ZfBwM$>

I have reproduced this issue on multiple devices, using NVIDIA discrete 
graphics and Intel integrated graphics respectively. I have also confirmed that 
this issue does not occur on Windows, Linux, or macOS with any pipeline other 
than the D3D12 pipeline.

How should I investigate the root cause of this issue?

Glavo


[1]: 
https://github.com/HMCL-dev/HMCL<https://urldefense.com/v3/__https:/github.com/HMCL-dev/HMCL__;!!ACWV5N9M2RV99hQ!JqqXAm23aIB6uKkhm6ifPsxF6t-yT11BiNCUC0jaYR4kfpcCS2uAVDewRSq0nndv6LwtnmgiwPnEZ0R7BJxJ4os$>

Reply via email to