Summary: | Corruption in weston using drm or wayland backends | ||
---|---|---|---|
Product: | Wayland | Reporter: | scimmia22 |
Component: | wayland | Assignee: | Wayland bug list <wayland-bugs> |
Status: | RESOLVED NOTOURBUG | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | scimmia22 |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Screenshot of Weston with Wayland backend |
Description
scimmia22
2013-12-27 16:51:19 UTC
Log using drm backend: Date: 2013-12-27 CST [11:12:43.529] weston 1.3.91 http://wayland.freedesktop.org/ Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.3.91 Build: 1.3.91-6-g24dff2b-dirty compositor: Clean up view output move and destroy listeners (2013-12-19 21:52:09 -0800) [11:12:43.529] OS: Linux, 3.12.6-1-ck, #1 SMP PREEMPT Fri Dec 20 14:01:51 EST 2013, x86_64 [11:12:43.529] Using config file '/home/dnewgard/.config/weston.ini' [11:12:43.529] Loading module '/usr/lib/weston/drm-backend.so' [11:12:43.531] initializing drm backend [11:12:43.531] using /dev/dri/card0 [11:12:43.531] Loading module '/usr/lib/weston/gl-renderer.so' [11:12:43.630] Chosen EGL config details: RGBA bits: 8 8 8 0 swap interval range: 0 - 0 [11:12:43.642] EGL version: 1.4 (DRI2) [11:12:43.642] EGL vendor: Mesa Project [11:12:43.642] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3 [11:12:43.642] EGL extensions: EGL_MESA_drm_image EGL_WL_bind_wayland_display EGL_KHR_image_base EGL_KHR_gl_renderbuffer_image EGL_KHR_surfaceless_context EGL_KHR_create_context EGL_EXT_buffer_age [11:12:43.642] GL version: OpenGL ES 2.0 Mesa 10.0.1 [11:12:43.642] GLSL version: OpenGL ES GLSL ES 1.0.16 [11:12:43.642] GL vendor: X.Org R300 Project [11:12:43.642] GL renderer: Gallium 0.4 on ATI RV515 [11:12:43.642] 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_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_vertex_array_object GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_EXT_map_buffer_range GL_OES_surfaceless_context [11:12:43.643] GL ES 2 renderer features: read-back format: BGRA wl_shm sub-image to texture: yes EGL Wayland extension: yes [11:12:43.644] Initialized backlight, device /sys/class/backlight/acpi_video0 [11:12:43.644] EDID data 'SEC', '', '' [11:12:43.644] Output LVDS1, (connector 17, crtc 11) mode 1680x1050@60.0, preferred, current mode 1400x1050@60.0 mode 1280x1024@59.9 mode 1440x900@59.9 mode 1280x960@59.9 mode 1280x854@59.9 mode 1280x800@59.8 mode 1280x720@59.9 mode 1152x768@59.8 mode 1024x768@59.9 mode 800x600@59.9 mode 848x480@59.7 mode 720x480@59.7 mode 640x480@59.4 [11:12:43.717] launching '/usr/lib/weston/weston-keyboard' [11:12:43.730] input device Video Bus, /dev/input/event6 is a keyboard [11:12:43.730] input device Power Button, /dev/input/event4 is a keyboard [11:12:43.730] not using input device '/dev/input/event3'. [11:12:43.730] input device Sleep Button, /dev/input/event5 is a keyboard [11:12:43.730] not using input device '/dev/input/event8'. [11:12:43.731] not using input device '/dev/input/event7'. [11:12:43.731] input device Broadcom Corp, /dev/input/event1 is a keyboard [11:12:43.731] input device Broadcom Corp, /dev/input/event2 is a pointer caps = relative-motion button [11:12:43.731] input device AT Translated Set 2 keyboard, /dev/input/event0 is a keyboard [11:12:43.731] input device SynPS/2 Synaptics TouchPad, /dev/input/event11 is a touchpad [11:12:43.731] input device SynPS/2 Synaptics TouchPad, /dev/input/event11 is a pointer caps = absolute-motion button [11:12:43.732] not using input device '/dev/input/event9'. [11:12:43.732] input device Dell WMI hotkeys, /dev/input/event10 is a keyboard [11:12:43.732] Loading module '/usr/lib/weston/desktop-shell.so' [11:12:43.732] Loading module '/usr/lib/weston/xwayland.so' [11:12:43.736] xserver listening on display :1 [11:12:43.736] Compositor capabilities: arbitrary surface rotation: yes screen capture uses y-flip: yes [11:12:43.736] libwayland: using socket /tmp/XDG_RUNTIME_1000/wayland-0 [11:12:43.746] launching '/usr/lib/weston/weston-desktop-shell' [11:12:45.691] device /dev/input/event6 died [11:12:45.691] device /dev/input/event4 died [11:12:45.691] deactivating session [11:12:47.257] caught signal 15 [11:12:47.257] libwayland: disconnect from client 0x1ba1650 [11:12:47.257] libwayland: disconnect from client 0x1e8d000 Could have something to do with resolution. I just loaded up weston-terminal and it looked the same, but as I resized it, the angle of the vertical lines changed and if I got it just right, it looked fine. Starting weston with the wayland backend, the log reports "Creating 1024x640 wayland output at (0, 0)", but Enlightenment reports the resolution as 1100x737. Resizing that window doesn't help, though. Neither does resizing weston-simple-egl. I would blame Enlightenment if it wasn't that the drm backend looks exactly the same. (In reply to comment #2) > Could have something to do with resolution. I just loaded up weston-terminal > and it looked the same, but as I resized it, the angle of the vertical lines > changed and if I got it just right, it looked fine. Starting weston with the > wayland backend, the log reports "Creating 1024x640 wayland output at (0, > 0)", but Enlightenment reports the resolution as 1100x737. Resizing that > window doesn't help, though. Neither does resizing weston-simple-egl. weston-simple-egl is not resizable, and I think the Wayland backend is neither. You'd have to set the size in advance. What you describe does sound and look like "bad pitch", which would likely be a 3D driver issue. Btw. did you notice, that some of your runs use the ATI RV515 renderer while the other one uses llvmpipe (software) renderer for OpenGL? That might actually help to narrow down the bug, if you do that intentionally, and do not accidentally e.g. mix different Mesa versions, for instance what Weston uses vs. your hosting X server. (In reply to comment #3) > weston-simple-egl is not resizable, and I think the Wayland backend is > neither. You'd have to set the size in advance. Oops, sorry, looks like they nowadays do have resizing support. Actually I hadn't noticed that, interesting. What's more, the wayland backend is running llvm pipe while the drm backend is running RV515, both of which have the problem which makes me think it's not specific to the renderer. The x11 backend that works is also running RV515. All of the logs were run within an hour of each other with no changes on the system in between. As for resizing, I just tried it again, when resizing weston-terminal, it's actually the terminal itself being resized where the others I was resizing with the WM's decorations. In the latter case, it was just stretching things. I believe this would be an error in the GBM implementation, but either way this should be fixed now since others have managed to run it fine on similar hardware. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.