March 12, 20233 yr Armbian_22.08.7_Bananapim5_bullseye_edge_5.19.16_gnome_desktop Hello, I'm trying to rotate the desktop from landscape to portrait. Trying to do this in the display settings in the desktop does not work correctly as it only uses the top half of the screen. What does work is to rotate using xrandr: xrandr -o right I'm trying to do this automatically on start up so I have written a script to call from lightdm.conf The script: #!/bin/sh xrandr -o right exit 0 The parts in lightdm.conf [Seat:*] that I've edited: display-setup-script=/home/badger/screen.sh session-setup-script=/home/badger/screen.sh This works for the login screen, however it does not rotate the display. Any ideas how to do this? Thanks.
March 14, 20233 yr It may be working like the bananapi M3? https://forum.banana-pi.org/t/bpi-m3-how-to-rotate-display-screen/1198 i dont know if adding extra rotate param to the /boot/armbianEnv.txt works: extraargs=video=HDMI-A-1:1920x1080M@60,rotate=90 an other did Section "Monitor" Identifier "DP-1" Option "Primary" "true" #Option "Position" "1200 360" Option "Rotate" "right" #Option "PreferredMode" "1920x1200" EndSection Section "Screen" SubSection "Display" Virtual 3120 1920 EndSubSection EndSection Edited March 14, 20233 yr by SoSie New solution
March 14, 20233 yr Into /boot/armbianEnv.txt I've this line: extraargs=drm_kms_helper.edid_firmware=HDMI-A-1:edid/720x480.bin video=HDMI-A-1:720x480M@60 fbcon=rotate:0 The fbcon=rotate=x permit you to rotate, the items available are 0, 1, 2, 3.
March 15, 20233 yr @Mechano where did you get the drm_kms_helper module? there is no candidate apt-file search 5.19.16-meson64 | grep drm_kms_helper gives nothing. you may not be on the same kernel version
March 19, 20233 yr Author Thank you SoSie and Mechano for your suggestions, unfortunately they did not work (just tested on a fresh install). I thought fbcon was only for the console?
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.