This is a fairly widespread compatibility issue between the JavaFX D3D hardware pipeline and recent Intel Iris Xe graphics drivers on Windows, as confirmed by your tests with multiple driver and Java versions. The D3DERR_DEVICEHUNG error and resulting freezes or flickers are typical of JavaFX running into problems with the GPU driver—these issues go away when using software rendering or a discrete NVIDIA GPU, but those solutions either severely hurt performance or aren't generally available to all users. Currently, aside from forcing software rendering (which impacts speed) or shifting to an external GPU (not possible on all systems), there is no reliable JVM flag or workaround that fully addresses this; the root cause is a low-level bug or incompatibility which requires a fix from Intel or the JavaFX/OpenJFX developers. For now, the best course is to alert both Intel and OpenJFX via a detailed bug report and, in the interim, provide users with guidance to use software mode or reduce heavy GPU effects until an official update becomes available.