(06-04-2025, 02:40 PM)TheOldPresbyope Wrote: @nakinigitKent,
Quote:Are we X or Wayland?
Hint: the local display is started in the /home/moode/.xinitrc script (or whatever default usename was chosen if not moode). That's where the screen size and orientation of the local display gets set.
I experimented with Wayland early in moOde's transition to Raspberry Pi OS Bookworm. I could make the local display work with it but it brings new issues. We'll probably have to make the transition someday but we don't need it for now.
Regards,
Kent
I'm aware of .xinitrc. It checks /boot/firmware/config.txt for the line 'dtoverlay=vc4-kms-v3d', which is there in my case. So then it seems as though resolution is set by:
Code:
SCREEN_RES=$(kmsprint | awk '$1 == "FB" {print $3}' | awk -F"x" '{print $1","$2}')
Code:
moode@moode:~ $ kmsprint | awk '$1 == "FB" {print $3}' | awk -F"x" '{print $1","$2}'
1920,1080
64,64