-
-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certain Websites Crash into White Screen. Websites do not continuously play. #1879
Comments
@ryanmilla Thanks for creating this issue.
|
@ryanmilla, but things get pretty unusual when I unplugged from my FHD monitor and plugged to my 4K, without device reboot. The larger display can still show the BBC page. Should you wanna do some digging too, you can also do research on how to set resolution on the fly using
cd ~/screenly
docker compose exec anthias-server bash
# Then run the `tvservice` command
tvservice -m CEA # lists all the possible groups for CEA mode
tvservice -m DMT # lists all the possible groups for DMT mode
tvservice -e `CEA <GROUP_ID>` Still can't make it work to display in 1920x1080 for larger (4k) displays. P.S. My bad, it you can't do the commands above since you're using a a release image, which basically runs BalenaOS. These issues also occur on Anthias instances installed on Pi running Raspberry Pi OS Lite. |
@nicomiguelino Thanks for the response. I appreciate it. This issue occurs all FHD displays and anything bigger than that as well. You've mentioned that I wouldn't be able to run these commands. What alternative is there for Anthias instances isntalled on RPi OS Lite? |
@ryanmilla, I thought you're using a pre-release image because it's mentioned that you're using 0.18.7, but I overlooked the part where the device runs RPi OS Lite.If that's the case, you should be fine and should be able to run the commands. Don't have a possible solution yet, but can you provide a screenshot of your System Info here? (Just make sure not to disclose any info you think are sensitive.) |
Hi. It's currently plugged into a 4K TV. I've also tested it on a regular 1920x1080 FHD monitor and its the same result. Thanks. |
@ryanmilla, thanks.
|
Changing CEA mode didn't work. My config file was in /boot/config.txt. Thanks for the suggestions so far. |
Hi @nicomiguelino Just ran into the same issue you've run into. When plugging into a different 1920x1080, https://www.bbc.co.uk/news displays. Once I unplug it (without rebooting) and put it onto a 4k display, it shows up as well. I wonder if there's a way for "monitor info" to be kept static during boot up? |
@nicomiguelino Hi Nico. I have the fix. Given your CEA mode list, certain websites will crash if it isn't tied to the right CEA mode. https://www.bbc.co.uk/news enjoys CEA mode 31. Persistent CEA modes can be set in the config.txt file. /boot/config.txt You may close the issue. Thank you. |
Thanks, @ryanmilla! I'm going to try the steps you did on my Pi before closing it. |
@nicomiguelino Thanks a ton for the help! |
@ryanmilla, so I recently tested the config changes. The device still displays a blank, white screen on my 4K TV for the BBC web page. I checked the Monitor Info and it still displays the following:
Here's my
Does your config work on your 4K display as well? |
@nicomiguelino my config works for 4K monitors too. I’m currently using CEA mode 4 but that’s because I’m dealing with a pretty finicky website. The issue that I’m now having is forcing the pi to always boot into CEA mode 4 (or in the case of BBC web page: CEA mode 31). Sometimes the config pushes it, sometimes it doesn’t. FYI I’m editing /boot/config.txt if that makes a difference. I’ll show you a screenshot of the config in a few hours. Thanks |
@nicomiguelino I have multiple pi's and some of them do not want to push my static CEA mode when its plugged in. Sometimes it just reverts back. This is my config for /boot/config.txt
|
@nicomiguelino This entire issue may be a player issue. The player just doesn't communicate well with the TV. In some cases, I can get CEA mode 31 working on some 1920x1080 monitors & no 4K monitors. Cheers. |
@nicomiguelino just an FYI: tested other sites and 1920x1080 CEA modes still result in a white screen. I've tried changing the player from OMX to VLC and it didn't work out. Cheers. |
@ryanmilla Thanks. That's unfortunate. It could be that the Qt/C++ needs fixing. There are plans to upgrade from Qt 5 to Qt 6, then made the necessary adjustments to the C++ code. |
@nicomiguelino Thanks for the help. I'll be waiting for that update then! Cheers |
@ryanmilla, Qt-related changes hasn't been started yet, but I tweaked relevant Docker Compose files in hopes of resolving the white screen issue. Here's the PR for reference: #1894, which includes fix for playback of web assets. Tweaking the shm_size of the For your device running Anthias on Bookworm, you can run the following, but make sure that you've backup your data. # Make sure that you're inside the project root directory.
cd ~/screenly
# Pull the latest changes from the `master` branch.
git pull
# If you can't pull the changes, you can just add a `shm_size` in the `anthias-viewer` service of `docker-compose.yml.tmpl`.
# You can set it to anything larger than `64mb` (which is the default value.) like `256mb`, `1gb`, etc.
# Restart the docker containers, but you have to do it in a specific way, since `docker-compose.yml` is auto-generated based on the template file `docker-compose.yml.tmpl`.
docker compose down && ./bin/upgrade_containers.sh However, do take note that smooth transitions are not yet implemented. |
@nicomiguelino Hi Nico. Sorry for the late response. Tested this after a month. Works a lot better now. I'd like to thank you for your time. Regards, |
Hi @nicomiguelino really enjoying the update. However, how do I force a CEA mode? I've seen that you've moved the config.txt file to /boot/firmware/config.txt but entries for CEA mode are no longer in the config.txt file Thank you |
@ryanmilla, I haven't dug deep into the new config parameters. I found a documentaton about manually setting resolution, but it seems that it's only applicable for those using Wayland. |
This is the way. Everything is moving towards Wayland. We need to update the Anthias stack to be Wayland first as the old way of doing things ( |
Issue: Certain websites crash into a blank white screen and do not want to continue to be displayed.
Websites are up for a specific amount of time and crash into a blank white screen for a specific amount of time as well.
These websites also do not offer smooth transitions.
3. When one of these websites are enabled with the addition of an enabled .jpg with a logo on it, it tends to hang on this white screen for a second before the website shows its contents. It then proceeds to crash into this white screen as mentioned in 1. and 2.
Environment
The text was updated successfully, but these errors were encountered: