Last active
August 8, 2017 16:25
-
-
Save TTimo/28fa434142fb59e66ae469ed7f7ef034 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 1 "UE4Editor-Linux" received signal SIGFPE, Arithmetic exception. | |
0x00007fc2b700e577 in radv_pipeline_scratch_init (device=0x963640, pipeline=0x96fc00) at radv_pipeline.c:761 | |
761 max_stage_waves = MIN2(max_stage_waves, | |
(gdb) bt | |
#0 0x00007fc2b700e577 in radv_pipeline_scratch_init (device=0x963640, pipeline=0x96fc00) at radv_pipeline.c:761 | |
#1 0x00007fc2b700db5f in radv_pipeline_init (pipeline=<optimized out>, device=<optimized out>, cache=<optimized out>, pCreateInfo=<optimized out>, extra=<optimized out>, alloc=<optimized out>) at radv_pipeline.c:2296 | |
#2 0x00007fc2b700e6d0 in radv_graphics_pipeline_create (_device=0x963640, _cache=<optimized out>, pCreateInfo=<optimized out>, extra=<optimized out>, pAllocator=0x963688, pPipeline=<optimized out>) at radv_pipeline.c:2320 | |
#3 0x00007fc2b70026e3 in create_pipeline (device=0x963640, render_pass=<optimized out>, samples=<optimized out>, vs_nir=0x96cce0, fs_nir=0x96d6d0, vi_state=<optimized out>, ds_state=0x7fc2b70d6df0 <create_color_pipeline.ds_state>, | |
cb_state=0x7fffffff9880, layout=0x96c7c0, extra=0x7fffffff98c0, alloc=0x963688, pipeline=0x9637b8) at radv_meta_clear.c:114 | |
#4 0x00007fc2b7000032 in create_color_pipeline (frag_output=0, device=<optimized out>, samples=<optimized out>, pipeline=<optimized out>, pass=<optimized out>) at radv_meta_clear.c:284 | |
#5 radv_device_init_meta_clear_state (device=<optimized out>) at radv_meta_clear.c:816 | |
#6 0x00007fc2b6ff0119 in radv_device_init_meta (device=0x963640) at radv_meta.c:302 | |
#7 0x00007fc2b6fe5885 in radv_CreateDevice (physicalDevice=<optimized out>, pCreateInfo=<optimized out>, pAllocator=<optimized out>, pDevice=<optimized out>) at radv_device.c:1142 | |
#8 0x00007fc2b7415ccb in terminator_CreateDevice (physicalDevice=0x935dc0, pCreateInfo=0x7fffffffafb0, pAllocator=0x0, pDevice=0x7fffffffaee0) at /opt/Valve/Vulkan-LoaderAndValidationLayers/loader/loader.c:4980 | |
#9 0x00007fc2b74147a8 in loader_create_device_chain (pd=0x8da040, pCreateInfo=0x7fffffffb320, pAllocator=0x0, inst=0x93c000, dev=0x9607d0) at /opt/Valve/Vulkan-LoaderAndValidationLayers/loader/loader.c:4451 | |
#10 0x00007fc2b741a18d in vkCreateDevice (physicalDevice=0x8da040, pCreateInfo=0x7fffffffb320, pAllocator=0x0, pDevice=0x7fc2d682eed0) at /opt/Valve/Vulkan-LoaderAndValidationLayers/loader/trampoline.c:660 | |
#11 0x00007fc2cdd554a4 in VulkanRHI::vkCreateDevice (PhysicalDevice=0x8da040, CreateInfo=0x7fffffffb320, Allocator=0x0, Device=0x7fc2d682eed0) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandWrappers.h:250 | |
#12 0x00007fc2cdd53ce8 in FVulkanDevice::CreateDevice (this=0x7fc2d682eab0) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanDevice.cpp:163 | |
#13 0x00007fc2cdd56bbc in FVulkanDevice::InitGPU (this=0x7fc2d682eab0, DeviceIndex=0) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanDevice.cpp:504 | |
#14 0x00007fc2cdd7b07e in FVulkanDynamicRHI::InitInstance (this=0x7fc2d9370640) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:564 | |
#15 0x00007fc2cdd7a3e1 in FVulkanDynamicRHI::Init (this=0x7fc2d9370640) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanRHI.cpp:371 | |
#16 0x00007fc4c40d01e0 in RHIInit (bHasEditorToken=false) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/RHI/Private/DynamicRHI.cpp:181 | |
#17 0x000000000044104b in FEngineLoop::PreInit (this=0x6b7958 <GEngineLoop>, CmdLine=0x7fc2d3d3e780 L" /opt/Valve/TestVR/TestVR.uproject -game -vulkan -sm5 -NOSPLASH -Windowed -ResX=1024 -ResY=768") | |
at /opt/Valve/UnrealEngine/Engine/Source/Runtime/Launch/Private/LaunchEngineLoop.cpp:1708 | |
#18 0x000000000043cd12 in EnginePreInit (CmdLine=0x7fc2d3d3e780 L" /opt/Valve/TestVR/TestVR.uproject -game -vulkan -sm5 -NOSPLASH -Windowed -ResX=1024 -ResY=768") | |
at /opt/Valve/UnrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp:42 | |
#19 0x0000000000449145 in GuardedMain (CmdLine=0x7fc2d3d3e780 L" /opt/Valve/TestVR/TestVR.uproject -game -vulkan -sm5 -NOSPLASH -Windowed -ResX=1024 -ResY=768") | |
at /opt/Valve/UnrealEngine/Engine/Source/Runtime/Launch/Private/Launch.cpp:127 | |
#20 0x00007fc4bb6a3345 in CommonLinuxMain (argc=9, argv=0x7fffffffdf68, RealMain=0x449120 <GuardedMain(wchar_t const*)>) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/Linux/LinuxCommonStartup/Private/LinuxCommonStartup.cpp:236 | |
#21 0x000000000045332c in main (argc=9, argv=0x7fffffffdf68) at /opt/Valve/UnrealEngine/Engine/Source/Runtime/Launch/Private/Linux/LaunchLinux.cpp:25 | |
(gdb) list | |
756 unsigned max_stage_waves = device->scratch_waves; | |
757 | |
758 scratch_bytes_per_wave = MAX2(scratch_bytes_per_wave, | |
759 pipeline->shaders[i]->config.scratch_bytes_per_wave); | |
760 | |
761 max_stage_waves = MIN2(max_stage_waves, | |
762 4 * device->physical_device->rad_info.num_good_compute_units * | |
763 (256 / pipeline->shaders[i]->config.num_vgprs)); | |
764 max_waves = MAX2(max_waves, max_stage_waves); | |
765 } | |
(gdb) p pipeline->shaders | |
$21 = {0x971920, 0x0, 0x0, 0x0, 0x970cb0, 0x0} | |
11:23 < TTimo> pipeline->shaders[4]->config.num_vgprs == 0 | |
11:23 < TTimo> that's what throws the SIGFPE | |
11:23 < TTimo> I suppose it points to the same issue, config wasn't read back correctly | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment