Search Issue Tracker

Fixed

Fixed in 6000.0.10f1, 7000.0.0a1

Votes

8

Found in

2022.3.24f1

2023.2.18f1

6000.0.0b14

7000.0.0a1

Issue ID

UUM-69339

Regression

No

[Linux][Nvidia][Vulkan] Silent crash when opening windows on a Vulkan project with nvidia 550 drivers

--

-

Reproduction steps:
1. Create a new 3D project
2. Click Edit > Project Settings… > Player > Other Settings
3. In the Project Settings window, deselect “Auto Graphics API for Linux”
4. Move Vulkan to the top
5. Restart Editor
6. After the Editor restarts, exit it
7. Open the created project again
8. Click Window > Package Manager
9. Repeat from 7th step, if the Editor did not silently crash

Expected results: Package Manager window is opened
Actual results: Unity Editor silently crashes

Reproduced with: 2022.1.0a, 2022.3.24f1, 2023.2.18f1, 6000.0.0b14
Not reproduced with: 2021.3.38f1

Reproduced on: Ubuntu 23.10 (NVIDIA GeForce GTX 1650 Ti, 550.54.14)
Not reproduced on: Ubuntu 22.04 (AMD Radeon RX 6800 XT), Ubuntu 23.10 (Intel(R) UHD Graphics (CML GT2)), Ubuntu 23.10 (NVIDIA GeForce GTX 1650 Ti, 545.29.06)

First lines of the native stack trace:
0x7d92d091530a - /home/xxx/Unity/Hub/Editor/6000.0.0b14/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7d92d08bde3e - /home/xxx/Unity/Hub/Editor/6000.0.0b14/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7d92d08433c0 - /home/xxx/Unity/Hub/Editor/6000.0.0b14/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.so :
0x7d954c242990 - /lib/x86_64-linux-gnu/libc.so.6 :
0x7d9547fa94dc - /lib/x86_64-linux-gnu/libnvidia-glcore.so.550.54.14 :
0x7d9547f12755 - /lib/x86_64-linux-gnu/libnvidia-glcore.so.550.54.14 :

 

Notes:
* Reproduces only when using nvidia 550 drivers together with Vulkan
* No stack trace is usable from the logs

  1. Resolution Note (fix version 6000.0.10f1):

    Fixed in relation to another bug. Fixed an issue where the 550.54 drivers could lose a swapchain surface immediately after creating it and cause a possible deletion of still in use VKImages.

