[Google Katsu] Issues with screen rotation in GDM and Gnome on Asus detachable CZ1
Describe your issue
After fresh installation screen rotation was alwys wrong by 90°. It was possible to "lock" the current rotation by reattaching the keyboard. I could fix the display rotation after login by installing the Gnome extension gnome-shell-extension-screen-autorotate.
But the stylus touch input stayed wrong . And GDM before Login as well.
What's the expected behaviour?
I am looking for a behaviour, where the display and the touch input rotate with the physical orientation of my device.
What's the current behaviour?
Currently the stylus touch input is always wrong by 90°. Display rotation is wrong by 90° before Login.
How to reproduce your issue?
Fresh installation of postmarketOS with Gnome on Asus detachable CZ1 for full issue. Gnome-shell-extension-screen-autorotate helps a bit.
What device are you using?
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v23.12
-
v23.06
(supported until 2024-01-18) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
Additional information
There might be a solution
By implementing the kernel parameter video=DSI-1:panel_orientation=right_side_up
and creating a file /etc/udev/hwdb.b/61-sensor-local.hwdb with the following input:
sensor:modalias:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
I haven`t yet worked with Kernel parameters so. Is it safe to work with them with Systeroid for example?