Using Qt 5.15 with an OpenGL backend produces lags in a simple GUI program.
When using a button constructed with QML from the Qt framework, a lag is observed frequently. Sometimes a button will register input and initiate the event processing logic, but the instruction does not complete for a range from a fraction of a second to over twenty seconds. Can you help me triage the lag on an Jetson AGX Orin Developer Kit?
Introducing more events to the event loop seems to cause more events to be processed quickly. Clicking a stalled button sometimes updates the GUI, but sometimes the events stack to later produce a chain of responses.
Capturing input with Tcl and Python produces less lag. Only sometimes is a click missed, and this may be explained by user error on the input of successive clicks. I recorded a maximum of over 10 clicks per second, so any lag from the GUI could be within a tenth of a second. Qt implements a GUI with OpenGL, where my program using Tkinter does not use OpenGL.