Hi,
I am using the StereoPi v2 kit with CM4 and SLP2, and the 5.5" Waveshare display used in this guide: https://stereopi.com/blog/diy-vr-headse ... y-just-135
The display_rotate parameter does not work, even after disabling fkms. Also, editing cmdline.txt to rotate the display does not work either.
Do you have any suggestions to rotate the display 90 degrees? Or at least use the entire display instead of just the middle section.
Thank you.
Display Rotation for StereoPi v2
- Realizator
- Site Admin
- Posts: 929
- Joined: Tue Apr 16, 2019 9:23 am
- Contact:
Re: Display Rotation for StereoPi v2
Hey taa11,
Well, commenting fkms in config.txt should do the trick. Could you please share your config.txt?
Well, commenting fkms in config.txt should do the trick. Could you please share your config.txt?
Eugene a.k.a. Realizator
Re: Display Rotation for StereoPi v2
Hi,
Thanks for your response. I did try commenting out the fkms statements, but it did not seem to work. Here is the config.txt file:
---
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
disable_splash=1
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=0
#overscan_right=0
#overscan_top=0
#overscan_bottom=0
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1080
#framebuffer_height=1920
# uncomment if hdmi display is not detected and composite is being output
#hdmi_ignore_hotplug=
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=16
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#sdtv_aspect=1
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
avoid_warnings=1
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
enable_tvout=0
[all]
#dtoverlay=vc4-fkms-v3d
start_x=1
gpu_mem=160
enable_uart=1
dtoverlay=miniuart-bt
dtoverlay=dwc2,dr_mode=host
#waveshare
max_framebuffer_height=1920
#3-D display
#max_framebuffer_height=2880
max_usb_current=1
config_hdmi_boost=10
hdmi_group=2
hdmi_force_hotplug=1
hdmi_mode=87
#waveshare 5.5
hdmi_timings=1080 1 26 4 50 1920 1 8 2 6 0 0 0 60 0 135580000 3
#stereo display
#hdmi_timings=2880 0 50 8 15 1440 0 8 2 6 0 0 0 60 0 256921800 3
display_rotate = 1
display_lcd_rotate = 1
display_hdmi_rotate = 1
Thanks for your response. I did try commenting out the fkms statements, but it did not seem to work. Here is the config.txt file:
---
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
disable_splash=1
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=0
#overscan_right=0
#overscan_top=0
#overscan_bottom=0
# uncomment to force a console size. By default it will be display's size minus
# overscan.
framebuffer_width=1080
#framebuffer_height=1920
# uncomment if hdmi display is not detected and composite is being output
#hdmi_ignore_hotplug=
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=16
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#sdtv_aspect=1
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on
# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
avoid_warnings=1
[pi4]
# Enable DRM VC4 V3D driver on top of the dispmanx display stack
#dtoverlay=vc4-fkms-v3d
max_framebuffers=2
enable_tvout=0
[all]
#dtoverlay=vc4-fkms-v3d
start_x=1
gpu_mem=160
enable_uart=1
dtoverlay=miniuart-bt
dtoverlay=dwc2,dr_mode=host
#waveshare
max_framebuffer_height=1920
#3-D display
#max_framebuffer_height=2880
max_usb_current=1
config_hdmi_boost=10
hdmi_group=2
hdmi_force_hotplug=1
hdmi_mode=87
#waveshare 5.5
hdmi_timings=1080 1 26 4 50 1920 1 8 2 6 0 0 0 60 0 135580000 3
#stereo display
#hdmi_timings=2880 0 50 8 15 1440 0 8 2 6 0 0 0 60 0 256921800 3
display_rotate = 1
display_lcd_rotate = 1
display_hdmi_rotate = 1
- Realizator
- Site Admin
- Posts: 929
- Joined: Tue Apr 16, 2019 9:23 am
- Contact:
Re: Display Rotation for StereoPi v2
Yes, I see your vc4-fkms-v3d is correctly commented out.
Did you try display_rotate=3 and display_hdmi_rotate=3?
Did you try display_rotate=3 and display_hdmi_rotate=3?
Eugene a.k.a. Realizator
Re: Display Rotation for StereoPi v2
Yes, I did try that as well, but it did not work. I also tried editing cmdline.text but that did not work either.
- Realizator
- Site Admin
- Posts: 929
- Joined: Tue Apr 16, 2019 9:23 am
- Contact:
Re: Display Rotation for StereoPi v2
Please try one minor fix.
Officially RPF recommends to write lines in config.txt without spaces, like:
But in your file you have spaces near the equal mark. Try to remove them.
Also, I guess the line for LCD rotation is not needed at all - try to comment it out.
Officially RPF recommends to write lines in config.txt without spaces, like:
Code: Select all
display_hdmi_rotate=1
Also, I guess the line for LCD rotation is not needed at all - try to comment it out.
Eugene a.k.a. Realizator