Ih execute ./simulator in the shell, then the only output is:
Set current directory to /home/qingya/Desktop/lgsvlsimulator-linux64-2020.05
Found path: /home/qingya/Desktop/lgsvlsimulator-linux64-2020.05/simulator
If double click simulator, a window pop up and suddenly closed. I don't have a Nvidia GPU on my machine, is that cause this issue?
libvulkan1 was installed.
And how can I open the simulator? Thanks!
Do you any other GPU in your machine? Also it will help if you can attach the simulator player log. You can find the location of the log in the faq of the lgsvl website.
@VentiOvaltine Yes, we will need more information to debug this issue. It seems that it is a config or hardware issue for a sudden crash on start.
Do you any other GPU in your machine? Also it will help if you can attach the simulator player log. You can find the location of the log in the faq of the lgsvl website.
I was working with @VentiOvaltine , and we were in a virtual machine (VMware player) where AMD GPU driver was not installed. The AMD GPU is RX 5700.
Yes, you will need a GPU driver installed. We have a few other issues from other users using VM's.
Yes, you will need a GPU driver installed. We have a few other issues from other users using VM's.
Thank you, so the recommendation would be using Ubuntu on a real machine, right?
Yes, it is much easier. Even better to run simulator on Windows and Ubuntu on another machine for AD stack. That is ideal for best performance
I am having the same issue here, difference is i'm not using a virtual machine.
System: Ubuntu 18.04.4 LTS
Memory: 15,5 GiB
Processor: Intel® Core™ i7-4790 CPU @ 3.60GHz × 8
Graphics: GeForce GTX 1070 Ti/PCIe/SSE2
Followed each steps on https://www.lgsvlsimulator.com/docs/getting-started/#getting-started. Double clicking the executable or execute ./simulator from terminal does not work. A window pop up for a second then suddenly closed. And libvulkan1 is already installed.
nvidia-smi output:
> +-----------------------------------------------------------------------------+
> | NVIDIA-SMI 450.57 Driver Version: 450.57 CUDA Version: 11.0 |
> |-------------------------------+----------------------+----------------------+
> | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
> | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
> | | | MIG M. |
> |===============================+======================+======================|
> | 0 GeForce GTX 107... Off | 00000000:01:00.0 On | N/A |
> | 0% 53C P8 9W / 180W | 441MiB / 8118MiB | 0% Default |
> | | | N/A |
> +-------------------------------+----------------------+----------------------+
>
> +-----------------------------------------------------------------------------+
> | Processes: |
> | GPU GI CI PID Type Process name GPU Memory |
> | ID ID Usage |
> |=============================================================================|
> | 0 N/A N/A 1543 G /usr/lib/xorg/Xorg 26MiB |
> | 0 N/A N/A 1605 G /usr/bin/gnome-shell 55MiB |
> | 0 N/A N/A 1803 G /usr/lib/xorg/Xorg 200MiB |
> | 0 N/A N/A 1935 G /usr/bin/gnome-shell 137MiB |
> | 0 N/A N/A 2604 G /usr/lib/firefox/firefox 5MiB |
> | 0 N/A N/A 3377 G /usr/lib/firefox/firefox 5MiB |
> | 0 N/A N/A 12882 G gnome-control-center 5MiB |
> +-----------------------------------------------------------------------------+
Any help is much appreciated. Thanks!
Followed each steps on https://www.lgsvlsimulator.com/docs/getting-started/#getting-started. Double clicking the executable or execute
./simulatorfrom terminal does not work. A window pop up for a second then suddenly closed. Andlibvulkan1is already installed.
@bobbyhaliwela Could you take a look at (or post here) the Player.log file from ~/.config/unity3d/LG Silicon Valley Lab/LGSVL Simulator/Player.log as there may be some clues in that log file.
Followed each steps on https://www.lgsvlsimulator.com/docs/getting-started/#getting-started. Double clicking the executable or execute
./simulatorfrom terminal does not work. A window pop up for a second then suddenly closed. Andlibvulkan1is already installed.@bobbyhaliwela Could you take a look at (or post here) the Player.log file from
~/.config/unity3d/LG Silicon Valley Lab/LGSVL Simulator/Player.logas there may be some clues in that log file.
My mistake before. Here's the output:
> Mono path[0] = '/home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/Managed'
> Mono config path = '/home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/MonoBleedingEdge/etc'
> Preloaded 'liblaszip.so'
> Preloaded 'libpng.so'
> Preloaded 'libsqlite3.so'
> Preloaded 'libturbojpeg.so'
> Display 0 'DELL S2415H 24"': 1920x1080 (primary device).
> Display 1 'DELL S2415H 24"': 1920x1080 (secondary device).
> Loading player data from /home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/data.unity3d
> Desktop is 1920 x 1080 @ 60 Hz
> [Vulkan init] extensions: count=18
> [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
> [Vulkan init] extensions: name=VK_KHR_display, enabled=1
> [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_display_properties2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
> [Vulkan init] extensions: name=VK_KHR_surface_protected_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0
> [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1
> [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0
> [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
> [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
> [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0
> [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0
> [Vulkan init] extensions: name=VK_KHR_wayland_surface, enabled=1
> INTEL-MESA: warning: Haswell Vulkan support is incomplete
> Vulkan detection: 2
> Initialize engine version: 2019.3.3f1 (7ceaae5f7503)
> [Subsystems] Discovering subsystems at path /home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/UnitySubsystems
> GfxDevice: creating device client; threaded=1
> [Vulkan init] extensions: count=18
> [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
> [Vulkan init] extensions: name=VK_KHR_display, enabled=1
> [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_display_properties2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
> [Vulkan init] extensions: name=VK_KHR_surface_protected_capabilities, enabled=0
> [Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0
> [Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1
> [Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0
> [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
> [Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
> [Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0
> [Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0
> [Vulkan init] extensions: name=VK_KHR_wayland_surface, enabled=1
> INTEL-MESA: warning: Haswell Vulkan support is incomplete
> [Vulkan init] extensions: count=65
> [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_create_renderpass2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1
> [Vulkan init] extensions: name=VK_KHR_depth_stencil_resolve, enabled=0
> [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=1
> [Vulkan init] extensions: name=VK_KHR_device_group, enabled=0
> [Vulkan init] extensions: name=VK_KHR_draw_indirect_count, enabled=0
> [Vulkan init] extensions: name=VK_KHR_driver_properties, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0
> [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0
> [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1
> [Vulkan init] extensions: name=VK_KHR_image_format_list, enabled=1
> [Vulkan init] extensions: name=VK_KHR_imageless_framebuffer, enabled=0
> [Vulkan init] extensions: name=VK_KHR_incremental_present, enabled=0
> [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1
> [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=0
> [Vulkan init] extensions: name=VK_KHR_maintenance3, enabled=0
> [Vulkan init] extensions: name=VK_KHR_multiview, enabled=1
> [Vulkan init] extensions: name=VK_KHR_pipeline_executable_properties, enabled=0
> [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0
> [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0
> [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1
> [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0
> [Vulkan init] extensions: name=VK_KHR_separate_depth_stencil_layouts, enabled=0
> [Vulkan init] extensions: name=VK_KHR_shader_clock, enabled=0
> [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0
> [Vulkan init] extensions: name=VK_KHR_spirv_1_4, enabled=0
> [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0
> [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1
> [Vulkan init] extensions: name=VK_KHR_swapchain_mutable_format, enabled=0
> [Vulkan init] extensions: name=VK_KHR_timeline_semaphore, enabled=0
> [Vulkan init] extensions: name=VK_KHR_uniform_buffer_standard_layout, enabled=0
> [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0
> [Vulkan init] extensions: name=VK_KHR_vulkan_memory_model, enabled=0
> [Vulkan init] extensions: name=VK_EXT_calibrated_timestamps, enabled=0
> [Vulkan init] extensions: name=VK_EXT_conditional_rendering, enabled=0
> [Vulkan init] extensions: name=VK_EXT_depth_clip_enable, enabled=0
> [Vulkan init] extensions: name=VK_EXT_display_control, enabled=0
> [Vulkan init] extensions: name=VK_EXT_external_memory_dma_buf, enabled=0
> [Vulkan init] extensions: name=VK_EXT_external_memory_host, enabled=0
> [Vulkan init] extensions: name=VK_EXT_host_query_reset, enabled=0
> [Vulkan init] extensions: name=VK_EXT_index_type_uint8, enabled=0
> [Vulkan init] extensions: name=VK_EXT_inline_uniform_block, enabled=0
> [Vulkan init] extensions: name=VK_EXT_line_rasterization, enabled=0
> [Vulkan init] extensions: name=VK_EXT_memory_budget, enabled=0
> [Vulkan init] extensions: name=VK_EXT_pci_bus_info, enabled=0
> [Vulkan init] extensions: name=VK_EXT_pipeline_creation_feedback, enabled=0
> [Vulkan init] extensions: name=VK_EXT_scalar_block_layout, enabled=0
> [Vulkan init] extensions: name=VK_EXT_separate_stencil_usage, enabled=0
> [Vulkan init] extensions: name=VK_EXT_shader_demote_to_helper_invocation, enabled=0
> [Vulkan init] extensions: name=VK_EXT_shader_subgroup_ballot, enabled=0
> [Vulkan init] extensions: name=VK_EXT_shader_subgroup_vote, enabled=0
> [Vulkan init] extensions: name=VK_EXT_shader_viewport_index_layer, enabled=0
> [Vulkan init] extensions: name=VK_EXT_subgroup_size_control, enabled=0
> [Vulkan init] extensions: name=VK_EXT_texel_buffer_alignment, enabled=0
> [Vulkan init] extensions: name=VK_EXT_vertex_attribute_divisor, enabled=0
> [Vulkan init] extensions: name=VK_EXT_ycbcr_image_arrays, enabled=0
> [Vulkan init] extensions: name=VK_GOOGLE_decorate_string, enabled=0
> [Vulkan init] extensions: name=VK_GOOGLE_hlsl_functionality1, enabled=0
> [Vulkan init] extensions: name=VK_GOOGLE_user_type, enabled=0
> [Vulkan init] extensions: name=VK_NV_compute_shader_derivatives, enabled=0
> Vulkan API version 1.1.0 (1.2.131 supported by driver)
> Vulkan vendor=[Intel] id=[8086]
> Vulkan renderer=[Intel(R) HD Graphics 4600 (HSW GT2)] id=[412]
> Vulkan device type 1
> Vulkan driverversion=[0x05000008] uint=[83886088]
> Vulkan PSO: cache data not found [path=/tmp/LG Silicon Valley Lab/LGSVL Simulator/vulkan_pso_cache.bin]
> Begin MonoManager ReloadAssembly
> - Completed reload, in 0.052 seconds
> WARNING: Shader Unsupported: 'HDRP/Lit' - All passes removed
> WARNING: Shader Did you use #pragma only_renderers and omit this platform?
> requesting resize 1024 x 768
> resizing window to 1024 x 768
> Desktop is 1920 x 1080 @ 60 Hz
> InitializeOrResetSwapChain 1024x768 hdr=0 samples=1
> WARNING: Shader Unsupported: 'Shader Graphs/CloudGenerator' - All passes removed
> WARNING: Shader Did you use #pragma only_renderers and omit this platform?
> WARNING: Shader Unsupported: 'Shader Graphs/VehicleLightsShader' - All passes removed
> WARNING: Shader Did you use #pragma only_renderers and omit this platform?
> UnloadTime: 0.569864 ms
> WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
> WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
> WARNING: Shader Unsupported: 'Hidden/PostProcessing/FinalPass' - Pass '' has no vertex shader
> WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
> WARNING: Shader Unsupported: 'Hidden/PostProcessing/Uber' - Pass '' has no vertex shader
> found manifest at Controllables/controllable_ChargingStation/manifest
> (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
>
> Fallback handler could not load library /home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/Mono/data-0x2dd22a0.so
> WARNING: Shader Unsupported: 'HDRP/Lit' - All passes removed
> WARNING: Shader Did you use #pragma only_renderers and omit this platform?
> found manifest at Controllables/controllable_TrafficCone/manifest
> (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
>
> Fallback handler could not load library /home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/Mono/data-0x2df00c0.so
> WARNING: Shader Unsupported: 'HDRP/Lit' - All passes removed
> WARNING: Shader Did you use #pragma only_renderers and omit this platform?
> found manifest at Sensors/sensor_CheckControlSensor/manifest
> (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
>
> Fallback handler could not load library /home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/Mono/data-0x2d7ea40.so
> found manifest at Sensors/sensor_VelodyneLidarSensor/manifest
> (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
>
> Fallback handler could not load library /home/bob/lgsvlsimulator-linux64-2020.05/simulator_Data/Mono/data-0x2d857e0.so
> loaded 3 NPCs behaviours and 6 NPC models in 00:00:00.1389268
> (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
>
> X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
> Major opcode of failed request: 149 ()
> Minor opcode of failed request: 4
> Resource id in failed request: 0x260000f
> Serial number of failed request: 271
> Current serial number in output stream: 277
>
You can see in the player.log that your graphic card is not enabled. The simulator can only see Intel graphics INTEL-MESA: warning: Haswell Vulkan support is incomplete.
Using at this part we get the GPU name. Something like this.
Vulkan API version 1.1.0 (1.1.119 supported by driver)
Vulkan vendor=[NVIDIA] id=[10de]
Vulkan renderer=[GeForce RTX 2080 Ti] id=[1e07]
Vulkan device type 2
Vulkan driverversion=[0x6e190000] uint=[1847132160]
Vulkan PSO: cache data not found [path=/tmp/LG Silicon Valley Lab/LGSVL Simulator/vulkan_pso_cache.bin]
But you got this
Vulkan API version 1.1.0 (1.2.131 supported by driver)
> Vulkan vendor=[Intel] id=[8086]
> Vulkan renderer=[Intel(R) HD Graphics 4600 (HSW GT2)] id=[412]
> Vulkan device type 1
> Vulkan driverversion=[0x05000008] uint=[83886088]
> Vulkan PSO: cache data not found [path=/tmp/LG Silicon Valley Lab/LGSVL Simulator/vulkan_pso_cache.bin]
One more thing you can try is having nvidia-smi open while you open the simulator. Check if the memory spikes or even recognised.
@bobbyhaliwela Yes, @dr563105 is correct. You must use a vulkan supported GPU, Intel graphics will not work. Be sure to search Issues for help on making sure vulkan is installed correctly.
From https://github.com/lgsvl/simulator/issues/287#issuecomment-613210044:
In particular, if you see "mesa" or "Intel" mentioned in Vulkan vendor or renderer lines rather than NVIDIA, then you might have "mesa-vulkan-drivers" installed. If so, then you can remove these with
sudo apt remove mesa-vulkan-drivers.... Type
vulkaninfoto verify that libvulkan is working, and then see ifvkcubedisplays a window with a spinning 3D cube.
Then try nvidia-smi again to confirm the nvidia drivers are still installed and recognizing your Nvidia 1070 GPU, and finally try the simulator again.
From #287 (comment):
In particular, if you see "mesa" or "Intel" mentioned in Vulkan vendor or renderer lines rather than NVIDIA, then you might have "mesa-vulkan-drivers" installed. If so, then you can remove these with
sudo apt remove mesa-vulkan-drivers.... Type
vulkaninfoto verify that libvulkan is working, and then see ifvkcubedisplays a window with a spinning 3D cube.Then try
nvidia-smiagain to confirm the nvidia drivers are still installed and recognizing your Nvidia 1070 GPU, and finally try the simulator again.
This solved the issue. Thanks!
Most helpful comment
Yes, it is much easier. Even better to run simulator on Windows and Ubuntu on another machine for AD stack. That is ideal for best performance