BYU-PCCL / holodeck

High Fidelity Simulator for Reinforcement Learning and Robotics Research.
https://holodeck.cs.byu.edu
MIT License
577 stars 42 forks source link

Environment Make, Semaphore Busy #114

Closed emcyroyale closed 6 years ago

emcyroyale commented 6 years ago

When I try to make an environment, I receive the below error. I'm running this in Ubuntu 16.04.5. How can I fix or debug this issue?

Code

env = holodeck.make("UrbanCity")

Error

Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/holodeck/environments.py", line 385, in linux_start_process loading_semaphore.acquire(100) posix_ipc.BusyError: Semaphore is busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/holodeck/holodeck.py", line 54, in make return HolodeckEnvironment(**param_dict) File "/usr/local/lib/python3.5/dist-packages/holodeck/environments.py", line 102, in init self.linux_start_process(binary_path, task_key, gl_version, verbose=verbose) File "/usr/local/lib/python3.5/dist-packages/holodeck/environments.py", line 387, in linux_start_process raise HolodeckException("Timed out waiting for binary to load") holodeck.exceptions.HolodeckException: Timed out waiting for binary to load

`

nickwalton commented 6 years ago

Are you running holodeck as sudo? Because sometimes that issue happens when sudo is used because unreal executables don't allow themselves to be run with root privileges.

emcyroyale commented 6 years ago

Thanks for responding. I did not use sudo to run anything.

emcyroyale commented 6 years ago

Could this possibly have anything to do with the nvidia-docker or cuda installations?

joshgreaves commented 6 years ago

Did you install using docker (as opposed to pip)? If so, did you make sure to create another user and sign in before installing and running environments? The environment won't load if you run with root permissions or as the root user.

Otherwise, please could you run env = holodeck.make("UrbanCity", verbose=True) and print the output here.

emcyroyale commented 6 years ago

I am using docker (I.e docker run -it pccl/holodeck:ubuntu16.04-without-worlds) and I switched to the holodeckuser account.

env = hd.make("UrbanCity", verbose=True)

Increasing per-process limit of core file size to infinity.

[2018.10.11-17.11.43:683][ 0]LogLinux: Fatal error!

[Callstack] 00 0x00000000024a6adf FLinuxPlatformStackWalk::CaptureStackBackTrace(unsigned long long, unsigned int, void) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformStackWalk.cpp, line 1029] [Callstack] 01 0x0000000002376425 FGenericPlatformStackWalk::StackWalkAndDump(char, unsigned long, int, void) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Core\Private\GenericPlatform/GenericPlatformStackWalk.cpp, line 159] [Callstack] 02 0x00000000024589c0 FLinuxCrashContext::CaptureStackTrace() [Runtime/Core/Public/Containers/ContainerAllocationPolicies.h, line 332] [Callstack] 03 0x00000000057c15fb CommonLinuxCrashHandler(FGenericCrashContext const&) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Linux\LinuxCommonStartup\Private/LinuxCommonStartup.cpp, line 37] [Callstack] 04 0x0000000002459f43 PlatformCrashHandler(int, siginfo_t, void) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformCrashContext.cpp, line 0] [Callstack] 05 0x00007fdffc5e2390 /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7fdffc5e2390] [Callstack] 06 0x0000000005f8bc55 /home/holodeckuser/.local/share/holodeck/worlds/LinuxDefaultWorlds/LinuxNoEditor/Holodeck/Binaries/Linux/Holodeck() [0x5f8bc55] [Callstack] 07 0x0000000005f811ae /home/holodeckuser/.local/share/holodeck/worlds/LinuxDefaultWorlds/LinuxNoEditor/Holodeck/Binaries/Linux/Holodeck() [0x5f811ae] [Callstack] 08 0x00000000038cc373 _PlatformCreateDummyGLWindow(FPlatformOpenGLContext) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private\Linux/OpenGLLinux.cpp, line 117] [Callstack] 09 0x00000000038c2480 PlatformInitOpenGL() [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private\Linux/OpenGLLinux.cpp, line 940] [Callstack] 10 0x00000000038dc964 FOpenGLDynamicRHI::FOpenGLDynamicRHI() [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private\Linux/OpenGLLinux.cpp, line 301] [Callstack] 11 0x00000000038dc46c FOpenGLDynamicRHIModule::CreateRHI(ERHIFeatureLevel::Type) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\OpenGLDrv\Private/OpenGLDevice.cpp, line 1066] [Callstack] 12 0x0000000003940578 PlatformCreateDynamicRHI() [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\RHI\Private\Linux/LinuxDynamicRHI.cpp, line 53] [Callstack] 13 0x000000000393fd1d RHIInit(bool) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\RHI\Private/DynamicRHI.cpp, line 178] [Callstack] 14 0x00000000022ffa54 FEngineLoop::PreInit(wchar_t const) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Launch\Private/LaunchEngineLoop.cpp, line 1713] [Callstack] 15 0x000000000230aff8 GuardedMain(wchar_t const*) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Launch\Private/Launch.cpp, line 42] [Callstack] 16 0x00000000057c2274 CommonLinuxMain(int, char*, int ()(wchar_t const*)) [C:\Users\Max\Documents\UnrealEngine\Engine\Source\Runtime\Linux\LinuxCommonStartup\Private/LinuxCommonStartup.cpp, line 236] [Callstack] 17 0x00007fdffb682830 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7fdffb682830] [Callstack] 18 0x00000000022fce3e /home/holodeckuser/.local/share/holodeck/worlds/LinuxDefaultWorlds/LinuxNoEditor/Holodeck/Binaries/Linux/Holodeck() [0x22fce3e]

[2018.10.11-17.11.43:693][ 0]LogExit: Executing StaticShutdownAfterError Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/holodeck/environments.py", line 384, in linux_start_process loading_semaphore.acquire(100) posix_ipc.BusyError: Semaphore is busy

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.5/dist-packages/holodeck/holodeck.py", line 54, in make return HolodeckEnvironment(**param_dict) File "/usr/local/lib/python3.5/dist-packages/holodeck/environments.py", line 101, in init self.linux_start_process(binary_path, task_key, gl_version, verbose=verbose) File "/usr/local/lib/python3.5/dist-packages/holodeck/environments.py", line 386, in linux_start_process raise HolodeckException("Timed out waiting for binary to load. Ensure that holodeck is not being run with root priveleges.") holodeck.exceptions.HolodeckException: Timed out waiting for binary to load. Ensure that holodeck is not being run with root priveleges.

nickwalton commented 6 years ago

Hi @emcyroyale I was able to reproduce and fix your issue. The documentation we had on our README said to run "docker run -it pccl/holodeck:ubuntu16.04-without-worlds" but that was actually incorrect. The proper command is "nvidia-docker run -it pccl/holodeck:ubuntu16.04-without-worlds." To render with GPU accelerated rendering, the docker container must access cuda and GPU resources which it can only do using nvidia docker. I've updated the README to have the proper command. Can you try this fix and confirms that it works on your machine? Thanks for making us aware of this issue!

emcyroyale commented 6 years ago

Hey @nickwalton. Thanks. I can get past the make now. I have followed the rest of the basic usage instructions and I am able to retrieve state, reward, terminal, info variables. Looks like it works.

Toga199915 commented 6 months ago

Hello I have the same problem, could you help me please? I am not using docker. I have this in the console: [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_sampler_mirror_clamp_to_edge [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_separate_depth_stencil_layouts [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_shader_atomic_int64 [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_shader_draw_parameters [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_storage_buffer_storage_class [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_swapchain [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_uniform_buffer_standard_layout [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: - Found device extension VK_KHR_variable_pointers [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: Using Device 0: Geometry 1 Tessellation 1 BufferAtomic64 1 [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: Found 1 Queue Families [2024.03.20-20.10.35:020][ 0]LogVulkanRHI: Display: Initializing Queue Family 0: 1 queues Gfx Compute Xfer WARNING: lavapipe is not a conformant vulkan implementation, testing use only. [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: Using device layers [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: Using device extensions [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_driver_properties [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_get_memory_requirements2 [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_dedicated_allocation [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_swapchain [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_maintenance1 [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_maintenance2 [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_EXT_scalar_block_layout [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: VK_KHR_shader_atomic_int64 [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: * VK_KHR_image_format_list [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: 1 Device Memory Heaps; Max memory allocations -1 [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: 0: Flags 0x1 Size 2147483648 (2048.00 MB) GPU [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: 1 Device Memory Types (Not unified) [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: 0: Flags 0x0000f Heap 0 Local HostVisible HostCoherent HostCached
[2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: Host Allocation Percentage 0.00% - 0.00MB / 0.000MB [2024.03.20-20.10.35:025][ 0]LogVulkanRHI: Display: Memory Budget unavailable [2024.03.20-20.10.35:026][ 0]LogVulkanRHI: Display: FVulkanPipelineStateCacheManager: Binary pipeline cache '../../../Holodeck/Saved/VulkanPSO.cache.10005.0' not found. [2024.03.20-20.10.35:030][ 0]LogRHI: Texture pool is 1433 MB (70% of 2048 MB) [2024.03.20-20.10.35:030][ 0]LogRendererCore: Ray tracing is disabled. Reason: r.RayTracing=0. [2024.03.20-20.10.35:041][ 0]LogShaderLibrary: Display: Using ../../../Holodeck/Content/ShaderArchive-Global-SF_VULKAN_SM5.ushaderbytecode for material shader code. Total 1859 unique shaders. [2024.03.20-20.10.35:041][ 0]LogShaderLibrary: Display: Cooked Context: Using Shared Shader Library Global [2024.03.20-20.10.35:041][ 0]LogShaderLibrary: Display: Logical shader library 'Global' has been created, components 1 [2024.03.20-20.10.35:042][ 0]LogTemp: Warning: Clearing the OS Cache [2024.03.20-20.10.35:042][ 0]LogODSC: ODSC Thread active. [2024.03.20-20.10.35:044][ 0]LogPakFile: New pak file ../../../Holodeck/Content/Paks/Holodeck-LinuxNoEditor.pak added to pak precacher. [2024.03.20-20.10.35:088][ 0]LogSlate: Using FreeType 2.10.0 [2024.03.20-20.10.35:089][ 0]LogSlate: SlateFontServices - WITH_FREETYPE: 1, WITH_HARFBUZZ: 1 [2024.03.20-20.10.35:138][ 0]LogShaderLibrary: Display: Using ../../../Holodeck/Content/ShaderArchive-Holodeck-SF_VULKAN_SM5.ushaderbytecode for material shader code. Total 5831 unique shaders. [2024.03.20-20.10.35:138][ 0]LogShaderLibrary: Display: Cooked Context: Using Shared Shader Library Holodeck [2024.03.20-20.10.35:138][ 0]LogShaderLibrary: Display: Logical shader library 'Holodeck' has been created, components 1 [2024.03.20-20.10.35:138][ 0]LogRHI: Display: Opened pipeline cache after state change and enqueued 0 of 0 tasks for precompile. [2024.03.20-20.10.35:140][ 0]LogShaderLibrary: Display: Using ../../../Holodeck/Content/ShaderArchive-Holodeck-SF_VULKAN_SM5.ushaderbytecode for material shader code. Total 5831 unique shaders. [2024.03.20-20.10.35:140][ 0]LogShaderLibrary: Display: Cooked Context: Using Shared Shader Library Holodeck [2024.03.20-20.10.35:140][ 0]LogRHI: Display: Opened pipeline cache after state change and enqueued 0 of 0 tasks for precompile. [2024.03.20-20.10.35:140][ 0]LogRHI: Display: Failed to open default shader pipeline cache for Holodeck using shader platform 20. [2024.03.20-20.10.35:140][ 0]LogInit: Using OS detected language (en-US). [2024.03.20-20.10.35:140][ 0]LogInit: Using OS detected locale (en-US). [2024.03.20-20.10.35:140][ 0]LogTextLocalizationManager: No localization for 'en-US' exists, so 'en' will be used for the language. [2024.03.20-20.10.35:140][ 0]LogTextLocalizationManager: No localization for 'en-US' exists, so 'en' will be used for the locale. [2024.03.20-20.10.35:141][ 0]LogSlate: FontCache flush requested. Reason: Culture for localization was changed [2024.03.20-20.10.35:141][ 0]LogSlate: FontCache flush requested. Reason: Culture for localization was changed [2024.03.20-20.10.35:142][ 0]LogAssetRegistry: FAssetRegistry took 0.0009 seconds to start up [2024.03.20-20.10.35:235][ 0]LogTextLocalizationManager: Compacting localization data took 2.78ms [2024.03.20-20.10.35:235][ 0]LogStreaming: Display: FlushAsyncLoading: 1 QueuedPackages, 0 AsyncPackages [2024.03.20-20.10.35:236][ 0]LogPackageLocalizationCache: Processed 23 localized package path(s) for 1 prioritized culture(s) in 0.000092 seconds [2024.03.20-20.10.35:244][ 0]LogSerialization: Display: AllowBulkDataInIoStore: 'true' [2024.03.20-20.10.35:245][ 0]LogLinux: Selected Device Profile: [LinuxNoEditor] [2024.03.20-20.10.35:245][ 0]LogInit: Active device profile: [0x7fa0becba780][0x7fa1589adb70 49] LinuxNoEditor [2024.03.20-20.10.35:245][ 0]LogInit: Profiles: [0x7fa0becba480][0x7fa0c3714930 49] Linux, [0x7fa0becba780][0x7fa1589adb70 49] LinuxNoEditor, [2024.03.20-20.10.35:263][ 0]LogNetVersion: Holodeck 1.0.0, NetCL: 17155196, EngineNetVer: 17, GameNetVer: 0 (Checksum: 3491346555) [2024.03.20-20.10.35:328][ 0]LogAudioCaptureCore: Display: No Audio Capture implementations found. Audio input will be silent. [2024.03.20-20.10.35:328][ 0]LogAudioCaptureCore: Display: No Audio Capture implementations found. Audio input will be silent. [2024.03.20-20.10.35:335][ 0]LogHolodeck: Android Controller Initialized [2024.03.20-20.10.35:335][ 0]LogHolodeck: CommandCenter::CommandCenter() constructed [2024.03.20-20.10.35:335][ 0]LogHolodeck: Hand Agent Controller Initialized [2024.03.20-20.10.35:336][ 0]LogHolodeck: UHolodeckCamera::UHolodeckCamer() initialization called. [2024.03.20-20.10.35:336][ 0]LogHolodeck: Holodeck Game Instance initialized [2024.03.20-20.10.35:336][ 0]LogHolodeck: HolodeckGameMode initialized [2024.03.20-20.10.35:336][ 0]LogTemp: Warning: HoveringAUV Controller Initialized [2024.03.20-20.10.35:336][ 0]LogHolodeck: NavAgent Controller Initialized [2024.03.20-20.10.35:336][ 0]LogHolodeck: UHolodeckCamera::UHolodeckCamer() initialization called. [2024.03.20-20.10.35:336][ 0]LogTemp: Warning: SphereRobot Controller Initialized [2024.03.20-20.10.35:337][ 0]LogTemp: Warning: TorpedoAUV Controller Initialized [2024.03.20-20.10.35:337][ 0]LogTemp: Warning: TurtleAgent Controller Initialized [2024.03.20-20.10.35:337][ 0]LogTemp: Warning: UAV Controller Initialized [2024.03.20-20.10.35:370][ 0]LogMoviePlayer: Initializing movie player [2024.03.20-20.10.35:409][ 0]LogVulkanRHI: Display: Requested PixelFormat 18 not supported by this swapchain! Falling back to supported swapchain format... [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: Queue Family 0: Supports Present [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: Queue Family 0: Supports Present [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: Found 4 Surface present modes: [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: - VK_PRESENT_MODE_IMMEDIATE_KHR (0) [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: - VK_PRESENT_MODE_MAILBOX_KHR (1) [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: - VK_PRESENT_MODE_FIFO_KHR (2) [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: - VK_PRESENT_MODE_FIFO_RELAXED_KHR (3) [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Display: Selected VkPresentModeKHR mode 1 [2024.03.20-20.10.35:411][ 0]LogVulkanRHI: Creating new VK swapchain with present mode 1, format 44, color space 0, num images 3 [2024.03.20-20.10.35:500][ 0]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated [2024.03.20-20.10.35:501][ 0]LogSlate: Slate font cache was flushed [2024.03.20-20.10.35:503][ 0]LogNiagaraDebuggerClient: Niagara Debugger Client Initialized | Session: 57E113D132E441F192501E77F317352D | Instance: D4BE581C73234224BB8F94C26D90D48D (Ubuntu20-3092). [2024.03.20-20.10.35:506][ 0]LogAndroidPermission: UAndroidPermissionCallbackProxy::GetInstance [2024.03.20-20.10.35:516][ 0]LogUObjectArray: 15308 objects as part of root set at end of initial load. [2024.03.20-20.10.35:516][ 0]LogUObjectArray: 2 objects are not in the root set, but can never be destroyed because they are in the DisregardForGC set. [2024.03.20-20.10.35:516][ 0]LogUObjectAllocator: 3214584 out of 0 bytes used by permanent object pool. [2024.03.20-20.10.35:516][ 0]LogUObjectArray: CloseDisregardForGC: 15308/15308 objects in disregard for GC pool [2024.03.20-20.10.35:517][ 0]LogEngine: Initializing Engine... Unable to read VR Path Registry from /home/jason/.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 [2024.03.20-20.10.35:518][ 0]LogHMD: Failed to enumerate extensions. Please check that you have a valid OpenXR runtime installed. Unable to read VR Path Registry from /home/jason/.config/openvr/openvrpaths.vrpath [2024.03.20-20.10.35:518][ 0]LogHMD: Failed to initialize OpenVR with code 110 [2024.03.20-20.10.35:518][ 0]LogStats: UGameplayTagsManager::InitializeManager - 0.000 s [2024.03.20-20.10.35:637][ 0]LogInit: Initializing FReadOnlyCVARCache [2024.03.20-20.10.35:638][ 0]LogAudio: Display: Initializing Audio Device Manager... [2024.03.20-20.10.35:638][ 0]LogAudio: Display: Loading Default Audio Settings Objects... [2024.03.20-20.10.35:639][ 0]LogAudio: Display: No default SoundConcurrencyObject specified (or failed to load). [2024.03.20-20.10.35:639][ 0]LogAudio: Display: Audio Device Manager Initialized [2024.03.20-20.10.35:639][ 0]LogAudio: Display: Creating Audio Device: Id: 1, Scope: Shared, Realtime: True [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Audio Mixer Platform Settings: [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Sample Rate: 48000 [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Callback Buffer Frame Size Requested: 1024 [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Callback Buffer Frame Size To Use: 1024 [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Number of buffers to queue: 2 [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Max Channels (voices): 32 [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Number of Async Source Workers: 0 [2024.03.20-20.10.35:639][ 0]LogAudio: Display: AudioDevice MaxSources: 32 [2024.03.20-20.10.35:639][ 0]LogAudio: Display: Audio Spatialization Plugin: None (built-in). [2024.03.20-20.10.35:639][ 0]LogAudio: Display: Audio Reverb Plugin: None (built-in). [2024.03.20-20.10.35:639][ 0]LogAudio: Display: Audio Occlusion Plugin: None (built-in). [2024.03.20-20.10.35:639][ 0]LogAudioMixer: Display: Initializing audio mixer. [2024.03.20-20.10.35:647][ 0]LogAudioMixerSDL: Display: Initialized SDL using pulseaudio platform API backend. [2024.03.20-20.10.35:707][ 0]LogAudioMixerSDL: Opening default audio device (device index -1) [2024.03.20-20.10.35:710][ 0]LogAudioMixer: Display: Using Audio Device Default Audio Device [2024.03.20-20.10.35:710][ 0]LogAudioMixer: Display: Initializing Sound Submixes... [2024.03.20-20.10.35:713][ 0]LogAudioMixer: Display: Creating Master Submix 'MasterSubmixDefault' [2024.03.20-20.10.35:713][ 0]LogAudioMixer: Display: Creating Master Submix 'MasterReverbSubmixDefault' [2024.03.20-20.10.35:715][ 0]LogAudioMixer: Display: Creating Master Submix 'MasterEQSubmixDefault' [2024.03.20-20.10.35:715][ 0]LogAudioMixer: Display: Output buffers initialized: Frames=1024, Channels=6, Samples=6144 [2024.03.20-20.10.35:715][ 0]LogAudioMixer: Display: Starting AudioMixerPlatformInterface::RunInternal() [2024.03.20-20.10.35:715][ 0]LogInit: FAudioDevice initialized. [2024.03.20-20.10.35:717][ 0]LogNetVersion: Set ProjectVersion to 1.0.0.0. Version Checksum will be recalculated on next use. [2024.03.20-20.10.35:717][ 0]LogInit: Texture streaming: Enabled [2024.03.20-20.10.35:717][ 0]LogHolodeck: Holodeck Game Instance initialized [2024.03.20-20.10.35:718][ 0]LogAudio: Display: Audio Device (ID: 1) registered with world 'Untitled'. [2024.03.20-20.10.35:718][ 0]LogSlate: Updating window title bar state: overlay mode, drag disabled, window buttons hidden, title bar hidden [2024.03.20-20.10.35:719][ 0]LogInit: Display: Game Engine Initialized. [2024.03.20-20.10.35:719][ 0]LogInit: Display: Starting Game. [2024.03.20-20.10.35:720][ 0]LogNet: Browse: /Game/Worlds/Dam?Name=Player [2024.03.20-20.10.35:720][ 0]LogLoad: LoadMap: /Game/Worlds/Dam?Name=Player [2024.03.20-20.10.35:720][ 0]LogWorld: BeginTearingDown for /Temp/Untitled_0 [2024.03.20-20.10.35:735][ 0]LogWorld: UWorld::CleanupWorld for Untitled, bSessionEnded=true, bCleanupResources=true [2024.03.20-20.10.35:735][ 0]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated [2024.03.20-20.10.35:738][ 0]LogAudio: Display: Audio Device unregistered from world 'None'. [2024.03.20-20.10.35:740][ 0]LogUObjectHash: Compacting FUObjectHashTables data took 0.85ms [2024.03.20-20.10.38:511][ 0]LogAudioMixer: Display: Audio Buffer Underrun (starvation) detected. [2024.03.20-20.10.38:566][ 0]LogAudio: Display: Audio Device (ID: 1) registered with world 'Dam'. [2024.03.20-20.10.38:567][ 0]LogAIModule: Creating AISystem for world Dam Ensure condition failed: (ImageCreateInfo.usage & VK_IMAGE_USAGE_SAMPLED_BIT) == 0 [File:/home/ue4/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 427]

[2024.03.20-20.10.38:841][ 0]LogPakFile: Precache HighWater 16MB

[2024.03.20-20.10.38:841][ 0]LogPakFile: Precache HighWater 32MB

[2024.03.20-20.10.38:841][ 0]LogPakFile: Precache HighWater 48MB

[2024.03.20-20.10.38:841][ 0]LogCore: 0x000000000677f2ba Dladdr: 0.371476ms Open: 0.021832ms Search: 0.132831ms [2024.03.20-20.10.38:841][ 0]LogCore: 0x0000000006786ae4 Dladdr: 0.386397ms Open: 0.017613ms Search: 0.135956ms [2024.03.20-20.10.38:841][ 0]LogCore: 0x000000000678691a Dladdr: 0.353056ms Open: 0.013900ms Search: 0.128445ms [2024.03.20-20.10.38:841][ 0]LogHolodeck: HolodeckGameMode initialized [2024.03.20-20.10.39:307][ 0]LogCore: 0x0000000007cf59aa Dladdr: 0.418026ms Open: 0.011878ms Search: 0.180395ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x0000000007ceff8d Dladdr: 0.525121ms Open: 0.020457ms Search: 0.129832ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x0000000006982022 Dladdr: 0.357004ms Open: 0.012395ms Search: 0.143323ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x00000000069b375c Dladdr: 0.387110ms Open: 0.016101ms Search: 0.137912ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x000000000405d8fa Dladdr: 0.352242ms Open: 0.013754ms Search: 0.130209ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x000000000405c44d Dladdr: 0.342342ms Open: 0.011505ms Search: 0.152163ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x000000000694504e Dladdr: 0.801209ms Open: 0.017525ms Search: 0.171990ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x0000000006953141 Dladdr: 0.361843ms Open: 0.016101ms Search: 0.131764ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x00000000041167b6 Dladdr: 0.338943ms Open: 0.012256ms Search: 0.138696ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x00000000040da82b Dladdr: 0.345371ms Open: 0.014093ms Search: 0.118094ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x00007fa165d82608 Dladdr: 0.005265ms Open: 0.008448ms Search: 0.001586ms [2024.03.20-20.10.39:307][ 0]LogCore: 0x00007fa165386352 Dladdr: 0.025481ms Open: 0.006820ms Search: 0.001272ms [2024.03.20-20.10.39:307][ 0]LogStats: FPlatformStackWalk::StackWalkAndDump - 0.008 s [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: === Handled ensure: === [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: Ensure condition failed: (ImageCreateInfo.usage & VK_IMAGE_USAGE_SAMPLED_BIT) == 0 [File:/home/ue4/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanTexture.cpp] [Line: 427] [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: Stack: [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x000000000677f2bb Holodeck!FVulkanSurface::GenerateImageCreateInfo(FVulkanSurface::FImageCreateInfo&, FVulkanDevice&, VkImageViewType, EPixelFormat, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int, ETextureCreateFlags, VkFormat, VkFormat, bool)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x0000000006786ae5 Holodeck!FindOrCalculateTexturePlatformSize(FVulkanDevice, VkImageViewType, unsigned int, unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x000000000678691b Holodeck!FVulkanDynamicRHI::RHICalcTexture2DPlatformSize(unsigned int, unsigned int, unsigned char, unsigned int, unsigned int, ETextureCreateFlags, FRHIResourceCreateInfo const&, unsigned int&)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x0000000007cf59ab Holodeck!FTexture2DResource::CalcRequestedMipsSize()() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x0000000007ceff8e Holodeck!FStreamableTextureResource::InitRHI()() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x0000000006982023 Holodeck!FRenderResource::InitResource()() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x00000000069b375d Holodeck!TGraphTask<TEnqueueUniqueRenderCommandType<BeginInitResource(FRenderResource)::InitCommandName, BeginInitResource(FRenderResource)::$_2> >::ExecuteTask(TArray<FBaseGraphTask, TSizedDefaultAllocator<32> >&, ENamedThreads::Type)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x000000000405d8fb Holodeck!FNamedTaskThread::ProcessTasksNamedThread(int, bool)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x000000000405c44e Holodeck!FNamedTaskThread::ProcessTasksUntilQuit(int)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x000000000694504f Holodeck!RenderingThreadMain(FEvent)() [2024.03.20-20.10.39:307][ 0]LogOutputDevice: Error: [Callstack] 0x0000000006953142 Holodeck!FRenderingThread::Run()() [2024.03.20-20.10.39:308][ 0]LogOutputDevice: Error: [Callstack] 0x00000000041167b7 Holodeck!FRunnableThreadPThread::Run()() [2024.03.20-20.10.39:308][ 0]LogOutputDevice: Error: [Callstack] 0x00000000040da82c Holodeck!FRunnableThreadPThread::_ThreadProc(void)() [2024.03.20-20.10.39:308][ 0]LogOutputDevice: Error: [Callstack] 0x00007fa165d82609 libpthread.so.0!UnknownFunction(0x8608) [2024.03.20-20.10.39:308][ 0]LogOutputDevice: Error: [Callstack] 0x00007fa165386353 libc.so.6!clone(+0x42) [2024.03.20-20.10.39:308][ 0]LogOutputDevice: Error: [2024.03.20-20.10.39:308][ 0]LogStats: SubmitErrorReport - 0.000 s [2024.03.20-20.10.39:308][ 0]LogStats: SendNewReport - 0.018 s [2024.03.20-20.10.39:308][ 0]LogStats: FDebug::EnsureFailed - 0.026 s [2024.03.20-20.10.39:308][ 0]LogLoad: Game class is 'HolodeckGameModeBP_C' [2024.03.20-20.10.39:308][ 0]LogHolodeck: HolodeckGameMode initialized [2024.03.20-20.10.39:426][ 0]LogWorld: Bringing World /Game/Worlds/Dam.Dam up for play (max tick rate 0) at 2024.03.20-21.10.39 [2024.03.20-20.10.39:430][ 0]LogWorld: Bringing up level for play took: 0.108657 [2024.03.20-20.10.39:474][ 0]LogGameMode: FindPlayerStart: PATHS NOT DEFINED or NO PLAYERSTART with positive rating [2024.03.20-20.10.39:474][ 0]LogHolodeck: HolodeckGameMode starting play [2024.03.20-20.10.39:474][ 0]LogHolodeck: Octree:: EnvMin: X=-33200.000 Y=-33200.000 Z=-30000.000 [2024.03.20-20.10.39:474][ 0]LogHolodeck: Octree:: EnvMax: X=33200.000 Y=33200.000 Z=10000.000 [2024.03.20-20.10.39:474][ 0]LogHolodeck: Octree:: OctreeMin: 2.000000, OctreeMax: 512.000000, OctreeRoot: 131072.000000 [2024.03.20-20.10.39:475][ 0]t.MaxFPS = "200" [2024.03.20-20.10.39:475][ 0]LogHolodeck: Initializing HolodeckServer [2024.03.20-20.10.39:475][ 0]LogHolodeck: UUID: 00a14392-9a84-45fc-8c84-ed24c80cb938 [2024.03.20-20.10.39:475][ 0]LogHolodeck: HolodeckServer started successfully [2024.03.20-20.10.39:475][ 0]LogHolodeck: Registering Settings [2024.03.20-20.10.39:475][ 0]LogHolodeck: Mallocing 1 bytes for key RESET [2024.03.20-20.10.39:475][ 0]LogHolodeck: Reset signal registered [2024.03.20-20.10.39:475][ 0]LogHolodeck: CommandCenter::CommandCenter() constructed [2024.03.20-20.10.39:475][ 0]LogHolodeck: CommandCenter:: is getting command buffer [2024.03.20-20.10.39:475][ 0]LogHolodeck: Mallocing 8388608 bytes for key command_buffer [2024.03.20-20.10.39:475][ 0]LogHolodeck: Mallocing 1 bytes for key command_bool [2024.03.20-20.10.39:475][ 0]LogGameMode: Display: Match State Changed from EnteringMap to WaitingToStart [2024.03.20-20.10.39:475][ 0]LogGameState: Match State Changed from EnteringMap to WaitingToStart [2024.03.20-20.10.39:475][ 0]LogGameMode: Display: Match State Changed from WaitingToStart to InProgress [2024.03.20-20.10.39:485][ 0]LogBlueprintUserMessages: [HolodeckGameModeBP_C_2147482567] Warning: No world state actor found in level [2024.03.20-20.10.39:485][ 0]LogGameState: Match State Changed from WaitingToStart to InProgress [2024.03.20-20.10.39:485][ 0]LogLoad: Took 3.765767 seconds to LoadMap(/Game/Worlds/Dam) [2024.03.20-20.10.39:745][ 0]LogSlate: Took 0.000247 seconds to synchronously load lazily loaded font '../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf' (155K) [2024.03.20-20.10.39:746][ 0]LogRHI: Display: ShaderPipelineCache: Paused Batching. 1 [2024.03.20-20.10.39:746][ 0]LogPakFile: AllPaks IndexSizes: DirectoryHashSize=697680, PathHashSize=16, EntriesSize=266240, TotalSize=963936 [2024.03.20-20.10.39:746][ 0]LogRHI: Display: ShaderPipelineCache: Resumed Batching. 0 [2024.03.20-20.10.39:746][ 0]LogRHI: Display: ShaderPipelineCache: Batching Resumed. [2024.03.20-20.10.39:746][ 0]LogInit: Display: Engine is initialized. Leaving FEngineLoop::Init() [2024.03.20-20.10.39:746][ 0]LogLoad: (Engine Initialization) Total time: 5.23 seconds [2024.03.20-20.10.40:366][ 0]LogRenderer: Reallocating scene render targets to support 1280x720 Format 10 NumSamples 1 (Frame:1). [2024.03.20-20.10.41:015][ 0]LogInit: Adding external input plugin. [2024.03.20-20.10.41:016][ 0]LogInit: Adding external input plugin. [2024.03.20-20.10.41:023][ 0]LogContentStreaming: Texture pool size now 1000 MB Assertion failed: bSuccess [File:/home/ue4/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 474]

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

[2024.03.20-20.10.51:007][ 0]LogCore: Assertion failed: bSuccess [File:/home/ue4/UnrealEngine/Engine/Source/Runtime/VulkanRHI/Private/VulkanCommandBuffer.cpp] [Line: 474]

0x0000000004096e4e Holodeck!FGenericPlatformMisc::RaiseException(unsigned int)() 0x000000000425e87b Holodeck!FOutputDevice::LogfImpl(char16_t const, ...)() 0x0000000004206d24 Holodeck!AssertFailedImplV(char const, char const, int, char16_t const, __va_list_tag)() 0x0000000004206bcb Holodeck!FDebug::CheckVerifyFailedImpl(char const, char const, int, char16_t const, ...)() 0x00000000066f1627 Holodeck!FVulkanCommandBufferManager::WaitForCmdBuffer(FVulkanCmdBuffer, float)() 0x000000000674c518 Holodeck!FVulkanDynamicRHI::RHIGetRenderQueryResult(FRHIRenderQuery, unsigned long long&, bool, unsigned int)() 0x000000000691480f Holodeck!MeasureLongGPUTaskExecutionTime(FRHICommandListImmediate&)() 0x000000000323424d Holodeck!TEnqueueUniqueRenderCommandType<FEngineLoop::Tick()::MeasureLongGPUTaskExecutionTimeCmdName, FEngineLoop::Tick()::$_69>::DoTask(ENamedThreads::Type, TRefCountPtr const&)() 0x0000000003234542 Holodeck!TGraphTask<TEnqueueUniqueRenderCommandType<FEngineLoop::Tick()::MeasureLongGPUTaskExecutionTimeCmdName, FEngineLoop::Tick()::$_69> >::ExecuteTask(TArray<FBaseGraphTask, TSizedDefaultAllocator<32> >&, ENamedThreads::Type)() 0x000000000405d8fb Holodeck!FNamedTaskThread::ProcessTasksNamedThread(int, bool)() 0x000000000405c44e Holodeck!FNamedTaskThread::ProcessTasksUntilQuit(int)() 0x000000000694504f Holodeck!RenderingThreadMain(FEvent)() 0x0000000006953142 Holodeck!FRenderingThread::Run()() 0x00000000041167b7 Holodeck!FRunnableThreadPThread::Run()() 0x00000000040da82c Holodeck!FRunnableThreadPThread::_ThreadProc(void*)() 0x00007fa165d82609 libpthread.so.0!UnknownFunction(0x8608) 0x00007fa165386353 libc.so.6!clone(+0x42)

[2024.03.20-20.10.51:019][ 0]LogExit: Executing StaticShutdownAfterError Malloc Size=131160 LargeMemoryPoolOffset=196744 Malloc Size=131160 LargeMemoryPoolOffset=327928 Malloc Size=79712 LargeMemoryPoolOffset=407664 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Traceback (most recent call last): File "prueba.py", line 4, in env = holoocean.make("Dam-HoveringCamera", verbose=True) File "/home/jason/.local/lib/python3.8/site-packages/holoocean/holoocean.py", line 103, in make return HoloOceanEnvironment(**param_dict) File "/home/jason/.local/lib/python3.8/site-packages/holoocean/environments.py", line 193, in init self._client.acquire(self._timeout) File "/home/jason/.local/lib/python3.8/site-packages/holoocean/holooceanclient.py", line 91, in acquire self._get_semaphore_fn(self._semaphore2, timeout) File "/home/jason/.local/lib/python3.8/site-packages/holoocean/holooceanclient.py", line 72, in posix_acquire_semaphore sem.acquire(timeout) posix_ipc.BusyError: Semaphore is busy