Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3546

Raspberry Pi OS • How do I find, set and maintain the screen's supported resolutions after rebooting via the CLI?

$
0
0
As the title states, how do I find, set, and maintain the screen's supported resolutions after rebooting via the CLI?

My Setup:
-----------------------
Raspberry Pi 5
- Raspberry OS Lite - Bookworm (I prefer to have as light weight OS as possibly, within reason)
Display - 43" TV
No keyboard/mouse

GUI setup - Openbox

Code:

sudo apt install --no-install-recommends xserver-xorg x11-xserver-utils xinit openbox -y
-----------------------

When I check "xrandr" with:

Code:

xrandrxrandr -qxrandr --verbose
I only get one resolution output

Code:

Pi2:~$ xrandrScreen 0: minimum 0 x 0, current 4920 x 1944, maximum 32768 x 32768default connected primary 4920x1944+0+0 1301mm x 514mm   4920x1944      0.00*Pi2:~$ xrandr --verboseScreen 0: minimum 0 x 0, current 4920 x 1944, maximum 32768 x 32768default connected primary 4920x1944+0+0 (0x3f) normal (normal) 1301mm x 514mm        Identifier: 0x3e        Timestamp:  593494062        Subpixel:   unknown        Gamma:      1.0:1.0:1.0        Brightness: 1.0        Clones:        CRTC:       0        CRTCs:      0        Transform:  1.000000 0.000000 0.000000                    0.000000 1.000000 0.000000                    0.000000 0.000000 1.000000                   filter:        non-desktop: 0                supported: 0, 1  4920x1944 (0x3f)  0.000MHz *current        h: width  4920 start    0 end    0 total 4920 skew    0 clock   0.00KHz        v: height 1944 start    0 end    0 total 1944           clock   0.00Hz
I have tired to set the mode with

Code:

Pi2:~$ xrandr --output default --mode 1280x720xrandr: cannot find mode 1280x720
I then tried the gui version of "xrandr" and installed the "arandr" and connected up a keyboard and mouse to it..
I open up "arandr" and find these resolutions but...
----------------------
3840x2100
4096x2160
2560x1440
1920x1080
1920x1080i
1280x720
1024x768
800x600
720x480
720x480i
640x480
-------------------
But, "arand" doesn't give me a save option to maintain what I set it too.

If there is additional information can provide to help please let me know while I continue to look for a solution.

Edit:
My bad, I didn't realize i was in this forum. I thought i was under the "troubleshooting" section

Statistics: Posted by raksasas — Wed Jul 30, 2025 2:32 pm



Viewing all articles
Browse latest Browse all 3546

Trending Articles