It looks like Vulkan API vkGetPhysicalDeviceSurfaceFormatsKHR returns invalid amount of presentable surface formats. I suspect itās old video driver. Could you run Debug build of Flax Editor and attach log file? Also, updating GPU driver to NVIDIA Proprietary might help (eg. version 520).
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1342 G /usr/lib/xorg/Xorg 467MiB |
| 0 N/A N/A 3468 G xfwm4 1MiB |
| 0 N/A N/A 6322 G ā¦777929671656322754,131072 197MiB |
| 0 N/A N/A 92089 G /usr/bin/evolution 1MiB |
| 0 N/A N/A 110883 C+G ./FlaxEditor 274MiB |
±----------------------------------------------------------------------------+
lspci yields:
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
The editor is not really the problem, it works well. Problem arises when i try to execute a FlaxGame binary created from the editor with Game Cooker.
I built FlaxGame in Debug mode from a Debug executable of the editor, but i cant see a log file from FlaxGame and there is no output on the console. Same when i execute the BasicTemplate next to it.
So it chose the intel gpu in my laptop. That is interesting, because i set to always use the nvidia gpu via prime command line and also in the āNvidia X Server Settingsā.
Running it with the ā-nvidiaā flag like so: ā./BasicTemplate -nvidiaā instantly solved the problem and it started without any problems.