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

Beginners • Re: RPi4 + Trixie + Wayland: how to set HDMI display resolution?

$
0
0
First question that OP needs to answer is:
Does your monitor have a scaler chip? Depending on how said "7in LCD" is constructed throwing an unsupported mode on it will not give you a pleasent output on screen.

wlr-randr is sadly lacking the '--scale-from' option which is available in xrandr which resizes the display output by defining a target virtual resolution instead of a multiplier (like with '--scale').
Available options with wlr-randr are:

Code:

pi@cm5-4gb:~ $ wlr-randr -husage: wlr-randr [options…]--help--dryrun--json--output <name>  --on  --off  --toggle  --mode|--custom-mode <width>x<height>[@<refresh>Hz]  --preferred  --pos <x>,<y>  --transform normal|90|180|270|flipped|flipped-90|flipped-180|flipped-270  --scale <factor>  --adaptive-sync enabled|disabled
As defining a custom mode might/will fail when there is no scaler on the displays OP's only option is using '--scale'.
Tested on a screen which has 1024x600 pixels with no scaler chip. the factor of 0.75 gives a readable result (that's 1365x800). Going lower will just result in blurred text (but might still be acceptable when viewing pictures)

Code:

wlr-randr --output HDMI-A-1 --scale 0.75
OP can test it 'for free' as the command will not be persistent (will not survive a reboot).

Statistics: Posted by aBUGSworstnightmare — Fri Jul 10, 2026 7:19 am



Viewing all articles
Browse latest Browse all 7747

Latest Images

Trending Articles



Latest Images