<div dir="ltr">Hello,<div><br></div><div style>ive just started development on wayland and am trying to run wayland without X server.</div><div style><br></div><div style>I am on ubuntu machine 12.04 64bit with the following from glxinfo | grep  -i opengl</div>

<div style><div>OpenGL vendor string: nouveau</div><div>OpenGL renderer string: Gallium 0.4 on NV98</div><div>OpenGL version string: 2.1 Mesa 8.0.4</div><div>OpenGL shading language version string: 1.20</div><div>OpenGL extensions:</div>

<div><br></div><div style>from lspci:</div><div style><b>0f:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS] (rev a1)</b><br></div><div><br></div><div style>secondly i couldnt run this under normal user  having sudo permissions.. so i got into the root mode.</div>

<div style><br></div><div style>when i run ./weston-launch i endup in some graphics but that is corrupted  one. </div><div style><br></div><div style>and under this condition running the wayland clients like wayland-terminal doesnt show up anything and it doesnt give any output whatsoever.</div>

<div style><br></div><div style>Any help what is wrong?<br></div><div style><br></div><div style>here is the Full error log..</div></div><div style>-----------------------------</div><div style><div>root@abc-HP:/home/abc/wayland/weston/src# ./weston-launch </div>

<div>Date: 2013-01-07 IST</div><div>[15:43:44.708] weston 1.0.0</div><div>               <a href="http://wayland.freedesktop.org/">http://wayland.freedesktop.org/</a></div><div>               Bug reports to: <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=weston">https://bugs.freedesktop.org/enter_bug.cgi?product=weston</a></div>

<div>               Build: 1.0.0-200-ge565b40 tests: Pass --backend so the test suite runs with the right modules (2012-12-14 16:34:00 -0500)</div><div>[15:43:44.708] OS: Linux, 3.2.0-35-generic, #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012, x86_64</div>

<div>[15:43:44.708] warning: XDG_RUNTIME_DIR "/tmp" is not configured</div><div>correctly.  Unix access mode must be 0700 but is 777,</div><div>and XDG_RUNTIME_DIR must be owned by the user, but is</div><div>owned by UID 0.</div>

<div>Refer to your distribution on how to get it, or</div><div><a href="http://www.freedesktop.org/wiki/Specifications/basedir-spec">http://www.freedesktop.org/wiki/Specifications/basedir-spec</a></div><div>on how to implement it.</div>

<div>couldn't open /root/.config/weston.ini</div><div>[15:43:44.714] Loading module '/home/abc/WAYLANDINSTALLDIR/lib/weston/drm-backend.so'</div><div>couldn't open /root/.config/weston.ini</div><div>[15:43:44.715] initializing drm backend</div>

<div>couldn't open /root/.config/weston.ini</div><div>couldn't open /root/.config/weston.ini</div><div>[15:43:44.717] using /dev/dri/card0</div><div>libGL: Can't open configuration file /etc/drirc: No such file or directory.</div>

<div>libGL: Can't open configuration file /root/.drirc: No such file or directory.</div><div>libEGL debug: Native platform type: drm (autodetected)</div><div>libEGL debug: EGL search path is /home/abc/WAYLANDINSTALLDIR/lib/egl</div>

<div>libEGL debug: added egl_dri2 to module array</div><div>libEGL debug: added egl_glx to module array</div><div>libEGL debug: the best driver is DRI2</div><div>[15:43:45.034] failed to get plane resources: Invalid argument</div>

<div>[15:43:45.244] Chosen EGL config details:</div><div>               RGBA bits: 8 8 8 0</div><div>               swap interval range: 0 - 0</div><div>libGL: Can't open configuration file /etc/drirc: No such file or directory.</div>

<div>libGL: Can't open configuration file /root/.drirc: No such file or directory.</div><div>Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable</div><div>[15:43:45.282] EGL version: 1.4 (DRI2)</div>

<div>[15:43:45.282] EGL vendor: Mesa Project</div><div>[15:43:45.282] EGL client APIs: OpenGL OpenGL_ES2 </div><div>[15:43:45.282] EGL extensions: EGL_MESA_drm_image EGL_WL_bind_wayland_display</div><div>               EGL_KHR_image_base EGL_KHR_gl_renderbuffer_image</div>

<div>               EGL_KHR_surfaceless_context EGL_KHR_create_context</div><div>[15:43:45.282] GL version: OpenGL ES 2.0 Mesa 9.1-devel (git-955babf)</div><div>[15:43:45.282] GLSL version: OpenGL ES GLSL ES 1.0.16</div>
<div>
[15:43:45.282] GL vendor: nouveau</div><div>[15:43:45.282] GL renderer: Gallium 0.4 on NV98</div><div>[15:43:45.282] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays</div><div>               GL_EXT_texture_filter_anisotropic</div>

<div>               GL_EXT_texture_format_BGRA8888 GL_OES_depth24</div><div>               GL_OES_element_index_uint GL_OES_fbo_render_mipmap</div><div>               GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives</div>

<div>               GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot</div><div>               GL_OES_EGL_image GL_OES_depth_texture</div><div>               GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV</div>

<div>               GL_APPLE_texture_max_level GL_EXT_read_format_bgra</div><div>               GL_NV_fbo_color_attachments GL_OES_EGL_image_external</div><div>               GL_OES_vertex_array_object GL_EXT_texture_rg</div>

<div>               GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer</div><div>               GL_EXT_map_buffer_range</div><div>[15:43:45.330] GL ES 2 renderer features:</div><div>               read-back format: RGBA</div>

<div>               wl_shm sub-image to texture: yes</div><div>               EGL Wayland extension: yes</div><div>[15:43:45.330] Output VGA1, (connector 12, crtc 5)</div><div>  mode 1366x768@59.8, preferred, current</div>

<div>  mode 1024x768@75.1</div><div>  mode 1024x768@70.1</div><div>  mode 1024x768@60.0</div><div>  mode 832x624@74.6</div><div>  mode 800x600@72.2</div><div>  mode 800x600@75.0</div><div>  mode 800x600@60.3</div><div>  mode 800x600@56.2</div>

<div>  mode 640x480@72.8</div><div>  mode 640x480@75.0</div><div>  mode 640x480@66.7</div><div>  mode 640x480@60.0</div><div>  mode 720x400@70.1</div><div>  mode 1366x768@59.8</div><div>[15:43:45.330] launching '/home/abc/WAYLANDINSTALLDIR/libexec/weston-keyboard'</div>

<div>[15:43:45.339] input device Power Button, /dev/input/event1 is a keyboard</div><div>[15:43:45.339] input device Power Button, /dev/input/event0 is a keyboard</div><div>[15:43:45.341] input device USB Optical Mouse, /dev/input/event2 is a pointer caps = relative-motion button</div>

<div>[15:43:45.341] input device CHICONY HP Basic USB Keyboard, /dev/input/event3 is a keyboard</div><div>[15:43:45.342] input device HP WMI hotkeys, /dev/input/event9 is a keyboard</div><div>[362490.205]  -> wl_display@1.get_registry(new id wl_registry@2)</div>

<div>[15:43:45.436] Loading module '/home/abc/WAYLANDINSTALLDIR/lib/weston/desktop-shell.so'</div><div>couldn't open /root/.config/weston.ini</div><div>[15:43:45.437] libwayland: using socket /tmp/wayland-0</div>

<div>[15:43:45.557] addfb2 failed: Invalid argument</div><div><br></div></div><div style>-----------------------------</div><div style><br></div></div>