Same Java-FX application in Ubuntu 18.04 now has stuttering/jittering issues when using scrolling text, now in Ubuntu 20.04+
Emily Wong
In the application we have some text scrolling up the page, and we have found that in Ubuntu versions 20.04 and greater, that the text stutters and is jaggy and not as smooth as it was in Ubuntu 18.04.
We suspect that the issue may be caused by the graphics driver or some extra configuration added in newer versions of XOrg or something else.
We have ruled out the possibility of java causing the issue.
How could we fix this issue?
Some additional notes:
The same version of java is being used, and regardless of the version of java, the stuttering issues are still present
The only difference is Ubuntu has been upgraded to version 22.04
Tested on Ubuntu 20.04 and stuttering still occurred
The CPU is also running close to 100% now compared to 60% in Ubuntu 18.04
This is the information of the display driver/hardware/kernel being used on the device:
description: VGA compatible controller product: Celeron N3350/Pentium N4200/Atom E3900 Series Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 logical name: /dev/fb0 version: 0b width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb configuration: depth=32 driver=i915 latency=0 resolution=1920,1080 resources: irq:137 memory:90000000-90ffffff memory:80000000-8fffffff ioport:f000(size=64) memory:c0000-dffff"The application is using hardware acceleration
The application is using XOrg to create a visual display
The long term solution will be to completely remove java in favor of html