Open arashsoftco opened 4 years ago
If your system is a Pi4 (which looks like it, based on the total_mem
reported), then display_rotate
is not supported for it - see this forum post for alternatives.
I know rotation doesn't work on the Pi4, but is there any reason to not support flipping on the Pi4?
display_rotate=0x10000
and display_rotate=0x20000
(Vertical and horizontal flipping) used to work on the RPI4.
It looks like this was disabled as part of this update: https://github.com/raspberrypi/firmware/commit/5cb5ddd076ac30b4f5a2af867b7c4f268c99728f
I've downgraded with the following command and it seems to work fine.
sudo rpi-update f0236cc587a58532fbe1267c1db7a0dd7b22d01e
You can easily rotate and flip on the Pi4 - if using the desktop use the screen configuration utility. If console, use the kernel command line. See https://www.raspberrypi.org/documentation/configuration/display_rotation.md
@JamesH65 will rotating/flipping by config.txt not the supported for Pi4+ in the future?
Not the lcd/hdmi_rotate commands, no, I don't think so. Our aim is more standardised ways of doing things, moving away from custom stuff like config.txt entries.
Ok, I thought that the standard way was to set it in config.txt - That is how it is done in all the other pies.
By standard I mean conforming to the industry standard (Linux standard tools etc) not what we have used in the past.
Using cmdline.txt to flip my display seems to work, but it seems to take effect late in the boot process.
Using config.txt with the older firmware works through the entire bootup process.
Is there any way to have the flip take effect earlier? Or if I want that behavior do I just need to stay on the older firmware?
Try leaving the config entries in as well. They may work until the FKMS driver takes over.
Thanks for the suggestion, I tried that, but from what I can tell any firmware past https://github.com/raspberrypi/firmware/commit/5cb5ddd076ac30b4f5a2af867b7c4f268c99728f completely ignores display_rotate
when using the KMS driver.
I think I'll just stay on the older firmware for now. It's rather ugly having an incorrectly flipped boot screen.
@popcornmix @6by9 Any thoughts?
I spent a few hours trying to figure out why I couldn't get a Pi4 with NanoDLP to work with my Wanhao D7, while my old SD card image and Pi3 worked fine. Eventually I realized display_rotate is required for a Wanhao D7 to work with NanoDLP.
I found my old comment above and downgraded with "sudo rpi-update f0236cc587a58532fbe1267c1db7a0dd7b22d01e" and now it works great.
Both my RetroPie setup (a mirrored arcade machine) and 3D printer (Wanhao D7 with NanoDLP) are now happily running on this older firmware version with flipped / rotated displays.
i tried to rotate my waveshare screen 180deg by editing config in boot
i also tried 2 insted of 1 but nothing changed display_hdmi_rotate=2 display_lcd_rotate=2 display_rotate=2
i guess the problem is Initial value is -1 !