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. Duplicate/Clone screens in RPI4
Forum Updated to NodeBB v4.3 + New Features

Duplicate/Clone screens in RPI4

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 351 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.
  • md2012M Offline
    md2012M Offline
    md2012
    wrote on last edited by md2012
    #1

    Hi,
    Im trying to duplicate my output screen from 'HDMI1' to 'HDMI2' on RPI4 device.
    According to https://doc.qt.io/qt-5/embedded-linux.html since Qt 5.11 it is possible using a kms configuration file.
    So i build two Qt version for this purpose, 5.12.11 and 5.15.2.
    here is the kms configuration i used:

    {
     "device": "/dev/dri/card1",
      "outputs": [ 
                    { "name": "HDMI1", "mode":"1024x600" },
                    { "name": "HDMI2", "clones": "HDMI1" } 
                 ]
    }
    

    The output is two screen showing the same window but the performance is very poor and the screen keep showing white frames while showing the application window.

    And also the output keep saying:

    QEGLPlatformContext: eglSwapBuffers failed: 3003
    Could not lock GBM surface front buffer!
    

    Also worth mentioning that when i use the application without the cloning feature it works just fine.
    I Wonder if im doing something wrong.

    M 1 Reply Last reply
    0
    • md2012M md2012

      Hi,
      Im trying to duplicate my output screen from 'HDMI1' to 'HDMI2' on RPI4 device.
      According to https://doc.qt.io/qt-5/embedded-linux.html since Qt 5.11 it is possible using a kms configuration file.
      So i build two Qt version for this purpose, 5.12.11 and 5.15.2.
      here is the kms configuration i used:

      {
       "device": "/dev/dri/card1",
        "outputs": [ 
                      { "name": "HDMI1", "mode":"1024x600" },
                      { "name": "HDMI2", "clones": "HDMI1" } 
                   ]
      }
      

      The output is two screen showing the same window but the performance is very poor and the screen keep showing white frames while showing the application window.

      And also the output keep saying:

      QEGLPlatformContext: eglSwapBuffers failed: 3003
      Could not lock GBM surface front buffer!
      

      Also worth mentioning that when i use the application without the cloning feature it works just fine.
      I Wonder if im doing something wrong.

      M Offline
      M Offline
      matzrm
      wrote on last edited by
      #2

      @md2012 Have you fixed this?

      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