[Ubuntu] Unity Editor doesn't start up properly

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.

7076758–841816–Editor.log.txt (34.3 KB)

According to the editor log Unity is attempting to use your Intel HD 4600 integrated graphics.

INTEL-MESA: warning: Haswell Vulkan support is incomplete
INTEL-MESA: warning: Haswell Vulkan support is incomplete
INTEL-MESA: warning: Haswell Vulkan support is incomplete
[Vulkan init] Physical Device 0x55df2a00d1d0 [0]: "Intel(R) HD Graphics 4600 (HSW GT2)" deviceType=1 vendorID=8086 deviceID=416
[Vulkan init] Physical Device 0x55df2a00d1b0 [1]: "Intel(R) HD Graphics 4600 (HSW GT2)" deviceType=1 vendorID=8086 deviceID=416
[Vulkan init] Physical Device 0x55df2a08fe90 [2]: "Intel(R) HD Graphics 4600 (HSW GT2)" deviceType=1 vendorID=8086 deviceID=416
[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/

1 Like