-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Describe the bug
I am using a Waveshare screen 7inch_DSI_LCD_(E) https://www.waveshare.com/wiki/7inch_DSI_LCD_(E) with a raspberry PI 4 running Raspberry pi OS lite and I am unable to get the rotation set correctly.
I have configured the screen correctly (according to the wiki).
config.txt
dtoverlay=vc4-kms-dsi-waveshare-panel,8_0_inch
and set the rotation in the cmdline.txt
video=DSI-1:1280x800M@60,rotate=270
When the pi boots the console/tty is shown the in correct orientation (270, or whatever I set the rotation), however when I start xorg via startx with an example application (gnome-mastermind) it does not respect the screen rotation. It renders the application in the default landscape orientation. I also tested with cage (wayland) and it has the same behavior. I can correct the x11 rotation using xrandr and changing the touch matrix, but I didn't have to do this when using a different waveshare screen.
I am wondering it this is a bug with the vc4-kms-dsi-waveshare-panel driver? Although I have another waveshare screen (https://www.waveshare.com/wiki/7-DSI-TOUCH-A) which does not have this issue.
Steps to reproduce the behaviour
Use a Waveshare 7inch_DSI_LCD_(E) screen
Specify a rotation in the cmdline.txt
Device (s)
Raspberry Pi 4 Mod. B
System
Logs
No response
Additional context
No response