none
Dual cloned display on WEC7 - LVDS and HDMI RRS feed

  • Question

  • Hi all,

    I'm trying to get dual cloned display on WEC7 (wince monitor on both the displays), LVDS and HDMI.

    This is on i.MX6 processor family.

    I'm able to get WinCE desktop on LVDS and simultaneously I can draw something on HDMI by making HDMI as secondary display.

    (PrimarySurface2 on HDMI). I can use directdraw application to draw image on HDMI.

    Is it possible to get WinCE desktop on HDMI too? Possibly by modifying ddipu code?

    Anybody achieved this? Can you help by giving some pointers?

    Thanks a lot.

    ---- Suren

    Thursday, July 20, 2017 1:45 PM

Answers

  • Call BitBlt to copy the contents of display 1 to display 2, or for better performance just copy the changed rectangles to the 2nd screen (similar to what VNC or cerdisp does) after you've copied the entire screen once.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    • Marked as answer by Surendran_T Friday, July 21, 2017 6:39 AM
    Friday, July 21, 2017 6:04 AM
    Moderator

All replies

  • No, display clone is only possible on 2 LVDS displays, not 1 LVDS and 1 HDMI. Of course extended desktop over 2 displays with one LVDS and one HDMI is possible. To clone the first display you would need to bit blit the image of the first display to the second display (so a software solution, not a hardware one).

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Thursday, July 20, 2017 9:27 PM
    Moderator
  • Hi Michel,

    Thanks a lot for the reply.

    Yes, I've seen dual cloned display on 2 LVDS, and extended desktop solution.

    Can you give little more details on "bit blit the image" thing? How to achieve this on iMX IPU driver?

    ------- Suren


    Friday, July 21, 2017 4:24 AM
  • Call BitBlt to copy the contents of display 1 to display 2, or for better performance just copy the changed rectangles to the 2nd screen (similar to what VNC or cerdisp does) after you've copied the entire screen once.


    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    • Marked as answer by Surendran_T Friday, July 21, 2017 6:39 AM
    Friday, July 21, 2017 6:04 AM
    Moderator
  • Thanks Michel.

    So I need to write an application for this, and use BitBlt function to do this right?

    Looks like, i need to take screenshot of display 1 and draw it on display 2, continuously? :)

    Thanks again..

    ----- Suren

    Friday, July 21, 2017 6:27 AM
  • Correct, but by implementing this in a smart way it can still be performing relatively good. It's always going to be a software implementation though, so expect some CPU load from this! 

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Friday, July 21, 2017 6:29 AM
    Moderator
  • Understood. Thanks a lot, Michel.

    ---- Suren

    Friday, July 21, 2017 6:40 AM
  • Hi Michel,

    Just for a demo purpose I'm doing this implementation. As I mentioned already, I have a DDRAW app to draw a predefined image on secondary screen.

    I have modified this app and added screenshot feature by using cerdisp as reference.

    Now I'm able to get the screen (resolution is not proper though. I'm ignoring this for time being).

    But I'm not able to get the cursor on secondary display. How I can enable this (or, is it possible to get? :) )

    Thanks a lot.

    ----- Suren

    Friday, July 21, 2017 2:24 PM
  • Sure it's possible. Get the mouse cursor position, translate to the coordinates of the secondary screen and BitBlt the mouse cursor at that position.

    Good luck,

    Michel Verhagen, eMVP
    Check out my blog: https://guruce.com/blog

    GuruCE
    Microsoft Embedded Partner
    NXP Proven Partner
    https://guruce.com
    Consultancy, training and development services.

    Interested in WEC on i.MX6?
    Get the only 100% stable and best performing i.MX6 BSP for WEC7 and WEC2013 here: https://guruce.com/imx6

    Friday, July 21, 2017 4:30 PM
    Moderator