Summary: | divide by zero error in radeon_surface.c when opening chrome with WebGL enabled | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Chris Wulff <crwulff> | ||||
Component: | libdrm | Assignee: | Default DRI bug account <dri-devel> | ||||
Status: | RESOLVED MOVED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | unspecified | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Can you attach a backtrace of the divide by 0? #0 0x00007f55e42fcc0c in eg_surface_init_2d (surf_man=0x1, surf=0x7f5601cae748, level=0x0, bpe=1, tile_split=0, offset=32768, start_level=0) at ../../radeon/radeon_surface.c:652 #1 0x00007f55e42fcf5b in eg_surface_init_2d_miptrees (surf_man=0x7f5601b291a0, surf=0x7f5601cae748) at ../../radeon/radeon_surface.c:810 #2 0x00007f55e4b52865 in r600_setup_surface (pitch_in_bytes_override=0, rtex=0x7f5601cae660, screen=0x7f5601b29470) at ../../../../../../src/gallium/drivers/r600/r600_texture.c:232 #3 r600_texture_create_object (screen=screen@entry=0x7f5601b29470, base=base@entry=0x7fff43561190, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fff435603c0) at ../../../../../../src/gallium/drivers/r600/r600_texture.c:461 #4 0x00007f55e4b530bc in r600_texture_create (screen=0x7f5601b29470, templ=0x7fff43561190) at ../../../../../../src/gallium/drivers/r600/r600_texture.c:636 #5 0x00007f55dfb4e36c in st_renderbuffer_alloc_storage (ctx=<optimized out>, rb=0x7f5601cb05c0, internalFormat=35056, width=1, height=1) at ../../../../../src/mesa/state_tracker/st_cb_fbo.c:211 #6 0x00007f55e45aaafa in renderbuffer_storage (target=<optimized out>, internalFormat=35056, width=1, height=1, samples=<optimized out>) at ../../../../../src/mesa/main/fbobject.c:1773 #7 0x00007f55fcf99e83 in gpu::gles2::BackRenderbuffer::AllocateStorage (this=0x7f56021fc570, size=..., format=35056, samples=4) at gpu/command_buffer/service/gles2_cmd_decoder.cc:1970 #8 0x00007f55fcf9f0c5 in gpu::gles2::GLES2DecoderImpl::ResizeOffscreenFrameBuffer (this=0x7f5601ee05b0, size=...) at gpu/command_buffer/service/gles2_cmd_decoder.cc:3305 #9 0x00007f55fcfc316d in gpu::gles2::GLES2DecoderImpl::Initialize (this=0x7f5601ee05b0, surface=..., context=..., offscreen=<optimized out>, size=..., disallowed_features=..., attribs=...) at gpu/command_buffer/service/gles2_cmd_decoder.cc:2338 #10 0x00007f55fb6db418 in content::GpuCommandBufferStub::OnInitialize (this=this@entry=0x7f5601edff00, shared_state_handle=..., reply_message=0x7f5601edc090) at content/common/gpu/gpu_command_buffer_stub.cc:504 #11 0x00007f55fb6dbf03 in DispatchToMethod<content::GpuCommandBufferStub, void (content::GpuCommandBufferStub::*)(base::FileDescriptor, IPC::Message*), base::FileDescriptor, IPC::Message&> (out=<synthetic pointer>, in=..., method= (void (content::GpuCommandBufferStub::*)(content::GpuCommandBufferStub * const, base::FileDescriptor, IPC::Message *)) 0x7f55fb6dad50 <content::GpuCommandBufferStub::OnInitialize(base::FileDescriptor, IPC::Message*)>, obj=0x7f5601edff00) at ./base/tuple.h:803 #12 DispatchDelayReplyWithSendParams<content::GpuCommandBufferStub, void (content::GpuCommandBufferStub::*)(base::FileDescriptor, IPC::Message*)> (func= (void (content::GpuCommandBufferStub::*)(content::GpuCommandBufferStub * const, base::FileDescriptor, IPC::Message *)) 0x7f55fb6dad50 <content::GpuCommandBufferStub::OnInitialize(base::FileDescriptor, IPC::Message*)>, obj=0x7f5601edff00, msg=0x7f5601ee0380, send_params=..., ok=true) at ./ipc/ipc_message_utils.h:841 #13 DispatchDelayReply<content::GpuCommandBufferStub, void (content::GpuCommandBufferStub::*)(base::FileDescriptor, IPC::Message*)> (func= (void (content::GpuCommandBufferStub::*)(content::GpuCommandBufferStub * const, base::FileDescriptor, IPC::Message *)) 0x7f55fb6dad50 <content::GpuCommandBufferStub::OnInitialize(base::FileDescriptor, IPC::Message*)>, obj=0x7f5601edff00, msg=0x7f5601ee0380) at ./content/common/gpu/gpu_messages.h:512 #14 content::GpuCommandBufferStub::OnMessageReceived (this=0x7f5601edff00, message=...) at content/common/gpu/gpu_command_buffer_stub.cc:189 #15 0x00007f55fb6ee612 in content::MessageRouter::RouteMessage (this=this@entry=0x7f5602072110, msg=...) at content/common/message_router.cc:49 #16 0x00007f55fb6d3d34 in content::GpuChannel::HandleMessage (this=0x7f5602072070) at content/common/gpu/gpu_channel.cc:811 #17 0x00007f55fec71b60 in Run (this=0x7fff43561c48) at ./base/callback.h:396 #18 base::MessageLoop::RunTask (this=this@entry=0x7fff43561f50, pending_task=...) at base/message_loop/message_loop.cc:491 #19 0x00007f55fec725e1 in base::MessageLoop::DeferOrRunPendingTask (this=this@entry=0x7fff43561f50, pending_task=...) at base/message_loop/message_loop.cc:503 #20 0x00007f55fec755b0 in base::MessageLoop::DoWork (this=0x7fff43561f50) at base/message_loop/message_loop.cc:617 #21 0x00007f55fec318a9 in base::MessagePumpGlib::RunWithDispatcher (this=0x7f5601aa4160, delegate=<optimized out>, dispatcher=<optimized out>) at base/message_loop/message_pump_glib.cc:209 #22 0x00007f55fec943a8 in base::RunLoop::Run (this=this@entry=0x7fff43561d20) at base/run_loop.cc:47 #23 0x00007f55fec71085 in base::MessageLoop::Run (this=this@entry=0x7fff43561f50) at base/message_loop/message_loop.cc:311 #24 0x00007f55fb711957 in content::GpuMain (parameters=...) at content/gpu/gpu_main.cc:305 #25 0x00007f55fb3796e5 in content::ContentMainRunnerImpl::Run (this=0x7f5601a83710) at content/app/content_main_runner.cc:777 #26 0x00007f55fb377bd9 in content::ContentMain (argc=argc@entry=10, argv=argv@entry=0x7fff43562468, delegate=delegate@entry=0x7fff43562320) at content/app/content_main.cc:35 #27 0x00007f55ffc2df42 in ChromeMain (argc=10, argv=0x7fff43562468) at chrome/app/chrome_main.cc:39 #28 0x00007f55ffc2dd36 in main (argc=<optimized out>, argv=<optimized out>) at chrome/app/chrome_exe_main_gtk.cc:43 Can you run print *surf at the gdb prompt when the problem occurs, and attach the output? (gdb) print *surf $1 = {npix_x = 1, npix_y = 1, npix_z = 1, blk_w = 1, blk_h = 1, blk_d = 1, array_size = 1, last_level = 0, bpe = 4, nsamples = 4, flags = 918273, bo_size = 32768, bo_alignment = 32768, bankw = 1, bankh = 1, mtilea = 8, tile_split = 1024, stencil_tile_split = 0, stencil_offset = 0, level = {{offset = 0, slice_size = 32768, npix_x = 1, npix_y = 1, npix_z = 1, nblk_x = 256, nblk_y = 8, nblk_z = 1, pitch_bytes = 1024, mode = 3}, { offset = 140735314673424, slice_size = 140735314673408, npix_x = 3379041659, npix_y = 32766, npix_z = 3379041664, nblk_x = 32766, nblk_y = 2121285768, nblk_z = 32767, pitch_bytes = 3499935890, mode = 32766}, { offset = 140733193388032, slice_size = 140732398375220, npix_x = 2121285456, npix_y = 32767, npix_z = 2121285440, nblk_x = 32767, nblk_y = 3379041659, nblk_z = 32766, pitch_bytes = 3379041664, mode = 32766}, { offset = 140735314673864, slice_size = 140732398356626, npix_x = 0, npix_y = 1, npix_z = 3499954484, nblk_x = 32766, nblk_y = 0, nblk_z = 327681, pitch_bytes = 16, mode = 0}, {offset = 1, slice_size = 0, npix_x = 4294967295, npix_y = 4294967295, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 1, mode = 0}, {offset = 42949672960, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 4294967295, nblk_z = 4294967295, pitch_bytes = 0, mode = 0}, {offset = 18446744073709551615, slice_size = 1, npix_x = 0, npix_y = 10, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 2121285383, mode = 32767}, {offset = 0, slice_size = 140735314673776, npix_x = 4294967295, npix_y = 4294967295, npix_z = 0, nblk_x = 0, nblk_y = 11, nblk_z = 0, pitch_bytes = 3379041659, mode = 32766}, {offset = 9147928153161730, slice_size = 117, npix_x = 2121285384, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 11, slice_size = 140732277462395, npix_x = 3379041665, npix_y = 32766, npix_z = 3379041664, nblk_x = 32766, nblk_y = 2121286152, nblk_z = 32767, pitch_bytes = 3499935890, mode = 32766}, {offset = 140735314673920, slice_size = 140732398375220, npix_x = 0, npix_y = 32767, npix_z = 16, nblk_x = 0, nblk_y = 1, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 140735314673968, slice_size = 140732399619776, npix_x = 2121286424, npix_y = 32767, npix_z = 3500095088, nblk_x = 32766, nblk_y = 3379040316, nblk_z = 32766, pitch_bytes = 3379040327, mode = 0}, {offset = 206158430248, slice_size = 140735314674016, npix_x = 2121285792, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 3379040316, nblk_z = 32766, pitch_bytes = 8, mode = 0}, {offset = 42949672960, slice_size = 0, npix_x = 40, npix_y = 48, npix_z = 2121286048, nblk_x = 32767, nblk_y = 2121285856, nblk_z = 32767, pitch_bytes = 13, mode = 0}, { offset = 18446744073709551615, slice_size = 3378865857, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 2, nblk_z = 2162687, pitch_bytes = 117, mode = 0}, {offset = 140735314673736, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 11, nblk_z = 0, pitch_bytes = 3379041659, mode = 32766}, {offset = 140732277462401, slice_size = 0, npix_x = 0, npix_y = 855638016, npix_z = 2121284544, nblk_x = 32767, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 30, mode = 0}, {offset = 140732278298708, slice_size = 140735314672872, npix_x = 1, npix_y = 0, npix_z = 113, nblk_x = 0, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 3500750148, mode = 32766}, {offset = 9007203477192705, slice_size = 140735314673088, npix_x = 2121285056, npix_y = 32767, npix_z = 2121285056, nblk_x = 32767, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 2121285063, mode = 32767}, {offset = 140735314673117, slice_size = 140735314673088, npix_x = 2121285085, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 0, slice_size = 0, npix_x = 2121286176, npix_y = 4, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 4294967295, slice_size = 0, npix_x = 16, npix_y = 48, npix_z = 3503569536, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 140735314673120, slice_size = 140735314673088, npix_x = 3, npix_y = 0, npix_z = 3, nblk_x = 0, nblk_y = 3889243760, nblk_z = 32766, pitch_bytes = 3500749965, mode = 32766}, {offset = 206158430211, slice_size = 206158430248, npix_x = 2121285056, npix_y = 32767, npix_z = 2121284864, nblk_x = 32767, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 3, npix_y = 0, npix_z = 3503572800, nblk_x = 32766, nblk_y = 34, nblk_z = 0, pitch_bytes = 3, mode = 0}, {offset = 3, slice_size = 140732787664496, npix_x = 113, npix_y = 0, npix_z = 3500172496, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 34, mode = 0}, {offset = 34, slice_size = 140732718828125, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 3377127671, mode = 32766}, { offset = 214748364809, slice_size = 140735314673120, npix_x = 2121285056, npix_y = 32767, npix_z = 3378692432, nblk_x = 32766, nblk_y = 2003792430, nblk_z = 6107995, pitch_bytes = 0, mode = 0}, { offset = 3458764513820540928, slice_size = 140735314673184, npix_x = 1952543859, npix_y = 1634545253, npix_z = 2020176500, nblk_x = 1886809390, nblk_y = 1634890798, nblk_z = 1869640558, pitch_bytes = 1915643251, mode = 861632367}, {offset = 93, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}}, stencil_level = {{offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0} <repeats 11 times>, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 80, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 3, nblk_z = 48, pitch_bytes = 91, mode = 110}, {offset = 532575944823, slice_size = 140735314673904, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 140732401993536, npix_x = 34, npix_y = 0, npix_z = 144, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 4, mode = 0}, {offset = 140732786966208, slice_size = 140732398593232, npix_x = 0, npix_y = 0, npix_z = 34, nblk_x = 0, nblk_y = 34, nblk_z = 0, pitch_bytes = 3820407389, mode = 32766}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 32766, npix_z = 3377127671, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3820559003, mode = 32766}, {offset = 3, slice_size = 140732435868745, npix_x = 0, npix_y = 0, npix_z = 3820030914, nblk_x = 32766, nblk_y = 2121286400, nblk_z = 32767, pitch_bytes = 1, mode = 0}, {offset = 0, slice_size = 140732788053232, npix_x = 2121286240, npix_y = 32767, npix_z = 3820284618, nblk_x = 32766, nblk_y = 517441, nblk_z = 0, pitch_bytes = 594038370, mode = 0}, {offset = 1, slice_size = 140732718970318, npix_x = 1, npix_y = 0, npix_z = 3820563948, nblk_x = 32766, nblk_y = 2121287120, nblk_z = 32767, pitch_bytes = 2121286240, mode = 32767}, { offset = 140735314674448, slice_size = 140732718799828, npix_x = 0, npix_y = 0, npix_z = 3154119424, nblk_x = 32766, nblk_y = 2121286240, nblk_z = 32767, pitch_bytes = 3820379181, mode = 32766}, {offset = 0, slice_size = 140732718705702, npix_x = 3884762240, npix_y = 32766, npix_z = 2045518518, nblk_x = 120, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 140732653589654, npix_x = 3755168818, npix_y = 32766, npix_z = 373, nblk_x = 0, nblk_y = 3755126546, nblk_z = 32766, pitch_bytes = 549, mode = 1}, {offset = 140732788098992, slice_size = 140735314674448, npix_x = 3889678256, npix_y = 32766, npix_z = 3883905536, nblk_x = 32766, nblk_y = 2121287376, nblk_z = 32767, pitch_bytes = 4294967295, mode = 4294967295}, {offset = 140732785646256, slice_size = 140732718507634, npix_x = 2121286416, npix_y = 32767, npix_z = 3755126604, nblk_x = 32766, nblk_y = 3887199088, nblk_z = 32766, pitch_bytes = 3755125968, mode = 32766}, {offset = 140732653589654, slice_size = 140732653589554, npix_x = 373, npix_y = 0, npix_z = 3755126546, nblk_x = 32766, nblk_y = 1, nblk_z = 0, pitch_bytes = 3822944486, mode = 32766}, {offset = 140732782326272, slice_size = 140732653582592, npix_x = 3884776752, npix_y = 32766, npix_z = 3537448009, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3820030914, mode = 32766}, {offset = 140735314674880, slice_size = 1, npix_x = 0, npix_y = 0, npix_z = 3886555520, nblk_x = 32766, nblk_y = 2121286688, nblk_z = 32767, pitch_bytes = 3820284618, mode = 32766}, {offset = 517441, slice_size = 593903910, npix_x = 1, npix_y = 0, npix_z = 3820549582, nblk_x = 32766, nblk_y = 1, nblk_z = 0, pitch_bytes = 3820563948, mode = 32766}, { offset = 0, slice_size = 140735314674720, npix_x = 2121286864, npix_y = 32767, npix_z = 3820379092, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3154119424, mode = 32766}, {offset = 140735314674720, slice_size = 140732718799917, npix_x = 0, npix_y = 0, npix_z = 3820284966, nblk_x = 32766, nblk_y = 3884762240, nblk_z = 32766, pitch_bytes = 2045518383, mode = 120}, {offset = 112, slice_size = 1, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}}, tiling_index = {5, 49, 91, 110, 119, 124, 2121286800, 32767, 119, 124, 2121286816, 32767, 2121287808, 32767, 4294967295, 4294967295, 24, 0, 3370614281, 32766, 64, 0, 3382927720, 32766, 721326, 0, 4, 0, 3887225520, 32766, 0, 0}, stencil_tiling_index = {3884037232, 32766, 3372001724, 32766, 2, 0, 3371408685, 32766, 8, 0, 11953314, 32766, 3889678256, 32766, 35056, 0, 3888368624, 32766, 4, 0, 3888368624, 32766, 1, 0, 4, 0, 3371408866, 32766, 1, 51, 0, 0}} Again in hex: (gdb) print /x *surf $8 = {npix_x = 0x1, npix_y = 0x1, npix_z = 0x1, blk_w = 0x1, blk_h = 0x1, blk_d = 0x1, array_size = 0x1, last_level = 0x0, bpe = 0x4, nsamples = 0x4, flags = 0xe0301, bo_size = 0x8000, bo_alignment = 0x8000, bankw = 0x1, bankh = 0x1, mtilea = 0x8, tile_split = 0x400, stencil_tile_split = 0x0, stencil_offset = 0x0, level = {{offset = 0x0, slice_size = 0x8000, npix_x = 0x1, npix_y = 0x1, npix_z = 0x1, nblk_x = 0x100, nblk_y = 0x8, nblk_z = 0x1, pitch_bytes = 0x400, mode = 0x3}, {offset = 0x7fff7e703f10, slice_size = 0x7fff7e703f00, npix_x = 0xc968157b, npix_y = 0x7ffe, npix_z = 0xc9681580, nblk_x = 0x7ffe, nblk_y = 0x7e704088, nblk_z = 0x7fff, pitch_bytes = 0xd09cc892, mode = 0x7ffe}, {offset = 0x7fff00000000, slice_size = 0x7ffed09d1134, npix_x = 0x7e703f50, npix_y = 0x7fff, npix_z = 0x7e703f40, nblk_x = 0x7fff, nblk_y = 0xc968157b, nblk_z = 0x7ffe, pitch_bytes = 0xc9681580, mode = 0x7ffe}, {offset = 0x7fff7e7040c8, slice_size = 0x7ffed09cc892, npix_x = 0x0, npix_y = 0x1, npix_z = 0xd09d1134, nblk_x = 0x7ffe, nblk_y = 0x0, nblk_z = 0x50001, pitch_bytes = 0x10, mode = 0x0}, {offset = 0x1, slice_size = 0x0, npix_x = 0xffffffff, npix_y = 0xffffffff, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x1, mode = 0x0}, {offset = 0xa00000000, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0xffffffff, nblk_z = 0xffffffff, pitch_bytes = 0x0, mode = 0x0}, {offset = 0xffffffffffffffff, slice_size = 0x1, npix_x = 0x0, npix_y = 0xa, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x7e703f07, mode = 0x7fff}, {offset = 0x0, slice_size = 0x7fff7e704070, npix_x = 0xffffffff, npix_y = 0xffffffff, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0xb, nblk_z = 0x0, pitch_bytes = 0xc968157b, mode = 0x7ffe}, {offset = 0x207ffe00000002, slice_size = 0x75, npix_x = 0x7e703f08, npix_y = 0x7fff, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0xb, slice_size = 0x7ffec968157b, npix_x = 0xc9681581, npix_y = 0x7ffe, npix_z = 0xc9681580, nblk_x = 0x7ffe, nblk_y = 0x7e704208, nblk_z = 0x7fff, pitch_bytes = 0xd09cc892, mode = 0x7ffe}, {offset = 0x7fff7e704100, slice_size = 0x7ffed09d1134, npix_x = 0x0, npix_y = 0x7fff, npix_z = 0x10, nblk_x = 0x0, nblk_y = 0x1, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x7fff7e704130, slice_size = 0x7ffed0b00ec0, npix_x = 0x7e704318, npix_y = 0x7fff, npix_z = 0xd09f3670, nblk_x = 0x7ffe, nblk_y = 0xc968103c, nblk_z = 0x7ffe, pitch_bytes = 0xc9681047, mode = 0x0}, {offset = 0x3000000028, slice_size = 0x7fff7e704160, npix_x = 0x7e7040a0, npix_y = 0x7fff, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0xc968103c, nblk_z = 0x7ffe, pitch_bytes = 0x8, mode = 0x0}, {offset = 0xa00000000, slice_size = 0x0, npix_x = 0x28, npix_y = 0x30, npix_z = 0x7e7041a0, nblk_x = 0x7fff, nblk_y = 0x7e7040e0, nblk_z = 0x7fff, pitch_bytes = 0xd, mode = 0x0}, {offset = 0xffffffffffffffff, slice_size = 0xc96566c1, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x2, nblk_z = 0x20ffff, pitch_bytes = 0x75, mode = 0x0}, {offset = 0x7fff7e704048, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0xb, nblk_z = 0x0, pitch_bytes = 0xc968157b, mode = 0x7ffe}, {offset = 0x7ffec9681581, slice_size = 0x0, npix_x = 0x0, npix_y = 0x33000000, npix_z = 0x7e703bc0, nblk_x = 0x7fff, nblk_y = 0x7e703dc0, nblk_z = 0x7fff, pitch_bytes = 0x1e, mode = 0x0}, {offset = 0x7ffec974d854, slice_size = 0x7fff7e703ce8, npix_x = 0x1, npix_y = 0x0, npix_z = 0x71, nblk_x = 0x0, nblk_y = 0x7e703dc0, nblk_z = 0x7fff, pitch_bytes = 0xd0a93544, mode = 0x7ffe}, {offset = 0x200000fbad8001, slice_size = 0x7fff7e703dc0, npix_x = 0x7e703dc0, npix_y = 0x7fff, npix_z = 0x7e703dc0, nblk_x = 0x7fff, nblk_y = 0x7e703dc0, nblk_z = 0x7fff, pitch_bytes = 0x7e703dc7, mode = 0x7fff}, {offset = 0x7fff7e703ddd, slice_size = 0x7fff7e703dc0, npix_x = 0x7e703ddd, npix_y = 0x7fff, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x0, slice_size = 0x0, npix_x = 0x7e704220, npix_y = 0x4, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x0, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0xffffffff, slice_size = 0x0, npix_x = 0x10, npix_y = 0x30, npix_z = 0xd0d43a80, nblk_x = 0x7ffe, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x7fff7e703de0, slice_size = 0x7fff7e703dc0, npix_x = 0x3, npix_y = 0x0, npix_z = 0x3, nblk_x = 0x0, nblk_y = 0xe7d12670, nblk_z = 0x7ffe, pitch_bytes = 0xd0a9348d, mode = 0x7ffe}, {offset = 0x3000000003, slice_size = 0x3000000028, npix_x = 0x7e703dc0, npix_y = 0x7fff, npix_z = 0x7e703d00, nblk_x = 0x7fff, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x0, slice_size = 0x0, npix_x = 0x3, npix_y = 0x0, npix_z = 0xd0d44740, nblk_x = 0x7ffe, nblk_y = 0x22, nblk_z = 0x0, pitch_bytes = 0x3, mode = 0x0}, {offset = 0x3, slice_size = 0x7ffee7d12670, npix_x = 0x71, npix_y = 0x0, npix_z = 0xd0a064d0, nblk_x = 0x7ffe, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x22, mode = 0x0}, {offset = 0x22, slice_size = 0x7ffee3b6ca5d, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0xe7c67f80, nblk_z = 0x7ffe, pitch_bytes = 0xc94ae0f7, mode = 0x7ffe}, {offset = 0x3200000009, slice_size = 0x7fff7e703de0, npix_x = 0x7e703dc0, npix_y = 0x7fff, npix_z = 0xc962c150, nblk_x = 0x7ffe, nblk_y = 0x776f722e, nblk_z = 0x5d335b, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x3000000000000000, slice_size = 0x7fff7e703e20, npix_x = 0x74617473, npix_y = 0x616d2e65, npix_z = 0x78697274, nblk_x = 0x70766d2e, nblk_y = 0x6172742e, nblk_z = 0x6f70736e, pitch_bytes = 0x722e6573, mode = 0x335b776f}, {offset = 0x5d, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x0, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}}, stencil_level = {{ offset = 0x0, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0} <repeats 11 times>, {offset = 0x0, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x50, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x0, slice_size = 0x0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x3, nblk_z = 0x30, pitch_bytes = 0x5b, mode = 0x6e}, {offset = 0x7c00000077, slice_size = 0x7fff7e7040f0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, { offset = 0x0, slice_size = 0x7ffed0d44740, npix_x = 0x22, npix_y = 0x0, npix_z = 0x90, nblk_x = 0x0, nblk_y = 0xe7c67f80, nblk_z = 0x7ffe, pitch_bytes = 0x4, mode = 0x0}, {offset = 0x7ffee7c67ec0, slice_size = 0x7ffed0a064d0, npix_x = 0x0, npix_y = 0x0, npix_z = 0x22, nblk_x = 0x0, nblk_y = 0x22, nblk_z = 0x0, pitch_bytes = 0xe3b6ca5d, mode = 0x7ffe}, {offset = 0x0, slice_size = 0x0, npix_x = 0x0, npix_y = 0x7ffe, npix_z = 0xc94ae0f7, nblk_x = 0x7ffe, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0xe3b91a9b, mode = 0x7ffe}, {offset = 0x3, slice_size = 0x7ffed2d92c49, npix_x = 0x0, npix_y = 0x0, npix_z = 0xe3b10bc2, nblk_x = 0x7ffe, nblk_y = 0x7e704300, nblk_z = 0x7fff, pitch_bytes = 0x1, mode = 0x0}, {offset = 0x0, slice_size = 0x7ffee7d714f0, npix_x = 0x7e704260, npix_y = 0x7fff, npix_z = 0xe3b4eaca, nblk_x = 0x7ffe, nblk_y = 0x7e541, nblk_z = 0x0, pitch_bytes = 0x23684e62, mode = 0x0}, {offset = 0x1, slice_size = 0x7ffee3b8f5ce, npix_x = 0x1, npix_y = 0x0, npix_z = 0xe3b92dec, nblk_x = 0x7ffe, nblk_y = 0x7e7045d0, nblk_z = 0x7fff, pitch_bytes = 0x7e704260, mode = 0x7fff}, {offset = 0x7fff7e704310, slice_size = 0x7ffee3b65bd4, npix_x = 0x0, npix_y = 0x0, npix_z = 0xbc000b00, nblk_x = 0x7ffe, nblk_y = 0x7e704260, nblk_z = 0x7fff, pitch_bytes = 0xe3b65c2d, mode = 0x7ffe}, {offset = 0x0, slice_size = 0x7ffee3b4ec26, npix_x = 0xe78cc480, npix_y = 0x7ffe, npix_z = 0x79ec22b6, nblk_x = 0x78, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}, {offset = 0x0, slice_size = 0x7ffedfd35496, npix_x = 0xdfd35432, npix_y = 0x7ffe, npix_z = 0x175, nblk_x = 0x0, nblk_y = 0xdfd2af12, nblk_z = 0x7ffe, pitch_bytes = 0x225, mode = 0x1}, { offset = 0x7ffee7d7c7b0, slice_size = 0x7fff7e704310, npix_x = 0xe7d7c7b0, npix_y = 0x7ffe, npix_z = 0xe77fb200, nblk_x = 0x7ffe, nblk_y = 0x7e7046d0, nblk_z = 0x7fff, pitch_bytes = 0xffffffff, mode = 0xffffffff}, { offset = 0x7ffee7b25ab0, slice_size = 0x7ffee3b1e672, npix_x = 0x7e704310, npix_y = 0x7fff, npix_z = 0xdfd2af4c, nblk_x = 0x7ffe, nblk_y = 0xe7b1f370, nblk_z = 0x7ffe, pitch_bytes = 0xdfd2acd0, mode = 0x7ffe}, { offset = 0x7ffedfd35496, slice_size = 0x7ffedfd35432, npix_x = 0x175, npix_y = 0x0, npix_z = 0xdfd2af12, nblk_x = 0x7ffe, nblk_y = 0x1, nblk_z = 0x0, pitch_bytes = 0xe3dd80e6, mode = 0x7ffe}, {offset = 0x7ffee77fb200, slice_size = 0x7ffedfd33900, npix_x = 0xe78cfd30, npix_y = 0x7ffe, npix_z = 0xd2d92c49, nblk_x = 0x7ffe, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0xe3b10bc2, mode = 0x7ffe}, {offset = 0x7fff7e7044c0, slice_size = 0x1, npix_x = 0x0, npix_y = 0x0, npix_z = 0xe7a82180, nblk_x = 0x7ffe, nblk_y = 0x7e704420, nblk_z = 0x7fff, pitch_bytes = 0xe3b4eaca, mode = 0x7ffe}, {offset = 0x7e541, slice_size = 0x23664126, npix_x = 0x1, npix_y = 0x0, npix_z = 0xe3b8f5ce, nblk_x = 0x7ffe, nblk_y = 0x1, nblk_z = 0x0, pitch_bytes = 0xe3b92dec, mode = 0x7ffe}, {offset = 0x0, slice_size = 0x7fff7e704420, npix_x = 0x7e7044d0, npix_y = 0x7fff, npix_z = 0xe3b65bd4, nblk_x = 0x7ffe, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0xbc000b00, mode = 0x7ffe}, {offset = 0x7fff7e704420, slice_size = 0x7ffee3b65c2d, npix_x = 0x0, npix_y = 0x0, npix_z = 0xe3b4ec26, nblk_x = 0x7ffe, nblk_y = 0xe78cc480, nblk_z = 0x7ffe, pitch_bytes = 0x79ec222f, mode = 0x78}, {offset = 0x70, slice_size = 0x1, npix_x = 0x0, npix_y = 0x0, npix_z = 0x0, nblk_x = 0x0, nblk_y = 0x0, nblk_z = 0x0, pitch_bytes = 0x0, mode = 0x0}}, tiling_index = {0x5, 0x31, 0x5b, 0x6e, 0x77, 0x7c, 0x7e704490, 0x7fff, 0x77, 0x7c, 0x7e7044a0, 0x7fff, 0x7e704880, 0x7fff, 0xffffffff, 0xffffffff, 0x18, 0x0, 0xc8e77e09, 0x7ffe, 0x40, 0x0, 0xc9a36168, 0x7ffe, 0xb01ae, 0x0, 0x4, 0x0, 0xe7b25ab0, 0x7ffe, 0x0, 0x0}, stencil_tiling_index = {0xe781b470, 0x7ffe, 0xc8fca9bc, 0x7ffe, 0x2, 0x0, 0xc8f39d2d, 0x7ffe, 0x8, 0x0, 0xb664a2, 0x7ffe, 0xe7d7c7b0, 0x7ffe, 0x88f0, 0x0, 0xe7c3cbf0, 0x7ffe, 0x4, 0x0, 0xe7c3cbf0, 0x7ffe, 0x1, 0x0, 0x4, 0x0, 0xc8f39de2, 0x7ffe, 0x1, 0x33, 0x0, 0x0}} And things from a few more levels up the stack while I've got gdb open in case they are useful: (gdb) info locals tileb = 256 mtilew = <optimized out> mtileh = <optimized out> mtileb = <optimized out> slice_pt = 1 i = <optimized out> (gdb) up #1 0x00007ffec8be1f5b in eg_surface_init_2d_miptrees (surf_man=0x7ffee781b1a0, surf=0x7ffee7c68d48) at ../../radeon/radeon_surface.c:810 810 in ../../radeon/radeon_surface.c (gdb) info locals r = 256 is_depth_stencil = 1 tmp = {{offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 80, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 206158430211, slice_size = 472446402651, npix_x = 119, npix_y = 124, npix_z = 2121285872, nblk_x = 32767, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 3503572800, nblk_x = 32766, nblk_y = 34, nblk_z = 0, pitch_bytes = 144, mode = 0}, {offset = 140732786966400, slice_size = 4, npix_x = 3888545472, npix_y = 32766, npix_z = 3500172496, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 34, mode = 0}, { offset = 34, slice_size = 140732718828125, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 32766, pitch_bytes = 3377127671, mode = 32766}, {offset = 0, slice_size = 140732787664496, npix_x = 3, npix_y = 0, npix_z = 3378677736, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 4, mode = 6}, {offset = 12884901888, slice_size = 144, npix_x = 0, npix_y = 0, npix_z = 3, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 2121286208, mode = 32767}, {offset = 3, slice_size = 140732401993536, npix_x = 27394050, npix_y = 0, npix_z = 3503572800, nblk_x = 32766, nblk_y = 48, nblk_z = 0, pitch_bytes = 48, mode = 0}, {offset = 140735314675152, slice_size = 140732783563232, npix_x = 3888013456, npix_y = 32766, npix_z = 3500172496, nblk_x = 32766, nblk_y = 48, nblk_z = 0, pitch_bytes = 48, mode = 0}, { offset = 140732786966400, slice_size = 140732718828125, npix_x = 27394102, npix_y = 0, npix_z = 27394067, nblk_x = 3328, nblk_y = 3891456784, nblk_z = 32766, pitch_bytes = 3378643798, mode = 32766}, {offset = 48, slice_size = 140732783197488, npix_x = 2121287168, npix_y = 32767, npix_z = 3888013456, nblk_x = 32766, nblk_y = 27394050, nblk_z = 0, pitch_bytes = 3884776752, mode = 32766}, {offset = 8, slice_size = 13, npix_x = 2121287168, npix_y = 32767, npix_z = 3376992447, nblk_x = 32766, nblk_y = 13, nblk_z = 0, pitch_bytes = 13, mode = 0}, {offset = 0, slice_size = 140735314675152, npix_x = 2, npix_y = 0, npix_z = 3888548184, nblk_x = 32766, nblk_y = 80, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 64, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 206158430210, slice_size = 472446402651, npix_x = 3888013456, npix_y = 32766, npix_z = 3820559003, nblk_x = 32766, nblk_y = 3884776752, nblk_z = 32766, pitch_bytes = 3537448009, mode = 32766}, {offset = 0, slice_size = 140732718451650, npix_x = 2121286848, npix_y = 32767, npix_z = 1, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 3886555520, mode = 32766}, {offset = 140735314674720, slice_size = 140732718705354, npix_x = 64, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 2, npix_y = 48, npix_z = 3385770852, nblk_x = 32766, nblk_y = 119, nblk_z = 124, pitch_bytes = 3833958416, mode = 32766}, {offset = 0, slice_size = 140732732379176, npix_x = 40960, npix_y = 0, npix_z = 3385779855, nblk_x = 32766, nblk_y = 119, nblk_z = 124, pitch_bytes = 3884039152, mode = 32766}, { offset = 140732782467016, slice_size = 140732782465512, npix_x = 3884044776, npix_y = 32766, npix_z = 3382800655, nblk_x = 32766, nblk_y = 152, nblk_z = 0, pitch_bytes = 3884039152, mode = 32766}, {offset = 0, slice_size = 0, npix_x = 40960, npix_y = 0, npix_z = 3382807828, nblk_x = 32766, nblk_y = 3760, nblk_z = 0, pitch_bytes = 58, mode = 0}, {offset = 7, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 233, nblk_z = 106, pitch_bytes = 98, mode = 110}, {offset = 532575944823, slice_size = 140735314671248, npix_x = 40960, npix_y = 0, npix_z = 1024, nblk_x = 0, nblk_y = 204, nblk_z = 0, pitch_bytes = 3887755920, mode = 32766}, {offset = 204, slice_size = 140732401993536, npix_x = 3884037232, npix_y = 32766, npix_z = 34576, nblk_x = 0, nblk_y = 3712, nblk_z = 0, pitch_bytes = 3894417648, mode = 32766}, {offset = 140735314671616, slice_size = 140732398596538, npix_x = 3712, npix_y = 0, npix_z = 3884037232, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 2121287120, mode = 32767}} stencil_level = 0x7ffee7c693a8 (gdb) print *surf_man $2 = {fd = 12, device_id = 38464, hw_info = {group_bytes = 256, num_banks = 8, num_pipes = 4, row_size = 1024, allow_2d = 1, tile_mode_array = {0 <repeats 32 times>}}, family = 19, surface_init = 0x7ffec8be1f70 <eg_surface_init_2d_miptrees+128>, surface_best = 0x7ffec8be0890 <eg_surface_best>} (gdb) print *stencil_level $3 = {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0} (gdb) up #2 0x00007ffec9a30865 in r600_setup_surface (pitch_in_bytes_override=0, rtex=0x7ffee7c68c60, screen=0x7ffee781b470) at ../../../../../../src/gallium/drivers/r600/r600_texture.c:232 232 ../../../../../../src/gallium/drivers/r600/r600_texture.c: No such file or directory. (gdb) info locals ptex = 0x7ffee7c68c60 rscreen = 0x7ffee781b470 i = <optimized out> r = <optimized out> (gdb) print *ptex $4 = {reference = {count = 1}, screen = 0x7ffee781b470, target = PIPE_TEXTURE_2D, format = PIPE_FORMAT_Z24_UNORM_S8_UINT, width0 = 1, height0 = 1, depth0 = 1, array_size = 1, last_level = 0, nr_samples = 4, usage = 0, bind = 1, flags = 0} (gdb) print *screen $5 = {destroy = 0x7ffec9a19550 <r600_destroy_screen>, get_name = 0x7ffec9a18680 <r600_get_name>, get_vendor = 0x7ffec9a18670 <r600_get_vendor>, get_param = 0x7ffec9a18840 <r600_get_param>, get_paramf = 0x7ffec9a189a0 <r600_get_paramf>, get_shader_param = 0x7ffec9a18d20 <r600_get_shader_param>, get_video_param = 0x7ffec9a42b30 <r600_uvd_get_video_param>, get_compute_param = 0x7ffec9a19d20 <r600_get_compute_param>, get_timestamp = 0x7ffec9a18a10 <r600_get_timestamp>, context_create = 0x7ffec9a19040 <r600_create_context>, is_format_supported = 0x7ffec9a36140 <evergreen_is_format_supported>, is_video_format_supported = 0x7ffec9a770f0 <ruvd_is_format_supported>, can_create_resource = 0x0, resource_create = 0x7ffec9a1c030 <r600_resource_create>, resource_from_handle = 0x7ffec9a1c010 <r600_resource_from_handle>, resource_get_handle = 0x7ffec8e96ae0 <u_resource_get_handle_vtbl>, resource_destroy = 0x7ffec9a1bff0 <r600_resource_destroy>, flush_frontbuffer = 0x0, fence_reference = 0x7ffec9a18dd0 <r600_fence_reference>, fence_signalled = 0x7ffec9a189f0 <r600_fence_signalled>, fence_finish = 0x7ffec9a18b70 <r600_fence_finish>, get_driver_query_info = 0x7ffec9a18a40 <r600_get_driver_query_info>} (gdb) up #3 r600_texture_create_object (screen=screen@entry=0x7ffee781b470, base=base@entry=0x7fff7e7045d0, pitch_in_bytes_override=pitch_in_bytes_override@entry=0, buf=buf@entry=0x0, surface=surface@entry=0x7fff7e703800) at ../../../../../../src/gallium/drivers/r600/r600_texture.c:461 461 in ../../../../../../src/gallium/drivers/r600/r600_texture.c (gdb) info locals rtex = 0x7ffee7c68c60 resource = 0x7ffee7c68c60 rscreen = 0x7ffee781b470 __func__ = "r600_texture_create_object" (gdb) print surface $6 = (struct radeon_surface *) 0x7fff7e703800 (gdb) print *surface $7 = {npix_x = 1, npix_y = 1, npix_z = 1, blk_w = 1, blk_h = 1, blk_d = 1, array_size = 1, last_level = 0, bpe = 4, nsamples = 4, flags = 917761, bo_size = 0, bo_alignment = 0, bankw = 1, bankh = 1, mtilea = 8, tile_split = 1024, stencil_tile_split = 0, stencil_offset = 0, level = {{offset = 0, slice_size = 0, npix_x = 4294967295, npix_y = 0, npix_z = 0, nblk_x = 32767, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 140735314673424, slice_size = 140735314673408, npix_x = 3379041659, npix_y = 32766, npix_z = 3379041664, nblk_x = 32766, nblk_y = 2121285768, nblk_z = 32767, pitch_bytes = 3499935890, mode = 32766}, { offset = 140733193388032, slice_size = 140732398375220, npix_x = 2121285456, npix_y = 32767, npix_z = 2121285440, nblk_x = 32767, nblk_y = 3379041659, nblk_z = 32766, pitch_bytes = 3379041664, mode = 32766}, { offset = 140735314673864, slice_size = 140732398356626, npix_x = 0, npix_y = 1, npix_z = 3499954484, nblk_x = 32766, nblk_y = 0, nblk_z = 327681, pitch_bytes = 16, mode = 0}, {offset = 1, slice_size = 0, npix_x = 4294967295, npix_y = 4294967295, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 1, mode = 0}, {offset = 42949672960, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 4294967295, nblk_z = 4294967295, pitch_bytes = 0, mode = 0}, {offset = 18446744073709551615, slice_size = 1, npix_x = 0, npix_y = 10, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 2121285383, mode = 32767}, {offset = 0, slice_size = 140735314673776, npix_x = 4294967295, npix_y = 4294967295, npix_z = 0, nblk_x = 0, nblk_y = 11, nblk_z = 0, pitch_bytes = 3379041659, mode = 32766}, {offset = 9147928153161730, slice_size = 117, npix_x = 2121285384, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 11, slice_size = 140732277462395, npix_x = 3379041665, npix_y = 32766, npix_z = 3379041664, nblk_x = 32766, nblk_y = 2121286152, nblk_z = 32767, pitch_bytes = 3499935890, mode = 32766}, {offset = 140735314673920, slice_size = 140732398375220, npix_x = 0, npix_y = 32767, npix_z = 16, nblk_x = 0, nblk_y = 1, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 140735314673968, slice_size = 140732399619776, npix_x = 2121286424, npix_y = 32767, npix_z = 3500095088, nblk_x = 32766, nblk_y = 3379040316, nblk_z = 32766, pitch_bytes = 3379040327, mode = 0}, {offset = 206158430248, slice_size = 140735314674016, npix_x = 2121285792, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 3379040316, nblk_z = 32766, pitch_bytes = 8, mode = 0}, {offset = 42949672960, slice_size = 0, npix_x = 40, npix_y = 48, npix_z = 2121286048, nblk_x = 32767, nblk_y = 2121285856, nblk_z = 32767, pitch_bytes = 13, mode = 0}, { offset = 18446744073709551615, slice_size = 3378865857, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 2, nblk_z = 2162687, pitch_bytes = 117, mode = 0}, {offset = 140735314673736, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 11, nblk_z = 0, pitch_bytes = 3379041659, mode = 32766}, {offset = 140732277462401, slice_size = 0, npix_x = 0, npix_y = 855638016, npix_z = 2121284544, nblk_x = 32767, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 30, mode = 0}, {offset = 140732278298708, slice_size = 140735314672872, npix_x = 1, npix_y = 0, npix_z = 113, nblk_x = 0, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 3500750148, mode = 32766}, {offset = 9007203477192705, slice_size = 140735314673088, npix_x = 2121285056, npix_y = 32767, npix_z = 2121285056, nblk_x = 32767, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 2121285063, mode = 32767}, {offset = 140735314673117, slice_size = 140735314673088, npix_x = 2121285085, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 0, slice_size = 0, npix_x = 2121286176, npix_y = 4, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 4294967295, slice_size = 0, npix_x = 16, npix_y = 48, npix_z = 3503569536, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 140735314673120, slice_size = 140735314673088, npix_x = 3, npix_y = 0, npix_z = 3, nblk_x = 0, nblk_y = 3889243760, nblk_z = 32766, pitch_bytes = 3500749965, mode = 32766}, {offset = 206158430211, slice_size = 206158430248, npix_x = 2121285056, npix_y = 32767, npix_z = 2121284864, nblk_x = 32767, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 3, npix_y = 0, npix_z = 3503572800, nblk_x = 32766, nblk_y = 34, nblk_z = 0, pitch_bytes = 3, mode = 0}, {offset = 3, slice_size = 140732787664496, npix_x = 113, npix_y = 0, npix_z = 3500172496, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 34, mode = 0}, {offset = 34, slice_size = 140732718828125, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 3377127671, mode = 32766}, { offset = 214748364809, slice_size = 140735314673120, npix_x = 2121285056, npix_y = 32767, npix_z = 3378692432, nblk_x = 32766, nblk_y = 2003792430, nblk_z = 6107995, pitch_bytes = 0, mode = 0}, { offset = 3458764513820540928, slice_size = 140735314673184, npix_x = 1952543859, npix_y = 1634545253, npix_z = 2020176500, nblk_x = 1886809390, nblk_y = 1634890798, nblk_z = 1869640558, pitch_bytes = 1915643251, mode = 861632367}, {offset = 93, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}}, stencil_level = {{offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0} <repeats 11 times>, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 80, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 3, nblk_z = 48, pitch_bytes = 91, mode = 110}, {offset = 532575944823, slice_size = 140735314673904, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 140732401993536, npix_x = 34, npix_y = 0, npix_z = 144, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 4, mode = 0}, {offset = 140732786966208, slice_size = 140732398593232, npix_x = 0, npix_y = 0, npix_z = 34, nblk_x = 0, nblk_y = 34, nblk_z = 0, pitch_bytes = 3820407389, mode = 32766}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 32766, npix_z = 3377127671, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3820559003, mode = 32766}, {offset = 3, slice_size = 140732435868745, npix_x = 0, npix_y = 0, npix_z = 3820030914, nblk_x = 32766, nblk_y = 2121286400, nblk_z = 32767, pitch_bytes = 1, mode = 0}, {offset = 0, slice_size = 140732788053232, npix_x = 2121286240, npix_y = 32767, npix_z = 3820284618, nblk_x = 32766, nblk_y = 517441, nblk_z = 0, pitch_bytes = 594038370, mode = 0}, {offset = 1, slice_size = 140732718970318, npix_x = 1, npix_y = 0, npix_z = 3820563948, nblk_x = 32766, nblk_y = 2121287120, nblk_z = 32767, pitch_bytes = 2121286240, mode = 32767}, { offset = 140735314674448, slice_size = 140732718799828, npix_x = 0, npix_y = 0, npix_z = 3154119424, nblk_x = 32766, nblk_y = 2121286240, nblk_z = 32767, pitch_bytes = 3820379181, mode = 32766}, {offset = 0, slice_size = 140732718705702, npix_x = 3884762240, npix_y = 32766, npix_z = 2045518518, nblk_x = 120, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 140732653589654, npix_x = 3755168818, npix_y = 32766, npix_z = 373, nblk_x = 0, nblk_y = 3755126546, nblk_z = 32766, pitch_bytes = 549, mode = 1}, {offset = 140732788098992, slice_size = 140735314674448, npix_x = 3889678256, npix_y = 32766, npix_z = 3883905536, nblk_x = 32766, nblk_y = 2121287376, nblk_z = 32767, pitch_bytes = 4294967295, mode = 4294967295}, {offset = 140732785646256, slice_size = 140732718507634, npix_x = 2121286416, npix_y = 32767, npix_z = 3755126604, nblk_x = 32766, nblk_y = 3887199088, nblk_z = 32766, pitch_bytes = 3755125968, mode = 32766}, {offset = 140732653589654, slice_size = 140732653589554, npix_x = 373, npix_y = 0, npix_z = 3755126546, nblk_x = 32766, nblk_y = 1, nblk_z = 0, pitch_bytes = 3822944486, mode = 32766}, {offset = 140732782326272, slice_size = 140732653582592, npix_x = 3884776752, npix_y = 32766, npix_z = 3537448009, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3820030914, mode = 32766}, {offset = 140735314674880, slice_size = 1, npix_x = 0, npix_y = 0, npix_z = 3886555520, nblk_x = 32766, nblk_y = 2121286688, nblk_z = 32767, pitch_bytes = 3820284618, mode = 32766}, {offset = 517441, slice_size = 593903910, npix_x = 1, npix_y = 0, npix_z = 3820549582, nblk_x = 32766, nblk_y = 1, nblk_z = 0, pitch_bytes = 3820563948, mode = 32766}, { offset = 0, slice_size = 140735314674720, npix_x = 2121286864, npix_y = 32767, npix_z = 3820379092, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3154119424, mode = 32766}, {offset = 140735314674720, slice_size = 140732718799917, npix_x = 0, npix_y = 0, npix_z = 3820284966, nblk_x = 32766, nblk_y = 3884762240, nblk_z = 32766, pitch_bytes = 2045518383, mode = 120}, {offset = 112, slice_size = 1, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}}, tiling_index = {5, 49, 91, 110, 119, 124, 2121286800, 32767, 119, 124, 2121286816, 32767, 2121287808, 32767, 4294967295, 4294967295, 24, 0, 3370614281, 32766, 64, 0, 3382927720, 32766, 721326, 0, 4, 0, 3887225520, 32766, 0, 0}, stencil_tiling_index = {3884037232, 32766, 3372001724, 32766, 2, 0, 3371408685, 32766, 8, 0, 11953314, 32766, 3889678256, 32766, 35056, 0, 3888368624, 32766, 4, 0, 3888368624, 32766, 1, 0, 4, 0, 3371408866, 32766, 1, 51, 0, 0}} (gdb) up #4 0x00007ffec9a310bc in r600_texture_create (screen=0x7ffee781b470, templ=0x7fff7e7045d0) at ../../../../../../src/gallium/drivers/r600/r600_texture.c:636 636 in ../../../../../../src/gallium/drivers/r600/r600_texture.c (gdb) info locals rscreen = 0x7ffee781b470 surface = {npix_x = 1, npix_y = 1, npix_z = 1, blk_w = 1, blk_h = 1, blk_d = 1, array_size = 1, last_level = 0, bpe = 4, nsamples = 4, flags = 917761, bo_size = 0, bo_alignment = 0, bankw = 1, bankh = 1, mtilea = 8, tile_split = 1024, stencil_tile_split = 0, stencil_offset = 0, level = {{offset = 0, slice_size = 0, npix_x = 4294967295, npix_y = 0, npix_z = 0, nblk_x = 32767, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 140735314673424, slice_size = 140735314673408, npix_x = 3379041659, npix_y = 32766, npix_z = 3379041664, nblk_x = 32766, nblk_y = 2121285768, nblk_z = 32767, pitch_bytes = 3499935890, mode = 32766}, { offset = 140733193388032, slice_size = 140732398375220, npix_x = 2121285456, npix_y = 32767, npix_z = 2121285440, nblk_x = 32767, nblk_y = 3379041659, nblk_z = 32766, pitch_bytes = 3379041664, mode = 32766}, { offset = 140735314673864, slice_size = 140732398356626, npix_x = 0, npix_y = 1, npix_z = 3499954484, nblk_x = 32766, nblk_y = 0, nblk_z = 327681, pitch_bytes = 16, mode = 0}, {offset = 1, slice_size = 0, npix_x = 4294967295, npix_y = 4294967295, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 1, mode = 0}, {offset = 42949672960, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 4294967295, nblk_z = 4294967295, pitch_bytes = 0, mode = 0}, {offset = 18446744073709551615, slice_size = 1, npix_x = 0, npix_y = 10, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 2121285383, mode = 32767}, {offset = 0, slice_size = 140735314673776, npix_x = 4294967295, npix_y = 4294967295, npix_z = 0, nblk_x = 0, nblk_y = 11, nblk_z = 0, pitch_bytes = 3379041659, mode = 32766}, {offset = 9147928153161730, slice_size = 117, npix_x = 2121285384, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 11, slice_size = 140732277462395, npix_x = 3379041665, npix_y = 32766, npix_z = 3379041664, nblk_x = 32766, nblk_y = 2121286152, nblk_z = 32767, pitch_bytes = 3499935890, mode = 32766}, {offset = 140735314673920, slice_size = 140732398375220, npix_x = 0, npix_y = 32767, npix_z = 16, nblk_x = 0, nblk_y = 1, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 140735314673968, slice_size = 140732399619776, npix_x = 2121286424, npix_y = 32767, npix_z = 3500095088, nblk_x = 32766, nblk_y = 3379040316, nblk_z = 32766, pitch_bytes = 3379040327, mode = 0}, {offset = 206158430248, slice_size = 140735314674016, npix_x = 2121285792, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 3379040316, nblk_z = 32766, pitch_bytes = 8, mode = 0}, {offset = 42949672960, slice_size = 0, npix_x = 40, npix_y = 48, npix_z = 2121286048, nblk_x = 32767, nblk_y = 2121285856, nblk_z = 32767, pitch_bytes = 13, mode = 0}, { offset = 18446744073709551615, slice_size = 3378865857, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 2, nblk_z = 2162687, pitch_bytes = 117, mode = 0}, {offset = 140735314673736, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 11, nblk_z = 0, pitch_bytes = 3379041659, mode = 32766}, {offset = 140732277462401, slice_size = 0, npix_x = 0, npix_y = 855638016, npix_z = 2121284544, nblk_x = 32767, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 30, mode = 0}, {offset = 140732278298708, slice_size = 140735314672872, npix_x = 1, npix_y = 0, npix_z = 113, nblk_x = 0, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 3500750148, mode = 32766}, {offset = 9007203477192705, slice_size = 140735314673088, npix_x = 2121285056, npix_y = 32767, npix_z = 2121285056, nblk_x = 32767, nblk_y = 2121285056, nblk_z = 32767, pitch_bytes = 2121285063, mode = 32767}, {offset = 140735314673117, slice_size = 140735314673088, npix_x = 2121285085, npix_y = 32767, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 0, slice_size = 0, npix_x = 2121286176, npix_y = 4, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 4294967295, slice_size = 0, npix_x = 16, npix_y = 48, npix_z = 3503569536, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, { offset = 140735314673120, slice_size = 140735314673088, npix_x = 3, npix_y = 0, npix_z = 3, nblk_x = 0, nblk_y = 3889243760, nblk_z = 32766, pitch_bytes = 3500749965, mode = 32766}, {offset = 206158430211, slice_size = 206158430248, npix_x = 2121285056, npix_y = 32767, npix_z = 2121284864, nblk_x = 32767, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 3, npix_y = 0, npix_z = 3503572800, nblk_x = 32766, nblk_y = 34, nblk_z = 0, pitch_bytes = 3, mode = 0}, {offset = 3, slice_size = 140732787664496, npix_x = 113, npix_y = 0, npix_z = 3500172496, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 34, mode = 0}, {offset = 34, slice_size = 140732718828125, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 3377127671, mode = 32766}, { offset = 214748364809, slice_size = 140735314673120, npix_x = 2121285056, npix_y = 32767, npix_z = 3378692432, nblk_x = 32766, nblk_y = 2003792430, nblk_z = 6107995, pitch_bytes = 0, mode = 0}, { offset = 3458764513820540928, slice_size = 140735314673184, npix_x = 1952543859, npix_y = 1634545253, npix_z = 2020176500, nblk_x = 1886809390, nblk_y = 1634890798, nblk_z = 1869640558, pitch_bytes = 1915643251, mode = 861632367}, {offset = 93, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}}, stencil_level = {{offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0} <repeats 11 times>, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 80, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 3, nblk_z = 48, pitch_bytes = 91, mode = 110}, {offset = 532575944823, slice_size = 140735314673904, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 140732401993536, npix_x = 34, npix_y = 0, npix_z = 144, nblk_x = 0, nblk_y = 3888545664, nblk_z = 32766, pitch_bytes = 4, mode = 0}, {offset = 140732786966208, slice_size = 140732398593232, npix_x = 0, npix_y = 0, npix_z = 34, nblk_x = 0, nblk_y = 34, nblk_z = 0, pitch_bytes = 3820407389, mode = 32766}, {offset = 0, slice_size = 0, npix_x = 0, npix_y = 32766, npix_z = 3377127671, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3820559003, mode = 32766}, {offset = 3, slice_size = 140732435868745, npix_x = 0, npix_y = 0, npix_z = 3820030914, nblk_x = 32766, nblk_y = 2121286400, nblk_z = 32767, pitch_bytes = 1, mode = 0}, {offset = 0, slice_size = 140732788053232, npix_x = 2121286240, npix_y = 32767, npix_z = 3820284618, nblk_x = 32766, nblk_y = 517441, nblk_z = 0, pitch_bytes = 594038370, mode = 0}, {offset = 1, slice_size = 140732718970318, npix_x = 1, npix_y = 0, npix_z = 3820563948, nblk_x = 32766, nblk_y = 2121287120, nblk_z = 32767, pitch_bytes = 2121286240, mode = 32767}, { offset = 140735314674448, slice_size = 140732718799828, npix_x = 0, npix_y = 0, npix_z = 3154119424, nblk_x = 32766, nblk_y = 2121286240, nblk_z = 32767, pitch_bytes = 3820379181, mode = 32766}, {offset = 0, slice_size = 140732718705702, npix_x = 3884762240, npix_y = 32766, npix_z = 2045518518, nblk_x = 120, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}, {offset = 0, slice_size = 140732653589654, npix_x = 3755168818, npix_y = 32766, npix_z = 373, nblk_x = 0, nblk_y = 3755126546, nblk_z = 32766, pitch_bytes = 549, mode = 1}, {offset = 140732788098992, slice_size = 140735314674448, npix_x = 3889678256, npix_y = 32766, npix_z = 3883905536, nblk_x = 32766, nblk_y = 2121287376, nblk_z = 32767, pitch_bytes = 4294967295, mode = 4294967295}, {offset = 140732785646256, slice_size = 140732718507634, npix_x = 2121286416, npix_y = 32767, npix_z = 3755126604, nblk_x = 32766, nblk_y = 3887199088, nblk_z = 32766, pitch_bytes = 3755125968, mode = 32766}, {offset = 140732653589654, slice_size = 140732653589554, npix_x = 373, npix_y = 0, npix_z = 3755126546, nblk_x = 32766, nblk_y = 1, nblk_z = 0, pitch_bytes = 3822944486, mode = 32766}, {offset = 140732782326272, slice_size = 140732653582592, npix_x = 3884776752, npix_y = 32766, npix_z = 3537448009, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3820030914, mode = 32766}, {offset = 140735314674880, slice_size = 1, npix_x = 0, npix_y = 0, npix_z = 3886555520, nblk_x = 32766, nblk_y = 2121286688, nblk_z = 32767, pitch_bytes = 3820284618, mode = 32766}, {offset = 517441, slice_size = 593903910, npix_x = 1, npix_y = 0, npix_z = 3820549582, nblk_x = 32766, nblk_y = 1, nblk_z = 0, pitch_bytes = 3820563948, mode = 32766}, { offset = 0, slice_size = 140735314674720, npix_x = 2121286864, npix_y = 32767, npix_z = 3820379092, nblk_x = 32766, nblk_y = 0, nblk_z = 0, pitch_bytes = 3154119424, mode = 32766}, {offset = 140735314674720, slice_size = 140732718799917, npix_x = 0, npix_y = 0, npix_z = 3820284966, nblk_x = 32766, nblk_y = 3884762240, nblk_z = 32766, pitch_bytes = 2045518383, mode = 120}, {offset = 112, slice_size = 1, npix_x = 0, npix_y = 0, npix_z = 0, nblk_x = 0, nblk_y = 0, nblk_z = 0, pitch_bytes = 0, mode = 0}}, tiling_index = {5, 49, 91, 110, 119, 124, 2121286800, 32767, 119, 124, 2121286816, 32767, 2121287808, 32767, 4294967295, 4294967295, 24, 0, 3370614281, 32766, 64, 0, 3382927720, 32766, 721326, 0, 4, 0, 3887225520, 32766, 0, 0}, stencil_tiling_index = {3884037232, 32766, 3372001724, 32766, 2, 0, 3371408685, 32766, 8, 0, 11953314, 32766, 3889678256, 32766, 35056, 0, 3888368624, 32766, 4, 0, 3888368624, 32766, 1, 0, 4, 0, 3371408866, 32766, 1, 51, 0, 0}} desc = <optimized out> array_mode = <optimized out> r = <optimized out> #5 0x00007ffec8f3136c in st_renderbuffer_alloc_storage (ctx=<optimized out>, rb=0x7ffee7c68140, internalFormat=35056, width=1, height=1) at ../../../../../src/mesa/state_tracker/st_cb_fbo.c:211 211 ../../../../../src/mesa/state_tracker/st_cb_fbo.c: No such file or directory. (gdb) info locals pipe = 0x7ffee7c4aa60 screen = 0x7ffee781b470 format = PIPE_FORMAT_Z24_UNORM_S8_UINT surf_tmpl = {reference = {count = 7}, texture = 0x7ffee78cfd30, context = 0x4, format = PIPE_FORMAT_B8G8R8A8_UNORM, width = 0, height = 35056, writable = 0, u = {tex = {level = 1, first_layer = 0, last_layer = 0}, buf = { first_element = 1, last_element = 0}}} templ = {reference = {count = 0}, screen = 0x0, target = PIPE_TEXTURE_2D, format = PIPE_FORMAT_Z24_UNORM_S8_UINT, width0 = 1, height0 = 1, depth0 = 1, array_size = 1, last_level = 0, nr_samples = 4, usage = 0, bind = 1, flags = 0} (gdb) print *pipe $9 = {screen = 0x7ffee781b470, priv = 0x0, draw = 0x0, destroy = 0x7ffec9a18ea0 <r600_destroy_context>, draw_vbo = 0x7ffec9a3fa90 <r600_draw_vbo>, render_condition = 0x7ffec9a1b8a0 <r600_render_condition>, create_query = 0x7ffec9a1b580 <r600_create_query>, destroy_query = 0x7ffec9a1be80 <r600_destroy_query>, begin_query = 0x7ffec9a1b920 <r600_begin_query>, end_query = 0x7ffec9a1bdb0 <r600_end_query>, get_query_result = 0x7ffec9a1a710 <r600_get_query_result>, create_blend_state = 0x7ffec9a34d30 <evergreen_create_blend_state>, bind_blend_state = 0x7ffec9a3ce10 <r600_bind_blend_state>, delete_blend_state = 0x7ffec9a3d080 <r600_delete_blend_state>, create_sampler_state = 0x7ffec9a33350 <evergreen_create_sampler_state>, bind_fragment_sampler_states = 0x7ffec9a3ea30 <r600_bind_ps_sampler_states>, bind_vertex_sampler_states = 0x7ffec9a3ea20 <r600_bind_vs_sampler_states>, bind_geometry_sampler_states = 0x0, bind_compute_sampler_states = 0x7ffec9a40710 <evergreen_bind_compute_sampler_states>, delete_sampler_state = 0x7ffec9a3d030 <r600_delete_sampler_state>, create_rasterizer_state = 0x7ffec9a34d40 <evergreen_create_rs_state>, bind_rasterizer_state = 0x7ffec9a3ceb0 <r600_bind_rs_state>, delete_rasterizer_state = 0x7ffec9a3d040 <r600_delete_rs_state>, create_depth_stencil_alpha_state = 0x7ffec9a33ca0 <evergreen_create_dsa_state>, bind_depth_stencil_alpha_state = 0x7ffec9a3d140 <r600_bind_dsa_state>, delete_depth_stencil_alpha_state = 0x7ffec9a3d060 <r600_delete_dsa_state>, create_fs_state = 0x7ffec9a3d660 <r600_create_ps_state>, bind_fs_state = 0x7ffec9a3d670 <r600_bind_ps_state>, delete_fs_state = 0x7ffec9a3d120 <r600_delete_ps_state>, create_vs_state = 0x7ffec9a3d650 <r600_create_vs_state>, bind_vs_state = 0x7ffec9a3d230 <r600_bind_vs_state>, delete_vs_state = 0x7ffec9a3d100 <r600_delete_vs_state>, create_gs_state = 0x0, bind_gs_state = 0x0, delete_gs_state = 0x0, create_vertex_elements_state = 0x7ffec9a12e00 <r600_create_vertex_fetch_shader>, bind_vertex_elements_state = 0x7ffec9a3cfb0 <r600_bind_vertex_elements>, delete_vertex_elements_state = 0x7ffec9a3d790 <r600_delete_vertex_elements>, set_blend_color = 0x7ffec9a3ce30 <r600_set_blend_color>, set_stencil_ref = 0x7ffec9a3ce50 <r600_set_pipe_stencil_ref>, set_sample_mask = 0x7ffec9a3d010 <r600_set_sample_mask>, set_clip_state = 0x7ffec9a3d850 <r600_set_clip_state>, set_constant_buffer = 0x7ffec9a3e340 <r600_set_constant_buffer>, set_framebuffer_state = 0x7ffec9a3b080 <evergreen_set_framebuffer_state>, set_polygon_stipple = 0x7ffec9a32cf0 <evergreen_set_polygon_stipple>, set_scissor_states = 0x7ffec9a32d00 <evergreen_set_scissor_states>, set_viewport_states = 0x7ffec9a3cfd0 <r600_set_viewport_states>, set_fragment_sampler_views = 0x7ffec9a3edb0 <r600_set_ps_sampler_views>, set_vertex_sampler_views = 0x7ffec9a3eda0 <r600_set_vs_sampler_views>, set_geometry_sampler_views = 0x0, set_compute_sampler_views = 0x7ffec9a40700 <evergreen_set_cs_sampler_view>, set_shader_resources = 0x0, set_vertex_buffers = 0x7ffec9a3e0e0 <r600_set_vertex_buffers>, set_index_buffer = 0x7ffec9a3dd80 <r600_set_index_buffer>, create_stream_output_target = 0x7ffec9a3d970 <r600_create_so_target>, stream_output_target_destroy = 0x7ffec9a3d7d0 <r600_so_target_destroy>, set_stream_output_targets = 0x7ffec9a3f020 <r600_set_streamout_targets>, resource_copy_region = 0x7ffec9a15660 <r600_resource_copy_region>, blit = 0x7ffec9a14f50 <r600_blit>, clear = 0x7ffec9a13e20 <r600_clear>, clear_render_target = 0x7ffec9a13db0 <r600_clear_render_target>, clear_depth_stencil = 0x7ffec9a13d20 <r600_clear_depth_stencil>, flush = 0x7ffec9a198b0 <r600_flush_from_st>, create_sampler_view = 0x7ffec9a36c40 <evergreen_create_sampler_view>, sampler_view_destroy = 0x7ffec9a3d750 <r600_sampler_view_destroy>, create_surface = 0x7ffec9a311b0 <r600_create_surface>, surface_destroy = 0x7ffec9a301c0 <r600_surface_destroy>, transfer_map = 0x7ffec8e96b00 <u_transfer_map_vtbl>, transfer_flush_region = 0x7ffec8e96ac0 <u_default_transfer_flush_region>, transfer_unmap = 0x7ffec8e96b20 <u_transfer_unmap_vtbl>, transfer_inline_write = 0x7ffec8e96990 <u_default_transfer_inline_write>, texture_barrier = 0x7ffec9a3cd20 <r600_texture_barrier>, create_video_decoder = 0x7ffec9a42af0 <r600_uvd_create_decoder>, create_video_buffer = 0x7ffec9a42750 <r600_video_buffer_create>, create_compute_state = 0x7ffec9a40750 <evergreen_create_compute_state>, bind_compute_state = 0x7ffec9a40850 <evergreen_bind_compute_state>, delete_compute_state = 0x7ffec9a40790 <evergreen_delete_compute_state>, set_compute_resources = 0x7ffec9a40b50 <evergreen_set_compute_resources>, set_global_binding = 0x7ffec9a40a70 <evergreen_set_global_binding>, launch_grid = 0x7ffec9a40ea0 <evergreen_launch_grid>, get_sample_position = 0x7ffec9a32d20 <evergreen_get_sample_position>} (gdb) print *rb $10 = {Mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}, ClassID = 0, Name = 7, RefCount = 2, Width = 1, Height = 1, Depth = 0, Purgeable = 0 '\000', AttachedAnytime = 0 '\000', NeedsFinishRenderTexture = 0 '\000', NumSamples = 4 '\004', InternalFormat = 6408, _BaseFormat = 34041, Format = MESA_FORMAT_S8_Z24, TexImage = 0x0, Delete = 0x7ffec8f31400 <st_renderbuffer_delete>, AllocStorage = 0x7ffec8f31100 <st_renderbuffer_alloc_storage>} This is really weird: As you can see, tile_split is not 0, so the division by 0 must be about stencil_tile_split. But I don't see how eg_surface_best can not set stencil_tile_split to non-0 for a depth/stencil surface... -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/12. |
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.
Created attachment 90384 [details] Fix divide by zero in radeon_surface Passing a tile_split of zero to eg_surface_init_2d causes a divide by zero error. Launching chromium with WebGL enabled on a AMD Llano (A8-3850) exhibits this behavior and webgl then fails to work. The attached patch fixes the problem and allows WebGL to work in chrome on this platform.