Kingdom Come: Deliverance working on Linux @ 60FPS
I recently impulse bought Kingdom Come: Deliverance in hope that proton would handle it out of the box. I quickly discovered that performance was really bad and a lot of users were having the same issue.
However I managed to get it working thanks to some anonymous user on ProtonDB. I’ve only tried on OpenSUSE so YMMV.
Instructions
- Install Game as usual
- Copy all dll files from game folderBin/Win64Shared to Bin/Win64
(NEXTS STEPS ARE PROBABLY NOT NEEDED AFTER PROTON 4.11-2)
- Download and install proton-ge-custom according to instructions
- Open ~/.steam/root/
- Create compatibilitytools.d folder
- Extract archive to ~/.steam/root/compatibilitytools.d/.
- Close and re-open steam
- Right click the game and click Properties
- At the bottom of the General tab, check "Force the use of a specific Steam Play compatibility tool.
- Then select Proton-4.11-GE-1 from the drop down and click CLOSE.
After these steps my game is running really smooth @ 60fps on medium/high quality.
Fixing DPMS and Screen Saver Issues
I encountered one problem though, after a few minutes playing with a 360 controller, the screen would go black and I needed to press a key to resume it, alt-tab it and the go back, all this every 15 minutes.
The fix is fairly simple thanks to this comment on valve github issues.
Enter Joystickwake
According to the project’s description: “Linux gamers often find themselves unexpectedly staring at a blank screen, because their display server fails to recognize game controllers as input devices and allows the screen blanker to activate during gameplay. This program attempts to work around the problem by periodically delaying screen blankers when it detects joystick activity.”
Unfortunatelly there is no package for OpenSUSE yet so I just run the bin before launching the game.
cd joystickwake
./joystickwake
Happy gaming!