Hi everybody!

Some comments / suggestions / bug reports:

1: http://wayland.freedesktop.org/building.html misses that building weston
will fail without a recent libwebp from 
http://git.chromium.org/webm/libwebp.git.

2. http://wayland.freedesktop.org/building.html misses that after building 
weston
"make install" needs to be run as root.

3. Weston needs an xcursor theme to be installed and accessible via
~/.icons/default/index.theme, otherwise no cursor will be visible. That
probably also should be mentioned in 
http://wayland.freedesktop.org/building.html
as a lot of people don´t have it on their system.

4. After solving problems 1-3, weston and the weston demo clients like gears
worked fine if weston was started as an X client. Without X weston started as
a normal user blocked keyboard and mouse, so a power button reboot or killing
weston via ssh was necessary. Weston without started as root worked fine.

5. I know, (glx)gears is not really a benchmark as fps is limited by vsync. But 
here on
an idle system fps(~45) stayed 25% below vsync (60).

6. Occasionally short bursts of screen distortions are visible if weston is 
started
without X.

7. http://wayland.freedesktop.org/xserver.html worked fine as a guide to build 
x client
support, but every X client I tried killed weston:

starting weston
============

Date: 2012-09-01 CEST
[10:54:46.482] weston 0.95.0
http://wayland.freedesktop.org/
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=weston
Build: 0.95.0-148-ga91291c man: add man page for weston (2012-08-29 15:32:05 
-0400)
[10:54:46.483] OS: Linux, 3.6.0-rc3-main+, #7 PREEMPT Sun Aug 26 21:03:24 CEST 
2012, i686
[10:54:46.483] Loading module 
'/home/knut/xorg/WayX/usr/lib/weston/x11-backend.so'
[10:54:46.485] initializing x11 backend
[10:54:46.510] EGL version: 1.4 (DRI2)
[10:54:46.510] EGL vendor: Mesa Project
[10:54:46.510] EGL client APIs: OpenGL OpenGL_ES2
[10:54:46.511] EGL extensions: EGL_MESA_drm_image EGL_WL_bind_wayland_display
EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_image
EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_context
EGL_KHR_create_context EGL_NOK_swap_region
EGL_NOK_texture_from_pixmap EGL_NV_post_sub_buffer
[10:54:46.512] GL version: OpenGL ES 2.0 Mesa 9.0-devel (git-2d2f1fd)
[10:54:46.512] GLSL version: OpenGL ES GLSL ES 1.0.16
[10:54:46.513] GL vendor: Intel Open Source Technology Center
[10:54:46.513] GL renderer: Mesa DRI Intel(R) 915GM x86/MMX/SSE2
[10:54:46.513] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_element_index_uint GL_OES_fbo_render_mipmap
GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot
GL_OES_EGL_image GL_OES_depth_texture
GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
GL_APPLE_texture_max_level GL_EXT_read_format_bgra
GL_NV_fbo_color_attachments GL_OES_vertex_array_object
GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
[10:54:46.614] x11 output 1024x640, window id 88080391
[10:54:46.614] Loading module '/home/knut/xorg/WayX/usr/lib/weston/xwayland.so'
[10:54:46.615] unlinking stale lock file /tmp/.X1-lock
[10:54:46.616] xserver listening on display :1
[10:54:46.616] Loading module 
'/home/knut/xorg/WayX/usr/lib/weston/desktop-shell.so'
[10:54:46.617] launching '/home/knut/xorg/WayX/usr/lib/weston-desktop-shell'
[10:54:46.621] libwayland: using socket /home/knut/tmp/wayland-0


starting any x client from weston terminal
===============================
[10:56:29.789] forked X server, pid 30891

X.Org X Server 1.12.2
Release Date: 2012-05-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.6.0-rc3-main+ i686
Current Operating System: Linux golem 3.6.0-rc3-main+ #7 PREEMPT Sun Aug 26 
21:03:24 CEST 2012 i686
Kernel command line: root=/dev/sdb2 
[email protected]/eth0,[email protected]/00:01:80:62:cf:b1 
acpi_enforce_resources=lax drm.debug=0x0 3
Build Date: 31 August 2012 05:24:11PM

