Closed LiamEberhart closed 9 months ago
That is as expected. Most Linux subsystems require all dependent components to have probed before the overall device will complete the loading process.
The rpi_touchscreen_attiny is the regulator and backlight control for the DSI display, so without that present the overall vc4 DRM driver will defer probing awaiting it to arrive - DSI is not a hot-pluggable interface.
This is one of the major reasons why display_auto_detect=1
exists as a firmware option. The firmware knows where it might find the DSI display for standard Pis (not Compute Modules), and if it finds the display it will load that overlay. By manually adding dtoverlay=vc4-kms-dsi-7inch
you've told the system it is always going to be there, and so it expects that to be the case.
Wayfire requires a DRM backend to work, so not having such will cause it to crash, likely leaving you at a flashing cursor.
Is there a way for me to only load the dtoverlay=vc4-kms-dsi-7inch
if I have probed and found a DSI display? Or conversely, if it is not found, not load the DSI driver? I am trying to make an SD card build that is usable on multiple devices, one of which is a touchscreen interface.
I am guessing, since it is not a hot-pluggable interface that is not really possible, and I will need to find some other workaround for this functionality.
display_auto_detect=1
https://www.raspberrypi.com/documentation/computers/config_txt.html#display_auto_detect
With this setting enabled (which it is in Raspberry Pi OS), the firmware will automatically load overlays for DSI displays that it recognises. Set display_auto_detect=0 to disable.
The only DSI displays the firmware knows about is the Pi 7" 800x480 panel (or 100% compatible clones).
Describe the bug
Adding
dtoverlay=vc4-kms-dsi-7inch
to /boot/firmware/config.txt causes HDMI to not display anything when the 7" touchscreen is not connected.Steps to reproduce the behaviour
No other changes to the system, only adding dtoverly line causes HDMI to only display a black screen and a single blinking underscore. all other functions seem to still be operational. SSH still works. Only error I saw was;
If a touchscreen is attached along with an HDMI screen (so two screens) the GUI boots as normal.
Device (s)
Raspberry Pi 4 Mod. B
System
Should be a Raspberry Pi 4 8GB on nearly the newest kernel build.
Logs
Additional context
No response