evgen2023 Posted February 13 Posted February 13 Log on start: $ ./launch_editor.sh Third-Party Notices: https://developer.unigine.com/docs/2.19/third_party ---- Configs ---- Loading boot config "/home/seakg/develop/unigine-plugins/Sea5kgStoneGenerator_editorplugin.git/data/configs/editor.boot"... Loading user config "/home/seakg/develop/unigine-plugins/Sea5kgStoneGenerator_editorplugin.git/data/configs/default.user"... Using config file "configs/default.config" Using boot config file "configs/editor.boot" Using user config file "configs/default.user" Using controls config file "configs/default.controls" ---- Engine ---- Version: 2.19.0.3 Release Float ver-2.19.1-ef94da6 Dec 26 2024 (2.19.1 SDK) Binary: Linux x86_64 Release Compiler(GCC 8.3.0) Features: Vulkan OpenAL VR OpenVR OpenXR SplashScreen FloatCoords HalfTexCoords Release ---- OS ---- Linux 5.15.0-52-generic x86_64 ---- CPU ---- Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz Extensions: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX HTT Frequency: 3000MHz Cores: 6 Threads : 6 RAM: 31.3GB ---- GPU ---- GPU 0 Active : llvmpipe (LLVM 15.0.7, 256 bits) Memory:32018MB Type:Other Vendor:Unknown CommonHeaps:false Priority:31 LUID:0000000000000000 DeviceID:00000000 Driver:Mesa 23.2.1-1ubuntu3.1~22.04.2 (LLVM 15.0.7) GPU 1 : NVIDIA GeForce GTX 1660 Ti Memory:24014MB Type:Unsupported Vendor:NVidia CommonHeaps:false Priority:32 LUID:0000000000002182 DeviceID:00002182 Driver:470.256.02 GAPI: Vulkan 1.3 ---- Application ---- ---- System Proxy ---- SystemProxy initialization (Time: 0.0ms, Memory: 0B) ---- VR ---- VR initialization (Time: 0.0ms, Memory: 0B) ---- Render ---- Unigine fatal error: VkExt::init(): Failed to initialize GPU Adapter - GPU Adapter doesn't have additional queue family with transfer Shutdown It worked fine before on 2.18.1. But I haven't launched it through Vulkan before (I think). 1. libtinfo5 - installed 2. nvidia-smi $ nvidia-smi Fri Feb 14 00:06:20 2025 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | 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 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A | | 27% 37C P8 15W / 120W | 718MiB / 5944MiB | 3% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | 0 N/A N/A 4804 G /usr/lib/xorg/Xorg 325MiB | | 0 N/A N/A 4972 G /usr/bin/gnome-shell 56MiB | | 0 N/A N/A 6850 G ...1/usr/lib/firefox/firefox 176MiB | | 0 N/A N/A 11236 G .../usr/bin/telegram-desktop 1MiB | | 0 N/A N/A 11640 G ...token=7706943046608385546 127MiB | | 0 N/A N/A 13494 G ...wser2/browser2/SdkBrowser 24MiB | | 0 N/A N/A 21577 G /usr/bin/nvidia-settings 2MiB | +-----------------------------------------------------------------------------+ lshw -C display # lshw -C display *-display описание: VGA compatible controller продукт: TU116 [GeForce GTX 1660 Ti] производитель: NVIDIA Corporation физический ID: 0 сведения о шине: pci@0000:01:00.0 версия: a1 разрядность: 64 bits частота: 33MHz возможности: pm msi pciexpress vga_controller bus_master cap_list rom конфигурация: driver=nvidia latency=0 ресурсы: IRQ:145 память:a3000000-a3ffffff память:90000000-9fffffff память:a0000000-a1ffffff ioport:3000(размер=128) память:c0000-dffff Can you help me please how to start editor / engine on linux (Ubuntu 22.04.5)
silent Posted February 14 Posted February 14 Hello! Try to pass -video_adapter 1 to Editor's start-up parameters. You also can change this parameter inside data/configs/default.boot config. We would need to reproduce this behavior first to understand why engine is choosing iGPU instead of discreate on similar setups. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
evgen2023 Posted February 14 Author Posted February 14 (edited) Thank you for your reply! I m already trying this parameter, but don't help me for editor. Script for launch editor: SCRIPT_DIR=$( cd "$( dirname "$0" )" && pwd ) APP="$SCRIPT_DIR/bin/Editor_x64" export LD_LIBRARY_PATH="$SCRIPT_DIR/bin:$LD_LIBRARY_PATH" if [ -f "$APP" ]; then "$APP" -video_app auto -video_adapter 1 -video_refresh 0 -video_debug 0 -main_window_size 2560 1440 -main_window_resizable 1 -main_window_fullscreen 0 -render_vsync 0 -video_offscreen 0 -sound_app auto -data_path ../data/ -extern_plugin UnigineFbxImporter,UnigineGLTFImporter,UnigineFbxExporter,UnigineUsdExchanger -console_command "config_autosave 1 && world_load \"test\"" else echo "$APP not found" fi Output: $ ./launch_editor.sh Third-Party Notices: https://developer.unigine.com/docs/2.19/third_party ---- Configs ---- Loading boot config "/home/seakg/develop/unigine-plugins/Sea5kgStoneGenerator_editorplugin.git/data/configs/editor.boot"... Loading user config "/home/seakg/develop/unigine-plugins/Sea5kgStoneGenerator_editorplugin.git/data/configs/default.user"... Using config file "configs/default.config" Using boot config file "configs/editor.boot" Using user config file "configs/default.user" Using controls config file "configs/default.controls" ---- Engine ---- Version: 2.19.0.3 Release Float ver-2.19.1-ef94da6 Dec 26 2024 (2.19.1 SDK) Binary: Linux x86_64 Release Compiler(GCC 8.3.0) Features: Vulkan OpenAL VR OpenVR OpenXR SplashScreen FloatCoords HalfTexCoords Release ---- OS ---- Linux 5.15.0-52-generic x86_64 ---- CPU ---- Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz Extensions: MMX SSE SSE2 SSE3 SSSE3 SSE41 SSE42 AVX HTT Frequency: 3000MHz Cores: 6 Threads : 6 RAM: 31.3GB ---- GPU ---- GPU 0 Active : llvmpipe (LLVM 15.0.7, 256 bits) Memory:32018MB Type:Other Vendor:Unknown CommonHeaps:false Priority:31 LUID:0000000000000000 DeviceID:00000000 Driver:Mesa 23.2.1-1ubuntu3.1~22.04.3 (LLVM 15.0.7) GPU 1 : NVIDIA GeForce GTX 1660 Ti Memory:24014MB Type:Unsupported Vendor:NVidia CommonHeaps:false Priority:32 LUID:0000000000002182 DeviceID:00002182 Driver:470.256.02 GAPI: Vulkan 1.3 ---- Application ---- ---- System Proxy ---- SystemProxy initialization (Time: 0.0ms, Memory: 0B) ---- VR ---- VR initialization (Time: 0.2ms, Memory: 0B) ---- Render ---- Unigine fatal error: VkExt::init(): Failed to initialize GPU Adapter - GPU Adapter doesn't have additional queue family with transfer Shutdown Also tried change parameter in - data/configs/default.boot and for editor too - data/configs/editor.boot Nothing to work. More information maybe can helpful $ xrandr --listproviders Providers: number : 1 Provider 0: id: 0x1b7 cap: 0x1, Source Output crtcs: 4 outputs: 5 associated providers: 0 name:NVIDIA-0 $ inxi -Gx Graphics: Device-1: NVIDIA TU116 [GeForce GTX 1660 Ti] vendor: ASUSTeK driver: nvidia v: 470.256.02 bus-ID: 01:00.0 Device-2: Sunplus Innovation SPCA2650 PC Camera type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-2:2 Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution: 2560x1440~60Hz OpenGL: renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 v: 4.6.0 NVIDIA 470.256.02 direct render: Yes Edited February 14 by evgen2023
evgen2023 Posted February 14 Author Posted February 14 (edited) Strange configuration for vulkan ;( DRI_PRIME=1 vulkaninfo --summary $ DRI_PRIME=1 vulkaninfo --summary Can't open bumblebee display. ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: ICD libnv_vulkan_wrapper.so.1 doesn't support interface version compatible with loader, skip this ICD. WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 1. Skipping ICD. ========== VULKANINFO ========== Vulkan Instance Version: 1.3.204 Instance Extensions: count = 20 ------------------------------- VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_EXT_swapchain_colorspace : extension revision 4 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 Instance Layers: count = 5 -------------------------- VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.3.211 version 1 VK_LAYER_NV_optimus NVIDIA Optimus layer 1.2.175 version 1 VK_LAYER_PRIMUS_PrimusVK Primus-vk - https://github.com/felixdoerre/primus_vk 1.2.0 version 1 Devices: ======== GPU0: apiVersion = 4206847 (1.3.255) driverVersion = 1 (0x0001) vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 15.0.7, 256 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 23.2.1-1ubuntu3.1~22.04.3 (LLVM 15.0.7) conformanceVersion = 1.3.1.1 deviceUUID = 6d657361-3233-2e32-2e31-2d3175627500 driverUUID = 6c6c766d-7069-7065-5555-494400000000 Edited February 14 by evgen2023
evgen2023 Posted February 14 Author Posted February 14 So I'm fixed! $ sudo apt remove --purge nvidia-primus-vk-common $ sudo apt remove --purge nvidia-container-tools Reinstalled nvidia drivers to latest. and now: $ vulkaninfo --summary WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 1. Skipping ICD. ========== VULKANINFO ========== Vulkan Instance Version: 1.3.204 Instance Extensions: count = 20 ------------------------------- VK_EXT_acquire_drm_display : extension revision 1 VK_EXT_acquire_xlib_display : extension revision 1 VK_EXT_debug_report : extension revision 10 VK_EXT_debug_utils : extension revision 2 VK_EXT_direct_mode_display : extension revision 1 VK_EXT_display_surface_counter : extension revision 1 VK_EXT_swapchain_colorspace : extension revision 4 VK_KHR_device_group_creation : extension revision 1 VK_KHR_display : extension revision 23 VK_KHR_external_fence_capabilities : extension revision 1 VK_KHR_external_memory_capabilities : extension revision 1 VK_KHR_external_semaphore_capabilities : extension revision 1 VK_KHR_get_display_properties2 : extension revision 1 VK_KHR_get_physical_device_properties2 : extension revision 2 VK_KHR_get_surface_capabilities2 : extension revision 1 VK_KHR_surface : extension revision 25 VK_KHR_surface_protected_capabilities : extension revision 1 VK_KHR_wayland_surface : extension revision 6 VK_KHR_xcb_surface : extension revision 6 VK_KHR_xlib_surface : extension revision 6 Instance Layers: count = 5 -------------------------- VK_LAYER_INTEL_nullhw INTEL NULL HW 1.1.73 version 1 VK_LAYER_KHRONOS_validation Khronos Validation Layer 1.3.204 version 1 VK_LAYER_MESA_device_select Linux device selection layer 1.3.211 version 1 VK_LAYER_MESA_overlay Mesa Overlay layer 1.3.211 version 1 VK_LAYER_NV_optimus NVIDIA Optimus layer 1.4.303 version 1 Devices: ======== GPU0: apiVersion = 4210991 (1.4.303) driverVersion = 2392163264 (0x8e9583c0) vendorID = 0x10de deviceID = 0x2182 deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU deviceName = NVIDIA GeForce GTX 1660 Ti driverID = DRIVER_ID_NVIDIA_PROPRIETARY driverName = NVIDIA driverInfo = 570.86.15 conformanceVersion = 1.4.1.0 deviceUUID = c7a0b493-457d-afd2-03b4-a64a12b6ee61 driverUUID = 32be2e2c-33fb-5de8-bdce-40c9f3eeffee GPU1: apiVersion = 4206847 (1.3.255) driverVersion = 1 (0x0001) vendorID = 0x10005 deviceID = 0x0000 deviceType = PHYSICAL_DEVICE_TYPE_CPU deviceName = llvmpipe (LLVM 15.0.7, 256 bits) driverID = DRIVER_ID_MESA_LLVMPIPE driverName = llvmpipe driverInfo = Mesa 23.2.1-1ubuntu3.1~22.04.3 (LLVM 15.0.7) conformanceVersion = 1.3.1.1 deviceUUID = 6d657361-3233-2e32-2e31-2d3175627500 driverUUID = 6c6c766d-7069-7065-5555-494400000000
Recommended Posts