adamrehn / ue4-runtime

Container images for running packaged Unreal Engine projects via the NVIDIA Container Toolkit
https://hub.docker.com/r/adamrehn/ue4-runtime
MIT License
82 stars 26 forks source link

Issue using Vulkan for a packaged 4.25 project #10

Closed HeyCodeWill closed 3 years ago

HeyCodeWill commented 3 years ago

I tried to run a packaged project( from UE 4.25.4) in ue4-runtime container. Here are my commands: docker pull adamrehn/ue4-runtime docker run -it -v /home:/dockerhome --gpus all adamrehn/ue4-runtime /bin/bash ./LinuxNoEditor.sh -RenderOffscreen

The errors : [2021.04.19-14.57.38:261][ 0]LogHAL: Warning: Splash screen image not found. [2021.04.19-14.57.38:263][ 0]LogSlate: New Slate User Created. User Index 0, Is Virtual User: 0 [2021.04.19-14.57.38:263][ 0]LogSlate: Slate User Registered. User Index 0, Is Virtual User: 0 [2021.04.19-14.57.38:264][ 0]LogInit: Using SDL_WINDOW_VULKAN [2021.04.19-14.57.38:264][ 0]LogVulkanRHI: Display: - Found instance extension VK_EXT_debug_report [2021.04.19-14.57.38:264][ 0]LogVulkanRHI: Display: - Found instance extension VK_EXT_debug_utils Unable to read VR Path Registry from /home/ue4/.config/openvr/openvrpaths.vrpath [2021.04.19-14.57.38:264][ 0]LogHMD: Failed to initialize OpenVR with code 110 [2021.04.19-14.57.38:264][ 0]LogVulkanRHI: Display: Not using instance layers [2021.04.19-14.57.38:264][ 0]LogVulkanRHI: Display: Not using instance extensions [2021.04.19-14.57.38:265][ 0]LogLinux: Warning: MessageBox: Cannot find a compatible Vulkan driver (ICD).

Please look at the Getting Started guide for additional information.: Incompatible Vulkan driver found!: Cursors are not currently supported: [2021.04.19-14.57.38:265][ 0]LogCore: FUnixPlatformMisc::RequestExit(bForce=true, ReturnCode=1) [2021.04.19-14.57.38:265][ 0]LogCore: FUnixPlatformMisc::RequestExit(1)

How to fix the issue I'm seeing? Thanks a lot.

slonopotamus commented 3 years ago

@CoWillChen According to https://github.com/adamrehn/ue4-docker/issues/185, it seems like you were able to run with -RenderOffscreen on Linux? Maybe you could share the recipe here and close this issue?

HeyCodeWill commented 3 years ago

@CoWillChen According to adamrehn/ue4-docker#185, it seems like you were able to run with -RenderOffscreen on Linux? Maybe you could share the recipe here and close this issue?

Yes, it's working fine now. The problem is due to the incorrect installation of nvidia gpu driver. Thanks.

Krish-newbie commented 2 years ago

@CoWillChen Can you share what is the correct installation of nvidia gpu driver? I have been trying to run UE4 in a Amazon Linux environment and i keep getting vulkan error. I have the latest nvidia driver and also tried with different UE4 engine versions (latest one and also 4.26.0). I keep getting the same error - cannot find a compatible vulkan driver (ICD)