The results of the study show that even thought many more resources are available, the game does not run the expected amount smoother.Ī slight increase of RAM and CPU is noticeable, but the average frames per second do not improve that much. The tests were run with 50, 100 and 500 balls. RaspberryPi model: RaspberryPi 4 8G Model B To test the performance of the windowed mode and kiosk mode, several tests have been executed. After the application is stopped, we call /sbin/init 5 to restart the regular desktop environment.īy disabling the window manager, more ressources are available for the application, therefore running more performant.More info is provided on Gluon docs: “JavaFX on Embedded” > “Testing JavaFX”. The display id needs to be defined, if card0 is not working and you get the error Device /dev/dri/card0 could be opened, but has no drm capabilities., try card1.As DRM in JavaFX 17-ea is part of the commercial license of Gluon, we need to set the environment value ENABLE_GLUON_COMMERCIAL_EXTENSIONS, for more info see Gluon docs: “JavaFX on Embedded” > “Legal notice”.By using /sbin/init 3 before the application starts, the desktop mode is stopped.An extra benefit is the performance boost, as your program is the only thing that needs to be handled towards the screen. The JavaFX application is using Direct Rendering Mode (DRM) to be visualized. To achieve this, we use Monocle with EGL and DRM, as that is the Linux approach to directly address the hardware acceleration, without a window manager. In this case, there is no need for a window manager, and the application directly uses the underlying (hardware) framebuffer. This prevents the user to open any other applications, or mess up your system. With this approach, the application is the only thing you see on the screen. In this post we focus on the Kiosk mode only. With Gluon’s JavaFX 17-ea, we are able to run applications in different modes: Desktop and Kiosk mode. Visit webtechie.be for the full blogpost Kiosk Mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |