Good to see progress on that. I think for the long term, we should really start implementing the Wayland backend in JavaFX.

I saw that many other Open Source Frameworks did implement Wayland support by now (or made it the default). So I really think we should follow. The time seems to be right. Also, it seems that some services and/or platforms start to phase out X11 support bit by bit.

On KDE, I was surprised that JavaFX looks very blurry, which is due to scaling. Changing 'Legacy applications (X11)' to 'Scaled by the system' fixes it. It seems that only JavaFX really suffers from it, because everything else already seems to use Wayland or another approach. In any case, for users not aware of this setting the experience will be rather bad, at least on KDE.

Thiago, if you need some help (code/review) or just more testing, feel free to ping me. I'm willing to invest some time into it. Maybe we find more people interested, so that we get some results, similar as for the Direct3D12 backend.


-- Marius


On 10/24/26 3:10 AM, Thiago Milczarek Sayão wrote:
I couldn't wait until I had everything fully implemented, so I took a
shortcut to see how it would look and if it would fully work.

So, here it is: JavaFX running 100% on Wayland, with either Vulkan or
OpenGL rendering.

https://github.com/tsayao/jfx-wayland

We can reuse some of the ideas, but not the code.

I kept it in a separate repository to avoid any legal issues. If I've still
made any mistakes in that regard, please let me know and I'll fix them.

Regardless, it was an interesting experiment.


-- Thiago

Reply via email to