Hollow Knight

Hollow Knight

View Stats:
pogodemon Jul 17, 2021 @ 12:53am
How to select Vulkan API on Linux
I know the 1.5 versions of the game defaults to Vulkan, but for some reason my game runs on OpenGL (verified via Mangohud). I tried -force-vulkan launch option but it didn't work. I only want to switch to Vulkan as I am getting weird artifacts on OpenGL.
< >
Showing 1-5 of 5 comments
The launch option for forcing vulkan is indeed
-force-vulkan
.https://docs.unity3d.com/Manual/CommandLineArguments.html

If it isn't working, does your GPU support Vulkan and you have the drivers for it? Unity engine may default to OpenGL if Vulkan is not detected as supported.

I would check, if the GPU that the game is using is your dedicated GPU. Maybe the integrated one is being used somehow instead?
Last edited by 🉑 rezno[R].technology; Jul 17, 2021 @ 1:16am
pogodemon Jul 17, 2021 @ 1:24am 
Originally posted by 🉑 reznoR.technology:
The launch option for forcing vulkan is indeed
-force-vulkan
.https://docs.unity3d.com/Manual/CommandLineArguments.html

If it isn't working, does your GPU support Vulkan and you have the drivers for it? Unity engine may default to OpenGL if Vulkan is not detected as supported.

I would check, if the GPU that the game is using is your dedicated GPU. Maybe the integrated one is being used somehow instead?

I feel very stupid now. Only reason "-force-vulkan" wasn't working was because there was "mangohud %command%" before it. I enabled Mangohud globally and left "-force-vulkan" as the only launch option and it now works properly.

Anyway, I hope someone in the future stumbles upon this thread when they have such problem.
Thanks, nice to know! I think like if you leave -force-vulkan as the first option and mangohud %command% as the second option (after it) it may work as well, but I'm not 100% sure.
pogodemon Jul 17, 2021 @ 2:13am 
Originally posted by 🉑 reznoR.technology:
Thanks, nice to know! I think like if you leave -force-vulkan as the first option and mangohud %command% as the second option (after it) it may work as well, but I'm not 100% sure.
I tried that before, but the game wouldn't launch at all.
Okay, thanks, nice to know as well!
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jul 17, 2021 @ 12:53am
Posts: 5