Official 7" Raspberry touch screen LCD isn't working with Boot2Qt 6.6 for Raspberry Pi 4 -64 bit
-
Hi there,
I've been trying to deploy my Qt6.6 Quick application, a simple "Hello World" demo project, via Boot2Qt to a Raspberry Pi 4 (64-bit) with the official Raspberry Pi 7" touchscreen LCD attached. However, after flashing the microSD card using Boot to Qt Flashing Wizard (Boot2Qt 6.6 , Raspberry Pi 4 64-bit) the touch screen briefly shows the firmware loading up but then turns into a black/grey dotted screen. Consequently, no Boot2Qt Startup Screen appears on the screen as it is supposed to be.
I followed the official Qt demonstration "Getting Started Qt for device creation" video since it demonstrates the same procedure using the Raspberry Pi 4 and the same display. However, this video was recorded six years ago and is based on Qt5, but the procedure appears to be the same in Qt6.
Then, I flashed the microSD card with the latest and official "Raspberry Pi Os 64-bit - Debian Bookworm" to check whether the display was working with the official Raspberry Pi Os. As expected, everything worked fine. So, it seems to be a display driver issue in the Boot2Qt 6.6 , Raspberry Pi 4 64-bit software stack.
I guess one workaround would be setting up a cross-compile toolchain for Qt6.6 and the latest Raspberry Pi Os - Debian Bookworm in the hope that this will work. However, I'm a newbie to Qt and looking at the documentation, setting up this procedure seems to be time-consuming and a bit challenging.
Has anyone faced the same issue or has an idea how I could fix this issue while still using Boot2Qt with this display?
I'm using:
Qt Creator 11.0.3 (Educational license with Qt for device creation)
Boot2Qt 6.6 for Raspberry Pi 64-bit -
Hi @joerg83, and welcome! See @samuli's comment at https://bugreports.qt.io/browse/QTBUG-106112 :
This is probably due to https://github.com/agherzan/meta-raspberrypi/commit/a6fa6b3aec36b92c3750852dd6788af9d2ce08f6. vc4-kms-v3d only works with HDMI, for the rpi display you need to change it back to vc4-fkms-v3d in /boot/config.txt
-
@JKSH Thanks a million for your support! Changing it from vc4-kms-v3d to vc4-fkms-v3d in the /boot/config.txt has solved the display issue. Now the Raspberry is booting up until it reaches a certain point and that is where it hangs up, as illustrated in the screenshot below. When pressing enter it prompts for a login.
Has anyone got an idea why the Boot2Qt process it is getting stuck at this point?
I appreciate your help!
-
You're welcome.
@joerg83 said in Official 7" Raspberry touch screen LCD isn't working with Boot2Qt 6.6 for Raspberry Pi 4 -64 bit:
Has anyone got an idea why the Boot2Qt process it is getting stuck at this point?
Not sure, sorry. I've never seen this before.
I suggest opening a support ticket: https://account.qt.io/s/support-center
-