zink: zink_descriptor_set_get: Assertion `pool->num_sets_allocated < ZINK_DEFAULT_MAX_DESCS' failed. in Basemark
zink
on AMD Fury X (FIJI, GFX8)
user@debian:~/Downloads/basemarkgpu-1.2.3/resources$ ~/zink-dbg env gdb --args ./binaries/BasemarkGPU_gl TestType Custom AssetPath assets/pkg TextureCompression bc7 ReportPath rrr BenchmarkMode true SkipZPrepass false Fullscreen false
(gdb) r
Starting program: /home/user/Downloads/basemarkgpu-1.2.3/resources/binaries/BasemarkGPU_gl TestType Custom AssetPath assets/pkg TextureCompression bc7 ReportPath rrr BenchmarkMode true SkipZPrepass false Fullscreen false
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff72d7640 (LWP 905605)]
[Thread 0x7ffff72d7640 (LWP 905605) exited]
Thu Oct 14 23:11:53 2021: [DEBUG] MainEntry end
[New Thread 0x7ffff72d7640 (LWP 905606)]
[New Thread 0x7fffe6aca640 (LWP 905607)]
[New Thread 0x7fffe62c9640 (LWP 905608)]
[New Thread 0x7fffe5ac8640 (LWP 905609)]
[New Thread 0x7fffe52c7640 (LWP 905610)]
[New Thread 0x7fffe4ac6640 (LWP 905611)]
[New Thread 0x7fffcffff640 (LWP 905612)]
[New Thread 0x7fffcf7fe640 (LWP 905613)]
[New Thread 0x7fffcebfd640 (LWP 905614)]
Thu Oct 14 23:11:56 2021: [DEBUG] Loading bsb from: `assets/pkg/high_bc7.bsb`
Thu Oct 14 23:11:56 2021: [DEBUG] SceneLoader::load begin
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load after rs::AssetLoader(path).loadAll()
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load after readCamers
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load after readLights
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load after sceneNodes
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load before timeline
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load after timeline
Thu Oct 14 23:12:02 2021: [DEBUG] SceneLoader::load return
[New Thread 0x7fffb269e640 (LWP 905617)]
[New Thread 0x7fffa3052640 (LWP 905618)]
[New Thread 0x7fffa2851640 (LWP 905619)]
[New Thread 0x7fffa2050640 (LWP 905620)]
[New Thread 0x7fffa184f640 (LWP 905621)]
[New Thread 0x7fffa104e640 (LWP 905622)]
[New Thread 0x7fffa084d640 (LWP 905623)]
[New Thread 0x7fffa004c640 (LWP 905624)]
[New Thread 0x7fff9f84b640 (LWP 905625)]
[New Thread 0x7fff9f04a640 (LWP 905626)]
[New Thread 0x7fff9e849640 (LWP 905627)]
[New Thread 0x7fff9e048640 (LWP 905628)]
[New Thread 0x7fff9d847640 (LWP 905629)]
[New Thread 0x7fff9d046640 (LWP 905630)]
[New Thread 0x7fff9c845640 (LWP 905631)]
[New Thread 0x7fff9c044640 (LWP 905632)]
[New Thread 0x7fff9b843640 (LWP 905633)]
[New Thread 0x7fff9b042640 (LWP 905634)]
[New Thread 0x7fff9a841640 (LWP 905635)]
[New Thread 0x7fff9a040640 (LWP 905636)]
[New Thread 0x7fff9983f640 (LWP 905637)]
[New Thread 0x7fff9903e640 (LWP 905638)]
[New Thread 0x7fff9883d640 (LWP 905639)]
[New Thread 0x7fff9803c640 (LWP 905640)]
[New Thread 0x7fff9783b640 (LWP 905641)]
[New Thread 0x7fff9703a640 (LWP 905642)]
[New Thread 0x7fff96839640 (LWP 905643)]
[New Thread 0x7fff96038640 (LWP 905644)]
[New Thread 0x7fff95837640 (LWP 905645)]
[New Thread 0x7fff95036640 (LWP 905646)]
[New Thread 0x7fff94835640 (LWP 905647)]
[New Thread 0x7fff94034640 (LWP 905648)]
[New Thread 0x7fff93833640 (LWP 905649)]
[New Thread 0x7fff93032640 (LWP 905650)]
[New Thread 0x7fff92831640 (LWP 905651)]
[New Thread 0x7fff92030640 (LWP 905652)]
[New Thread 0x7fff9182f640 (LWP 905653)]
[New Thread 0x7fff9102e640 (LWP 905654)]
[New Thread 0x7fff9082d640 (LWP 905655)]
[New Thread 0x7fff9002c640 (LWP 905656)]
[New Thread 0x7fff8f82b640 (LWP 905657)]
[New Thread 0x7fff8f02a640 (LWP 905658)]
[New Thread 0x7fff8e829640 (LWP 905659)]
[New Thread 0x7fff8e028640 (LWP 905660)]
[New Thread 0x7fff8d827640 (LWP 905661)]
[New Thread 0x7fff8d026640 (LWP 905662)]
[New Thread 0x7fff8c825640 (LWP 905663)]
[New Thread 0x7fff8c024640 (LWP 905664)]
[New Thread 0x7fff8b823640 (LWP 905665)]
[New Thread 0x7fff8b022640 (LWP 905666)]
[New Thread 0x7fff8a821640 (LWP 905667)]
[New Thread 0x7fff8a020640 (LWP 905668)]
[New Thread 0x7fff8981f640 (LWP 905669)]
[New Thread 0x7fff8901e640 (LWP 905670)]
[New Thread 0x7fff8881d640 (LWP 905671)]
[New Thread 0x7fff8801c640 (LWP 905672)]
[New Thread 0x7fff8781b640 (LWP 905673)]
[New Thread 0x7fff8701a640 (LWP 905674)]
[New Thread 0x7fff86819640 (LWP 905675)]
[New Thread 0x7fff86018640 (LWP 905676)]
[New Thread 0x7fff85817640 (LWP 905677)]
[New Thread 0x7fff85016640 (LWP 905678)]
Thu Oct 14 23:12:02 2021: [DEBUG] Entering Rendering loop
zink: descriptor cache exploded for prog 0x7fffc4188370 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4181fc0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4004b80 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc41d9100 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4b51d80 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4186670 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc448f080 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc444d9f0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4198b70 set UBO: getting lazy (not a bug, just lettin you know)
Thu Oct 14 23:12:04 2021: [DEBUG] workgroup size 2, fps 15.636817
zink: descriptor cache exploded for prog 0x7fffc4878cb0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4477f40 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4c041e0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc50d1190 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555c68ef50 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555a325900 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555bd645a0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555dfb9bd0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x555557cd3e10 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555ba0af80 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555b699200 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x555558dc7180 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x555557b535a0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555a2b13e0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555a2b5680 set UBO: getting lazy (not a bug, just lettin you know)
Thu Oct 14 23:12:04 2021: [DEBUG] workgroup size 4, fps 56.106407
Thu Oct 14 23:12:05 2021: [DEBUG] workgroup size 8, fps 57.221691
zink: descriptor cache exploded for prog 0x55555d5da390 set UBO: getting lazy (not a bug, just lettin you know)
Thu Oct 14 23:12:06 2021: [DEBUG] workgroup size 16, fps 57.855412
Thu Oct 14 23:12:06 2021: [DEBUG] workgroup size 32, fps 57.502335
zink: descriptor cache exploded for prog 0x55555c7916c0 set UBO: getting lazy (not a bug, just lettin you know)
Thu Oct 14 23:12:07 2021: [DEBUG] workgroup size 64, fps 58.511269
Thu Oct 14 23:12:07 2021: [DEBUG] workgroup size 128, fps 57.389309
Thu Oct 14 23:12:07 2021: [DEBUG] selected workgroup size 64, fps 58.511269
zink: descriptor cache exploded for prog 0x7fffc544f8c0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc609bda0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x555558e6a140 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4486380 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4819320 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc48d4fb0 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4b6b880 set UBO: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc48aced0 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4198b70 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4ba5950 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4926c20 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555c62bd30 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555c68ef50 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555bd645a0 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x5555571d4b40 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x55555a2b5680 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4486380 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc4819320 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc50d1190 set TEXTURES: getting lazy (not a bug, just lettin you know)
zink: descriptor cache exploded for prog 0x7fffc48d4fb0 set TEXTURES: getting lazy (not a bug, just lettin you know)
BasemarkGPU_gl: ../../../src/gallium/drivers/zink/zink_descriptors.c:859: zink_descriptor_set_get: Assertion `pool->num_sets_allocated < ZINK_DEFAULT_MAX_DESCS' failed.
--Type <RET> for more, q to quit, c to continue without paging--
Thread 11 "Basemark:gdrv0" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffcebfd640 (LWP 905614)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1 0x00007ffff7560536 in __GI_abort () at abort.c:79
#2 0x00007ffff756041f in __assert_fail_base (fmt=0x7ffff76c76b0 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7ffff5b3b518 "pool->num_sets_allocated < ZINK_DEFAULT_MAX_DESCS",
file=0x7ffff5b3b240 "../../../src/gallium/drivers/zink/zink_descriptors.c", line=859, function=<optimized out>) at assert.c:92
#3 0x00007ffff756f7f2 in __GI___assert_fail (assertion=assertion@entry=0x7ffff5b3b518 "pool->num_sets_allocated < ZINK_DEFAULT_MAX_DESCS",
file=file@entry=0x7ffff5b3b240 "../../../src/gallium/drivers/zink/zink_descriptors.c", line=line@entry=859,
function=function@entry=0x7ffff5b3b810 <__PRETTY_FUNCTION__.11> "zink_descriptor_set_get") at assert.c:101
#4 0x00007ffff56d484a in zink_descriptor_set_get (ctx=ctx@entry=0x555556090bf0, type=type@entry=ZINK_DESCRIPTOR_TYPE_SAMPLER_VIEW, is_compute=is_compute@entry=false,
cache_hit=cache_hit@entry=0x7fffcebfb76f) at ../../../src/gallium/drivers/zink/zink_descriptors.c:859
#5 0x00007ffff56d6276 in zink_descriptors_update (ctx=0x555556090bf0, is_compute=<optimized out>) at ../../../src/gallium/drivers/zink/zink_descriptors.c:1442
#6 0x00007ffff56f1f54 in zink_draw_vbo<(zink_multidraw)1, (zink_dynamic_state)1, (zink_dynamic_state2)1, (zink_dynamic_vertex_input)1, true> (pctx=0x555556090bf0, dinfo=0x555555fd6d20,
drawid_offset=<optimized out>, dindirect=0x0, draws=<optimized out>, num_draws=<optimized out>) at ../../../src/gallium/drivers/zink/zink_draw.cpp:754
#7 0x00007ffff5347b77 in tc_call_draw_single (pipe=0x555556090bf0, call=0x555555fd6d18, last_ptr=<optimized out>) at ../../../src/gallium/auxiliary/util/u_threaded_context.c:3073
#8 0x00007ffff5342540 in tc_batch_execute (job=job@entry=0x555555fd6410, gdata=gdata@entry=0x0, thread_index=thread_index@entry=0)
at ../../../src/gallium/auxiliary/util/u_threaded_context.c:213
#9 0x00007ffff4cdc40d in util_queue_thread_func (input=input@entry=0x5555560027d0) at ../../../src/util/u_queue.c:313
#10 0x00007ffff4cdbda0 in impl_thrd_routine (p=<optimized out>) at ../../../include/c11/threads_posix.h:87
#11 0x00007ffff7f6ceae in start_thread (arg=0x7fffcebfd640) at pthread_create.c:463
--Type <RET> for more, q to quit, c to continue without paging--
#12 0x00007ffff7637a5f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) frame 4
#4 0x00007ffff56d484a in zink_descriptor_set_get (ctx=ctx@entry=0x555556090bf0, type=type@entry=ZINK_DESCRIPTOR_TYPE_SAMPLER_VIEW, is_compute=is_compute@entry=false,
cache_hit=cache_hit@entry=0x7fffcebfb76f) at ../../../src/gallium/drivers/zink/zink_descriptors.c:859
859 assert(pool->num_sets_allocated < ZINK_DEFAULT_MAX_DESCS);
(gdb) list
854 goto out;
855 }
856 }
857 }
858
859 assert(pool->num_sets_allocated < ZINK_DEFAULT_MAX_DESCS);
860
861 zds = allocate_desc_set(ctx, pg, type, descs_used, is_compute);
862 out:
863 if (unlikely(pool->num_sets_allocated >= ZINK_DEFAULT_DESC_CLAMP &&
(gdb) print pool->num_sets_allocated
$1 = 5000
(gdb) print ZINK_DEFAULT_MAX_DESCS
$2 = 5000
(gdb)