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 all

I know the support page says Wayland isn't currently supported for HK, so so no surprise that it locks up all the time.

I would prefer to play it under Wayland and not have to switch to X.

So I am wondering, have anyone been able to make it work under Wayland?

/GOGENCRYPTED
avatar
gogencrypted: Hello all

I know the support page says Wayland isn't currently supported for HK, so so no surprise that it locks up all the time.

I would prefer to play it under Wayland and not have to switch to X.

So I am wondering, have anyone been able to make it work under Wayland?

/GOGENCRYPTED
Yes, I was able to do it piecing together various documentation from the web. You can do:

SDL_VIDEODRIVER=wayland SDL_DYNAMIC_API=/usr/lib64/libSDL2-2.0.so ./Hollow\ Knight -force-opengl -force-wayland

from the installation folder and that will run it with Wayland (replace /usr/lib64/libSDL2-2.0.so with your system SDL2)

Still runs stuttery/high CPU on my machine, personally I blame Unity as a game engine (I find it crazy that Unity statically links SDL2, which makes it very confusing/complicated to use an updated version of it, rather than a dylib).

P.S. as you already know, if anything breaks, you get to keep both parts (as it's unsupported).
Post edited March 30, 2025 by setcap

SDL_VIDEODRIVER=wayland SDL_DYNAMIC_API=/usr/lib64/libSDL2-2.0.so ./Hollow\ Knight -force-opengl -force-wayland
Wow, that's pretty brilliant - so you can basically "runtime-patch" a new SDL version into a binary with a statically linked libSDL2?
Thanks for the tip - this will definitely go into my "things to try if a game doesn't work" toolbox!

(I found some nice documentation on this trick here.)
Post edited April 03, 2025 by yetanotherone