[Mesa-dev] [Bug 111522] [bisected] Supraland no longer start

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 5 21:06:29 UTC 2019


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

Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|fdo-bugs at engestrom.ch       |mesa-dev at lists.freedesktop.
                   |                            |org
             Status|ASSIGNED                    |NEEDINFO

--- Comment #10 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
I've put up another MR :
https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1883

Here is the ~/.drirc I was using :

<driconf>
   <device>
      <application name="Supraland" executable="Supraland-Linux-Shipping">
         <option name="vk_x11_override_min_image_count" value="2" />
         <option name="vk_x11_strict_image_count" value="true" />
      </application>
   </device>
</driconf>

If you could test this that would be great.


Note that for me with this fix, the game crashes at start with the following
backtrace :

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f051ec464e5 in ralloc_parent (ptr=0x7f04fd83d760) at
../src/util/ralloc.c:356
356        return info->parent ? PTR_FROM_HEADER(info->parent) : NULL;
[Current thread is 1 (Thread 0x7f0505afb700 (LWP 15827))]
(gdb) bt
#0  0x00007f051ec464e5 in ralloc_parent (ptr=0x7f04fd83d760) at
../src/util/ralloc.c:356
#1  0x00007f051ec464b8 in ralloc_parent (ptr=0x7f04fc891a00) at
../src/util/ralloc.c:353
#2  0x00007f051ec464b8 in ralloc_parent (ptr=0x7f04fce65fe0) at
../src/util/ralloc.c:353
#3  0x00007f051ec463d9 in ralloc_adopt (new_ctx=0x7f051ec463d9
<ralloc_adopt+48>, old_ctx=0x7f0505aebde0) at ../src/util/ralloc.c:326
#4  0x00007f051e8ff6b3 in anv_pipeline_compile_graphics
(pipeline=0x7f04fd443410, cache=0x8d20800, info=0x7f0505af9c68) at
../src/intel/vulkan/anv_pipeline.c:1448
#5  0x00007f051e900b5f in anv_pipeline_init (pipeline=0x7f04fd443410,
device=0x8d208f0, cache=0x8d20800, pCreateInfo=0x7f0505af9c68, alloc=0x8d208f8)
at ../src/intel/vulkan/anv_pipeline.c:1930
#6  0x00007f051e9f4793 in gen9_graphics_pipeline_create (_device=0x8d208f0,
cache=0x8d20800, pCreateInfo=0x7f0505af9c68, pAllocator=0x0,
pPipeline=0x7f04a4b01c10)
    at ../src/intel/vulkan/genX_pipeline.c:2135
#7  0x00007f051e9f5200 in VALGRIND_PRINTF (format=0x7f051e9e82aa
<_anv_combine_address+105> "H\215\065\357\t?") at
/usr/include/valgrind/valgrind.h:6248
#8  0x00007f051e27d20c in vkCreateGraphicsPipelines (device=0x8d208f0,
pipelineCache=0x8d20800, createInfoCount=1, pCreateInfos=0x7f0505af9c68,
pAllocator=0x0, pPipelines=0x7f04a4b01c10)
    at layersvt/api_dump.cpp:8318
#9  0x00007f051dcd7078 in ?? () from
/home/djdeath/.steam/ubuntu12_64/libVkLayer_steam_fossilize.so
#10 0x00007f0528057c94 in vkCreateGraphicsPipelines (device=0x8d208f0,
pipelineCache=0x8d20800, createInfoCount=1, pCreateInfos=0x7f0505af9c68,
pAllocator=0x0, pPipelines=0x7f04a4b01c10)
    at ../loader/trampoline.c:1275
#11 0x000000000467195d in
FVulkanPipelineStateCacheManager::CreateGfxPipelineFromEntry(FVulkanPipelineStateCacheManager::FGfxPipelineEntry*,
FVulkanShader**, FVulkanGfxPipeline*) ()
#12 0x0000000004670ee1 in
FVulkanPipelineStateCacheManager::CreateAndAdd(FGraphicsPipelineStateInitializer
const&, FGfxPSIKey,
TSharedPtr<FVulkanPipelineStateCacheManager::FGfxPipelineEntry, (ESPMode)1>,
FGfxEntryKey) ()
#13 0x0000000004674dcb in
FVulkanDynamicRHI::RHICreateGraphicsPipelineState(FGraphicsPipelineStateInitializer
const&) ()
#14 0x000000000472a1b6 in
PipelineStateCache::GetAndOrCreateGraphicsPipelineState(FRHICommandList&,
FGraphicsPipelineStateInitializer const&, EApplyRendertargetOption) ()
#15 0x0000000004729e3f in SetGraphicsPipelineState(FRHICommandList&,
FGraphicsPipelineStateInitializer const&, EApplyRendertargetOption) ()
#16 0x00000000042c3f86 in
FRCPassPostProcessCombineLUTs::Process(FRenderingCompositePassContext&) ()
#17 0x00000000043820d8 in
FRenderingCompositionGraph::RecursivelyProcess(FRenderingCompositeOutputRef
const&, FRenderingCompositePassContext&) const ()
#18 0x0000000004381d94 in
FRenderingCompositePassContext::Process(TArray<FRenderingCompositePass*,
FDefaultAllocator> const&, char16_t const*) ()
#19 0x00000000042d43f1 in FPostProcessing::Process(FRHICommandListImmediate&,
FViewInfo const&, TRefCountPtr<IPooledRenderTarget>&) ()
#20 0x000000000415007b in
FDeferredShadingSceneRenderer::Render(FRHICommandListImmediate&) ()
#21 0x000000000446c7c6 in ?? ()
#22 0x00000000044772ba in ?? ()
#23 0x000000000391c18f in FNamedTaskThread::ProcessTasksNamedThread(int, bool)
()
#24 0x000000000391bdf3 in FNamedTaskThread::ProcessTasksUntilQuit(int) ()
#25 0x000000000475e0b2 in FRenderingThread::Run() ()
#26 0x0000000003954b03 in FRunnableThreadPThread::Run() ()
#27 0x0000000003946aad in FRunnableThreadPThread::_ThreadProc(void*) ()
#28 0x00007f054e77d182 in start_thread (arg=<optimised out>) at
pthread_create.c:486
#29 0x00007f054dd88b1f in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95


Though running the game under valgrind shows incorrect free() from the
application so I believe the above backtrace is the result of a previous memory
corruption.

Thanks!

-- 
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/mesa-dev/attachments/20190905/6b8809ce/attachment.html>


More information about the mesa-dev mailing list