Getting blank screen

Scott Moreau oreaus at gmail.com
Mon Dec 17 17:58:59 PST 2012


Hi Manish,

Thanks for posting the complete output. It would be good to know which
distro version you're running. Please see comments below.

On Mon, Dec 17, 2012 at 6:25 PM, manish sharma <83.manish at gmail.com> wrote:

> Hi,
>
> I am trying to do some research on inputmethod functionality on wayland.
>
> I tried compile wayland on my HP-8530w laptop with NVIDIA Corporation G96M
> [Quadro FX 770M] graphics card.
>
> I followed instructions provided on the build page and upgraded my linux
> kernel to 3.7.0-030700rc8-generic. After upgrading the kernel i noticed
> that when i run ctrl+f1, ctrl+f2 usual terminal is not coming. It is
> showing a blank screen.
>
> After upgrading i compiled all wayland packages. And now when i run
> ./weston it shows up a black screen with no mouse. Also on terminal i am
> getting below error. Did i miss something? Please help.
>
> manish at manish-HP-EliteBook-8530w:~$ export XDG_RUNTIME_DIR=/tmp/
> manish at manish-HP-EliteBook-8530w:~$ cd install/
> manish at manish-HP-EliteBook-8530w:~/install$ cd bin/
> manish at manish-HP-EliteBook-8530w:~/install/bin$ ls
> cairo-trace  wayland-scanner  weston       weston-launch
> t.log        wcap-decode      weston-info  weston-terminal
> manish at manish-HP-EliteBook-8530w:~/install/bin$ ./weston
>
>
Date: 2012-12-15 IST
> [09:31:14.021] weston 1.0.0
>                http://wayland.freedesktop.org/
>                Bug reports to:
> https://bugs.freedesktop.org/enter_bug.cgi?product=weston
>                Build: 1.0.0-171-g3a8d3f2 Link matrix.c into weston again
> (2012-12-07 15:00:36 -0500)
> [09:31:14.021] OS: Linux, 3.7.0-030700rc8-generic, #201212031649 SMP Mon
> Dec 3 22:00:46 UTC 2012, i686
> [09:31:14.021] warning: XDG_RUNTIME_DIR "/tmp/" is not configured
> correctly.  Unix access mode must be 0700 but is 777,
> and XDG_RUNTIME_DIR must be owned by the user, but is
> owned by UID 0.
>

You might want to fix these warnings.


> Refer to your distribution on how to get it, or
> http://www.freedesktop.org/wiki/Specifications/basedir-spec
> on how to implement it.
> [09:31:14.022] Loading module
> '/home/manish/install/lib/weston/x11-backend.so'
> [09:31:14.025] initializing x11 backend
> libEGL warning: DRI2: failed to authenticate
> [09:31:14.030] launching '/usr/libexec/weston-keyboard'
> [09:31:14.031] compositor: executing '/usr/libexec/weston-keyboard'
> failed: No such file or directory
>

It seems strange that it's looking here when you've installed to ~/install/.


> [09:31:14.038] XCB-XKB not available during build
> [09:31:14.078] Chosen EGL config details:
>                RGBA bits: 8 8 8 0
>                swap interval range: 0 - 0
> [09:31:14.105] EGL version: 1.4 (DRI2)
> [09:31:14.105] EGL vendor: Mesa Project
> [09:31:14.105] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
> [09:31:14.105] EGL extensions: EGL_KHR_surfaceless_context
> [09:31:14.105] GL version: OpenGL ES 2.0 Mesa 9.1-devel (git-bd87441)
> [09:31:14.105] GLSL version: OpenGL ES GLSL ES 1.0.16
> [09:31:14.105] GL vendor: VMware, Inc.
> [09:31:14.105] GL renderer: Gallium 0.4 on llvmpipe (LLVM 2.9, 128 bits)
>

This string means the driver is using software routines for rendering.


> [09:31:14.105] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
>                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_EGL_image_external
>                GL_OES_vertex_array_object GL_EXT_texture_rg
>                GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
>                GL_EXT_map_buffer_range
> [09:31:14.130] GL ES 2 renderer features:
>                read-back format: RGBA
>                wl_shm sub-image to texture: yes
>                EGL Wayland extension: no
> [09:31:14.130] x11 output 1024x640, window id 54525957
> [09:31:14.130] Loading module
> '/home/manish/install/lib/weston/desktop-shell.so'
> [09:31:14.130] libwayland: using socket /tmp//wayland-0
> [09:31:14.177] launching
> '/home/manish/install/libexec/weston-desktop-shell'
> [09:31:14.179] Error opening file for reading: Permission denied
>

This error looks suspicious.


> libwayland: disconnect from client 0x9133fe8
> failed to initialize display
> failed to create display: No such file or directory
> [09:31:14.224] libwayland: disconnect from client 0x94a3668
> [09:31:14.224] weston-desktop-shell died, respawning...
> [09:31:14.224] launching
> '/home/manish/install/libexec/weston-desktop-shell'
> Error opening file for reading: Permission denied
> failed to initialize display
> failed to create display: No such file or directory
> [09:31:14.230] libwayland: disconnect from client 0x947bfe0
> [09:31:14.231] weston-desktop-shell died, respawning...
> [09:31:14.231] launching
> '/home/manish/install/libexec/weston-desktop-shell'
> Error opening file for reading: Permission denied
> failed to initialize display
> failed to create display: No such file or directory
> [09:31:14.261] libwayland: disconnect from client 0x9484a88
> [09:31:14.261] weston-desktop-shell died, respawning...
> [09:31:14.261] launching
> '/home/manish/install/libexec/weston-desktop-shell'
> Error opening file for reading: Permission denied
> failed to initialize display
> failed to create display: No such file or directory
> [09:31:14.269] libwayland: disconnect from client 0x947c518
> [09:31:14.269] weston-desktop-shell died, respawning...
> [09:31:14.269] launching
> '/home/manish/install/libexec/weston-desktop-shell'
> Error opening file for reading: Permission denied
> failed to initialize display
> failed to create display: No such file or directory
> [09:31:14.303] libwayland: disconnect from client 0x9133fe8
> [09:31:14.303] weston-desktop-shell died, respawning...
> [09:31:14.304] launching
> '/home/manish/install/libexec/weston-desktop-shell'
> Error opening file for reading: Permission denied
> failed to initialize display
> failed to create display: No such file or directory
> [09:31:14.310] libwayland: disconnect from client 0x94a3668
> [09:31:14.310] weston-desktop-shell died, giving up.
>
> Thanks a lot.
>
>
I don't have any definitive answers but you'll want to get 3D working in
any event. You can check your /var/log/Xorg.0.log file,
http://nouveau.freedesktop.org/wiki/FeatureMatrix or ask in #nouveau. So
far as the general error messages, something seems strange with your system
or installation that's confusing weston or, that's triggering a bug. I'd
recommend getting hardware acceleration working first, then proceed from
there.


- Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20121217/5bfe27f7/attachment-0001.html>


More information about the wayland-devel mailing list