<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Running a GUI process on Second Display on Wayland/Weston</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877732#M133187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case of Wayland you need to use WAYLAND_DISPLAY variable instead of DISPLAY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2019 02:43:17 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2019-03-22T02:43:17Z</dc:date>
    <item>
      <title>Running a GUI process on Second Display on Wayland/Weston</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877731#M133186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set up iMX8 Quad Max to have two display (LVDS+HDMI), but having difficulties running an application on the secondary monitor. If the applications are windowed, I can simply drag the applications; however, I want to place two apps on two seperate displays on init process so that our product initializes automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me, there are two different methods:&lt;BR /&gt;&lt;STRONG&gt;(1)&lt;/STRONG&gt; - Using extended weston display, and specifying which window location to spawn the application (i.e. with Qt).&lt;BR /&gt;&lt;STRONG&gt;(2)&lt;/STRONG&gt; - Having two framebuffers, one for LVDS display, one for HDMI display, then running weston on each of them. (This I think is not supported by weston, and I am unable to create a second HDMI framebuffer using the devicetree)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding &lt;STRONG&gt;(1)&lt;/STRONG&gt;,&lt;BR /&gt;I know weston does not allow its clients to modify window position and structure to some extent. How should I achieve something like this? I need either something like,&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;DISPLAY=:1 ./App&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;or&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;wmctrl .... ./App&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;but on Wayland.&lt;BR /&gt;&lt;BR /&gt;Regarding &lt;STRONG&gt;(2)&lt;/STRONG&gt;,&lt;BR /&gt;I would appreciate suggestions on how to do this in the devicetree, and information on whether or not this is supported by weston at all.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 09:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877731#M133186</guid>
      <dc:creator>mustafa_ozcelik</dc:creator>
      <dc:date>2019-03-21T09:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Running a GUI process on Second Display on Wayland/Weston</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877732#M133187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In case of Wayland you need to use WAYLAND_DISPLAY variable instead of DISPLAY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 02:43:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877732#M133187</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2019-03-22T02:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Running a GUI process on Second Display on Wayland/Weston</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877733#M133188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I was misunderstood. &lt;BR /&gt;&lt;BR /&gt;DISPLAY, or in wayland's case, WAYLAND_DISPLAY is only valid if you have a framebuffer and compositor (weston) attached to it. In my case, I use:&lt;BR /&gt;&lt;BR /&gt;WAYLAND_DISPLAY=wayland-0 ./App&lt;BR /&gt;&lt;BR /&gt;However this points to the wayland instance and the framebuffer that it is attached to. It does not have any control on secondary display on an extended display setup in weston. In a setup like (1), WAYLAND_DISPLAY might have been useful, assuming I could get help on how to set up a second framebuffer for the HDMI display, using the devicetree. So the questions are:&lt;BR /&gt;&lt;BR /&gt;(1)- How to launch a process on the secondary monitor in a single-weston extended-display setup?&lt;BR /&gt;(2)- How to set up a secondary framebuffer for the HDMI display on iMX8QuadMax MEK?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Running-a-GUI-process-on-Second-Display-on-Wayland-Weston/m-p/877733#M133188</guid>
      <dc:creator>mustafa_ozcelik</dc:creator>
      <dc:date>2019-03-22T06:00:38Z</dc:date>
    </item>
  </channel>
</rss>

