(In reply to Michel Dänzer from comment #14) > I don't suppose > https://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/ > ?id=3dcfce8d0f495d09d7836caf98ef30d625b78a13 helps by any chance? It doesn't. "Failed to make ... GBM bo" crashes still happen with this patch. > If not, can you attach gdb to the Xorg process, set a breakpoint in > glamor_make_pixmap_exportable where it prints the "Failed to make" message, > then when the breakpoint triggers, run "bt full" and attach its output here? I followed [1] to set a breakpoint at [2] with these commands: set confirm off set breakpoint pending on file $XSERVER set args $ARGS handle SIGUSR1 nostop handle SIGUSR2 nostop handle SIGPIPE nostop break glamor_egl.c:372 run bt full cont bt full cont detach quit and then waited for the next crash. The resulting backtrace is attached. [1] https://www.x.org/wiki/Development/Documentation/ServerDebugging/#index2h3 [2] https://cgit.freedesktop.org/xorg/xserver/tree/glamor/glamor_egl.c?h=server-1.19-branch#n372 No source file named glamor_egl.c. Breakpoint 1 (glamor_egl.c:372) pending. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". (--) Log file renamed from "/var/log/Xorg.pid-2596.log" to "/var/log/Xorg.0.log" X.Org X Server 1.19.6 Release Date: 2017-12-20 X Protocol Version 11, Revision 0 Build Operating System: openSUSE SUSE LINUX Current Operating System: Linux host 4.16.7-1-default #1 SMP PREEMPT Wed May 2 19:21:16 UTC 2018 (938738d) x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-4.16.7-1-default root=/dev/sda1 resume=/dev/sda2 libata.force=rstonce 1 Build Date: 17 April 2018 12:00:00PM Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Mon May 28 12:19:17 2018 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) [KMS] Kernel modesetting enabled. [New Thread 0x7fffec02c700 (LWP 2601)] [New Thread 0x7fffeb82b700 (LWP 2602)] Detaching after fork from child process 2603. Detaching after fork from child process 2604. [New Thread 0x7fffe3fff700 (LWP 2606)] Detaching after fork from child process 2611. Detaching after fork from child process 2632. Detaching after fork from child process 2754. Detaching after fork from child process 3043. Detaching after fork from child process 3138. (EE) client bug: timer event1 debounce short: offset negative (-0ms) Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. Detaching after fork from child process 7810. Detaching after fork from child process 10194. Detaching after fork from child process 18474. (EE) client bug: timer event1 debounce: offset negative (-8ms) (EE) client bug: timer event1 debounce: offset negative (-2ms) (EE) client bug: timer event1 debounce short: offset negative (-15ms) (EE) client bug: timer event1 debounce: offset negative (-196ms) (EE) client bug: timer event1 debounce: offset negative (-598ms) (EE) client bug: timer event1 debounce short: offset negative (-611ms) Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. (II) AIGLX: Suspending AIGLX clients for VT switch Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. (II) AIGLX: Suspending AIGLX clients for VT switch Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. (II) AIGLX: Suspending AIGLX clients for VT switch Thread 1 "Xorg" received signal SIGUSR1, User defined signal 1. Detaching after fork from child process 18888. Detaching after fork from child process 18896. Detaching after fork from child process 18907. Detaching after fork from child process 18910. Detaching after fork from child process 18926. Detaching after fork from child process 18935. Detaching after fork from child process 18939. Detaching after fork from child process 18949. Detaching after fork from child process 18954. Detaching after fork from child process 18963. Detaching after fork from child process 18969. Detaching after fork from child process 18977. Detaching after fork from child process 25200. Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. Thread 1 "Xorg" received signal SIGPIPE, Broken pipe. Detaching after fork from child process 32290. (EE) client bug: timer event1 debounce: offset negative (-36ms) Thread 1 "Xorg" hit Breakpoint 1, glamor_make_pixmap_exportable (pixmap=0x555556a2ffc0) at ../../../glamor/glamor_egl.c:372 372 xf86DrvMsg(scrn->scrnIndex, X_ERROR, #0 0x00007ffff24e848d in glamor_make_pixmap_exportable (pixmap=0x555556a2ffc0) at ../../../glamor/glamor_egl.c:372 screen = 0x555555ae2150 scrn = 0x5555559fa250 width = height = bo = 0x0 exported = scratch_gc = #1 0x00007ffff24e848d in glamor_gbm_bo_from_pixmap (screen=, pixmap=0x555556a2ffc0) at ../../../glamor/glamor_egl.c:419 #2 0x00007ffff24e8519 in glamor_egl_dri3_fd_name_from_tex (screen=screen@entry=0x555555ae2150, pixmap=pixmap@entry=0x555556a2ffc0, tex=, want_name=want_name@entry=0, stride=stride@entry=0x7fffffffe74e, size=size@entry=0x7fffffffe750) at ../../../glamor/glamor_egl.c:439 bo = fd = -1 #3 0x00007ffff24ea6bd in glamor_fd_from_pixmap (screen=screen@entry=0x555555ae2150, pixmap=pixmap@entry=0x555556a2ffc0, stride=stride@entry=0x7fffffffe74e, size=size@entry=0x7fffffffe750) at glamor.c:835 #4 0x00007ffff2b926fd in radeon_get_pixmap_handle (pixmap=pixmap@entry=0x555556a2ffc0, handle=handle@entry=0x7fffffffe7cc) at radeon_bo_helper.c:246 fd = priv = 0x555556c3c580 stride = 0 size = 124 r = screen = 0x555555ae2150 scrn = pRADEONEnt = 0x5555559fa870 info = #5 0x00007ffff2b89382 in radeon_dri2_create_buffer2 (pScreen=0x555555ae2150, drawable=0x555556a2ffc0, attachment=0, format=32) at radeon_dri2.c:149 handle = 21845 pScrn = 0x5555559fa250 pRADEONEnt = 0x5555559fa870 info = 0x5555559fa8c0 buffers = privates = pixmap = flags = front_width = tiling = 0 aligned_width = height = is_glamor_pixmap = 0 depth = 32 cpp = 4 #6 0x00005555556db275 in create_buffer (ds=0x5555559fa870, ds=0x5555559fa870, format=32, attachment=0, pDraw=0x555556a2ffc0) at dri2.c:464 buffer = #7 0x00005555556db275 in allocate_or_reuse_buffer (pDraw=pDraw@entry=0x555556a2ffc0, ds=ds@entry=0x555555ae26a0, pPriv=pPriv@entry=0x555556a1a140, attachment=attachment@entry=0, format=format@entry=32, dimensions_match=dimensions_match@entry=1, buffer=0x555556893a00) at dri2.c:515 #8 0x00005555556dbd5a in do_get_buffers (pDraw=0x555556a2ffc0, width=width@entry=0x7fffffffe948, height=height@entry=0x7fffffffe950, attachments=0x555557023f6c, attachments@entry=0x555557023f64, count=1, out_count=out_count@entry=0x7fffffffe958, has_format=1) at dri2.c:591 attachment = 0 pPriv = 0x555556a1a140 ds = 0x555555ae26a0 buffers = 0x555556893a00 need_real_front = 0 need_fake_front = 0 have_fake_front = 0 front_format = 0 dimensions_match = 1 buffers_changed = 0 i = 0 #9 0x00005555556dc13b in DRI2GetBuffersWithFormat (pDraw=, width=width@entry=0x7fffffffe948, height=height@entry=0x7fffffffe950, attachments=attachments@entry=0x555557023f64, count=, out_count=out_count@entry=0x7fffffffe958) at dri2.c:708 #10 0x00005555556ddc20 in ProcDRI2GetBuffersWithFormat (client=0x555555b1e0c0) at dri2ext.c:317 buffers = status = 0 count = 1432015636 stuff = 0x555557023f58 pDrawable = 0x555556a2ffc0 width = 1436220328 height = -5744 attachments = 0x555557023f64 stuff = 0x555557023f58 #11 0x00005555556ddc20 in ProcDRI2Dispatch (client=0x555555b1e0c0) at dri2ext.c:619 stuff = 0x555557023f58 #12 0x00005555555a7f68 in Dispatch () at dispatch.c:479 result = start_tick = 607575 #13 0x00005555555abfb0 in dix_main (argc=13, argv=0x7fffffffeb58, envp=) at main.c:287 i = alwaysCheckForInput = {0, 1} #14 0x00007ffff57e5a87 in __libc_start_main (main=0x555555595c20
, argc=13, argv=0x7fffffffeb58, init=, fini=, rtld_fini=, stack_end=0x7fffffffeb48) at ../csu/libc-start.c:308 result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -7978350120438325923, 93824992500784, 140737488350032, 0, 0, -4318281571324650147, -4318260685446701731}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fffffffebc8, 0x7ffff7ffe110}, data = {prev = 0x0, cleanup = 0x0, canceltype = -5176}}} not_first_call = #15 0x0000555555595c5a in _start () at ../sysdeps/x86_64/start.S:120 Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault. 0x00007ffff24e98ed in glamor_bind_texture (glamor_priv=, texture=, fbo=0x0, destination_red=1) at glamor.c:150 150 glBindTexture(GL_TEXTURE_2D, fbo->tex); #0 0x00007ffff24e98ed in glamor_bind_texture (glamor_priv=, texture=, fbo=0x0, destination_red=1) at glamor.c:150 #1 0x00007ffff24fcd8e in glamor_upload_boxes (pixmap=, in_boxes=0x7fffffffe730, in_nbox=, dx_src=0, dy_src=0, dx_dst=dx_dst@entry=0, dy_dst=0, bits=0x7fffd557f000 "\n\f\f\016\243\254\252ܺ\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377"..., byte_stride=39572) at glamor_transfer.c:86 boxes = 0x7fffffffe730 nbox = screen = box_index = 0 bytes_per_pixel = 4 type = 33639 format = 32993 #2 0x00007ffff24fd047 in glamor_upload_region (pixmap=, region=region@entry=0x7fffffffe730, region_x=region_x@entry=0, region_y=region_y@entry=0, bits=bits@entry=0x7fffd557f000 "\n\f\f\016\243\254\252ܺ\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377"..., byte_stride=) at glamor_transfer.c:135 #3 0x00007ffff24ef4c6 in glamor_put_image_gl (depth=, bits=0x7fffd557f000 "\n\f\f\016\243\254\252ܺ\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377"..., format=2, leftPad=0, h=308, w=, y=0, x=0, gc=0x55555688f410, drawable=0x5555563c6d70) at glamor_image.c:79 off_y = -579 screen = byte_stride = pixmap = region = {extents = {x1 = 0, y1 = 0, x2 = 9893, y2 = 308}, data = 0x0} off_x = 0 #4 0x00007ffff24ef4c6 in glamor_put_image (drawable=0x5555563c6d70, gc=0x55555688f410, depth=, x=, y=, w=, h=308, leftPad=0, format=2, bits=0x7fffd557f000 "\n\f\f\016\243\254\252ܺ\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377"...) at glamor_image.c:100 #5 0x00005555556913b0 in damagePutImage (pDrawable=0x5555563c6d70, pGC=0x55555688f410, depth=32, x=0, y=0, w=, h=308, leftPad=0, format=2, pImage=0x7fffd557f000 "\n\f\f\016\243\254\252ܺ\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377\272\304\301\377"...) at damage.c:746 oldFuncs = 0x55555599b9a0 #6 0x0000555555645711 in ProcShmPutImage (client=0x555556391ca0) at shm.c:584 pGC = 0x55555688f410 pDraw = 0x5555563c6d70 length = shmdesc = 0x55555a8b1070 stuff = #7 0x0000555555647055 in ProcShmDispatch (client=0x555556391ca0) at shm.c:1312 stuff = 0x5555570d0058 #8 0x00005555555a7f68 in Dispatch () at dispatch.c:479 result = start_tick = 607690 #9 0x00005555555abfb0 in dix_main (argc=13, argv=0x7fffffffeb58, envp=) at main.c:287 i = alwaysCheckForInput = {0, 1} #10 0x00007ffff57e5a87 in __libc_start_main (main=0x555555595c20
, argc=13, argv=0x7fffffffeb58, init=, fini=, rtld_fini=, stack_end=0x7fffffffeb48) at ../csu/libc-start.c:308 result = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -7978350120438325923, 93824992500784, 140737488350032, 0, 0, -4318281571324650147, -4318260685446701731}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7fffffffebc8, 0x7ffff7ffe110}, data = {prev = 0x0, cleanup = 0x0, canceltype = -5176}}} not_first_call = #11 0x0000555555595c5a in _start () at ../sysdeps/x86_64/start.S:120 (EE) (EE) Backtrace: (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x65) [0x555555708fd5] (EE) 1: /usr/bin/Xorg (0x555555554000+0x1b8d89) [0x55555570cd89] (EE) 2: /lib64/libpthread.so.0 (0x7ffff5b82000+0x12080) [0x7ffff5b94080] (EE) 3: /usr/lib64/xorg/modules/libglamoregl.so (0x7ffff24e0000+0x98ed) [0x7ffff24e98ed] (EE) 4: /usr/lib64/xorg/modules/libglamoregl.so (0x7ffff24e0000+0x1cd8e) [0x7ffff24fcd8e] (EE) 5: /usr/lib64/xorg/modules/libglamoregl.so (0x7ffff24e0000+0x1d047) [0x7ffff24fd047] (EE) 6: /usr/lib64/xorg/modules/libglamoregl.so (0x7ffff24e0000+0xf4c6) [0x7ffff24ef4c6] (EE) 7: /usr/bin/Xorg (0x555555554000+0x13d3b0) [0x5555556913b0] (EE) 8: /usr/bin/Xorg (0x555555554000+0xf1711) [0x555555645711] (EE) 9: /usr/bin/Xorg (0x555555554000+0xf3055) [0x555555647055] (EE) 10: /usr/bin/Xorg (0x555555554000+0x53f68) [0x5555555a7f68] (EE) 11: /usr/bin/Xorg (0x555555554000+0x57fb0) [0x5555555abfb0] (EE) 12: /lib64/libc.so.6 (__libc_start_main+0xe7) [0x7ffff57e5a87] (EE) 13: /usr/bin/Xorg (_start+0x2a) [0x555555595c5a] (EE) (EE) Segmentation fault at address 0x0 (EE) Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. (EE) (II) AIGLX: Suspending AIGLX clients for VT switch (EE) Server terminated with error (1). Closing log file. Thread 1 "Xorg" received signal SIGABRT, Aborted. __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 51 }