RP4 display all of the content, but not on the entire screen after chromium block update

I have been following this project for a while now, and may I start off by saying it is awesome! I recently updated to the latest version as I was hoping it being ported directly from the browser block, some issues would be resolved, main one being the sizing issue I am having on a Vizio 32" screen (Picture of specs and issue attached below.) When I updated, there were quite a few things that were resolved, but unfortunately this was not one…

I have tried solutions like the one outlined here, and even a large amount of other random configurations as well. The closest I can get is to it filling the entire length, but then it has an even shorter width with using the WINDOW_SIZE flag and I set it to 1920, 1080 as recommended. The odd things as that the Balena Logo displays full screen when it boots up, so I know it can display at that size, it’s just the browser. Any suggestions?



Thanks for posting @rjoel98 :slight_smile:

Just for reference this is duplicated over on GitHub as well.

Have you set a BALENA_HOST_CONFIG_hdmi_cvt variable as described here?

@shawaj

Thank you for the quick reply, unfortunately I was not able to test out what your suggested until today. I will try to be more on top of it though!

After following the directions made the display only show half of the screen like the third picture above. I am not positive if I fully understand this setting though, I tried setting BALENA_HOST_CONFIG_hdmi_cvt to 1920 1080 60 9 0 0 0 and even the example on the page 480 320 60 1 0 0 0 and I had no luck. Am I not setting these to the propper variables?

Also, I decided to do a fresh pull from github and do a new application in bitnami, now the display is slightly bigger, but still not the entire screen, and it is off the top and the left side, but you can only really tell when you go back the login page. I tried using WINDOW_POSITION and setting it to 0,0, but it did not move the display. Any suggestions for this also?

Hey Ryan

Can you please remove the above BALENA_HOST_hdmi_cvt env var and try the following:

set in device configuration:

BALENA_HOST_CONFIG_hdmi_group to 2
BALENA_HOST_CONFIG_hdmi_mode to 82

Please make sure the above variables are set as device config variables

Can you also add the following service variables to the kiosk service

WINDOW_SIZE set to 1920,1080
WINDOW_POSITION set to 0,0

Does this help?

Thanks

Hi @rahul-thakoor,

I did what you suggested above, and it seems to have solved the size issue, but it almost seems to screen display is too big and it extends past the screen on all 4 sides. It is centered now though and fills the screen which is good. It’s just that once you get past the login. I wonder if it is a scaling issue overall, versus just the kiosk container as the Balena logo at startup looks a bit bigger than before, and the chromium password saver pop-up is also outside the screen’s view. I deffinitly think we’re closer, but any suggestions for this?

Thank you so much!

Hi Ryan,

Our engineers have been able to reproduce this error on the same hardware you’re using, but we haven’t yet been able to pin down a fix. We’ll keep you posted on our progress.

John

1 Like

So after messing around with it a bit more, I realized that the TV ended up putting itself into wide display mode after I made the changes, which caused the content to be cut off on all 4 sides. After switching it back to normal, the issue was resolved fully. I do wonder why the TV felt that it needed to display in wide mode, so if you all find a solution that would be great as now every time the pi restarts you have to go in and reset the TV to normal view.

Thank you!

Maybe you can also try with other settings such as setting

BALENA_HOST_CONFIG_hdmi_group to 1
BALENA_HOST_CONFIG_hdmi_mode to 16

You can find more about these options here