xavier150 / MMVS

Macro Micro VR Service - Public bug report and tracking
10 stars 38 forks source link

0.4.0 - linux crash #24

Closed justfiction closed 1 year ago

justfiction commented 2 years ago

System: fedora 35, driver 510.47

When I launch the game I get this info/warnings:

4.27.1-0+++UE4+Release-4.27 522 0
Disabling core dumps.
Looking for binary: ../../../MacroMicroVRService/Config/BinaryConfig.ini
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
Error [GENERAL |  | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath

I start playing and after a bit the game crashes and I get this:

LowLevelFatalError [File:Unknown] [Line: 958] 
Result failed, VkResult=-4
 at M:/MMVS_EngineFiles/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4775 
 with error VK_ERROR_DEVICE_LOST
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.
./MacroMicroVRService.sh: line 5:  7551 Segmentation fault      (core dumped) "$UE4_PROJECT_ROOT/MacroMicroVRService/Binaries/Linux/MacroMicroVRService-Linux-Shipping" MacroMicroVRService "$@"

This behavior is consistent and reproducible. I always get the same message in the terminal. The quickest way to cause this crash is to become game master and fly through walls.

justfiction commented 2 years ago

When using wayland, the game crashes upon launch with the same output:

4.27.1-0+++UE4+Release-4.27 522 0
Disabling core dumps.
Looking for binary: ../../../MacroMicroVRService/Config/BinaryConfig.ini
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
Error [GENERAL |  | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
LowLevelFatalError [File:Unknown] [Line: 958] 
VulkanRHI::vkQueueSubmit(Queue, 1, &SubmitInfo, Fence->GetHandle()) failed, VkResult=-4
 at M:/MMVS_EngineFiles/Engine/Source/Runtime/VulkanRHI/Private/VulkanQueue.cpp:71 
 with error VK_ERROR_DEVICE_LOST
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.
./MacroMicroVRService.sh: line 5: 10436 Segmentation fault      (core dumped) "$UE4_PROJECT_ROOT/MacroMicroVRService/Binaries/Linux/MacroMicroVRService-Linux-Shipping" MacroMicroVRService "$@"
justfiction commented 2 years ago

I got the same result on intel iGPU System: debian 11, mesa 20.3

Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
Error [GENERAL |  | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
Unable to read VR Path Registry from /home/p/.config/openvr/openvrpaths.vrpath
Resizing viewport due to setres change, 1600 x 900
MESA-INTEL: error: ../src/intel/vulkan/anv_device.c:3313: GPU hung on one of our command buffers (VK_ERROR_DEVICE_LOST)
LowLevelFatalError [File:Unknown] [Line: 958] 
Result failed, VkResult=-4
 at M:/MMVS_EngineFiles/Engine/Source/Runtime/VulkanRHI/Private/VulkanMemory.cpp:4775 
 with error VK_ERROR_DEVICE_LOST
Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
Malloc Size=131160 LargeMemoryPoolOffset=196744 
Malloc Size=131160 LargeMemoryPoolOffset=327928 
Segmentation fault
justfiction commented 2 years ago

This happens on 0.4.0.1 too.

xavier150 commented 1 year ago

Hello @daev1d You still have this issue with the last version of the game ?

xavier150 commented 1 year ago

Hello, The Game and Server should work in Linux with the current version, I will close this issue but you can open it again if you still have crashs.