Current version of pixman: 0.27.3
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/knut/xorg/WayX/usr/var/log/Xorg.1.log", Time: Sat Sep 1 
10:56:29 2012
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xdnd_atom: 69
wayland_drm_screen_init, device name /dev/dri/card0
opened drm fd: 6
xwl_input_delayed_init
[10:56:30.022] xfixes version: 4.0
[10:56:30.049] caught segv
[10:56:30.050] [000000000804de2a] -- (/home/knut/xorg/WayX/usr/bin/weston)
[10:56:30.050] [00000000b771340c] __kernel_rt_sigreturn ()
[10:56:30.050] [00000000b5da335b] -- 
(/home/knut/xorg/WayX/usr/lib/weston/xwayland.so)
[10:56:30.050] [00000000b5da5303] -- 
(/home/knut/xorg/WayX/usr/lib/weston/xwayland.so)
[10:56:30.051] [00000000b743ebc8] -- 
(/home/knut/xorg/WayX/usr/lib/libwayland-server.so.0)
[10:56:30.051] [00000000b7437522] ffi_call_SYSV (/usr/lib/libffi.so.4)
[10:56:30.051] [00000000b74372be] ffi_call (/usr/lib/libffi.so.4)
[10:56:30.051] [00000000b7444573] -- 
(/home/knut/xorg/WayX/usr/lib/libwayland-server.so.0)
[10:56:30.052] [00000000b743f110] -- 
(/home/knut/xorg/WayX/usr/lib/libwayland-server.so.0)
[10:56:30.052] [00000000b7441e4e] -- 
(/home/knut/xorg/WayX/usr/lib/libwayland-server.so.0)
[10:56:30.052] [00000000b744268a] wl_event_loop_dispatch 
(/home/knut/xorg/WayX/usr/lib/libwayland-server.so.0)
[10:56:30.052] [00000000b7440162] wl_display_run 
(/home/knut/xorg/WayX/usr/lib/libwayland-server.so.0)
[10:56:30.053] [000000000804d8cc] -- (/home/knut/xorg/WayX/usr/bin/weston)
[10:56:30.053] [00000000b6e69003] __libc_start_main (/lib/libc.so.6)
[10:56:30.053] [000000000804da89] -- (/home/knut/xorg/WayX/usr/bin/weston)
read error: Interrupted system call
read error: No such file or directory
read error from connection 0x8273598: Connection reset by peer (104)
read error: Connection reset by peer
/home/knut/bin/testW: Zeile 9: 30862 Trace/Breakpoint ausgelöst (Speicherabzug 
geschrieben) $PREFIX/bin/weston --xserver

Xorg log
=======
See attached document

cu,
Knut
[166062.116] 
X.Org X Server 1.12.2
Release Date: 2012-05-29
[166062.117] X Protocol Version 11, Revision 0
[166062.117] Build Operating System: Linux 3.6.0-rc3-main+ i686 
[166062.117] Current Operating System: Linux golem 3.6.0-rc3-main+ #7 PREEMPT Sun Aug 26 21:03:24 CEST 2012 i686
[166062.117] Kernel command line: root=/dev/sdb2 [email protected]/eth0,[email protected]/00:01:80:62:cf:b1 acpi_enforce_resources=lax drm.debug=0x0 3
[166062.118] Build Date: 31 August 2012  05:24:11PM
[166062.118]  
[166062.118] Current version of pixman: 0.27.3
[166062.119] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[166062.119] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[166062.120] (==) Log file: "/home/knut/xorg/WayX/usr/var/log/Xorg.1.log", Time: Sat Sep  1 10:56:29 2012
[166062.121] (==) Using config directory: "/etc/X11/xorg.conf.d"
[166062.121] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[166062.122] (==) No Layout section.  Using the first Screen section.
[166062.122] (==) No screen section available. Using defaults.
[166062.122] (**) |-->Screen "Default Screen Section" (0)
[166062.122] (**) |   |-->Monitor "<default monitor>"
[166062.122] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[166062.123] (**) |   |-->Device "Card0"
[166062.123] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[166062.123] (==) Automatically adding devices
[166062.123] (==) Automatically enabling devices
[166062.123] (==) FontPath set to:
	/home/knut/xorg/WayX/usr/share/fonts/X11/misc/,
	/home/knut/xorg/WayX/usr/share/fonts/X11/TTF/,
	/home/knut/xorg/WayX/usr/share/fonts/X11/OTF/,
	/home/knut/xorg/WayX/usr/share/fonts/X11/Type1/,
	/home/knut/xorg/WayX/usr/share/fonts/X11/100dpi/,
	/home/knut/xorg/WayX/usr/share/fonts/X11/75dpi/
