Page 1 of 1
LUCKFOX 7inch DSI Touchscreen V1.1 // Screen Rotation
Posted: 2024-03-20 10:41
by sturmth
Hi,
how can I change the orientation of the screen?
I tried this (working on a ZYNTHIAN distribution:
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch,rotate=180
It lights up, but orientation does not change. I need to change upper/lower direction. Thank You in advance.
Regards
Thomas
Re: LUCKFOX 7inch DSI Touchscreen V1.1 // Screen Rotation
Posted: 2024-03-20 11:20
by Luckfox Taylor
Are you using a Raspberry Pi development board? What operating system are you using? You can try using the following command:
xrandr --output HDMI-1 --rotate normal
xrandr --output HDMI-1 --rotate left
xrandr --output HDMI-1 --rotate right
xrandr --output HDMI-1 --rotate inverted
Re: LUCKFOX 7inch DSI Touchscreen V1.1 // Screen Rotation
Posted: 2024-03-20 11:30
by sturmth
It is a raspberry Pi 3. The OS is Zynthian, based on raspi OS.
The display is connected with the display connector onboard (DSI Display Interface), not hdmi output.
As I understand Your commands, they are for HDMI. Where should they be placed? I tried them in the terminal, but they are usefull for X Server. Zynthian has no X Server.
My actual commands are in the config.txt.
Re: LUCKFOX 7inch DSI Touchscreen V1.1 // Screen Rotation
Posted: 2024-03-21 3:03
by Luckfox Taylor
I'm sorry for the misunderstanding earlier. We haven't tested this system before. You can try referring to the official website for methods to rotate the DSI screen.
https://www.raspberrypi.com/documentati ... rientation
Re: LUCKFOX 7inch DSI Touchscreen V1.1 // Screen Rotation
Posted: 2024-03-21 13:06
by sturmth
Thank You very much !!
This was the information I was looking for.
For the people stranding here while their search:
Display orientation ...
In cmdline.txt: Add video=DSI-1:800x480@60,rotate=180
Touch orientation ...
In config.txt find
# Display Config
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch
and change the last line to
dtoverlay=vc4-kms-dsi-7inch,invx,invy
Re: LUCKFOX 7inch DSI Touchscreen V1.1 // Screen Rotation
Posted: 2024-04-21 12:28
by Sonnet
No worries! If the system hasn't been tested before, checking the official website for guidance on rotating the DSI screen is a good start.