Hi, When I configure xorg (or weston) for portrait display (rotation left or right) I notice that it is much more juddery than when in landscape. It does not maintain a smooth 60fps.
I have used HD videos (encoded @ 60) and displayed with gstreamer and also a very basic opengl program to test this. It is always butter smooth in landscape (HD or UHD) and juddery in portrait (HD or UHD).
Our application requires portrait, so … please help!
Have you managed to get issue resolved? If not, please share steps of changing Ubuntu desktop to potrait mode and profiling fps, then we can try to reproduce it.
I run X standalone (without GDM) using the service file attached.
I have also attached 2 xorg.conf files we use for 1080p60 landscape and portrait.
I have attached a test program binary (syncBars) which gives an easy visual indication of whether the graphics are smooth or not. It is a C++ program using OpenGL and glfw. I can provide source if you want to check it.
apt install libglfw3
When in landscape mode, run the syncBars application like this :-
DISPLAY=:0 syncBars 0 0 1920 1080 1 8 8
When in portrait mode, run the syncBars application like this :-
DISPLAY=:0 syncBars 0 0 1080 1920 1 8 8
You will be able to see that when X is in landscape mode, the test app runs buttery smooth. When in portrait mode it judders very obviously. jetson_portrait_issues.zip (7.17 KB)
The bubble app runs perfectly in landscape, but judders around once a second) in portrait. It is easily visible. The glxgears apps also suffers visibly in portrait.
When you run bubble and glxgears apps, how do you set display in portrait mode?
Are you using System Settings → Displays → Rotation to change portrait mode?
Thanks!
I have never tested in window manager. I think to make sure I have a good test setup I will do a total reflash and start from scratch. Which version of L4T shall I go for? the latest one?
Yes, please always test on latest one.
I remembered we once had an graphic related issue year ago which would only reproduce on X but when window manager is enabled, it is gone.