Comment 7 for bug 1745799

Revision history for this message
Gert van de Kraats (gkraats) wrote :

I created bug #1795760, which describes a Xwayland-abort and got the status duplicate of 1745799.

Below is a part of the symbolic trace of the abort.

 #7 0x004b6296 in xwl_log_handler (format=0xb7dc71ea "%s@%u: error %d: %s\n", args=0xbf9c7994 "\027uܷ\255\001") at ../../../../../hw/xwayland/xwayland.c:1137
         msg = "wl_surface@429: error 2: Failed to create a texture for surface 429: Failed to create texture 2d due to size/format constraints\n", '\000' <repeats 127 times>
 #8 0xb7dc5fef in wl_log (fmt=0xb7dc71ea "%s@%u: error %d: %s\n") at ../src/wayland-util.c:404

Problem can be solved by using slicing at shm_buffer_attach() at src/wayland/meta-wayland-buffer.c, if size of texture is too large for graphics card.

I attach a bug-fix to this bug, which is tested during a long time.