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. Eglfs on second display
Forum Updated to NodeBB v4.3 + New Features

Eglfs on second display

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 4 Posters 4.8k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    JohanD
    wrote on last edited by
    #1

    Hi all,

    I am working on an embedded system with two displays connected. (Nitrogen6q board with i.mx6 cpu)
    With "-platform linuxfb" I can choose the display to run the application on like this:

    • First display: ./analogclock -platform linuxfb:"fb=/dev/fb0"
    • Second display: ./analogclock -platform linuxfb:"fb=/dev/fb2"

    with "-platform eglfs" the application only runs on the first display (/dev/fb0).
    Is there any way to run an application on the second display (/dev/fb2) using "-platform eglfs"?

    Best regards,

    Johan

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fludwig
      wrote on last edited by
      #2

      Hi there!

      I'm also trying to figure this out at the moment - did you have already success displaying something with eglfs on the second screen?

      Thanks!
      Florian

      1 Reply Last reply
      0
      • A Offline
        A Offline
        agocs
        wrote on last edited by
        #3

        No, there is no such support in eglfs at the moment. It always uses /dev/fb0 and, in case of iMX6, binds the EGL display to that framebuffer.

        I have created http://bugreports.qt-project.org/browse/QTBUG-36113 since this is definitely something that should be addressed.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          fludwig
          wrote on last edited by
          #4

          Oh perfect :) Thanks!

          But at the moment it should be possible to use eglfs on the fb0 and linuxfb on a second screen or not?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            agocs
            wrote on last edited by
            #5

            That should be possible, yes.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              agocs
              wrote on last edited by
              #6

              I tried this today on my i.MX6 board and it worked well: eglfs was using fb0 (HDMI) while another app was running with -platform linuxfb:fb=/dev/fb2 and was displaying on the LCD.

              1 Reply Last reply
              0
              • H Offline
                H Offline
                henry10210
                wrote on last edited by
                #7

                Hello, I am a QT newbie (just ran the pathstroke demo application running on my ARM target with -platform linuxfb). I skimmed through "Application with Qt Creator" by Ray Rischpater, but I still don't feel like I understand how to approach the multi-monitor, full screen Qt application. In particular, I am unsure whether this bug means that I cannot full-screen 2D paint to multiple monitors using a GPU, within ONE application, or whether this is just a performance issue, because you can always render to multiple screens--just slowly.

                Any advice please?

                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