11-11-2024, 10:03 PM
(11-11-2024, 09:11 PM)MJR42 Wrote: It's got dtoverlay=vc4-kms-v3d
The response to the dmsprint command is 800,480, even though the tty display is rotated (not sure if it should say 480,800 but I don't see anything in kmsprint that seems to indicate rotation status.)
When I remove "rotate=90" from cmdline.txt and reboot, the boot up to and including the login prompt stays in portrait orientation, and Moode starts up in portrait as well. The kmsprint awk gives the same response i.e. 800,480
For sheer bloody mindedness, I compared the full kmsprint output, and they're the same whether I use rotate=90 or not.
FWIW, there seems to be a fair bit of this going on. e.g. https://forums.raspberrypi.com/viewtopic.php?t=365313 (for a Pi5). I've been looking for things to try that might lead to changes, but the moode image doesn't seem to have Wayfire files or tools. What is the graphic system you're using?
I'm happy to try whatever you suggest if it can lead to discovering (and hopefully fixing) the problem.
Moode continues to use X and not the new Wayland/Wayfire/labwc compositor but this "shouldn't" matter when it comes to boot level rotation and other such things but maybe it does?
You could try some X commands to see if anything useful happens.
1. Take the video settings out of cmdline.txt and reboot
2. Edit ./.xinitrc and hardcode the resolution SCREENSIZE="480x800"
3. Open Peripheral Config and RESTART the display
4. Try these commands
Code:
DISPLAY=:0 xrandr --output HDMI-1 --rotate left
DISPLAY=:0 xrandr --output HDMI-1 --rotate normal
Other xrandr options
Code:
pi@moode9test:~ $ xrandr --help
usage: xrandr [options]
where options are:
--display <display> or -d <display>
--help
-o <normal,inverted,left,right,0,1,2,3>
or --orientation <normal,inverted,left,right,0,1,2,3>
-q or --query
-s <size>/<width>x<height> or --size <size>/<width>x<height>
-r <rate> or --rate <rate> or --refresh <rate>
-v or --version
-x (reflect in x)
-y (reflect in y)
--screen <screen>
--verbose
--current
--dryrun
--nograb
--prop or --properties
--fb <width>x<height>
--fbmm <width>x<height>
--dpi <dpi>/<output>
--output <output>
--auto
--mode <mode>
--preferred
--pos <x>x<y>
--rate <rate> or --refresh <rate>
--reflect normal,x,y,xy
--rotate normal,inverted,left,right
--left-of <output>
--right-of <output>
--above <output>
--below <output>
--same-as <output>
--set <property> <value>
--scale <x>[x<y>]
--scale-from <w>x<h>
--transform <a>,<b>,<c>,<d>,<e>,<f>,<g>,<h>,<i>
--filter nearest,bilinear
--off
--crtc <crtc>
--panning <w>x<h>[+<x>+<y>[/<track:w>x<h>+<x>+<y>[/<border:l>/<t>/<r>/<b>]]]
--gamma <r>[:<g>:<b>]
--brightness <value>
--primary
--noprimary
--newmode <name> <clock MHz>
<hdisp> <hsync-start> <hsync-end> <htotal>
<vdisp> <vsync-start> <vsync-end> <vtotal>
[flags...]
Valid flags: +HSync -HSync +VSync -VSync
+CSync -CSync CSync Interlace DoubleScan
--rmmode <name>
--addmode <output> <name>
--delmode <output> <name>
--listproviders
--setprovideroutputsource <prov-xid> <source-xid>
--setprovideroffloadsink <prov-xid> <sink-xid>
--listmonitors
--listactivemonitors
--setmonitor <name> {auto|<w>/<mmw>x<h>/<mmh>+<x>+<y>} {none|<output>,<output>,...}
--delmonitor <name>
pi@moode9test:~ $