I have a graphics detection issue. On startup, I run a benchmark to auto detect and set graphic settings. I run this from C++
const Scalability::FQualityLevels BenchmarkResults = Scalability::BenchmarkQualityLevels(Settings.WorkScale, Settings.CPUMultiplier, Settings.GPUMultiplier);
and I’m getting this crash on machines running vulkan… but I really don’t know what to do in response to this. Help?
[2023.05.13-05.25.43:432][ 0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003
[2023.05.13-05.25.43:432][ 0]LogCore: Assertion failed: bSuccess [File:.\Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 486]
0x000000000a4b53c0 MyProject!FVulkanCommandBufferManager::WaitForCmdBuffer(FVulkanCmdBuffer*, float) [D:/UESource/511/Engine/Source/./Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp:486]
0x000000000a517320 MyProject!FVulkanDynamicRHI::RHIGetRenderQueryResult(FRHIRenderQuery*, unsigned long long&, bool, unsigned int) [D:/UESource/511/Engine/Source/./Runtime/VulkanRHI/Private/VulkanQuery.cpp:555]
0x0000000008865771 MyProject!RendererGPUBenchmark(FRHICommandListImmediate&, FSynthBenchmarkResults&, FSceneView const&, float, bool) [D:/UESource/511/Engine/Source/./Runtime/Renderer/Private/GPUBenchmark.cpp:583]
0x00000000092a68b0 MyProject!TGraphTask<TEnqueueUniqueRenderCommandType<FRendererModule::GPUBenchmark(FSynthBenchmarkResults&, float)::RendererGPUBenchmarkCommandName, FRendererModule::GPUBenchmark(FSynthBenchmarkResults&, float)::$_46> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) [D:/UESource/511/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:1348]
0x000000000715713d MyProject!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [D:/UESource/511/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:760]
0x0000000007155a70 MyProject!FNamedTaskThread::ProcessTasksUntilQuit(int) [D:/UESource/511/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:648]
0x0000000007154bb9 MyProject!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [D:/UESource/511/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:2149]
0x000000000a7a59e2 MyProject!RenderingThreadMain(FEvent*) [D:/UESource/511/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:415]
0x000000000a7c3fd4 MyProject!FRenderingThread::Run() [D:/UESource/511/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:566]
0x0000000007294c06 MyProject!FRunnableThreadPThread::Run() [D:/UESource/511/Engine/Source/./Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
0x0000000007219f38 MyProject!FRunnableThreadPThread::_ThreadProc(void*) [D:/UESource/511/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]
0x00007fb0941848fd libc.so.6!UnknownFunction(0x868fc)
0x00007fb094206a60 libc.so.6!UnknownFunction(0x108a5f)
0x000000000a4b53c0 MyProject!FVulkanCommandBufferManager::WaitForCmdBuffer(FVulkanCmdBuffer*, float) [D:/UESource/511/Engine/Source/./Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp:486]
0x000000000a517320 MyProject!FVulkanDynamicRHI::RHIGetRenderQueryResult(FRHIRenderQuery*, unsigned long long&, bool, unsigned int) [D:/UESource/511/Engine/Source/./Runtime/VulkanRHI/Private/VulkanQuery.cpp:555]
0x0000000008865771 MyProject!RendererGPUBenchmark(FRHICommandListImmediate&, FSynthBenchmarkResults&, FSceneView const&, float, bool) [D:/UESource/511/Engine/Source/./Runtime/Renderer/Private/GPUBenchmark.cpp:583]
0x00000000092a68b0 MyProject!TGraphTask<TEnqueueUniqueRenderCommandType<FRendererModule::GPUBenchmark(FSynthBenchmarkResults&, float)::RendererGPUBenchmarkCommandName, FRendererModule::GPUBenchmark(FSynthBenchmarkResults&, float)::$_46> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) [D:/UESource/511/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:1348]
0x000000000715713d MyProject!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [D:/UESource/511/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:760]
0x0000000007155a70 MyProject!FNamedTaskThread::ProcessTasksUntilQuit(int) [D:/UESource/511/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:648]
0x0000000007154bb9 MyProject!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [D:/UESource/511/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:2149]
0x000000000a7a59e2 MyProject!RenderingThreadMain(FEvent*) [D:/UESource/511/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:415]
0x000000000a7c3fd4 MyProject!FRenderingThread::Run() [D:/UESource/511/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:566]
0x0000000007294c06 MyProject!FRunnableThreadPThread::Run() [D:/UESource/511/Engine/Source/./Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
0x0000000007219f38 MyProject!FRunnableThreadPThread::_ThreadProc(void*) [D:/UESource/511/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:185]
0x00007fb0941848fd libc.so.6!UnknownFunction(0x868fc)
0x00007fb094206a60 libc.so.6!UnknownFunction(0x108a5f)
[2023.05.13-05.25.43:435][ 0]LogExit: Executing StaticShutdownAfterError
Any help is welcome. Thanks!