<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Thanks Abhijit. I will definitely try it out.
<br>
<br>
But finally I plan to port wayland on an embedded target and I am sure I would be facing the same errors.
<br>
So I wanted to fix them manually so that I can understand the root cause.<br>
<br>
Regards,<br>
Souvik<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF217449"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Abhijit Potnis [abhijitpotnis@gmail.com]<br>
<b>Sent:</b> Thursday, May 17, 2012 5:28 PM<br>
<b>To:</b> Souvik Datta (WT01 - PES)<br>
<b>Cc:</b> wayland-devel@lists.freedesktop.org<br>
<b>Subject:</b> Re: Western runs on Ubuntu 10.10 but displays a window with no content and error on console<br>
</font><br>
</div>
<div></div>
<div>Hello Souvik,<br>
<br>
I would suggest you to use these scripts.<br>
<br>
<a href="http://www.chaosreigns.com/wayland/buildscript/" target="_blank">http://www.chaosreigns.com/wayland/buildscript/</a><br>
<br>
Thanks to Darxus, it does make building and running wayland much easier. :)<br>
<br>
<br>
<br>
Thanks to <br>
<br>
<div class="gmail_quote">On Thu, May 17, 2012 at 5:22 PM, <span dir="ltr"><<a href="mailto:souvik.datta@wipro.com" target="_blank">souvik.datta@wipro.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">I would like to update here that after exporting EGL_DISPLAY=x11 and setting XDG_RUNTIME_DIR=/tmp,
<br>
now the error on the console has changed to :
<div class="im"><br>
<br>
libEGL warning: DRI2: failed to authenticate<br>
</div>
using socket /tmp/wayland-0<br>
disconnect from client 0x8c61108<br>
weston-desktop-shell died, respawning...<br>
disconnect from client 0x8c61108<br>
weston-desktop-shell died, respawning...<br>
disconnect from client 0x8c61108<br>
weston-desktop-shell died, respawning...<br>
disconnect from client 0x8c61108<br>
weston-desktop-shell died, respawning...<br>
disconnect from client 0x8c61108<br>
weston-desktop-shell died, respawning...<br>
disconnect from client 0x8c61108<br>
weston-desktop-shell died, giving up.<br>
<br>
When I run $WLD/libexec/weston-desktop-shell, I am following error:
<div class="im"><br>
<br>
failed to create display: No such file or directory<br>
failed to create display: No such file or directory<br>
<br>
</div>
Thanks and Regards,<br>
Souvik<br>
<br>
<br>
<div style="font-size:16px; font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font face="Tahoma" color="#000000"><b>From:</b> wayland-devel-bounces+souvik.datta=<a href="mailto:wipro.com@lists.freedesktop.org" target="_blank">wipro.com@lists.freedesktop.org</a> [wayland-devel-bounces+souvik.datta=<a href="mailto:wipro.com@lists.freedesktop.org" target="_blank">wipro.com@lists.freedesktop.org</a>]
on behalf of <a href="mailto:souvik.datta@wipro.com" target="_blank">souvik.datta@wipro.com</a> [<a href="mailto:souvik.datta@wipro.com" target="_blank">souvik.datta@wipro.com</a>]<br>
<b>Sent:</b> Thursday, May 17, 2012 3:26 PM<br>
<b>To:</b> <a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
<b>Subject:</b> Western runs on Ubuntu 10.10 but displays a window with no content and error on console<br>
</font><br>
</div>
<div>
<div class="h5">
<div></div>
<div>
<div style="direction:ltr; font-size:10pt; font-family:Tahoma">Hello,<br>
<br>
Here are my system details:<br>
[1]GPU - 00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)<br>
[2]Running on Ubuntu 10.10<br>
<br>
I have followed the steps for building Wayland as mentioned at <a href="http://wayland.freedesktop.org/building.html" target="_blank">
http://wayland.freedesktop.org/building.html</a>. <br>
<br>
After building I copied the file weston.ini to ~/.config folder. I could not find the file weston-deskop-shell.ini<br>
<br>
Then I went to the folder where my binaries have been installed and then ran ./weston<br>
<br>
The output was a window with title "Weston Compositor", but the content is black. I am not able to see the mouse pointer when I am taking it withing the window body.<br>
<br>
Also I am getting following errors:<br>
<br>
libEGL warning: DRI2: failed to authenticate<br>
XDG_RUNTIME_DIR not set, falling back to .<br>
using socket ./wayland-0<br>
failed to initialize display<br>
failed to create display: No such file or directory<br>
disconnect from client 0x8b91108<br>
weston-desktop-shell died, respawning...<br>
failed to initialize display<br>
failed to create display: No such file or directory<br>
disconnect from client 0x8b91108<br>
weston-desktop-shell died, respawning...<br>
failed to initialize display<br>
failed to create display: No such file or directory<br>
disconnect from client 0x8b91108<br>
weston-desktop-shell died, respawning...<br>
failed to initialize display<br>
failed to create display: No such file or directory<br>
disconnect from client 0x8b91108<br>
weston-desktop-shell died, respawning...<br>
failed to initialize display<br>
failed to create display: No such file or directory<br>
disconnect from client 0x8b91108<br>
weston-desktop-shell died, respawning...<br>
failed to initialize display<br>
failed to create display: No such file or directory<br>
disconnect from client 0x8b91108<br>
weston-desktop-shell died, giving up.<br>
<br>
<br>
<br>
<br>
Can some one please let me know why am I getting these error? Is there a basic mistake that I am doing here?<br>
<br>
Thanks and Regards,<br>
Souvik<br>
<br>
<br>
<br>
</div>
<p><b><span style="font-size:10.0pt; font-family:"Palatino Linotype","serif"; color:green">Please do not print this email unless it is absolutely necessary.
</span></b><span style="font-family:"Arial","sans-serif""></span></p>
<p>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you
should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
</p>
<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
</p>
<p><a href="http://www.wipro.com" target="_blank">www.wipro.com</a> </p>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="h5">
<p><b><span style="font-size:10.0pt; font-family:"Palatino Linotype","serif"; color:green">Please do not print this email unless it is absolutely necessary.
</span></b><span style="font-family:"Arial","sans-serif""><u></u><u></u></span></p>
<p>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you
should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
</p>
<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
</p>
<p><a href="http://www.wipro.com" target="_blank">www.wipro.com</a> </p>
</div>
</div>
</div>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Regards,<br>
Abhijit Potnis<br>
<br>
</div>
</div>
</div>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>
<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>
<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</body>
</html>