[wayland-devel] cannot execute weston

souvik.datta at wipro.com souvik.datta at wipro.com
Sun Jun 10 10:26:49 PDT 2012


Hello Simon,

I have managed to install wayland successfully on Ubuntu 11.10 although there are some issues like gtk applications are not able to find cursors. I  am able to run programs like simple_egl running with wayland backend and Weston running with DRM backend. It also runs fine from with in X.

But never the less, I would suggest you to try out the script available at website : http://www.chaosreigns.com/wayland/buildscript/

Regards,
Souvik


From: wayland-devel-bounces+souvik.datta=wipro.com at lists.freedesktop.org [mailto:wayland-devel-bounces+souvik.datta=wipro.com at lists.freedesktop.org] On Behalf Of Simon Hong
Sent: Sunday, June 10, 2012 8:20 PM
To: wayland-devel at lists.freedesktop.org
Subject: Re: [wayland-devel] cannot execute weston

I can run weston.
But compositor window shows only black background with no cursor.
When I run terminal, nothing happened in the compositor window.

Please see my log below.
Thank you.

simon at cr-dev:~/Projects/wayland/wayland-cint/install/bin$
simon at cr-dev:~/Projects/wayland/wayland-cint/install/bin$ ./weston
libEGL debug: Native platform type: x11 (autodetected)
libEGL debug: EGL search path is /home/simon/Projects/wayland/wayland-cint/install/lib/egl
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
libEGL debug: DRI2: dlopen(/home/simon/Projects/wayland/wayland-cint/install/lib/dri/nouveau_dri.so)
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 3
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 3
libEGL debug: DRI2: found extension `DRI_IMAGE'
libEGL info: DRI2: found extension DRI_IMAGE version 1
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL debug: the best driver is DRI2
libGL: Can't open configuration file /etc/drirc: No such file or directory.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
[1330937.782]  -> wl_display at 1.global(1, "wl_display", 1)
[1330937.864]  -> wl_display at 1.global(2, "wl_compositor", 1)
[1330937.915]  -> wl_display at 1.global(3, "wl_shm", 1)
[1330937.972]  -> wl_display at 1.global(4, "wl_drm", 1)
[1330938.022]  -> wl_display at 1.global(5, "screenshooter", 1)
[1330938.071]  -> wl_display at 1.global(6, "text_cursor_position", 1)
[1330938.117]  -> wl_display at 1.global(7, "wl_data_device_manager", 1)
[1330938.164]  -> wl_display at 1.global(8, "wl_output", 1)
[1330938.219]  -> wl_display at 1.global(9, "wl_seat", 1)
[1330938.270]  -> wl_display at 1.global(10, "wl_shell", 1)
[1330938.326]  -> wl_display at 1.global(11, "desktop_shell", 1)
[1330938.381]  -> wl_display at 1.global(12, "screensaver", 1)
[1330943.642] wl_display at 1.global(1, "wl_display", 1)
[1330943.717] wl_display at 1.global(2, "wl_compositor", 1)
[1330943.775]  -> wl_display at 1.bind(2, "wl_compositor", 1, new id 2)
[1330943.822] wl_display at 1.global(3, "wl_shm", 1)
[1330943.867]  -> wl_display at 1.bind(3, "wl_shm", 1, new id 3)
[1330943.913] wl_display at 1.global(4, "wl_drm", 1)
[1330943.942] wl_display at 1.global(5, "screenshooter", 1)
[1330943.972] wl_display at 1.global(6, "text_cursor_position", 1)
[1330944.006]  -> wl_display at 1.bind(6, "text_cursor_position", 1, new id 4)
[1330944.047] wl_display at 1.global(7, "wl_data_device_manager", 1)
[1330944.079]  -> wl_display at 1.bind(7, "wl_data_device_manager", 1, new id 5)
[1330944.120] wl_display at 1.global(8, "wl_output", 1)
[1330944.153]  -> wl_display at 1.bind(8, "wl_output", 1, new id 6)
[1330944.192] wl_display at 1.global(9, "wl_seat", 1)
[1330944.226]  -> wl_display at 1.bind(9, "wl_seat", 1, new id 7)
[1330944.266]  -> wl_data_device_manager at 5.get_data_device(new id 8, wl_seat at 7)
[1330944.292] wl_display at 1.global(10, "wl_shell", 1)
[1330944.326]  -> wl_display at 1.bind(10, "wl_shell", 1, new id 9)
[1330944.366] wl_display at 1.global(11, "desktop_shell", 1)
[1330944.398] wl_display at 1.global(12, "screensaver", 1)
libEGL debug: Native platform type: wayland (autodetected)
libEGL debug: EGL search path is /home/simon/Projects/wayland/wayland-cint/install/lib/egl
libEGL debug: added egl_dri2 to module array
libEGL debug: added egl_glx to module array
[1330944.581]  -> wl_display at 1.bind(4, "wl_drm", 1, new id 10)
[1330944.629]  -> wl_display at 1.sync(new id 11)
[1330944.673] wl_display at 1.bind(2, "wl_compositor", 1, new id 2)
[1330944.736] wl_display at 1.bind(3, "wl_shm", 1, new id 3)
[1330944.779]  -> wl_shm at 3.format(0)
[1330944.794]  -> wl_shm at 3.format(1)
[1330944.809] wl_display at 1.bind(6, "text_cursor_position", 1, new id 4)
[1330944.849] wl_display at 1.bind(7, "wl_data_device_manager", 1, new id 5)
[1330944.892] wl_display at 1.bind(8, "wl_output", 1, new id 6)
[1330944.931]  -> wl_output at 6.geometry(0, 0, 1024, 640, 0, "(null)", "(null)")
[1330944.994]  -> wl_output at 6.mode(3, 1024, 640, 60000)
[1330945.033] wl_display at 1.bind(9, "wl_seat", 1, new id 7)
[1330945.068]  -> wl_seat at 7.capabilities(3)
[1330945.087] wl_data_device_manager at 5.get_data_device(new id 8, wl_seat at 7)
[1330945.115] wl_display at 1.bind(10, "wl_shell", 1, new id 9)
[1330945.163] wl_display at 1.bind(4, "wl_drm", 1, new id 10)
[1330945.206]  -> wl_drm at 10.device("/dev/dri/card0")
[1330945.222]  -> wl_drm at 10.format(875713089)
[1330945.240]  -> wl_drm at 10.format(875713112)
[1330945.255] wl_display at 1.sync(new id 11)
[1330945.272]  -> wl_callback at 11.done(0)
[1330945.290]  -> wl_display at 1.delete_id(11)
[1330945.321] wl_output at 6.geometry(0, 0, 1024, 640, 0, "(null)", "(null)")
[1330945.391] wl_output at 6.mode(3, 1024, 640, 60000)
[1330945.429] wl_seat at 7.capabilities(3)
[1330945.446]  -> wl_seat at 7.get_pointer(new id 12)
[1330945.462]  -> wl_seat at 7.get_keyboard(new id 13)
[1330945.480] wl_drm at 10.device("/dev/dri/card0")
[1330945.568]  -> wl_drm at 10.authenticate(37)
[1330945.591] wl_drm at 10.format(875713089)
[1330945.609] wl_drm at 10.format(875713112)
[1330945.627] wl_callback at 11.done(0)
[1330945.645] wl_display at 1.delete_id(11)
[1330945.664]  -> wl_display at 1.sync(new id 11)
[1330945.695] wl_seat at 7.get_pointer(new id 12)
[1330945.720] wl_seat at 7.get_keyboard(new id 13)
[1330945.738]  -> wl_keyboard at 13.keymap(1, fd 21, 40969)
[1330945.765] wl_drm at 10.authenticate(37)
[1330945.869]  -> wl_drm at 10.authenticated()
[1330945.894] wl_display at 1.sync(new id 11)
[1330945.922]  -> wl_callback at 11.done(0)
[1330945.948]  -> wl_display at 1.delete_id(11)
[1330945.994] wl_keyboard at 13.keymap(1, fd 6, 40969)
[1330949.536] wl_drm at 10.authenticated()
[1330949.581] wl_callback at 11.done(0)
[1330949.598] wl_display at 1.delete_id(11)
libEGL debug: pci id for 5: 10de:0df0, driver nouveau
libEGL debug: DRI2: dlopen(/home/simon/Projects/wayland/wayland-cint/install/lib/dri/nouveau_dri.so)
libEGL debug: DRI2: found extension `DRI_Core'
libEGL info: DRI2: found extension DRI_Core version 1
libEGL debug: DRI2: found extension `DRI_DRI2'
libEGL info: DRI2: found extension DRI_DRI2 version 3
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libEGL debug: DRI2: found extension `DRI_TexBuffer'
libEGL info: DRI2: found extension DRI_TexBuffer version 2
libEGL debug: DRI2: found extension `DRI2_Flush'
libEGL info: DRI2: found extension DRI2_Flush version 3
libEGL debug: DRI2: found extension `DRI_IMAGE'
libEGL info: DRI2: found extension DRI_IMAGE version 1
libEGL debug: DRI2: found extension `DRI_CONFIG_QUERY'
libEGL debug: the best driver is DRI2
libGL: Can't open configuration file /etc/drirc: No such file or directory.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
[1330976.473]  -> wl_shm at 3.create_pool(new id 11, fd 7, 4096)
[1330976.797]  -> wl_shm_pool at 11.resize(12288)
[1330976.962]  -> wl_shm_pool at 11.resize(28672)
[1330978.037]  -> wl_shm_pool at 11.resize(61440)
[1330978.106]  -> wl_shm_pool at 11.resize(126976)
[1330978.205]  -> wl_shm_pool at 11.resize(258048)
[1330979.580]  -> wl_shm_pool at 11.resize(520192)
[1330982.238]  -> wl_shm_pool at 11.resize(1044480)
[1330993.528]  -> wl_display at 1.bind(8, "wl_output", 1, new id 14)
[1330993.598]  -> wl_display at 1.bind(11, "desktop_shell", 1, new id 15)
[1330993.648]  -> wl_compositor at 2.create_surface(new id 16)
[1330993.674]  -> wl_shell at 9.get_shell_surface(new id 17, wl_surface at 16)
[1330993.704]  -> wl_shell_surface at 17.set_title("panel")
[1330993.721]  -> desktop_shell at 15.set_panel(wl_output at 14, wl_shell_surface at 17)
[1330993.746]  -> wl_compositor at 2.create_surface(new id 18)
[1330993.764]  -> wl_shell at 9.get_shell_surface(new id 19, wl_surface at 18)
[1330993.789]  -> desktop_shell at 15.set_background(wl_output at 14, wl_shell_surface at 19)
[1330993.812]  -> wl_compositor at 2.create_surface(new id 20)
[1330993.829]  -> wl_shell at 9.get_shell_surface(new id 21, wl_surface at 20)
[1330993.853]  -> desktop_shell at 15.set_busy_surface(wl_surface at 20)
[1331012.253] wl_shm at 3.create_pool(new id 11, fd 21, 4096)
[1331012.335] wl_shm_pool at 11.resize(12288)
[1331012.365] wl_shm_pool at 11.resize(28672)
[1331012.385] wl_shm_pool at 11.resize(61440)
[1331012.403] wl_shm_pool at 11.resize(126976)
[1331012.422] wl_shm_pool at 11.resize(258048)
[1331012.440] wl_shm_pool at 11.resize(520192)
[1331012.471] wl_shm_pool at 11.resize(1044480)
[1331012.499] wl_display at 1.bind(8, "wl_output", 1, new id 14)
[1331012.533]  -> wl_output at 14.geometry(0, 0, 1024, 640, 0, "(null)", "(null)")
[1331012.568]  -> wl_output at 14.mode(3, 1024, 640, 60000)
[1331012.591] wl_display at 1.bind(11, "desktop_shell", 1, new id 15)
[1331012.617] wl_compositor at 2.create_surface(new id 16)
[1331012.636] wl_shell at 9.get_shell_surface(new id 17, wl_surface at 16)
[1331012.661] wl_shell_surface at 17.set_title("panel")
[1331012.677] desktop_shell at 15.set_panel(wl_output at 14, wl_shell_surface at 17)
[1331012.695]  -> desktop_shell at 15.configure(0, wl_shell_surface at 17, 1024, 640)
[1331012.718] wl_compositor at 2.create_surface(new id 18)
[1331012.731] wl_shell at 9.get_shell_surface(new id 19, wl_surface at 18)
[1331012.748] desktop_shell at 15.set_background(wl_output at 14, wl_shell_surface at 19)
[1331012.764]  -> desktop_shell at 15.configure(0, wl_shell_surface at 19, 1024, 640)
[1331012.787] wl_compositor at 2.create_surface(new id 20)
[1331012.799] wl_shell at 9.get_shell_surface(new id 21, wl_surface at 20)
[1331012.816] desktop_shell at 15.set_busy_surface(wl_surface at 20)
[1331012.870] desktop_shell at 15.configure(0, wl_shell_surface at 17, 1024, 640)
[1331013.032] desktop_shell at 15.configure(0, wl_shell_surface at 19, 1024, 640)
[1331070.208]  -> wl_surface at 18.frame(new id 22)
[1331070.246]  -> wl_drm at 10.create_buffer(new id 23, 11, 1024, 640, 4096, 875713089)
[1331070.261]  -> wl_surface at 18.attach(wl_buffer at 23, 0, 0)
[1331070.270]  -> wl_surface at 18.damage(0, 0, 1024, 640)
[1331070.309]  -> wl_surface at 18.frame(new id 24)
[1331085.416]  -> wl_surface at 16.frame(new id 25)
[1331085.459]  -> wl_drm at 10.create_buffer(new id 26, 16, 1024, 32, 4096, 875713089)
[1331085.523]  -> wl_surface at 16.attach(wl_buffer at 26, 0, 0)
[1331085.557]  -> wl_surface at 16.damage(0, 0, 1024, 32)
[1331085.627]  -> wl_surface at 16.frame(new id 27)
[1331085.676] wl_surface at 18.frame(new id 22)
[1331085.709] wl_drm at 10.create_buffer(new id 23, 11, 1024, 640, 4096, 875713089)
[1331085.813] wl_surface at 18.attach(wl_buffer at 23, 0, 0)
[1331085.895] wl_surface at 18.damage(0, 0, 1024, 640)
[1331085.939] wl_surface at 18.frame(new id 24)
[1331085.956] wl_surface at 16.frame(new id 25)
[1331085.974] wl_drm at 10.create_buffer(new id 26, 16, 1024, 32, 4096, 875713089)
[1331086.058] wl_surface at 16.attach(wl_buffer at 26, 0, 0)
[1331086.098] wl_surface at 16.damage(0, 0, 1024, 32)
[1331086.138] wl_surface at 16.frame(new id 27)
[1331094.681]  -> wl_surface at 16.enter(wl_output at 14)
[1331094.715]  -> wl_surface at 18.enter(wl_output at 14)
[1331107.945]  -> wl_pointer at 12.enter(2, wl_surface at 18, 549.000000, 266.000000)
[1331108.046]  -> wl_shell_surface at 19.ping(3)
[1331108.078]  -> wl_callback at 22.done(3604808656)
[1331108.100]  -> wl_display at 1.delete_id(22)
[1331108.116]  -> wl_callback at 24.done(3604808656)
[1331108.131]  -> wl_display at 1.delete_id(24)
[1331108.148]  -> wl_callback at 25.done(3604808656)
[1331108.164]  -> wl_display at 1.delete_id(25)
[1331108.180]  -> wl_callback at 27.done(3604808656)
[1331108.196]  -> wl_display at 1.delete_id(27)
[1331108.320] wl_surface at 16.enter(wl_output at 14)
[1331108.353] wl_surface at 18.enter(wl_output at 14)
[1331108.369] wl_pointer at 12.enter(2, wl_surface at 18, 549.000000, 266.000000)
[1331108.423]  -> wl_shm_pool at 11.create_buffer(new id 28, 208896, 32, 32, 128, 0)
[1331108.467]  -> wl_pointer at 12.attach(2, wl_buffer at 28, 10, 5)
[1331108.498] wl_shell_surface at 19.ping(3)
[1331108.514]  -> wl_shell_surface at 19.pong(3)
[1331108.529] wl_callback at 22.done(3604808656)
[1331108.550] wl_display at 1.delete_id(22)
[1331108.565] wl_callback at 24.done(3604808656)
[1331108.580] wl_display at 1.delete_id(24)
[1331108.593] wl_callback at 25.done(3604808656)
[1331108.607] wl_display at 1.delete_id(25)
[1331108.621] wl_callback at 27.done(3604808656)
[1331108.636] wl_display at 1.delete_id(27)
[1331108.789] wl_shm_pool at 11.create_buffer(new id 28, 208896, 32, 32, 128, 0)
[1331109.016] wl_pointer at 12.attach(2, wl_buffer at 28, 10, 5)
[1331109.385] wl_shell_surface at 19.pong(3)
[1331878.967]  -> wl_shell_surface at 19.ping(4)
[1331879.103] wl_shell_surface at 19.ping(4)
[1331879.144]  -> wl_shell_surface at 19.pong(4)
[1331879.190] wl_shell_surface at 19.pong(4)


On Sun, Jun 10, 2012 at 8:19 PM, Simon Hong <simon.hong81 at gmail.com<mailto:simon.hong81 at gmail.com>> wrote:
Dear folks,

When I run weston, I got the messages.
I don't know the meaning failed to open nouveau.
In the search path, nouveau_dri.so is existed. I copied it from /usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so.
dri device file is existed in /dev/dri/card0
Out from "cat /proc/fb" is "0 nouveaufb".

To run weston, how can I do?

My OS is Ubuntu 12.04 with NVIDIA GT425M.

Thank you
###################################################
simon at cr-dev:~/Projects/wayland/wayland-cint$ ./install/bin/weston
libEGL warning: DRI2: failed to open nouveau (search paths /home/simon/Projects/wayland/wayland-cint/install/lib/dri)
failed to initialize display
failed to create display: No such file or directory
weston-desktop-shell died, respawning...
failed to initialize display
failed to create display: No such file or directory
weston-desktop-shell died, respawning...
failed to initialize display
failed to create display: No such file or directory
weston-desktop-shell died, respawning...
failed to initialize display
failed to create display: No such file or directory
weston-desktop-shell died, respawning...
failed to initialize display
failed to create display: No such file or directory
weston-desktop-shell died, respawning...
failed to initialize display
failed to create display: No such file or directory
weston-desktop-shell died, giving up.
##################################################

--
======================================
Simon Hong
"Secret of success is consistency to purpose"




--
======================================
Simon Hong
"Secret of success is consistency to purpose"


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120610/24013a47/attachment-0001.html>


More information about the wayland-devel mailing list