It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hello, recently tried to play Hollow Knight again, but the game just won't start

I did some debugging and it sends a segmentation fault, going further into the error it appears to be related with libvulkan, the error says the next

Thread 1 "Hollow Knight" received signal SIGSEGV, Segmentation fault.
0x00007fff3c211333 in vkGetPhysicalDeviceQueueFamilyProperties ()
from /usr/lib/x86_64-linux-gnu/libvulkan.so.1

I tried to look for a solution but I didn't found any

I'm running an ubuntu based os (18.04) with nvidia-driver 390
The current kernel I'm using is 5.0.0-37
No posts in this topic were marked as the solution yet. If you can help, add your reply
Hi, sorry for the late reply.

Im no expert Linux myself (Started using it recently), but it seems to me that Hollow Knight isn't recognizing your GPU driver (or your GPU at all), by this line:

"vkGetPhysicalDeviceQueueFamilyProperties ()"

Try reinstalling the game, reinstalling necessary libraries or/and reinstalling GPU drivers.

Remember to always backup your system before making changes like this (specially reinstalling a driver), but I assume you do this already because it's a common practice for Linux users.

Hope it helps, or someone with better knowledge shows up to help you. Good luck!
OP, what is your GPU model? If it's old, it might have no Vulkan support at all. In this case you could try using OpenGL as a workaround.

Assuming the default installation path: "~/GOG\ Games/Hollow\ Knight/game/Hollow\ Knight -force-opengl".

See also https://steamcommunity.com/app/367520/discussions/0/154642447927846483/
Post edited October 23, 2021 by YeOlde
I know this post is old, but I did just figure out how to force OpenGL on this game.

1. Don't use the start.sh script to start the game; instead, use the 'Hollow Knight' executable from the game directory.
2. Add the option -force-opengl to the command line.

Once you've done this, the game will use OpenGL, even if Vulkan happens to be available on the system; this should solve any issues that result from broken Vulkan support.
avatar
dtgreene: I know this post is old, but I did just figure out how to force OpenGL on this game.

1. Don't use the start.sh script to start the game; instead, use the 'Hollow Knight' executable from the game directory.
2. Add the option -force-opengl to the command line.

Once you've done this, the game will use OpenGL, even if Vulkan happens to be available on the system; this should solve any issues that result from broken Vulkan support.
How do I do that? Use the 'Hollow Knight' executable from the game directory.
I had the same problem (old graphics card without vulkan support)
If you installed the game in the default directory, you can start the game from a terminal like this:
~/GOG\ Games/Hollow\ Knight/game/Hollow\ Knight --args -force-opengl

Alternatively you can modify the start.sh script. In the run_game() function replace the ./"Hollow Knight" line with this:
./"Hollow Knight" --args -force-opengl

Thanks to YeOlde for pointing me in a direction (-force-opengl), and to that one person on reddit who had a completely unrelated problem with Hollow Knight on a Mac 2 years ago and decided to post about it (--args).
Post edited June 04, 2022 by styape
avatar
styape: I had the same problem (old graphics card without vulkan support)
If you installed the game in the default directory, you can start the game from a terminal like this:
~/GOG\ Games/Hollow\ Knight/game/Hollow\ Knight --args -force-opengl.

Alternatively you can modify the start.sh script. In the run_game() function replace the ./"Hollow Knight" line with this:
./"Hollow Knight" --args -force-opengl

Thanks to YeOlde for pointing me in a direction (-force-opengl), and to that one person on reddit who had a completely unrelated problem with Hollow Knight on a Mac 2 years ago and decided to post about it (--args).
That was a life saver, thank you so much S2
In my case, I only had to remove the --args, and the terminal launch still doesn't work for some reason. But the game is loading just fine. For those running Linux Mint (mine is 20.3 Una):

1 Find the file start.sh in your Hollow Knight folder,
2 Replace the ./"Hollow Knight" line with ./"Hollow Knight" -force-opengl
3 Play happily ever after
Post edited June 04, 2022 by Naira_Cirino
avatar
Naira_Cirino: For those running Linux Mint (mine is 20.3 Una):

1 Find the file start.sh in your Hollow Knight folder,
2 Replace the ./"Hollow Knight" line with ./"Hollow Knight" -force-opengl
3 Play happily ever after
I would expect this to work on other distributions as well (assuming the problem is, indeed, that the Vulkan implementation is broken or nonexistent, and that OpenGL works on the device in question).
avatar
dtgreene: I know this post is old, but I did just figure out how to force OpenGL on this game.

1. Don't use the start.sh script to start the game; instead, use the 'Hollow Knight' executable from the game directory.
2. Add the option -force-opengl to the command line.

Once you've done this, the game will use OpenGL, even if Vulkan happens to be available on the system; this should solve any issues that result from broken Vulkan support.
This solved it for me. Thank you so much!
I'm on Nobara and the game kept getting stuck on the title screen.