protonscr

Portal Knights

protonopen appid 374040Game compatibility - UnofficialXAudio2
ValveSoftware/Proton#1009 · opened 2018-08-30 by bakcxoj · updated 2021-12-23 · 16 comments · github · game page · search this game
Bbakcxoj 2018-08-30 github

The game seems to run without issue, except for the lack of sound.
System info: https://gist.github.com/BrandonDyer64/04f08190808e2ebd5839f418c6260ba5

Nnapejuice 2018-08-31 github

Flawless! I almost thought it was a native Linux app! But as OP states, no audio, for me either. Here is my log!
steam-374040.tar.gz

?ghost 2018-09-01 github

https://gist.github.com/daasuharo/236148034fd15bd354eda262212ea607
Proton 3.7-5
Concur with @BrosephJ and @BrandonDyer64 except Ubuntu's sidebar pushes game window a little offscreen to the right.
DS4 controller works perfectly.

FFloFri 2018-11-13 github

Looks like this is a problem with the buildin library "xaudio2_7".

Got sound to work by installing "xact" with winetricks and then setting "xaudio2_7" to native with winecfg.

NNoXPhasma 2018-12-12 github

With Proton version 3.16-5 and FAudio the game starts up on first start and with audio. But it crashes every time the moment when pressing any key before the main menu.

Systeminfo: https://gist.github.com/NoXPhasma/c69b8988a35383bc6f9a452872dbdfb2
Proton Version 3.16-5
Proton Log: steam-374040.log

Ggarpu 2018-12-17 github

Does it require FAudio to be compiled with WMA support?

NNoXPhasma 2018-12-17 github

When I run with debug and FFMPEG enabled I get this error:

WARN: 

Assertion failure at FAudioVoice_SetOutputMatrix (/home/noxp/build/FAudio/src/FAudio.c:1519), triggered 2 times:
  'i < voice->sends.SendCount'

Logfile: steam-374040.log

It doesn't look like a FFMPEG related problem, I guess @flibitijibibo knows more.

Fflibitijibibo 2018-12-17 github

Only found one thing in the log, which should now be fixed:

https://github.com/FNA-XNA/FAudio/commit/13429301cccfe7a051a7f3e2e511d8fbe0fd96bb

Someone should probably tell them they have an invalid call stream...

NNoXPhasma 2018-12-17 github

That commit fixed it. On exit of the game another debug warning raised, but I guess that can be ignored. But I want to show it anyway:

WARN: 

Assertion failure at LinkedList_RemoveEntry (/home/noxp/build/FAudio/src/FAudio_internal.c:236), triggered 1 time:
  '0 && "LinkedList element not found!"'

steam-374040.log

NNoXPhasma 2018-12-17 github

I've also filed a bug report to the Portal Knight developers to let them know about this issue.

Jjkoenen 2018-12-18 github

Thanks! We got the bug report and we will take a look into it. Note that we currently can't really support the Linux 'version' of the game but it's cool that it seems to run nicely. /jkoenen (works on the engine used in Portal Knights)

Ggarpu 2018-12-24 github

Portal Knights is working great, no tweaking of xact needed anymore. I did have a problem starting it up--in portal_knights.cfg, I changed "window Type": "Default" to "Fullscreen" to get it to start, otherwise it would crash. (Error in the log was that the Display wasn't found.) Once I changed the value once, it started right up. I'm playing in windowed, but the portal_knights.cfg file says "Default" again for windowType. Is portal_knights.cfg set elsewhere than in the game's directory? (It's playing in windowed mode, but I'm not sure why when the config file isn't reflecting it.)

I also needed to use local libraries, in order for gnutls to work.

Ggarpu 2018-12-28 github

In the interest of testing, I tried Portal Knights on another user account. I had to kill the process once, but it started fine on the second try. No issues with incorrect window types in portal_knights.cfg. I'm thinking it's a bug with the game, since there were windows users having the same issue.

GGalcian79 2020-02-13 github

I'm trying to mate it work on proton 5.0. PROTON_USE_WINED3D, delete winepulse.drv, manual create portal_knights.cfg, never worked. I get only a yellow cursor, audio, and a dummy window. Maybe creating portal_knights.cfg in a windows environment?

Ggarpu 2020-08-06 github

https://gist.github.com/marcbelmont/1f264939e3d3120d094fa4e6aedea8d6 If anyone's having problems starting it with a blank portal_knights.cfg file. Someone kindly uploaded theirs. (Whoever it is, thank you!)

Kkisak-valve maintainer 2021-12-23 github

Portal Knights locks up when in focus with Fullscreen and Windowed Fullscreen enabled.

Issue transferred from https://github.com/ValveSoftware/Proton/issues/5438.
@ruineka posted on 2021-12-23T18:20:32:

If I press the windows key to open up my activities menu on Gnome the game works, but when I go to the actual game it's moving extremely slow and even freezing. I attempted Windowed Fullscreen as well as Fullscreen settings, I can play in Windowed mode.

I have to enable Vulcan in the settings to get the game to work and this issue is prominent in all versions of Proton 5.0-10 to Experimental.

Rruineka 2021-12-23 github

steam-374040.log
Here is my log, I would switch to experimental instead of 5.0-10 but it's currently stable and I actually want to play the game. I'm having to use Windowed mode, hopefully this helps.

Proton versions

Launch options

Upstream links