[166062.123] (==) ModulePath set to "/home/knut/xorg/WayX/usr/lib/xorg/modules"
[166062.123] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[166062.123] (II) Loader magic: 0x8251560
[166062.123] (II) Module ABI versions:
[166062.123] 	X.Org ANSI C Emulation: 0.4
[166062.123] 	X.Org Video Driver: 12.0
[166062.123] 	X.Org XInput driver : 16.0
[166062.123] 	X.Org Server Extension : 6.0
[166062.125] (--) PCI:*(0:0:2:0) 8086:2592:a0a0:0554 rev 4, Mem @ 0xd5280000/524288, 0xc0000000/268435456, 0xd5300000/262144, I/O @ 0x0000e000/8
[166062.125] (--) PCI: (0:0:2:1) 8086:2792:a0a0:0554 rev 4, Mem @ 0xd5200000/524288
[166062.125] (--) PCI: (0:5:5:0) 14f1:8800:0070:6906 rev 5, Mem @ 0xd1000000/16777216
[166062.126] (II) Open ACPI successful (/var/run/acpid.socket)
[166062.126] (II) "extmod" will be loaded by default.
[166062.126] (II) "dbe" will be loaded by default.
[166062.126] (II) "glx" will be loaded by default.
[166062.126] (II) "record" will be loaded by default.
[166062.126] (II) "dri" will be loaded by default.
[166062.126] (II) "dri2" will be loaded by default.
[166062.126] (II) "xwayland" will be loaded by default.
[166062.126] (II) LoadModule: "extmod"
[166062.126] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libextmod.so
[166062.126] (II) Module extmod: vendor="X.Org Foundation"
[166062.127] 	compiled for 1.12.2, module version = 1.0.0
[166062.127] 	Module class: X.Org Server Extension
[166062.127] 	ABI class: X.Org Server Extension, version 6.0
[166062.127] (II) Loading extension MIT-SCREEN-SAVER
[166062.127] (II) Loading extension XFree86-VidModeExtension
[166062.127] (II) Loading extension XFree86-DGA
[166062.127] (II) Loading extension DPMS
[166062.127] (II) Loading extension XVideo
[166062.127] (II) Loading extension XVideo-MotionCompensation
[166062.127] (II) Loading extension X-Resource
[166062.127] (II) LoadModule: "dbe"
[166062.127] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libdbe.so
[166062.127] (II) Module dbe: vendor="X.Org Foundation"
[166062.127] 	compiled for 1.12.2, module version = 1.0.0
[166062.127] 	Module class: X.Org Server Extension
[166062.127] 	ABI class: X.Org Server Extension, version 6.0
[166062.127] (II) Loading extension DOUBLE-BUFFER
[166062.127] (II) LoadModule: "glx"
[166062.128] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libglx.so
[166062.128] (II) Module glx: vendor="X.Org Foundation"
[166062.128] 	compiled for 1.12.2, module version = 1.0.0
[166062.128] 	ABI class: X.Org Server Extension, version 6.0
[166062.128] (==) AIGLX enabled
[166062.128] (II) Loading extension GLX
[166062.128] (II) LoadModule: "record"
[166062.129] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/librecord.so
[166062.129] (II) Module record: vendor="X.Org Foundation"
[166062.129] 	compiled for 1.12.2, module version = 1.13.0
[166062.129] 	Module class: X.Org Server Extension
[166062.129] 	ABI class: X.Org Server Extension, version 6.0
[166062.129] (II) Loading extension RECORD
[166062.129] (II) LoadModule: "dri"
[166062.129] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libdri.so
[166062.129] (II) Module dri: vendor="X.Org Foundation"
[166062.129] 	compiled for 1.12.2, module version = 1.0.0
[166062.130] 	ABI class: X.Org Server Extension, version 6.0
[166062.130] (II) Loading extension XFree86-DRI
[166062.130] (II) LoadModule: "dri2"
[166062.130] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libdri2.so
[166062.130] (II) Module dri2: vendor="X.Org Foundation"
[166062.130] 	compiled for 1.12.2, module version = 1.2.0
[166062.130] 	ABI class: X.Org Server Extension, version 6.0
[166062.130] (II) Loading extension DRI2
[166062.137] (II) LoadModule: "xwayland"
[166062.137] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libxwayland.so
[166062.138] (II) Module xwayland: vendor="X.Org Foundation"
[166062.138] 	compiled for 1.12.2, module version = 1.0.0
[166062.138] 	ABI class: X.Org Server Extension, version 6.0
[166062.138] (II) LoadModule: "intel"
[166062.138] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/drivers/intel_drv.so
[166062.138] (II) Module intel: vendor="X.Org Foundation"
[166062.138] 	compiled for 1.12.2, module version = 2.19.0
[166062.138] 	Module class: X.Org Video Driver
[166062.138] 	ABI class: X.Org Video Driver, version 12.0
[166062.145] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[166062.145] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[166062.145] (==) intel(0): RGB weight 888
[166062.145] (==) intel(0): Default visual is TrueColor
[166062.145] (II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
[166062.145] (--) intel(0): Chipset: "915GM"
[166062.146] xdnd_atom: 69
[166062.146] wayland_drm_screen_init, device name /dev/dri/card0
[166062.147] opened drm fd: 6
[166062.147] (II) intel(0): Output XWAYLAND-1 has no monitor section
[166062.147] (II) intel(0): Printing probed modes for output XWAYLAND-1
[166062.147] (II) intel(0): Modeline "1024x640"x59.9   46.75  1024 1072 1104 1184  640 643 649 659 +hsync -vsync (39.5 kHz)
[166062.147] (II) intel(0): Output XWAYLAND-1 connected
[166062.147] (II) intel(0): Using exact sizes for initial modes
[166062.147] (II) intel(0): Output XWAYLAND-1 using initial mode 1024x640
[166062.147] (**) intel(0): Relaxed fencing disabled
[166062.147] (**) intel(0): Wait on SwapBuffers? enabled
[166062.147] (**) intel(0): Triple buffering? enabled
[166062.147] (**) intel(0): Framebuffer tiled
[166062.147] (**) intel(0): Pixmaps tiled
[166062.147] (**) intel(0): 3D buffers tiled
[166062.147] (**) intel(0): SwapBuffers wait enabled
[166062.147] (==) intel(0): video overlay key set to 0x101fe
[166062.147] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[166062.147] (==) intel(0): DPI set to (96, 96)
[166062.147] (II) Loading sub module "fb"
[166062.147] (II) LoadModule: "fb"
[166062.148] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/libfb.so
[166062.148] (II) Module fb: vendor="X.Org Foundation"
[166062.148] 	compiled for 1.12.2, module version = 1.0.0
[166062.148] 	ABI class: X.Org ANSI C Emulation, version 0.4
[166062.148] (II) Loading sub module "dri2"
[166062.148] (II) LoadModule: "dri2"
[166062.149] (II) Loading /home/knut/xorg/WayX/usr/lib/xorg/modules/extensions/libdri2.so
[166062.149] (II) Module dri2: vendor="X.Org Foundation"
[166062.149] 	compiled for 1.12.2, module version = 1.2.0
[166062.149] 	ABI class: X.Org Server Extension, version 6.0
[166062.149] (==) Depth 24 pixmap format is 32 bpp
[166062.149] (II) intel(0): [DRI2] Setup complete
[166062.149] (II) intel(0): [DRI2]   DRI driver: i915
[166062.149] (II) intel(0): Allocated new frame buffer 1024x640 stride 4096, tiled
[166062.149] (II) UXA(0): Driver registered support for the following operations:
[166062.149] (II)         solid
[166062.149] (II)         copy
[166062.149] (II)         composite (RENDER acceleration)
[166062.149] (II)         put_image
[166062.149] (II)         get_image
[166062.149] (==) intel(0): Backing store disabled
[166062.149] (==) intel(0): Silken mouse enabled
[166062.149] (II) intel(0): Initializing HW Cursor
[166062.149] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[166062.149] (==) intel(0): DPMS enabled
[166062.150] (==) intel(0): Intel XvMC decoder disabled
[166062.150] (II) intel(0): Set up textured video
[166062.150] (II) intel(0): Set up overlay video
[166062.150] (II) intel(0): direct rendering: DRI2 Enabled
[166062.150] (==) intel(0): hotplug detection: "enabled"
[166062.150] (--) RandR disabled
[166062.150] (II) Initializing built-in extension Generic Event Extension
[166062.150] (II) Initializing built-in extension SHAPE
[166062.150] (II) Initializing built-in extension MIT-SHM
[166062.150] (II) Initializing built-in extension XInputExtension
[166062.150] (II) Initializing built-in extension XTEST
[166062.150] (II) Initializing built-in extension BIG-REQUESTS
[166062.150] (II) Initializing built-in extension SYNC
[166062.150] (II) Initializing built-in extension XKEYBOARD
[166062.150] (II) Initializing built-in extension XC-MISC
[166062.150] (II) Initializing built-in extension XINERAMA
[166062.150] (II) Initializing built-in extension XFIXES
[166062.150] (II) Initializing built-in extension RENDER
[166062.150] (II) Initializing built-in extension RANDR
[166062.150] (II) Initializing built-in extension COMPOSITE
[166062.150] (II) Initializing built-in extension DAMAGE
[166062.173] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[166062.173] (II) AIGLX: enabled GLX_INTEL_swap_event
[166062.173] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[166062.173] (II) AIGLX: Loaded and initialized i915
[166062.173] (II) GLX: Initialized DRI2 GL provider for screen 0
[166062.174] (II) intel(0): Setting screen physical size to 270 x 169
[166062.307] xwl_input_delayed_init
[166062.307] (II) Using input driver 'xwayland-pointer' for 'xwayland-pointer:8'
[166062.307] (**) xwayland-pointer:8: always reports core events
[166062.307] (II) XINPUT: Adding extended input device "xwayland-pointer:8" (type: xwayland-pointer, id 6)
[166062.307] (**) xwayland-pointer:8: (accel) keeping acceleration scheme 1
[166062.307] (**) xwayland-pointer:8: (accel) acceleration profile 0
[166062.307] (**) xwayland-pointer:8: (accel) acceleration factor: 2.000
[166062.307] (**) xwayland-pointer:8: (accel) acceleration threshold: 4
[166062.307] (II) config/xwayland: Adding input device xwayland-pointer:8
[166062.307] (II) Using input driver 'xwayland-keyboard' for 'xwayland-keyboard:8'
[166062.307] (**) xwayland-keyboard:8: always reports core events
[166062.307] (II) XINPUT: Adding extended input device "xwayland-keyboard:8" (type: xwayland-keyboard, id 7)
[166062.341] (II) config/xwayland: Adding input device xwayland-keyboard:8
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to