You are not logged in.
Pages: 1
Hello Shahin, Others
I have tried several things to have a vertically oriented screen to horizontal alignment but haven't been able to achieve this on RPi4. Please note that nanodlp works just fine with vertically display layer images and same being reflected on the LCD. However, I would like to have the layer images oriented correctly.
Setup:
1. RPi4 - 2GB with raspbian bullseye lite
2. GPU acceleration is turned ON.on RPi4 (dtoverlay=vc4-fkms-v3d). Using KMS does not display anything on the LCD.
Some of the things that I have tried:
1. display_rotate is deprecated and not supported on Pi4
2. display_hdmi_rotate =1 does not work with FKMS drivers
3. Using the screen configuration command during startup. The xrandr command shows that the screen is rotated and flipping the horizontal and vertical pixels display images but are clipped
DISPLAY=:0.0 xrandr --output HDMI-1 --rotate right
4. Forcing inverted EDID in config.txt does lead to screen being detected but nothing is displayed
hdmi_timings=3840 0 106 32 100 2160 0 12 2 10 0 0 0 60 0 277976160 3
5.Rotate framebuffer via kernel command
video=HDMI-A-1:2160x3840M@24,margin_left=0,margin_right=0,margin_top=0,margin_bottom=0,rotate=90
and setting framebuffer path to /dev/fb0
is there anything else I could have tried to get the display aligned horizontally so that the images are displayed in landscape on both nanodlp and LCD screen?
thanks!
Last edited by Rahul (2021-12-07 10:28:20)
Offline
Can anyone provide any pointers on how we can get the screen rotated on Pi4??
thanks!
Offline
Offline
thanks for the revert Shahin! I have tried disabling fkms as mentioned in the link you had shared and here are my observations:
Display: Sharp 5.5" 4k LCD 2160x3840
Updates Nanodlp Settings as below to view layer image in landscape mode:
Display Engine - Horizontal Resolution 3840
Display Engine - Vertical Resolution 2160
With below Config.txt setting::
1. display_hdmi_rotate:0=1 => Calibration images are displayed in less than half of the LCD
2. display_rotate:0=1 => Calibration images are displayed in less than half of the LCD
3. display_LCD_rotate:0=1 => no rotation observed, calibration image is clipped
startup script::
4. xrandr used at startup to rotate hdmi1 display => no rotation observed, calibration image is clipped
Let me know if there is anything that I have missed, thanks!
Offline
Have you updated NanoDLP resolution and reslice after applying change to config.txt?
Offline
Shahin,
Nanodlp resolution was updated to display in landscape mode and the system was rebooted. I used calibration images to see if the changes made any difference.
BTW, how does nanodlp display layers on the screen(when framebuffer is set to blank)??
Last edited by Rahul (2021-12-14 13:36:32)
Offline
It directly talk with Pi BCM
Offline
Any particular reasons you think that BCM works with fake kms enabled but does not display anything with full kms enabled on pi4??
# no display with KMS enabled
dtoverlay=vc4-kms-v3d
# display works with fKMS enabled
dtoverlay=vc4-kms-v3d
Also, any reasons you can think of that leads to xrandr rotates the display but BCM doesn't see it and hence does not rotate the display?? thanks!
Offline
Not sure, it is firmware level changes causing these kind of issues. It is unfortunate basic display functionality may get impacted after each pi and firmware upgrade.
Offline
Thanks Shaheen for your revert!
Maybe someone from Rpi will be able to shed further light onto this.
Offline
Pages: 1