Xorg sofware rotation refresh failure
Describe your issue
What's the expected behaviour?
Xorg modesetting driver sends DRM_IOCTL_MODE_DIRTYFB containing a valid framebuffer id and rotated rectangle coordinates allowing especially the ebookreaders operate in portrait mode.
What's the current behaviour?4f4b8e00fcb3a26332bef569e6bdd56941385b24
Xorg modesetting driver sends DRM_IOCTL_MODE_DIRTYFB containing 0 as framebuffer id and unrotated rectangle coordinates, stopping screen refreshes.
How to reproduce your issue?
Use Xorg with the modesetting driver on a graphics device without rotation support in the gpu driver and where damage-tracking is required and use xrandr -o left
What device are you using?
kobo-clarahd (most visible on these ebookreaders but not limited to them)
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
-
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
Other
-
No environment ("none" in pmbootstrap) -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
LXQt -
fbkeyboard -
i3wm -
Sxmo (Xorg/Dwm) Please post the output of sxmo_version.sh
-
console UI -
framebufferphone
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
Did not expect it would work at all, but found out it is really a bug and fixed here quite some time ago but did not went into the branches of the xorg releases used here (server-21.1-branch): https://github.com/mirror/xserver/commit/db9e9d45e8ba73510f11eb9e534c176102f6623e
That forces users to operate the supported ebookreaders in landscape mode.