Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[Ubuntu] Unity Editor doesn't start up properly

Discussion in 'General Discussion' started by PosthumanMegaBrutal, Apr 26, 2021.

  1. PosthumanMegaBrutal

    PosthumanMegaBrutal

    Joined:
    Apr 25, 2021
    Posts:
    5
    I'm not sure if I'm posting this in the right place – I'm new here. If I should have posted it elsewhere, I'm sorry.
    When I try to start Unity Editor 2021.1.4f1 on Ubuntu 20.04, it shows the splash screen and loads resources, but when the main window appears, it seems to freeze. The window doesn't even render, thus I can only see garbage in it. At the end, I need to kill the process.

    I checked the logfile, "~/.config/unity3d/Editor.log". I don't see many interesting, except maybe this part:
    Should I do something to run the app in a SUID sandbox? Also, the „CreateGLContext failed” is worrysome. Maybe I'm missing essential graphics libraries / support? I have the proprietary NVIDIA drivers installed and most games (even other people's games made in Unity) don't complain. Still it's possible that I have to install some dev package.

    It would be weird if I would be the only one with this problem. If anyone else encountered it, what was the solution for you?

    I attach my entire Editor.log, maybe someone can see what's wrong. I also run strace on the Unity process – it seems the main process hangs on a futex system call. I have logs about that too, but at this point I don't think they are interesting.
     

    Attached Files:

  2. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    20,004
    According to the editor log Unity is attempting to use your Intel HD 4600 integrated graphics.
    Code (csharp):
    1. INTEL-MESA: warning: Haswell Vulkan support is incomplete
    2. INTEL-MESA: warning: Haswell Vulkan support is incomplete
    3. INTEL-MESA: warning: Haswell Vulkan support is incomplete
    4. [Vulkan init] Physical Device 0x55df2a00d1d0 [0]: "Intel(R) HD Graphics 4600 (HSW GT2)" deviceType=1 vendorID=8086 deviceID=416
    5. [Vulkan init] Physical Device 0x55df2a00d1b0 [1]: "Intel(R) HD Graphics 4600 (HSW GT2)" deviceType=1 vendorID=8086 deviceID=416
    6. [Vulkan init] Physical Device 0x55df2a08fe90 [2]: "Intel(R) HD Graphics 4600 (HSW GT2)" deviceType=1 vendorID=8086 deviceID=416
    7. [Vulkan init] Selected physical device 0x55df2a00d1d0
    I recommend creating a thread in the official section and asking if anyone knows how to force Unity to use your dedicated GPU.

    https://forum.unity.com/forums/linux-editor.93/
     
    Last edited: Apr 26, 2021
    Joe-Censored likes this.