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....@lists.freedesktop.org 
[mailto:wayland-devel-bounces+souvik.datta=wipro....@lists.freedesktop.org] On 
Behalf Of Simon Hong
Sent: Sunday, June 10, 2012 8:20 PM
To: [email protected]
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@cr-dev:~/Projects/wayland/wayland-cint/install/bin$
simon@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]  -> [email protected](1, "wl_display", 1)
[1330937.864]  -> [email protected](2, "wl_compositor", 1)
[1330937.915]  -> [email protected](3, "wl_shm", 1)
[1330937.972]  -> [email protected](4, "wl_drm", 1)
[1330938.022]  -> [email protected](5, "screenshooter", 1)
[1330938.071]  -> [email protected](6, "text_cursor_position", 1)
[1330938.117]  -> [email protected](7, "wl_data_device_manager", 1)
[1330938.164]  -> [email protected](8, "wl_output", 1)
[1330938.219]  -> [email protected](9, "wl_seat", 1)
[1330938.270]  -> [email protected](10, "wl_shell", 1)
[1330938.326]  -> [email protected](11, "desktop_shell", 1)
[1330938.381]  -> [email protected](12, "screensaver", 1)
[1330943.642] [email protected](1, "wl_display", 1)
[1330943.717] [email protected](2, "wl_compositor", 1)
[1330943.775]  -> [email protected](2, "wl_compositor", 1, new id 2)
[1330943.822] [email protected](3, "wl_shm", 1)
[1330943.867]  -> [email protected](3, "wl_shm", 1, new id 3)
[1330943.913] [email protected](4, "wl_drm", 1)
[1330943.942] [email protected](5, "screenshooter", 1)
[1330943.972] [email protected](6, "text_cursor_position", 1)
[1330944.006]  -> [email protected](6, "text_cursor_position", 1, new id 4)
[1330944.047] [email protected](7, "wl_data_device_manager", 1)
[1330944.079]  -> [email protected](7, "wl_data_device_manager", 1, new id 5)
[1330944.120] [email protected](8, "wl_output", 1)
[1330944.153]  -> [email protected](8, "wl_output", 1, new id 6)
[1330944.192] [email protected](9, "wl_seat", 1)
[1330944.226]  -> [email protected](9, "wl_seat", 1, new id 7)
[1330944.266]  -> [email protected]_data_device(new id 8, wl_seat@7)
[1330944.292] [email protected](10, "wl_shell", 1)
[1330944.326]  -> [email protected](10, "wl_shell", 1, new id 9)
[1330944.366] [email protected](11, "desktop_shell", 1)
[1330944.398] [email protected](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]  -> [email protected](4, "wl_drm", 1, new id 10)
[1330944.629]  -> [email protected](new id 11)
[1330944.673] [email protected](2, "wl_compositor", 1, new id 2)
[1330944.736] [email protected](3, "wl_shm", 1, new id 3)
[1330944.779]  -> [email protected](0)
[1330944.794]  -> [email protected](1)
[1330944.809] [email protected](6, "text_cursor_position", 1, new id 4)
[1330944.849] [email protected](7, "wl_data_device_manager", 1, new id 5)
[1330944.892] [email protected](8, "wl_output", 1, new id 6)
[1330944.931]  -> [email protected](0, 0, 1024, 640, 0, "(null)", "(null)")
[1330944.994]  -> [email protected](3, 1024, 640, 60000)
[1330945.033] [email protected](9, "wl_seat", 1, new id 7)
[1330945.068]  -> [email protected](3)
[1330945.087] [email protected]_data_device(new id 8, wl_seat@7)
[1330945.115] [email protected](10, "wl_shell", 1, new id 9)
[1330945.163] [email protected](4, "wl_drm", 1, new id 10)
[1330945.206]  -> [email protected]("/dev/dri/card0")
[1330945.222]  -> [email protected](875713089)
[1330945.240]  -> [email protected](875713112)
[1330945.255] [email protected](new id 11)
[1330945.272]  -> [email protected](0)
[1330945.290]  -> [email protected]_id(11)
[1330945.321] [email protected](0, 0, 1024, 640, 0, "(null)", "(null)")
[1330945.391] [email protected](3, 1024, 640, 60000)
[1330945.429] [email protected](3)
[1330945.446]  -> [email protected]_pointer(new id 12)
[1330945.462]  -> [email protected]_keyboard(new id 13)
[1330945.480] [email protected]("/dev/dri/card0")
[1330945.568]  -> [email protected](37)
[1330945.591] [email protected](875713089)
[1330945.609] [email protected](875713112)
[1330945.627] [email protected](0)
[1330945.645] [email protected]_id(11)
[1330945.664]  -> [email protected](new id 11)
[1330945.695] [email protected]_pointer(new id 12)
[1330945.720] [email protected]_keyboard(new id 13)
[1330945.738]  -> [email protected](1, fd 21, 40969)
[1330945.765] [email protected](37)
[1330945.869]  -> [email protected]()
[1330945.894] [email protected](new id 11)
[1330945.922]  -> [email protected](0)
[1330945.948]  -> [email protected]_id(11)
[1330945.994] [email protected](1, fd 6, 40969)
[1330949.536] [email protected]()
[1330949.581] [email protected](0)
[1330949.598] [email protected]_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]  -> [email protected]_pool(new id 11, fd 7, 4096)
[1330976.797]  -> [email protected](12288)
[1330976.962]  -> [email protected](28672)
[1330978.037]  -> [email protected](61440)
[1330978.106]  -> [email protected](126976)
[1330978.205]  -> [email protected](258048)
[1330979.580]  -> [email protected](520192)
[1330982.238]  -> [email protected](1044480)
[1330993.528]  -> [email protected](8, "wl_output", 1, new id 14)
[1330993.598]  -> [email protected](11, "desktop_shell", 1, new id 15)
[1330993.648]  -> [email protected]_surface(new id 16)
[1330993.674]  -> [email protected]_shell_surface(new id 17, wl_surface@16)
[1330993.704]  -> [email protected]_title("panel")
[1330993.721]  -> [email protected]_panel(wl_output@14, wl_shell_surface@17)
[1330993.746]  -> [email protected]_surface(new id 18)
[1330993.764]  -> [email protected]_shell_surface(new id 19, wl_surface@18)
[1330993.789]  -> [email protected]_background(wl_output@14, 
wl_shell_surface@19)
[1330993.812]  -> [email protected]_surface(new id 20)
[1330993.829]  -> [email protected]_shell_surface(new id 21, wl_surface@20)
[1330993.853]  -> [email protected]_busy_surface(wl_surface@20)
[1331012.253] [email protected]_pool(new id 11, fd 21, 4096)
[1331012.335] [email protected](12288)
[1331012.365] [email protected](28672)
[1331012.385] [email protected](61440)
[1331012.403] [email protected](126976)
[1331012.422] [email protected](258048)
[1331012.440] [email protected](520192)
[1331012.471] [email protected](1044480)
[1331012.499] [email protected](8, "wl_output", 1, new id 14)
[1331012.533]  -> [email protected](0, 0, 1024, 640, 0, "(null)", "(null)")
[1331012.568]  -> [email protected](3, 1024, 640, 60000)
[1331012.591] [email protected](11, "desktop_shell", 1, new id 15)
[1331012.617] [email protected]_surface(new id 16)
[1331012.636] [email protected]_shell_surface(new id 17, wl_surface@16)
[1331012.661] [email protected]_title("panel")
[1331012.677] [email protected]_panel(wl_output@14, wl_shell_surface@17)
[1331012.695]  -> [email protected](0, wl_shell_surface@17, 1024, 640)
[1331012.718] [email protected]_surface(new id 18)
[1331012.731] [email protected]_shell_surface(new id 19, wl_surface@18)
[1331012.748] [email protected]_background(wl_output@14, wl_shell_surface@19)
[1331012.764]  -> [email protected](0, wl_shell_surface@19, 1024, 640)
[1331012.787] [email protected]_surface(new id 20)
[1331012.799] [email protected]_shell_surface(new id 21, wl_surface@20)
[1331012.816] [email protected]_busy_surface(wl_surface@20)
[1331012.870] [email protected](0, wl_shell_surface@17, 1024, 640)
[1331013.032] [email protected](0, wl_shell_surface@19, 1024, 640)
[1331070.208]  -> [email protected](new id 22)
[1331070.246]  -> [email protected]_buffer(new id 23, 11, 1024, 640, 4096, 
875713089)
[1331070.261]  -> [email protected](wl_buffer@23, 0, 0)
[1331070.270]  -> [email protected](0, 0, 1024, 640)
[1331070.309]  -> [email protected](new id 24)
[1331085.416]  -> [email protected](new id 25)
[1331085.459]  -> [email protected]_buffer(new id 26, 16, 1024, 32, 4096, 
875713089)
[1331085.523]  -> [email protected](wl_buffer@26, 0, 0)
[1331085.557]  -> [email protected](0, 0, 1024, 32)
[1331085.627]  -> [email protected](new id 27)
[1331085.676] [email protected](new id 22)
[1331085.709] [email protected]_buffer(new id 23, 11, 1024, 640, 4096, 875713089)
[1331085.813] [email protected](wl_buffer@23, 0, 0)
[1331085.895] [email protected](0, 0, 1024, 640)
[1331085.939] [email protected](new id 24)
[1331085.956] [email protected](new id 25)
[1331085.974] [email protected]_buffer(new id 26, 16, 1024, 32, 4096, 875713089)
[1331086.058] [email protected](wl_buffer@26, 0, 0)
[1331086.098] [email protected](0, 0, 1024, 32)
[1331086.138] [email protected](new id 27)
[1331094.681]  -> [email protected](wl_output@14)
[1331094.715]  -> [email protected](wl_output@14)
[1331107.945]  -> [email protected](2, wl_surface@18, 549.000000, 266.000000)
[1331108.046]  -> [email protected](3)
[1331108.078]  -> [email protected](3604808656)
[1331108.100]  -> [email protected]_id(22)
[1331108.116]  -> [email protected](3604808656)
[1331108.131]  -> [email protected]_id(24)
[1331108.148]  -> [email protected](3604808656)
[1331108.164]  -> [email protected]_id(25)
[1331108.180]  -> [email protected](3604808656)
[1331108.196]  -> [email protected]_id(27)
[1331108.320] [email protected](wl_output@14)
[1331108.353] [email protected](wl_output@14)
[1331108.369] [email protected](2, wl_surface@18, 549.000000, 266.000000)
[1331108.423]  -> [email protected]_buffer(new id 28, 208896, 32, 32, 128, 
0)
[1331108.467]  -> [email protected](2, wl_buffer@28, 10, 5)
[1331108.498] [email protected](3)
[1331108.514]  -> [email protected](3)
[1331108.529] [email protected](3604808656)
[1331108.550] [email protected]_id(22)
[1331108.565] [email protected](3604808656)
[1331108.580] [email protected]_id(24)
[1331108.593] [email protected](3604808656)
[1331108.607] [email protected]_id(25)
[1331108.621] [email protected](3604808656)
[1331108.636] [email protected]_id(27)
[1331108.789] [email protected]_buffer(new id 28, 208896, 32, 32, 128, 0)
[1331109.016] [email protected](2, wl_buffer@28, 10, 5)
[1331109.385] [email protected](3)
[1331878.967]  -> [email protected](4)
[1331879.103] [email protected](4)
[1331879.144]  -> [email protected](4)
[1331879.190] [email protected](4)


On Sun, Jun 10, 2012 at 8:19 PM, Simon Hong 
<[email protected]<mailto:[email protected]>> 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@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
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to