That's the one i tried and it made no difference which is why I went to last resort and digging into the documentation to find absolutely nothing. I had it on the end of the command line first of all but tried it at the beginning as well. Started of with 25 all round then upped it to 100.There's a hacky kludge which worked for me on a Pi 4B, Bookworm 32-bit, under X11 and Wayland -I had a very similar problem. Buried somewhere deep in this site I found this...Just append this to the end of cmdline.txt after changing the margin sizes of course...Code:
video=HDMI-A-1:margin_left=50,margin_right=50,margin_top=30,margin_bottom=30
![]()
I dunno what your use case is but it works for me with Bookworm (full desktop) and X11 on a Pi4.
The display default is actually 1280 X 720 which I wasn't expecting, I have no idea what the hardware resolution is, its a typical HD ready TV which scales everything, I tried reducing the Pi resolution to see if it would letterbox but it scaled it back up and overscanned again.
I saw a lot of other rejections of various suggestions.
Its very confusing where "HDMI-A-1" comes from, xrandr doesn't display that and I wasn't going to do trial and error for the rest of the afternoon.
Statistics: Posted by pidd — Fri May 10, 2024 7:33 pm