dakboard / Hardware-OS

DAKboard Wall Display, CPU, and Raspberry Pi
25 stars 4 forks source link

Random White Blocks appear on 2.26-2.29 #58

Closed cocarrig closed 2 years ago

cocarrig commented 2 years ago

Describe the bug White blocks appear intermittently on RPi4 systems inside the DAKboard screen rendered via the chromium-browser.

To Reproduce Steps to reproduce the behavior:

  1. Deploy DAKboard OS 2.26-2.29 on Raspberry Pi4 SBC, attached to 4k screen preferably.
  2. Configure custom screen and assign to device.
  3. Note on screen start that white blocks can intermittently show.

Expected behavior Artifacts on screen such as white blocks should not display

Screenshots N/A

Device Type (please complete the following information):

DAKboard OS Version (please complete the following information): 2.26-2.29

Additional context N/A

cocarrig commented 2 years ago

We have narrowed this issue down to only the chromium-browser application, and believe the hardware acceleration in the updated 92.x release added in 2.26 is causing the artifacts.

We are reviewing the necessary steps to change hardware acceleration settings in the browser to resolve the issue.

cocarrig commented 2 years ago

Additional chromium flags needed to support chromium 90+ have been identified below: --use-gl=desktop \ --enable-features=VaapiVideo-decoder \ --ignore-gpu-blocklist \ --enable-gpu-rasterization \

Updating and creating new release with updates to complete UAT.

cocarrig commented 2 years ago

Unfortunately, the updated flags necessary for Pi4 use are not usable for non Pi4 deployments. A different solution will be developed to open the browser with appropriate flags for both systems.

cocarrig commented 2 years ago

Solution has been developed to review if the device is a PI4 inspecting /proc/device-tree/model. If the device is a Pi4 it will add the following Chromium flags: --use-gl=desktop --enable-features=VaapiVideo-decoder --ignore-gpu-blocklist --enable-gpu-rasterization

This has been added into release 2.31 which is pending UAT at this time.

cocarrig commented 2 years ago

UAT Passed, closing issue. Release is available for download at the following link: https://drive.google.com/uc?id=1v30upy-eYuPBhh0Y6D3O2Lk_5rdTLOrN&export=download