[Bug 97069] Radeon r600 glamor corruptions on ARM64

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 26 14:27:32 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97069

--- Comment #12 from Clemens Eisserer <linuxhippy at gmail.com> ---
Thanks, with float textures it now correctly reports OpenGL-3.3

However more ugly things are going on.

When running the PBO texture upload benchmark at available at
http://www.songho.ca/opengl/gl_pbo.html, I get tons of the following messages:

radeon: Failed to allocate a buffer:
radeon:    size      : 4194304 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    flags     : 4
radeon: Failed to allocate a buffer:
radeon:    size      : 4194304 bytes
radeon:    alignment : 4096 bytes
radeon:    domains   : 2
radeon:    flags     : 4
EE r600_texture.c:1346 r600_texture_transfer_map - failed to create temporary
texture to hold untiled copy


later on, when I try to resize the benchmark window, Xorg segfaults:

Thread 1 "Xorg" received signal SIGSEGV, Segmentation fault.
0x0000ffffb6d59348 in evergreen_emit_constant_buffers (rctx=0xaaaaaad5cbe0,
state=0xaaaaaad5dba8, buffer_id_base=<optimized out>,
    reg_alu_constbuf_size=<optimized out>, reg_alu_const_cache=<optimized out>,
pkt_flags=<optimized out>) at evergreen_state.c:1877
1877                    va = rbuffer->gpu_address + cb->buffer_offset;
(gdb) bt
#0  0x0000ffffb6d59348 in evergreen_emit_constant_buffers (rctx=0xaaaaaad5cbe0,
state=0xaaaaaad5dba8, buffer_id_base=<optimized out>,
    reg_alu_constbuf_size=<optimized out>, reg_alu_const_cache=<optimized out>,
pkt_flags=<optimized out>) at evergreen_state.c:1877
#1  0x0000ffffb6d86ab0 in r600_emit_atom (atom=0xaaaaaad5dba8,
rctx=0xaaaaaad5cbe0) at r600_pipe.h:549
#2  r600_draw_vbo (ctx=0xaaaaaad5cbe0, dinfo=<optimized out>) at
r600_state_common.c:1794
#3  0x0000ffffb6be30f0 in u_vbuf_draw_vbo (mgr=0xaaaaaadb1b60, info=<optimized
out>) at util/u_vbuf.c:1163
#4  0x0000ffffb6a4e104 in st_draw_vbo (ctx=0xffffb3647010, prims=<optimized
out>, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0,
    max_index=0, tfb_vertcount=0x0, stream=0, indirect=0x0) at
state_tracker/st_draw.c:251
#5  0x0000ffffb6a17b04 in vbo_draw_arrays (ctx=0xffffb3647010, mode=5, start=0,
count=4, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:503
#6  0x0000ffffb7290154 in glamor_poly_fill_rect_gl (prect=<optimized out>,
nrect=1, gc=0xaaaaab8415cc, drawable=0xaaaaab833fc0)
    at ../../glamor/glamor_rects.c:128
#7  glamor_poly_fill_rect (drawable=0xaaaaab833fc0, gc=0xaaaaab8415cc, nrect=1,
prect=<optimized out>) at ../../glamor/glamor_rects.c:163
#8  0x0000aaaaaabeccdc in damagePolyFillRect (pDrawable=0xaaaaab833fc0,
pGC=0xaaaaab817ea0, nRects=1, pRects=<optimized out>)
    at ../../../miext/damage/damage.c:1194
#9  0x0000aaaaaaafe180 in ProcPolyFillRectangle (client=0xaaaaaacd1dc0) at
../../dix/dispatch.c:1883
#10 0x0000aaaaaab01d4c in Dispatch () at ../../dix/dispatch.c:430
#11 0x0000aaaaaab05c20 in dix_main (argc=1, argv=0xfffffffffc58,
envp=<optimized out>) at ../../dix/main.c:300
#12 0x0000ffffb7a9c8a4 in __libc_start_main (main=0x0, argc=0, argv=0x0,
init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,
    stack_end=<optimized out>) at libc-start.c:291
#13 0x0000aaaaaaaefba8 in _start ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160726/cac89d96/attachment.html>


More information about the dri-devel mailing list