In same setup i.e, in Ubuntu 10.10, when I go to text terminal (Ctrl+Alt+F1), with X still running and then run $WLD/bin/weston , I can see that some rendering is happening, with a red border on top (probably a window title bar) and rest of the window being blue. I could also see some white marks in an arranged fashion. This freezes the system for some time and when I move to a different text terminal (Ctrl+Alt+F2) and come back to (Ctrl+Alt+F1), I am dropped to the console prompt with error from libEGL : window destroyed with resources.
Regards, Souvik ________________________________________ From: wayland-devel-bounces+souvik.datta=wipro....@lists.freedesktop.org [wayland-devel-bounces+souvik.datta=wipro....@lists.freedesktop.org] on behalf of [email protected] [[email protected]] Sent: Friday, May 18, 2012 10:00 AM To: [email protected] Cc: [email protected] Subject: RE: Western runs on Ubuntu 10.10 but displays a window with no content and error on console I have tried running the script available at : http://www.chaosreigns.com/wayland/buildscript/ ( Thanks to Abhijit Potnis [[email protected]] for his suggestion), but the output is found to be the same, i.e., on starting weston, I am getting a window, with no cursor and icons and black content. The errors were also observed to be the same that I got. This script already exports the variables that you have mentioned and here is the console log: Running weston, the example wayland compositor. Sleeping 2 seconds so the compositor is actually running by the time I run other stuff. libEGL debug: Native platform type: x11 (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL warning: DRI2: failed to authenticate libEGL debug: DRI2: dlopen(/home/souvik/install/lib/dri/swrast_dri.so) libEGL debug: DRI2: found extension `DRI_Core' libEGL info: DRI2: found extension DRI_Core version 1 libEGL debug: DRI2: found extension `DRI_SWRast' libEGL info: DRI2: found extension DRI_SWRast version 3 libEGL debug: DRI2: found extension `DRI_TexBuffer' libEGL info: DRI2: found extension DRI_TexBuffer version 2 libEGL debug: the best driver is DRI2 libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /home/souvik/.drirc: No such file or directory. Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable couldn't open /home/souvik/.config/weston-desktop-shell.ini using socket /tmp/wayland-0 libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c738 weston-desktop-shell died, respawning... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c8e0 weston-desktop-shell died, respawning... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c738 weston-desktop-shell died, respawning... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c8e0 weston-desktop-shell died, respawning... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c738 weston-desktop-shell died, respawning... libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c8e0 weston-desktop-shell died, giving up. Running vte, a gtk+ terminal client. QtWebKit web browser isn't installed. souvik@souvik-WNB7PAH4700R-0006:~$ libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: added egl_dri2 to module array libEGL debug: added egl_glx to module array Gtk-Message: Failed to load module "canberra-gtk-module" libEGL debug: Native platform type: wayland (autodetected) libEGL debug: EGL search path is /home/souvik/install/lib/egl libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display libEGL debug: added egl_dri2 to module array failed to create display: No such file or directory libEGL debug: added egl_glx to module array libEGL debug: EGL user error 0x3001 (EGL_NOT_INITIALIZED) in eglInitialize failed to initialize display failed to create display: No such file or directory disconnect from client 0x879c738 disconnect from client 0x8789928 Fork succeeded, PID 25378 (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: bottom_right_corner.png (vte2_90:25376): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: xterm.png (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: left_ptr.png (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: bottom_right_corner.png (vte2_90:25376): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: bottom_right_corner.png (vte2_90:25376): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed startup message: remove: (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: bottom_right_corner.png (vte2_90:25376): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (vte2_90:25376): Gdk-WARNING **: Unable to find cursor for: left_ptr.png disconnect from client 0x879c738 As suggested by you, do you think that it will be wise to migrate to 11.04 or 11.10 and then run this script? My plan is to finally port Wayland on an embedded target. I guess, if I succeed in running wayland in 11.10 or 11.04 with this script, it would mean that there is some difference in the system dependent packages other than the packages required to run wayland. Thanks and Regards, Souvik ________________________________________ From: [email protected] [[email protected]] Sent: Friday, May 18, 2012 12:28 AM To: Souvik Datta (WT01 - PES) Cc: [email protected] Subject: Re: Western runs on Ubuntu 10.10 but displays a window with no content and error on console On 05/17, [email protected] wrote: > [2]Running on Ubuntu 10.10 There have been 3 Ubuntu releases since this. 10.10 was EOLed last month, meaning it is no-longer even supported by Ubuntu, and you really should upgrade. Wayland is, in stark contrast, rather bleeding edge. That doesn't mean you can't get it to work. But you're more likely to come across problems due to specific versions of build dependencies not being properly defined. The very bottom of the build instructions includes some variables to set to get more verbose output, which might be helpful. > Please do not print this email unless it is absolutely necessary. > > 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. > > 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. > > www.wipro.com This is obnoxious. On 05/17, Scott Moreau wrote: > Did you install xcb-dri2 and xcb-xfixes development packages prior to > building mesa as noted in the build guide? Good idea. Mesa configure output from a build that (probably) works: http://www.chaosreigns.com/wayland/dl/mesa-configure.txt Might be useful to make sure you have everything enabled that is listed there. Somebody recently mentioned it would be nice if we could document everything that needs to show up in that output for everything to work. -- "It is better to die on your feet than to live on your knees." - Emiliano Zapata, Mexican Revolution Leader http://www.ChaosReigns.com Please do not print this email unless it is absolutely necessary. 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. 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. www.wipro.com _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel Please do not print this email unless it is absolutely necessary. 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. 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. www.wipro.com _______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