Comments (3)

  1. Hutao_zyf

    Jul 14, 2024 11:22

    This log appears to be helpful for troubleshooting

    13
    12 Thread 87 (Thread 0x781defe006c0 (LWP 281174) "UnityGfxDeviceW"):
    11 #0 0x0000781eb1a27963 in wait4 () from /usr/lib/libc.so.6
    10 #1 0x0000781da211573f in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    9 #2 0x0000781da226145a in monoeg_assertion_message () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRunt
    8 #3 0x0000781da2256948 in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    7 #4 0x0000781da2257e20 in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    6 #5 0x0000781da220444a in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    5 #6 0x0000781da2115695 in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    4 #7 0x0000781da20bdf7d in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    3 #8 0x0000781da20432e0 in ?? () from /opt/UnityEditor/2021.3.38f1/Editor/Data/MonoBleedingEdge/MonoEmbedRuntime/libmonobdwgc-2.0.s
    2 #9 0x00005fcc49f0e49c in burst_signal_handler(int, siginfo_t*, void*) ()
    1 #10 <signal handler called>
    1164 #11 0x0000781e0eba5cd7 in ?? () from /usr/lib/libnvidia-glcore.so.555.58.02
    1 #12 0x0000781e0eb18bd5 in ?? () from /usr/lib/libnvidia-glcore.so.555.58.02
    2 #13 0x00005fcc4a51d295 in vk::TaskExecutor::HandleCommandStream(GrowableBuffer*, VkCommandBuffer_T*) ()
    3 #14 0x00005fcc4a51d103 in vk::TaskExecutor::ExecuteCommandbuffers(vk::CommandBuffer**, int) ()
    4 #15 0x00005fcc4a51b167 in vk::TaskExecutor::DoFlush(VkFence_T*, VkSemaphore_T*, unsigned long, bool) ()
    5 #16 0x00005fcc4a56e062 in GfxDeviceVK::SubmitCurrentCommandBuffers(VkSemaphore_T*, bool) ()
    6 #17 0x00005fcc4a56f657 in GfxDeviceVK::PresentImage(bool) ()
    7 #18 0x00005fcc4a52fa0b in VKWindow::EndRendering(bool) ()
    8 #19 0x00005fcc4bd3a70f in GfxDeviceWorker::RunCommand(ThreadedStreamBuffer&) ()
    9 #20 0x00005fcc4bd433ef in GfxDeviceWorker::RunExt(ThreadedStreamBuffer&) ()
    10 #21 0x00005fcc4bd43377 in GfxDeviceWorker::Run() ()
    11 #22 0x00005fcc4bd380b6 in GfxDeviceWorker::RunGfxDeviceWorker(void*) ()
    12 #23 0x00005fcc4a157127 in Thread::RunThreadWrapper(void*) ()
    13 #24 0x0000781eb19bbded in ?? () from /usr/lib/libc.so.6

    29 Thread 2 (Thread 0x781bf4c006c0 (LWP 283569) "PreviewLoader"):
    28 #0 0x0000781eb1a3ce9d in syscall () from /usr/lib/libc.so.6
    27 #1 0x00005fcc4c37f71e in UnityClassic::Baselib_SystemFutex_Wait(int*, int, unsigned int) ()
    26 #2 0x00005fcc49bbc73e in Semaphore::WaitForSignal(int) ()
    25 #3 0x00005fcc4b836426 in PreviewTextureManager::LoadingLoop(void*) ()
    24 #4 0x00005fcc4a157127 in Thread::RunThreadWrapper(void*) ()
    23 #5 0x0000781eb19bbded in ?? () from /usr/lib/libc.so.6
    22 #6 0x0000781eb1a3f0dc in ?? () from /usr/lib/libc.so.6
    21
    20 Thread 1 (Thread 0x781eae9b7280 (LWP 280984) "Unity"):
    19 #0 0x0000781eb1a3ce9d in syscall () from /usr/lib/libc.so.6
    18 #1 0x00005fcc4c37f71e in UnityClassic::Baselib_SystemFutex_Wait(int*, int, unsigned int) ()
    17 #2 0x00005fcc49bbc73e in Semaphore::WaitForSignal(int) ()
    16 #3 0x00005fcc4a4a1a14 in GfxDeviceClient::WaitForPendingPresent() ()
    15 #4 0x00005fcc4a4ab5be in GfxDeviceClient::BeginRendering(ClientDeviceWindow*) ()
    14 #5 0x00005fcc4a4b3a21 in ThreadedWindow::BeginRendering() ()
    13 #6 0x00005fcc4b4fb7fc in GUIView::DoPaint() ()
    12 #7 0x00005fcc4b4fddad in GUIView::RepaintAll(bool) ()
    11 #8 0x00005fcc4af77b4c in PlayerLoopController::UpdateScene(bool) ()
    10 #9 0x00005fcc4af6fda4 in PlayerLoopController::UpdateSceneIfNeeded() ()
    9 #10 0x00005fcc4af6d364 in Application::TickTimer() ()
    8 #11 0x00005fcc4b52288e in MainMessageIteration(void*) ()
    7 #12 0x0000781eb5741ab9 in ?? () from /usr/lib/libglib-2.0.so.0
    6 #13 0x0000781eb57a39e7 in ?? () from /usr/lib/libglib-2.0.so.0
    5 #14 0x0000781eb57427b7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
    4 #15 0x0000781eae3e390f in gtk_main () from /usr/lib/libgtk-3.so.0
    3 #16 0x00005fcc4b521c21 in main ()
    2 [Inferior 1 (process 280984) detached]
    1
    2128 Exiting early due to double fault.

  2. sloganfett

    Jun 22, 2024 22:25

    Can reporduce with debian sid on kernel 6.8.12-amd64 with nvidia 555.42.02

  3. patrickalima98

    Jun 19, 2024 15:38

    I'm using the Pop_OS 22.04, 550.90.07. The `-force-vulkan-layers` flag doesn't seem to do anything for me too, But I can use with -force-glcore. The HIGH Definition don't work with OpenGL.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.