rpdom wrote:You have a NOOBS installation. You won't be able to see config.txt on a PC. You could access it from your Pi with "sudo nano /boot/config.txt", or you can use the NOOBS Recovery/Config editor - Press the Shift key when prompted during the boot, then go to the config editor and add that line. Save and exit and reboot.
That only works with the official Raspberry Pi Foundation 7" display.
It works on my RPF display. Picture and touch are both rotated with lcd_rotate=2.
Such a feature is available from the dispalys TCON --> many displays have control inputs for rotating/flipping Image --> changing the scan direction.lcd_rotate
This flips the display using the LCD's inbuilt flip functionality, which is a cheaper operation that using the GPU-based rotate operation.
For example, lcd_rotate=2 will compensate for an upside down display.
Full test is here https://www.raspberrypi.org/documentati ... t/video.mddisplay_hdmi_rotate
Use display_hdmi_rotate to rotate or flip the HDMI display orientation. The default value is 0.
0 - no rotation
1 - rotate 90 degrees clockwise
2 - rotate 180 degrees clockwise
3 - rotate 270 degrees clockwise
0x10000 horizontal flip
0x20000 vertical flip
Note that the 90 and 270 degree rotation options require additional memory on the GPU, so these will not work with the 16MB GPU split.
Use display_lcd_rotate to rotate or flip the LCD orientation. Parameters are the same as display_hdmi_rotate.
display_rotate is deprecated in the latest firmware but has been retained for backwards compatibility. Please use display_lcd_rotate and display_hdmi_rotate instead.
Use display_rotate to rotate or flip the screen orientation. Parameters are the same as display_hdmi_rotate.
LCD viewing angles differ, especially on older display such as this. We specifically chose this orientation as the default because it would be the most common use case.Piefurz wrote: ↑Sat Jul 28, 2018 5:03 pmAs someone pointed out the look angle is different when the screen is upside down . depending on if you are hand holding it or are naturally looking from a lower angle it may be acceptible but with normal desktop ergonomics it is not. There should be a revision made to correct this before i would buy another. The screen would have to be rotated on the back plate and the ribbon cable re-worked. Doesn't look like an easy DIY mod. Disappointing.
So the last post says the screen and orientation was chosen to be that way which makes the look angle better from the bottom than the top. The quote above says it was an oops. Just because it can be flipped in software to correct the oops doesn't mean that is the best fix. Software fixes to hardware problems probable make the processor work harder. Also I am trying to correct a difference in rotation between the screen image and the touch input on an elo touch panel and can't find a fix. I am an AV repair person for 43 years now and I understand that the look angle on landscape screen should be better from the top down with your eyes level with the top of the screen. It is nice to be able to change this for other situations but the default should be that. Also in a portrait mode it is better to have a display with equal visibility from left to right. Although this may be hard to find, especially with touch screens, it allows for flexibility in projects with some landscape and others portrait.rpdom wrote: ↑Sat Feb 06, 2016 8:02 pmPut "lcd_rotate=2" in /boot/config.txt and the screen will turn upside-down.
When the original software, cases and everything else was designed for the screen, no one noticed they'd got it the wrong way up. (oops!)
A software fix was put in place to flip it the other way, but some cases had already been designed for it. So the "lcd_rotate=2" option was added to flip the image and touchscreen "upside-down" so it works in those cases.
It's not a software fix. It instructs the GPU to output in the "correct" format. The CPU has no additional work to do.
Users browsing this forum: No registered users and 7 guests