ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.88k stars 1.04k forks source link

Portal Knights (374040) #1009

Open BrandonDyer64 opened 6 years ago

BrandonDyer64 commented 6 years ago

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

jtfen86 commented 6 years ago

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 commented 6 years ago

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.

FloFri commented 5 years ago

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.

NoXPhasma commented 5 years ago

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

garpu commented 5 years ago

Does it require FAudio to be compiled with WMA support?

NoXPhasma commented 5 years ago

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.

flibitijibibo commented 5 years ago

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...

NoXPhasma commented 5 years ago

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

NoXPhasma commented 5 years ago

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

jkoenen commented 5 years ago

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)

garpu commented 5 years ago

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.

garpu commented 5 years ago

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.

Galcian79 commented 4 years ago

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?

garpu commented 4 years ago

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!)

kisak-valve commented 2 years ago

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.

ruineka commented 2 years ago

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.