Why does weston try to open .ini file 6 times?
Pekka Paalanen
ppaalanen at gmail.com
Tue Oct 9 12:10:22 PDT 2012
On Tue, 9 Oct 2012 20:17:10 +0200
"Fred ." <eldmannen at gmail.com> wrote:
> $ weston
> Date: 2012-10-09 CEST
> [20:11:27.906] weston 0.95.0
> http://wayland.freedesktop.org/
> Bug reports to:
> https://bugs.freedesktop.org/enter_bug.cgi?product=weston
> Build:
> [20:11:27.906] OS: Linux, 3.5.0-17-generic, #27-Ubuntu SMP Fri Oct 5
> 01:35:26 UTC 2012, x86_64
> couldn't open /home/anonymous/.config/weston.ini
> [20:11:27.906] Loading module '/usr/lib/weston/x11-backend.so'
> couldn't open /home/anonymous/.config/weston.ini
> [20:11:27.909] initializing x11 backend
> couldn't open /home/anonymous/.config/weston.ini
> libEGL warning: unsupported platform Windows
> [20:11:27.946] XCB-XKB not available during build
> [20:11:27.967] x11 output 1024x640, window id 75497477
> [20:11:27.977] EGL version: 1.4 (DRI2)
> [20:11:27.977] EGL vendor: Mesa Project
> [20:11:27.977] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2
> [20:11:27.977] 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
> [20:11:27.977] GL version: OpenGL ES 2.0 Mesa 9.0
> [20:11:27.977] GLSL version: OpenGL ES GLSL ES 1.0.16
> [20:11:27.977] GL vendor: nouveau
> [20:11:27.977] GL renderer: Gallium 0.4 on NV84
> [20:11:27.977] 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_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
> [20:11:28.014] Loading module '/usr/lib/weston/desktop-shell.so'
> couldn't open /home/anonymous/.config/weston.ini
> [20:11:28.016] libwayland: using socket /run/user/anonymous/wayland-0
> [20:11:28.021] launching '/usr/lib/weston/weston-desktop-shell'
> libEGL warning: unsupported platform Windows
> couldn't open /home/anonymous/.config/weston.ini
> couldn't open /home/anonymous/.config/weston.ini
> [20:11:35.746] libwayland: disconnect from client 0x2382260
Because our config parser does not save all data in memory. Each
component opens the file and parses what it is interested in.
We haven't had time to improve it as it does its job well enough
for now. You're welcome to rewrite that thing, so it parses once,
and can give out the data later when needed.
Thanks,
pq
More information about the wayland-devel
mailing list