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. [SOLVED] Running Qt/QtQuick 5.1 application (eglfs platform) with different color depth compared to the linux framebuffer
QtWS25 Last Chance

[SOLVED] Running Qt/QtQuick 5.1 application (eglfs platform) with different color depth compared to the linux framebuffer

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.6k 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.
  • G Offline
    G Offline
    Georgije Bosiger
    wrote on last edited by
    #1

    Hi,

    I would like to run Qt/Quick applications using a 24-bit LCD which is connected to the lvds serializer but I have a problem with displaying colors on my embedded device (AM335x) using linux kernel version 3.2, qt version 5.1 and eglfs platform. The problem is that the color depth of the linux framebuffer must be set to 32-bit (ARGB88888) mode because graphical driver (SGX-PVR) does not not support the RGB888 mode of the LCD. Is there a way that I can run Qt 5.1 applications using 24 bit color depth on the 32 bit framebuffer?

    I've also run my applications using QT_QPA_EGLFS_FORCE888 and QT_QPA_EGLFS_DEPTH env. variables as it is explained "here":http://doc-snapshot.qt-project.org/qt5-dev/embedded-linux.html with the same result - it is possible that version 5.1 of qt library does not support this (?).

    Kind regards,

    Georgije Bosiger

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      For such a low-level question you should post this question on the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Georgije Bosiger
        wrote on last edited by
        #3

        Thank you. I'll do that next time.
        I've realiezed that the the 24 bit LCD can work without any problems on the 32 bit frame buffer because the way the data is stored and read by the LCD controller. The issue with the colors is related to the panel setings in the kernel. Problem is solved.

        1 Reply Last reply
        0

        • Login

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