Skip to content

fix: support kmsprint for display detection#3623

Open
Patrick-Remy wants to merge 2 commits into
openWB:masterfrom
Patrick-Remy:display-detection-kmsprint
Open

fix: support kmsprint for display detection#3623
Patrick-Remy wants to merge 2 commits into
openWB:masterfrom
Patrick-Remy:display-detection-kmsprint

Conversation

@Patrick-Remy

@Patrick-Remy Patrick-Remy commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

After a fresh installation of the latest Raspberry Pi OS bullseye (https://downloads.raspberrypi.org/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2025-05-07/) with an OpenWB Pro+, and executing the official install script, the integrated display is not detected.

This is caused as the atreboot.sh script is using the deprecated tvservice which just prints

openwb@openwb-2:~ $ tvservice -l
tvservice is not supported when using the vc4-kms-v3d driver.
Similar features are available with standard linux tools
such as kmsprint from kms++-utils

and therefore assumes there is no display connected. This PR tries to use the modern kmsprint first and additionally should make it more compatible for upcoming bookworm and trixie support.

Modern Raspberry Pi OS versions use kmsprint instead of deprecated tvservice.
@benderl

benderl commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution.

The use of the vc4-kms-v3d kernel module is currently not supported by openWB software2. The root cause is, that the module was still kind of buggy in the first releases of Bullseye.

Switching to this kernel module requires more changes, than just using kmsprint. Setting the display rotation is currently done with the parameter "lcd_rotate" in "/boot/config.txt". This rotates the display and touch input. With the newer kms module this has to be done in another way.

If you intend to add support for the kms module in this PR, please also add support for changing the display rotation.

@Patrick-Remy

Copy link
Copy Markdown
Contributor Author

Good hint, I will add rotating support next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants