I am experiencing some keyboard/mouse event lags in Xorg when using portrait mode.
Using xev, I can see that the pressed events get posted (properly?) but the release events are queued, sometimes almost a second. This makes the desktop frustrating to use.
This happens straight out of the box on Jetson Linux 36.4.3 Ubuntu 22.04 freshly flashed - flash the device, boot, rotate screen, type in a terminal.
I have tried setting all clocks to max, enabling ForceFullCompositionPipeline, removed the Disable “DRI” line from xorg.conf, and none of that helped.
The problem goes away when running an application that causes screen refresh, e.g. running glxgears. Keyboard becomes responsive while the app is running.
Could you clarify what is the usecase to test this case?
Could you try these 3 settings?
→ * Enable forcecomposition" + triplebuffering + set vsync/flipping
Thanks for the suggestion! I have tried the following settings:
Option "ForceCompositionPipeline" "True"
Option "TripleBuffer" "True"
Option "AllowFlipping" "True"
additionally, I have:
‣ echo $__GL_SYNC_TO_VBLANK
1
that didn’t seem to fix it. It appears X events of key release are not sent to the application immediately.
I have the monitor set to portrait mode due to lack of space on my desk which is why I need the desktop to be rotated 90 degrees. The device is difficult to use with such lag on the keyboard - typing text is error prone due to the delayed feedback.
Hi,
We don’t suggest to use portrai mode.
to be honest I think that is not an acceptable result, for a devkit that costs $2200 and ships with a GUI distribution (Ubuntu). Anyway I am working around this issue by using Weston instead, which does not seem to have this problem.