Build problems on Ubuntu Natty (11.04)
Bill Spitzak
spitzak at gmail.com
Tue Mar 13 10:43:55 PDT 2012
On 03/13/2012 10:31 AM, Bill Spitzak wrote:
> On 03/13/2012 02:36 AM, Pekka Paalanen wrote:
>
>> Hi Bill,
>>
>> could you try commenting out the line
>> EGL_DEPTH_SIZE, 1,
>> from compositor-x11.c?
>>
>> I would very much like to know if that helps.
>
> Yes, that indeed did fix it! Weston runs now and at least the cursor
> image works in the window. I will now try to patch all the clients...
>
> Do you know if I have to do the setuid root on libexec, libexec/*, and
> bin/weston, even if I just want to run them locally?
Unfortunately the clients are still broken after removing this line from
them (patch attached).
I did not touch the occurrences of EGL_DEPTH_SIZE in non-wayland code
like egl. Everything was under weston.
My wayland-run.sh runs ~/install/bin/weston, sleeps 2 seconds, then runs
weston/clients/weston-terminal.
What I get now is a black window with a moving cursor image, and a tiny
"icon" in the upper-left corner. This icon "lights up" when I point the
mouse at it, and dims when I do not. Clicking on the icon produces the
following output on stdout:
[1391549.930] -> wl_input_device at 6.button(220434881, 272, 1)
[1391550.009] wl_input_device at 6.keyboard_leave(220434881, wl_surface at 26)
[1391550.048] wl_input_device at 6.keyboard_enter(220434881, wl_surface at 24,
array)
[1391550.080] wl_input_device at 6.button(220434881, 272, 1)
[1391550.242] -> wl_shm at 3.create_buffer(new id 34, fd 6, 1024, 32, 4096, 0)
[1391550.606] -> wl_buffer at 34.damage(0, 0, 1024, 32)
[1391550.656] -> wl_surface at 24.attach(wl_buffer at 34, 0, 0)
[1391550.693] -> wl_display at 1.sync(new id 35)
[1391550.711] -> wl_surface at 24.damage(0, 0, 1024, 32)
[1391550.816] wl_shm at 3.create_buffer(new id 34, fd 19, 1024, 32, 4096, 0)
[1391550.893] wl_buffer at 34.damage(0, 0, 1024, 32)
[1391550.933] wl_surface at 24.attach(wl_buffer at 34, 0, 0)
[1391550.965] -> wl_buffer at 33.release()
[1391551.439] wl_display at 1.sync(new id 35)
[1391551.485] -> wl_callback at 35.done(0)
[1391551.503] -> wl_display at 1.delete_id(35)
[1391551.520] wl_surface at 24.damage(0, 0, 1024, 32)
[1391552.385] wl_callback at 35.done(0)
[1391552.458] wl_display at 1.delete_id(35)
[1391653.667] -> wl_input_device at 6.button(220434985, 272, 0)
[1391653.822] wl_input_device at 6.button(220434985, 272, 0)
[1391654.724] -> wl_shm at 3.create_buffer(new id 35, fd 6, 1024, 32, 4096, 0)
[1391655.305] -> wl_buffer at 35.damage(0, 0, 1024, 32)
[1391655.403] -> wl_surface at 24.attach(wl_buffer at 35, 0, 0)
[1391655.463] -> wl_display at 1.sync(new id 36)
[1391655.492] -> wl_surface at 24.damage(0, 0, 1024, 32)
[1391655.650] wl_shm at 3.create_buffer(new id 35, fd 19, 1024, 32, 4096, 0)
[1391655.786] wl_buffer at 35.damage(0, 0, 1024, 32)
[1391655.860] wl_surface at 24.attach(wl_buffer at 35, 0, 0)
[1391655.907] -> wl_buffer at 34.release()
[1391656.562] wl_display at 1.sync(new id 36)
[1391656.632] -> wl_callback at 36.done(0)
[1391656.661] -> wl_display at 1.delete_id(36)
[1391656.690] wl_surface at 24.damage(0, 0, 1024, 32)
[1391657.950] wl_callback at 36.done(0)
[1391658.003] wl_display at 1.delete_id(36)
failed to create display: Permission denied
failed to create display: Permission denied
child 6610 exited
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120313/cfd2e8da/attachment.asc>
More information about the wayland-devel
mailing list