Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2112

AGL can not display 2 different Qt applications on 2 monitors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • Flounder
    • Automotive
    • None
    • M3ULCB+Kingfisher with two monitors HDMI-A-1 HDMI-A-2

      Hello All,

      We have to use dual display for our applications.

      There are 2 different Qt applications which should run on 2 different monitors simultaneously.

      Here, we have tried to use LayerManagerControl commands. But it is found that HomeScreen application is seen. 

      We have modified weston.ini for 2 output displays.

      Following steps are followed for dual screen display:

      //screen1

      $layer-add-surfaces -d HDMI-A-1 -l 2001 -s 1
      $LayerManagerControl set layer 2001 render order 1
      $LayerManagerControl set surface 1 source region 0 0 608 837
      $LayerManagerControl set surface 1 destination region 0 0 608 837

      $LayerManagerControl set screen 0 render order 2001
      $LayerManagerControl set layer 2001 visibility 1
      $LayerManagerControl set surface 1 visibility 1

      $./QtApplication1

      //screen2
      $layer-add-surfaces -d HDMI-A-2 -l 3000 -s 1
      $LayerManagerControl set layer 3000 render order 1001
      $LayerManagerControl set surface 1001 source region 0 0 1926 1113
      $LayerManagerControl set surface 1001 destination region 0 0 1926 1113

      $LayerManagerControl set screen 1 render order 3000
      $LayerManagerControl set layer 3000 visibility 1
      $LayerManagerControl set surface 1001 visibility 1

      $./QtApplication2

      After this,

      1. Screen 1 shows HomeScreen Application.

      2. Screen 2 shows QtApplication1 instead of QtApplication2

      Query:

      1. How to disable HomeScreen application without changes in westion.ini file. (LayerManagerControl needs ivi.shell so could not comment it to disable HomeScreen application)
      2. How to show respective applications on screens.
      3. Is there any other way to show different applications on 2 monitors.

       

      Regards,
      Ashvini Deshmukh

       

       

       

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            AshviniD Ashvini Deshmukh
            AshviniD Ashvini Deshmukh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: