Search Unity

Question Issues with rendering with Vulkan on a (Linux) Server

Discussion in 'Unity Simulation' started by VivekSagar, Mar 12, 2021.

Thread Status:
Not open for further replies.
  1. VivekSagar

    VivekSagar

    Joined:
    Nov 9, 2016
    Posts:
    8
    Hi there,
    I have a Unity app that I'm using to generate simulations. It uses HDRP. To get the standalone to build, I had to force rendering to Metal on OSX and Vulkan on Linux. The OSX standalone works fine.
    I'm following this tutorial to get this to render on Ubuntu Linux: https://github.com/Unity-Technologies/Unity-Simulation-Docs/blob/master/doc/testing.md
    But when I try to run the Linux standalone on GCP, The app crashes as soon as it starts and just logs this:
    Found path: /path/to/executable
    Digging into Unity's log file, I see this:
    Code (CSharp):
    1. Preloaded 'libjpeg.so'
    2. Preloaded 'libturbojpeg.so'
    3. Display 0 'screen': 640x480 (primary device).
    4. Desktop is 640 x 480 @ 0 Hz
    5. [Vulkan init] extensions: count=10
    6. [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
    7. [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
    8. [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
    9. [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
    10. [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
    11. [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
    12. [Vulkan init] extensions: name=VK_KHR_wayland_surface, enabled=1
    13. [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0
    14. [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1
    15. [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
    16. Vulkan detection: 0
    17. No supported renderers found, exiting
    I tried to add vulkan support for Ubuntu by installing
    mesa-vulkan-drivers, libvulkan1, vulkan-utils, vulkan-tools 
    . I think those are what those
    [Vulkan init]
    s in the logs are.
    Does anyone know what I'm missing here?
     
  2. stevenke_unity

    stevenke_unity

    Joined:
    Nov 13, 2018
    Posts:
    30
    Hello. We understand you have an HDRP project that you want to run with Vulkan on Linux. Please email simulation-help@unity3d.com so we can better understand your use case and options to support it.
     
Thread Status:
Not open for further replies.