question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Given the UX is resolution locked, framebuffer size should be set in /boot/config.txt

See original GitHub issue

After 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:open
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rootzollcommented, Jan 25, 2022

OK … so I will add this to the blitz.display.sh for hdmi & lcd mode for the next v1.7.2 rc.

0reactions
nkinnancommented, Jan 26, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found