Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: hdmi screen resolution
#4
(06-04-2025, 02:40 PM)TheOldPresbyope Wrote: @nakinigit

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
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}')
And that gives me:
Code:
moode@moode:~ $ kmsprint | awk '$1 == "FB" {print $3}' | awk -F"x" '{print $1","$2}'
1920,1080
64,64
Incidentally, that is the resolution of the computer monitor I used for initial setup. Could that be a lingering artifact?
Reply


Messages In This Thread
hdmi screen resolution - by nakinigit - 06-04-2025, 02:19 AM
RE: hdmi screen resolution - by Tim Curtis - 06-04-2025, 10:26 AM
RE: hdmi screen resolution - by TheOldPresbyope - 06-04-2025, 02:40 PM
RE: hdmi screen resolution - by nakinigit - 06-04-2025, 07:55 PM

Forum Jump: