balena-labs-projects / fbcp

fbcp driver for SPI based displays for Raspberry Pis via fbcp-ili9341
14 stars 1 forks source link

RPi4 needs default DT overlay #6

Closed phil-d-wilson closed 3 years ago

phil-d-wilson commented 3 years ago

RPi4 displays nothing on my Adafruit 2.8" TFT, until I set the DT overlay back to "vc4-fkms-v3d".

Should we detect the device type and twiddle the overlay if it's a Pi4 @rahul-thakoor ?

phil-d-wilson commented 3 years ago

https://github.com/juj/fbcp-ili9341/issues/75

rahul-thakoor commented 3 years ago

@phil-d-wilson afaik pi4 had vc4-fkms-v3d enforced? has this changed in recent os versions?

phil-d-wilson commented 3 years ago

@rahul-thakoor the block changed it to a TFT specific overlay

rahul-thakoor commented 3 years ago

hey @phil-d-wilson i am unable to reproduce this. Here is what I tried:

fbcp does not set any dtoverlay automatically afaik. Can you confirm that you didn't test this on a device where dtoverlay was changed previously

phil-d-wilson commented 3 years ago

@rahul-thakoor I can't - since I have no memory. :)

I think the dtoverlay was set to something very TFT specific, so assumed it had been set by the block. However looking at the code, I can see that's not the case. Sorry for the hassle - happy to close. :)

rahul-thakoor commented 3 years ago

ok thanks for the feedback @phil-d-wilson :)