Dual task run on Dual display Apalis IMX8

"We are using the Apalis iMX8X board and have connected both an HDMI and an LVDS display to it. We want to run two applications independently on both displays. How can we do it? Is it possible on this board using reference multimedia image?

Hi, I’m the Toradex AI Assistant. I’m in early beta, and I would appreciate your feedback.
The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello,

To run two applications independently on both an HDMI and an LVDS display connected to an Apalis iMX8X board, you can follow these steps:

  1. Ensure Your Environment is Set Up: Before proceeding, make sure your system is set up with the latest version of the TorizonCore OS. This will ensure you have the necessary drivers and support for dual displays.

  2. Configure the Displays: You need to configure the iMX8X to recognize and utilize both the HDMI and LVDS displays. This can typically be done through the device tree settings. Modify the device tree to enable both interfaces and specify the correct resolutions for each display.

  3. Use Weston or Xorg for Display Management: TorizonCore uses Weston, the Wayland compositor, by default, which supports multiple displays. If you’re using a graphical environment that relies on Xorg, you’ll need to configure it to handle dual displays appropriately.

    • For Weston (Wayland): Weston automatically detects and enables connected displays. You can use the weston.ini configuration file to set up the displays as you wish, including assigning each application to a specific display.

    • For Xorg: If you’re using X11 applications, you might need to run an X server instance for each display and use the DISPLAY environment variable to direct applications to the correct display. For example, DISPLAY=:0.0 for the first display and DISPLAY=:0.1 for the second.

  4. Launching Applications on Specific Displays:

    • For Weston: You can specify the output (display) an application should use in the weston.ini file using the output parameter under the [launcher] section for each application.

    • For Xorg: Launch your applications from the command line or a script, setting the DISPLAY environment variable accordingly. For example, to launch an application on the first display, use DISPLAY=:0.0 your_application and for the second display DISPLAY=:0.1 your_application.

  5. Ensure Independent Operation: To ensure that the applications run independently on each display, manage them through separate instances of your window manager or directly through the display server configuration as described above. This setup allows each application to operate in its own context without interfering with the other.

  6. Testing and Adjustments: After setting up, test the configuration by launching your applications and verifying that they display correctly on the intended screens. You may

Please, also check if these links can help you solve your problem:

How to Setup Wi-Fi Access Point Mode (Linux) | Toradex Developer Center.

Is it possible on this board using reference multimedia image?

Hi @Jintu ,
We have updated our comments here on your duplicate post.
Let us discuss at one place only.