Given the UX is resolution locked, framebuffer size should be set in /boot/config.txt
See original GitHub issueAfter unsuccessfully attempting to modify the scripts to handle different screen resolutions, I had success with the following settings which match the hard-coded values in your UX. Without these settings, if touch UI is enabled, a significant portion of the screen to the right and bottom is left black. Without touch UI, IIRC it just added extra rows and columns leaving the text very small but centered.
/boot/config.txt:
framebuffer_width=480
framebuffer_height=320
This resolves the issue completely.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Teamviewer 14 issue on Raspberry Pi 4 - raspbian buster
It's stuck at 720x480 and by now I was unable to influence this resolution. There are some settings in the config.txt file, but...
Read more >Cannot connect DSI display to RPi4 - Raspberry Pi Forums
Hi! I want to connect a DSI display to the Raspberry Pi4. The display is based on the ST7703 controller. So I have...
Read more >Implementing Bootconfig in Android 12
Implement the bootconfig feature for new devices launching with a 12-5.10.xx kernel version. You don't need to implement it if you're upgrading ...
Read more >Pi 4 X-Display resolution doesn't match frame buffer
With a TV screen connected to HDMI0 the VNC session would use the same high resolution as the TV. Settings in /boot/config.txt that...
Read more >Build a Large-Screen Command Center with the RPi 2
By the way, these settings also can be modified by editing /boot/config.txt, so if you don't have raspi-config on your distribution, you can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

OK … so I will add this to the
blitz.display.shforhdmi&lcdmode for the next v1.7.2 rc.On second thought, I think this just changes the framebuffer size, not the resolution sent to the screen. If that’s so, I’m not sure why it would cause any issues with your monitor. You can double-check the monitor is getting the correct settings in raspi-config.
I did have an issue with the screen going black in this configuration with touch UI enabled, but it started working over a couple reboots. Without touch UI enabled, it always displayed correctly so you may try toggling that as well.