Hi all, I’m new to volumio but it rocks! I’m building a custom stereo for my daughter in a beautifully carved old wooden small chest. All is going well but for one minor thing: I can’t get the display to rotate the image by 180°, which would lead to much better cable management.
reading through this forum for other display (I couldn’t find anything for this one) I noticed you usually can get the display to rotate, but then need to fix the touchscreen.
Problem is, I can’t even get it to rotate, so I have not bothered with touch screen yet.
What I tried:
add display_rotate = 2, as per wiki linked above (I tried as well display_lcd_rotate =2 without success)
in the userconfig.txt file
changing settings in the touch display plugin
I can’t get it to rotate. Any hint? What could I try?
but every time it reboots with the default rotation.
I never tested 90 and 270 form the “Touch Display” plugin, and lo and behold: those work! Both display rotation AND touchscreen rotation, so they work fine.
It’s only 180 that does not work which is the one I need. here the output from ORIGINAL file, no changes, without adding any lcd_rotate etc
config.txt
DO NOT EDIT THIS FILE
APPLY CUSTOM PARAMETERS TO userconfig.txt
initramfs volumio.initrd
gpu_mem=128
gpu_mem_256=32
gpu_mem_512=32
gpu_mem_1024=128
max_usb_current=1
[pi5]
usb_max_current_enable=1
[all]
include volumioconfig.txt
include userconfig.txt
userconfig.txt: nothing, just this comment.
Add your custom config.txt options to this file, which will be preserved during updates
NB: Here is where I tried to put display_rotate = 2 when the touch display plugin didn’t work as I hoped. That did not work either
Thanks!! This works, but it does not rotate touch as expected.
So I did the rotation with “CalibrationMatrix” as per 4.3 DSI waveshare wiki, and now all works as desired!
It combines flipping the display horizontally (0x10000) and vertically (0x20000) which has the same effect as rotating by 180 deg.
What you could also try instead is adding
dtoverlay=vc4-kms-v3d
dtoverlay=vc4-kms-dsi-7inch
to “/boot/userconfig.txt” and set rotation from the plugin’s config page. Beforehand you would have to remove your own “CalibrationMatrix” modification, too.