
Ratconned
Published
PROTON_USE_VKD3D PROTON_ENABLE_D8VK=1 %command%
Issues with opengl when using an Nvidia card: missing textures, silvery highly visible textures on a nearly invisible enemy type. Opengl aso causes the flashlight to be very dim and of no use.
Need to set resolution and fullscreen options on every launch.
Intense lag in Direct3D renderers with the proton version (in various versions) with Dynamic Lights enabled (which is needed for the flashlight to function) and disabled as well before a few configuration tweaks, can all be fixed by using Proton GE and performing an large number of fixes. The opengl renderer has a few graphical issues when using an nvidia graphics card but is otherwise stable.
There are few servers for vanilla play but that is not a Linux version issue
To fix the game-
Use Proton GE. ver 8-24 or later for D8VK implementation. If I understand correct, it still needs to be implemented in DXVK at this time but has been implemented in proton ge. It is disabled by default but can be enabled in launch settings. Further, not having PROTON_USE_VKD3D in the launch options caused significant lag with dynamc lights enabled. In game, the graphics renderer must needs to be changed to Direct 3D specifically. (launch parameter mentioned at the top).
Using protontricks, change settings to windows xp by either selecting the option in the graphical interface or using $ protontricks 1250 winxp
in the terminal.
Graphics renderer (set in game settings within application) needs to be changed to Direct 3D. Not Direct 3D 9.0 because the PROTON_ENABLE_D8VK=1 %command% parameter is for Direct 3D X8 (named Direct 3D in game options) and Direct 3D 9.0 performance for this game is bad on linux.
Use ntcore's 4GB patch to allow 4GB of virtual memory use by the game. I did it by using wine bthrough the terminal $ wine 4gb_patch.exe KillingFloor.exe
because the patcher was named 4gb_patch.exe for me, though the guide I used for the patch said 4gbpatch.exe. Use the appropriate one according to the patch name. Being relatively new to linux, I do not yet know why the command will not apply when both applications are in separate directories but the workaround I used was putting them in the same directory and then putting KillingFloor.exe back in the original location.
In the KillingFloor.ini file, under the [Engine.GameEngine] section, change the value of CacheSizeMegs from 32 to 256. Putting it any higher crashes the game supposedly. Under section [D3DDrv.D3DRenderDevice], change settings to CheckForOverflow=True, UseTripleBuffering=True, and add a new line AvoidHitches=True
Additionally, disabling pre-caching may help (or may not). It was one of the changes I'd implemented after consulting many guides and haven't tested if performance is good with pre-caching enabled. In the same section [D3DDrv.D3DRenderDevice], set UsePrecaching=False. In the [Engine.LevelInfo] section, set bNeverPrecache=True.
My previous report had an wrong launch parameter. I've made the correction here and made format changes and an addition.
PROTON_USE_WINED3D=1 PROTON_ENABLE_D8VK=1 %command%
Set protontricks setting to winxp via graphical interface or terminal $ protontricks 1250 winxp
Within the game folder, in the 'System' folder, in the KillingFloor.ini file, change values to these. [Engine.GameEngine] section CacheSizeMegs=256 (or lower if need be) [D3DDrv.D3DRenderDevice] section CheckForOverflow=True, UseTripleBuffering=True, and add a new line AvoidHitches=True
(Not sure if this affects, I have done this as well) [D3DDrv.D3DRenderDevice] UsePrecaching=False
[Engine.LevelInfo] bNeverPrecache=True
Missing textures with opengl on nvidia cards. Fixed by using Direct 3D in the in game display settings (and a few tweaks mentioned here to improve Direct 3D performance. May not work with the Direct 3D 9.0 option).
With GNOME desktop environment I needed to set resolution and enable fullscreen at every launch. With LXDE I needed to enable fullscreen at every launch.
Lots of lag (seemingly 1 frame every few seconds) with dynamic lights enabled or flashlight on (worse with both enabled)
Mouse smoothing settings apparently cause issues as well
The opengl renderer specifically causes graphical bugs excludively with nvidia graphics cards (even on Windows) with stalkers visible and missing map textures. Further, the flashlight is not rendered properly in opengl (not sure if this is exclusive to nvidia).
Large maps like West London specifically still lag due to many enemy spawn points. Mostly mitigated by setting graphics lower.
No official servers. Has the ability in game to host dedicated and listen servers.
To fix the game
Use Proton GE. ver 8-24 or later for D8VK implementation. If I understand correct, it still needs to be implemented in DXVK at this time but has been implemented in proton ge. It is disabled by default but can be enabled in launch settings. Further, not having PROTON_USE_WINED3D
in the launch options caused significant lag with dynamc lights enabled. In game, the graphics renderer needs to be changed to Direct 3D specifically. (launch parameter mentioned at the top).
Use ntcore's 4GB patch to allow 4GB of virtual memory use by the game. I did it by using wine through the terminal $ wine 4gb_patch.exe KillingFloor.exe
because the patcher was named '4gb_patch.exe' for me, though the guide I used for the patch said '4gbpatch.exe'. Use the appropriate one according to the patch name. I had to put both files in the same location and change working directory to that directory to be able to do this (I do not understand Linux very well still).