Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Official 7" Raspberry touch screen LCD isn't working with Boot2Qt 6.6 for Raspberry Pi 4 -64 bit

Official 7" Raspberry touch screen LCD isn't working with Boot2Qt 6.6 for Raspberry Pi 4 -64 bit

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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

    JKSHJ 1 Reply Last reply
    0
    • ? A Former User

      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

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      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

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      ? 1 Reply Last reply
      1
      • JKSHJ JKSH

        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

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @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.

        boot2qtissue.jpeg

        Has anyone got an idea why the Boot2Qt process it is getting stuck at this point?

        I appreciate your help!

        JKSHJ 1 Reply Last reply
        0
        • ? A Former User

          @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.

          boot2qtissue.jpeg

          Has anyone got an idea why the Boot2Qt process it is getting stuck at this point?

          I appreciate your help!

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          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

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          ? 1 Reply Last reply
          0
          • JKSHJ JKSH

            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

            ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            @JKSH Thanks! I have opened a new ticket regarding this issue so I guess we can mark this thread as solved.

            1 Reply Last reply
            0
            • System has marked this topic as solved on

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved