<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<div><font size="4" face="times new roman,times,serif">Hi All,</font></div>
<div>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><font size="4" face="times new roman,times,serif"><span style="box-sizing: border-box; font-size: inherit;">I have written a third party application that utilities SDL-X11 to draw a window.</span></font></p>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><font size="4" face="times new roman,times,serif"><span style="box-sizing: border-box; font-size: inherit;">I have successfully cross-compiled Xwayland (that is used for X clients under Wayland) for my<span> </span>EVM. I have used<a href="https://wayland.freedesktop.org/xserver.html#heading_toc_j_1" style="box-sizing: border-box; background: transparent none repeat scroll 0% 0%; color: rgb(170, 102, 102); text-decoration: underline; transition: color 0.1s ease 0s; border-bottom: medium none;"><span> </span>instructions from this official website<span> </span></a>and did the cross-compilation. However, when I run the command:</span></font></p>
</div>
<div align="center">
<pre class="brush: powershell; gutter: false; light: true; collapse: true; fontsize: 100; first-line: 1; html-script: true; toolbar: false; " style="box-sizing: border-box; font-family: monospace, serif; font-size: 0.9em; white-space: pre; padding: 10px; background-color: rgb(242, 242, 242); border-radius: 3px; overflow-wrap: normal; color: rgb(85, 85, 85); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;"> root@am57xx-evm:/# /mnt/Xwayland</span></pre></div>
<div>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><font size="4" face="times new roman,times,serif"><span style="box-sizing: border-box; font-size: inherit;">a black screen appears on top of weston display on my EVM. I don't see any logs on command line. Also, I am not able to run my X11 based application or even simple X11 demo apps (like xeyes, xclock) cross-compiled for my<span></span><span> </span>EVM.</span></font></p>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;"><font size="4" face="times new roman,times,serif">As suggested in the above attached link, I even did changes to /etc/weston.ini file as -
<br /></font></span></p>
<pre class="brush: powershell; gutter: false; light: true; collapse: true; fontsize: 100; first-line: 1; html-script: true; " style="box-sizing: border-box; font-family: monospace, serif; font-size: 0.9em; white-space: pre; padding: 10px; background-color: rgb(242, 242, 242); border-radius: 3px; overflow-wrap: normal; color: rgb(85, 85, 85); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;"> [core]
xwayland=true
[xwayland]
path=/mnt/Xwayland</span></pre>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;"></span></p>
</div>
<div><font size="4" face="times new roman,times,serif"><span style="color: rgb(85, 85, 85); font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;"><font size="4" face="times new roman,times,serif">and I restarted weston to get following error: </font></span>
<br /></span></font></div>
<div>
<br />
<pre class="brush: bash; gutter: false; light: true; collapse: true; fontsize: 100; first-line: 1; html-script: true; " style="box-sizing: border-box; font-family: monospace, serif; font-size: 0.9em; white-space: pre; padding: 10px; background-color: rgb(242, 242, 242); border-radius: 3px; overflow-wrap: normal; color: rgb(85, 85, 85); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;">[02:19:21.709] weston 2.0.0
<a href="http://wayland.freedesktop.org/" style="box-sizing: border-box; background: transparent none repeat scroll 0% 0%; color: rgb(170, 102, 102); text-decoration: underline; transition: color 0.1s ease 0s; border-bottom: medium none;">http://wayland.freedesktop.org</a>
Bug reports to: <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0" style="box-sizing: border-box; background: transparent none repeat scroll 0% 0%; color: rgb(170, 102, 102); text-decoration: underline; transition: color 0.1s ease 0s; border-bottom: medium none;">bugs.freedesktop.org/enter_bug.cgi</a>
Build: 1.99.94-2-g4c4f13d configure.ac: bump to version 2.0.0 for the official release (2017-02-24 16:19:03 -0800)
[02:19:21.709] Command line: weston
[02:19:21.709] OS: Linux, 4.14.79-ge669d52447, #1 SMP PREEMPT Sat Apr 6 02:23:36 UTC 2019, armv7l
[02:19:21.709] Using config file '/etc//weston.ini'
[02:19:21.710] Output repaint window is 7 ms maximum.
[02:19:21.720] Loading module '/usr/lib/libweston-2/wayland-backend.so'
[02:19:21.735] Failed to load module: /usr/lib/libweston-2/wayland-backend.so: undefined symbol: weston_compositor_init
[02:19:21.735] fatal: failed to create compositor backend</span></pre><span style="color: rgb(85, 85, 85); font-family: tahoma, arial, helvetica, sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"></span></div>
<div>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><font size="4"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;">I have no idea, which part I did wrong. But I'd really appreciate if you guys can help me out.</span></font></p>
<p style="box-sizing: border-box; margin: 1.5em 0px; line-height: 1.35em; font-size: 14px; text-rendering: optimizelegibility; color: rgb(85, 85, 85); font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-style: initial; text-decoration-color: initial;"><font size="4"><span style="box-sizing: border-box; font-family: tahoma, arial, helvetica, sans-serif; font-size: inherit;">If you need any other information, please let me know.</span></font></p>
</div>
<font size="2">--
<br />
<br />
Thanks & Regards,
<br />
Devashish Tiwari
<br />
<br />
<br />
</font>
</BODY>
</HTML>