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

Graphics, sound and multimedia • Re: Setting framebuffer size issue

$
0
0
..
I use the following HDMI 3.5" touchscreen with the native resolution 480x320:
https://www.waveshare.com/wiki/3.5inch_HDMI_LCD
It's installed on Pi 3 running the latest 'bookworm' OS Lite. In the /boot/config.txt I have:

Code:

dtoverlay=vc4-kms-v3dmax_framebuffers=2framebuffer_width=480framebuffer_height=320...[all]hdmi_group=2hdmi_mode=87hdmi_pixel_freq_limit=20000000hdmi_cvt 480 320 60 6 0 0 0hdmi_drive=1dtoverlay=ads7846,cs=1,penirq=25,penirq_pull=2,speed=50000,keep_vref_on=0,swapxy=0,pmax=255,xohms=150,xmin=200,xmax=3900,ymin=200,ymax=3900
..
from some previois post it should become known to you that bookworm will ignore most of these settings (only firmware will use them during boot).
Add a video mode to your kernel command line.

Statistics: Posted by aBUGSworstnightmare — Sun Jan 14, 2024 6:40 am



Viewing all articles
Browse latest Browse all 5042

Trending Articles