Auto-rotate works perfect, but boot & login screens are upside down


  • I mainly use my raspad standing up on my desk, instead of laying flat. Auto-rotate is set up and works great once I log in, however, prior to login everything is upside down. I'm running KDE with the sddm login, but I've also run into this using other DE's.

    I've tried adding lcd_rotate=2 & display_rotate=2 to my /boot/config.txt as suggested by googling around for generic rotation advice but no luck. I've also tried using both dtoverlay=vc4-fkms-v3d and dtoverlay=vc4-kms-v3d but either one makes no difference.

    I thought I got lucky adding to video=HDMI-A-1:1280x720M@60,rotate=180 to /boot/cmdline.txt which rotated boot and login correctly, but then after login everything flipped upside-down.

     

    Any ideas?



  • @A R 

    If you want to keep the same orientation all the time, just turn off the automatic rotation of the screen.

    sudo rm /etc/xdg/autostart/raspad-auto-rotator.desktop

  • @A R i can see your mistake right away :) lets get you sorted.

    You have messed yourself up by using an outdated commands and the correct commands at same time, so basicly undoing your work.

    in your config file add the line.

    lcd_rotate=2

    and not

    display_rotate=2

    as that is an old command and has been outdated for a long time.

    Now as for distro, for RPI i always recommend Raspberry PI OS as it has some special parts to its kernal to specificly support the PIs hardware that other distros do not have, you could also try Raspberry PI OS 64bit BETA but as its a beta distro you can run into other issues as its developement continues.

    the other two commands you stated.

    dtoverlay=vc4-fkms-v3d  
    and
    dtoverlay=vc4-kms-v3d 

    These have nothing to do with screen rotation and are for screen modes/output, the first being for Buster and second being for Bullseye.

    for a fresh install of RPI OS which is (Bullseye) you should use the second one.


  • @CerberusStyle  

    Thanks for the reply and sorry it was unclear but I tried both the lcd_rotate and display_rotate commands seperately, not at the same time.

    I'm currently using the 64 bit version of RPI OS. Also tried and tested kali 32 and 64bit versions, and 32 bit version of rpi os that I have burned onto spare sd cards so it's easy enough to swap and test. 

     

    Any other ideas?


  • Hmm that very odd, you deffinately have something odd going on as i know it works as im currently looking at it working with RPI OS 64bit. Would need to see you config.txt and cmdline.txt files to help you more and you have made sure you OS is fully updated by running.

    sudo apt update && sudo apt full-upgrade

    what else have you installed or is it a completely fresh install?

    as a test try adding this line to config.txt

    lcd_rotate=1

  • Thanks again for your help.

     

    System is up to date using apt.

     

    cmdline.txt

    console=serial0,115200 console=tty1 root=PARTUUID=58a563e4-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait usb-storage.quirks=04e8:4001:u
    6901:1224
    04e8:4001
    05e3:0610
    2109:3431
    1d6b:0002:u

     

     

    config.txt

    # For more options and information see
    # http://rpf.io/configtxt
    # Some settings may impact device functionality. See link above for details
    
    # uncomment to disable bluetooth
     dtoverlay=disable-bt
     dtoverlay=disable-wifi
    
    # 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=16
    #overscan_right=16
    #overscan_top=16
    #overscan_bottom=16
    
    # uncomment to force a console size. By default it will be display's size minus
    # overscan.
    #framebuffer_width=1280
    #framebuffer_height=720
    
    # uncomment if hdmi display is not detected and composite is being output
    #hdmi_force_hotplug=1
    
    # uncomment to force a specific HDMI mode (this will force VGA)
    #hdmi_group=1
    #hdmi_mode=1
    
    # 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
    
    #uncomment to overclock the arm. 700 MHz is the default.
    #arm_freq=800
    over_voltage=6
    arm_freq=2000
    gpu_freq=750
    
    # 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
    
    # Enable DRM VC4 V3D drive
    #dtoverlay=vc4-kms-v3d
    max_framebuffers=2
    arm_64bit=1
    gpu_mem=256
    dtoverlay=vc4-fkms-v3d
    
    hdmi_enable_4kp60=1
    

     Ignore the disabled wifi & bluetooth. Adding lcd_rotate=1 doesn't change anything

     

    This installation is a rpi os 64bit image that didn't come with any desktop environment by default; I installed KDE using the tasksel command.

     


  • @A R ok try this config, you had some error icluding a typo and you can not set

    hdmi_enable_4kp60=1

    as the screen doesnt support that.

    # For more options and information see	
    # http://rpf.io/configtxt	
    # Some settings may impact device functionality. See link above for details	
    # uncomment to disable bluetooth	
     dtoverlay=disable-bt	
     dtoverlay=disable-wifi	
    # 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	
    lcd_rotate=2	
    # uncomment the following to adjust overscan. Use positive numbers if console	
    # goes off screen, and negative if there is too much border	
    #overscan_left=16	
    #overscan_right=16	
    #overscan_top=16	
    #overscan_bottom=16	
    # uncomment to force a console size. By default it will be display's size minus	
    # overscan.	
    #framebuffer_width=1280	
    #framebuffer_height=720	
    # uncomment if hdmi display is not detected and composite is being output	
    #hdmi_force_hotplug=1	
    # uncomment to force a specific HDMI mode (this will force VGA)	
    #hdmi_group=1	
    #hdmi_mode=1	
    # 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	
    #uncomment to overclock the arm. 700 MHz is the default.	
    over_voltage=6	
    arm_freq=2000	
    gpu_freq=750	
    gpu_mem=256	
    # 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	
    # Enable DRM VC4 V3D driver on top of the dispmanx display stack	
    # dtoverlay=vc4-fkms-v3d	
    dtoverlay=vc4-kms-v3d	
    max_framebuffers=2	
    arm_64bit=1

    and just to confirm we are both on same page please provide an phot of the Raspad3 showing the issue.


  • @CerberusStyle Tried your supplied config.txt and nothing seems different. 

     

    Boot Screen-

    Boot screen

     

    Login-

    Login Screen

     

    Once logged in, auto-rotator makes things normal-

    Logged in

     

    Thanks again for your help and time. If you have any other ideas, I'm willing to try! If you're out of ideas, that's understood as well. It's not absolutely critical for me to fix this, however I'm guessing it's something ridiculously simple being overlooked.

     


  • @A R ohh i see what your doing lol, the Raspad3 is already up the right way from the start you dont even need to rotate the screen, remove the line.

    lcd_rotate=2	

    you dont even need it with Raspad3 up that way lol


  • @CerberusStyle But when I remove it, the behavior is exactly the same (upside down boot & login, once logged in everything is normal)...?


  • @A R is the berry screen upside down  or just the login page?


Please login to reply this topic!