JavaFX UI unresponsive when screen capturing on Linux Wayland
Davide Perini
perini.davide at dpsoftware.org
Fri Sep 20 21:20:44 UTC 2024
Ok, there was an issue with GNOME 45 and the NVIDIA 550 drivers,
updating to 555 drivers solved it.
On 19/09/2024 23:40, Davide Perini wrote:
> Hi there...
> I have a very weird issue using GStreamer under Ubuntu 24 (GNOME
> Wayland) on an NVIDIA RTX4090 and JavaFX.
>
> This GStreamer pipeline captures the screen on wayland.
> `pipewiresrc fd={1} path={2} ! videorate ! videoscale ! videoconvert`
>
> and it creates a very intense stutter on my JavaFX program and makes
> its user interface choppy,
> in addition there is some black artefact on the UI as you can see on
> this video:
> https://youtu.be/pAzRK9Oy7iM
>
> sometimes the UI renders a black frame before returning to a normal
> state.
>
> JavaFX UI seems a bit unresponsive in Wayland, even when not using
> GStreamer.
>
> There is no issue on X11.
>
> Using JavaFX 23.
>
> Any idea on how to solve/workaround this?
>
> Thanks!
More information about the openjfx-discuss
mailing list