Unreal engine UE4 Sphinx error

Hi,

I am trying to start my UE4 application for Sphinx, for example: parrot-ue4-empty, but I get this following error:

WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
Ensure condition failed: (ImageCreateInfo.usage & VK_IMAGE_USAGE_SAMPLED_BIT) == 0 [File:/home/jenkins/workspace/unreal-editor-build/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 429] 

[2022.05.04-09.53.21:041][  0]LogOutputDevice: Error: === Handled ensure: ===
[2022.05.04-09.53.21:041][  0]LogOutputDevice: Error: 
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: Ensure condition failed: (ImageCreateInfo.usage & VK_IMAGE_USAGE_SAMPLED_BIT) == 0 [File:/home/jenkins/workspace/unreal-editor-build/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 429]
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: 
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: Stack: 
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: [Callstack] 0x00000000065e8020 UnrealApp!FVulkanSurface::GenerateImageCreateInfo(FVulkanSurface::FImageCreateInfo&, FVulkanDevice&, VkImageViewType, EPixelFormat, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, ETextureCreateFlags, VkFormat*, VkFormat*, bool)()
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: [Callstack] 0x00000000065efde8 UnrealApp!FindOrCalculateTexturePlatformSize(FVulkanDevice*, VkImageViewType, unsigned int, unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags)()
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: [Callstack] 0x00000000065efc1b UnrealApp!FVulkanDynamicRHI::RHICalcTexture2DPlatformSize(unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags, FRHIResourceCreateInfo const&, unsigned int&)()
[2022.05.04-09.53.21:042][  0]LogOutputDevice: Error: [Callstack] 0x0000000007a52d3e UnrealApp!FTexture2DResource::CalcRequestedMipsSize()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000007a4c6ee UnrealApp!FStreamableTextureResource::InitRHI()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000006798a03 UnrealApp!FRenderResource::InitResource()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000006799063 UnrealApp!BeginInitResource(FRenderResource*)()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000007cd7c7c UnrealApp!UTexture::UpdateResource()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000007cda81b UnrealApp!UTexture2D::UpdateResource()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x00000000047d3aed UnrealApp!UObject::ConditionalPostLoad()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000004662248 UnrealApp!FAsyncPackage::PostLoadObjects()()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000004653499 UnrealApp!FAsyncPackage::TickAsyncPackage(bool, bool, float&, FFlushTree*)()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000004651bb2 UnrealApp!FAsyncLoadingThread::ProcessAsyncLoading(int&, bool, bool, float, FFlushTree*)()
[2022.05.04-09.53.21:043][  0]LogOutputDevice: Error: [Callstack] 0x0000000004659393 UnrealApp!FAsyncLoadingThread::TickAsyncThread(bool, bool, float, bool&, FFlushTree*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x0000000004658a13 UnrealApp!FAsyncLoadingThread::TickAsyncLoading(bool, bool, float, FFlushTree*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x0000000004666b2f UnrealApp!FAsyncLoadingThread::FlushLoading(int)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000046ad3fe UnrealApp!FlushAsyncLoading(int)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000048a6b0a UnrealApp!LoadPackageInternal(UPackage*, char16_t const*, unsigned int, FLinkerLoad*, FArchive*, FLinkerInstancingContext const*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000048a3ebd UnrealApp!LoadPackage(UPackage*, char16_t const*, unsigned int, FArchive*, FLinkerInstancingContext const*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000048a1b56 UnrealApp!ResolveName(UObject*&, FString&, bool, bool, unsigned int, FLinkerInstancingContext const*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000048a4296 UnrealApp!StaticLoadObjectInternal(UClass*, UObject*, char16_t const*, char16_t const*, unsigned int, UPackageMap*, bool, FLinkerInstancingContext const*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000048a4dfb UnrealApp!StaticLoadObject(UClass*, UObject*, char16_t const*, char16_t const*, unsigned int, UPackageMap*, bool, FLinkerInstancingContext const*)()
[2022.05.04-09.53.21:044][  0]LogOutputDevice: Error: [Callstack] 0x00000000048a588c UnrealApp!StaticLoadClass(UClass*, UObject*, char16_t const*, char16_t const*, unsigned int, UPackageMap*)()
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x00000000034c2c05 UnrealApp!ConstructorHelpersInternal::FindOrLoadClass(FString&, UClass*) [/docker_mounts/unreal-apps-release-gendeb/ue4/ue4/Engine/Source/Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h:87]
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x0000000003472955 UnrealApp!ConstructorHelpers::FClassFinder<AActor>::FClassFinder(char16_t const*) [/docker_mounts/unreal-apps-release-gendeb/ue4/ue4/Engine/Source/Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h:188]
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x000000000347248a UnrealApp!ASimMode::ASimMode() [/docker_mounts/unreal-apps-release-gendeb/empty/Plugins/GzUE4Bridge/Source/SimMode.cpp:67]
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x00000000046eb092 UnrealApp!UClass::CreateDefaultObject()()
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x0000000004876a5d UnrealApp!ProcessNewlyLoadedUObjects(FName, bool)()
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x00000000033e7f59 UnrealApp!FEngineLoop::PreInitPostStartupScreen(char16_t const*)()
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x00000000033dddca UnrealApp!GuardedMain(char16_t const*)()
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x00000000086f2289 UnrealApp!CommonUnixMain(int, char**, int (*)(char16_t const*), void (*)())()
[2022.05.04-09.53.21:045][  0]LogOutputDevice: Error: [Callstack] 0x00007f53040c10b3 libc.so.6!__libc_start_main(+0xf2)
[2022.05.04-09.53.21:046][  0]LogOutputDevice: Error: [Callstack] 0x00000000033ce029 UnrealApp!_start()
[2022.05.04-09.53.21:046][  0]LogOutputDevice: Error: 
[2022.05.04-09.53.31:446][  0]LogAMS: Display: Starting up ActorMovementSystem
[2022.05.04-09.53.31:656][  0]LogGzUE4: Display: Using QWERTY keyboard layout
[2022.05.04-09.53.31:657][  0]LogApp: Display: Loading default level: 'Empty'
Assertion failed: bSuccess [File:/home/jenkins/workspace/unreal-editor-build/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 458] 

Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Malloc Size=131160 LargeMemoryPoolOffset=196744 
Malloc Size=131160 LargeMemoryPoolOffset=327928 
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

Any ideas?

Hello,

What is your GPU? Is it properly configured with proprietary drivers? Can you add this command line option to display more logs and send us the output?

-LogCmds=\"global log, logchecksubobjects none\"'

I have NVIDIA GeForce RTX 3050 Ti Laptop GPU in my pc, but I am running Ubuntu on Virtualbox and I don’t know if that is a problem.

This is the complete return log:

...
[2022.05.04-11.40.29:754][  0]LogRenderTargetPool: Display: 191 MB, NewRT (2D 200x125 PF_FloatRGB RT) BloomX
[2022.05.04-11.40.29:754][  0]LogRenderTargetPool: Display: 191 MB, NewRT (2D 400x250 PF_FloatRGB RT) BloomX
[2022.05.04-11.40.29:754][  0]LogRenderTargetPool: Display: 192 MB, NewRT (2D 800x500 PF_FloatRGB RT) BloomX
Assertion failed: bSuccess [File:/home/jenkins/workspace/unreal-editor-build/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 458] 

Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
[2022.05.04-11.40.44:514][  0]LogCore: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to write memory at address 0x0000000000000003

[2022.05.04-11.40.44:515][  0]LogCore: Assertion failed: bSuccess [File:/home/jenkins/workspace/unreal-editor-build/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 458] 



0x00000000041e76fe UnrealApp!FGenericPlatformMisc::RaiseException(unsigned int)()
0x0000000004382e0b UnrealApp!FOutputDevice::LogfImpl(char16_t const*, ...)()
0x000000000432ce54 UnrealApp!AssertFailedImplV(char const*, char const*, int, char16_t const*, __va_list_tag*)()
0x000000000432ccfb UnrealApp!FDebug::CheckVerifyFailedImpl(char const*, char const*, int, char16_t const*, ...)()
0x000000000655d0e7 UnrealApp!FVulkanCommandBufferManager::WaitForCmdBuffer(FVulkanCmdBuffer*, float)()
0x00000000065b6a4b UnrealApp!FVulkanDynamicRHI::RHIGetRenderQueryResult(FRHIRenderQuery*, unsigned long long&, bool, unsigned int)()
0x0000000006763aaf UnrealApp!MeasureLongGPUTaskExecutionTime(FRHICommandListImmediate&)()
0x00000000033f7edd UnrealApp!TEnqueueUniqueRenderCommandType<FEngineLoop::Tick()::MeasureLongGPUTaskExecutionTimeCmdName, FEngineLoop::Tick()::$_69>::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&)()
0x00000000033f81a5 UnrealApp!TGraphTask<TEnqueueUniqueRenderCommandType<FEngineLoop::Tick()::MeasureLongGPUTaskExecutionTimeCmdName, FEngineLoop::Tick()::$_69> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type)()
0x00000000041af98a UnrealApp!FNamedTaskThread::ProcessTasksNamedThread(int, bool)()
0x00000000041ae7be UnrealApp!FNamedTaskThread::ProcessTasksUntilQuit(int)()
0x0000000006792e4c UnrealApp!RenderingThreadMain(FEvent*)()
0x00000000067a7e52 UnrealApp!FRenderingThread::Run()()
0x0000000004248de7 UnrealApp!FRunnableThreadPThread::Run()()
0x0000000004214d3c UnrealApp!FRunnableThreadPThread::_ThreadProc(void*)()
0x00007f1534269609 libpthread.so.0!UnknownFunction(0x8608)
0x00007f1533aa6163 libc.so.6!clone(+0x42)

[2022.05.04-11.40.44:528][  0]LogExit: Executing StaticShutdownAfterError
Malloc Size=131160 LargeMemoryPoolOffset=196744 
Malloc Size=131160 LargeMemoryPoolOffset=327928 
Malloc Size=98058 LargeMemoryPoolOffset=426010 
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

You need to install nvidia proprietary drivers in ubuntu.

Thank you. Do you know how I can enable my Nvidia drivers in Ubuntu? I have followed the following tutorial: https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/, but Nvidia is not visible in my additional drivers.

We recommend not using virtualbox. But if you really want to use a VM, you have to install the guest additions and enable 3D accelerations in the VM settings.

I already have the guest additions and enabled 3D accelerations in the VM settings, but my Nvidia driver is still not visible.

What is the best way to use Ubuntu on my Windows pc, if you don’t recommend Virtualbox?

You can install ubuntu in dual-boot.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.