
Maxim
Published
Various WillowEngine.ini changes.
FPS around 30 makes the game basically unplayable.
steamapps/compatdata/231430/pfx/drive_c/users/steamuser/My Documents/my games/company of heroes 2/configuration_system.lua
Limit the number of voices to 16.
setting = "soundvoices",
value = 16,
This addresses the "sound looping" issue, and for me, allows the games to finish and display stats, returning to the game lobby for the next game.
PROTON_NO_ESYNC=1
- a custom 1v1 game wouldn't go past the load screen. Though other options can be used, this was the only one that was necessary for my setup.
PROTON_USE_D9VK=1
- increased performance, not necessary
Complete launch options: PROTON_USE_D9VK=1 PROTON_NO_ESYNC=1 %command% -nomovies
Change the soundvoices
value to 16
(other values may also work, default is 128
).
steamapps/compatdata/231430/pfx/drive_c/users/steamuser/My Documents/My Games/Company of Heroes 2/configuration_system.lua
[53] =
{
setting = "soundvoices",
value = 16,
valueType = 2,
},
Without modification to the lua config, then audio may skip/repeat, or get stuck repeating.
It doesn't like to Alt-Tab sometimes.
I also had to install the 32-bit amdvlk. THIS IS CRITICAL
Check to see if the following file exists: /etc/vulkan/icd.d/amd_icd32.json
Install the 32-bit version of AMDVLK if it doesn't exist:
sudo apt-get install amdvlk:i386
I had to re-install the repo because previous iterations did not have support for i386.
Here is my repo and package information:
Official AMDVLK Repo (https://github.com/GPUOpen-Drivers/AMDVLK#install-with-pre-built-driver)
amdvlk: 2020.Q2.7
(Vulkan api v1.2.164)
Oibaf latest graphics for Mesa/DRM PPA (https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers)
libglx-mesa0: 21.1~git2101170730.32797b~oibaf~f
libdrm-amdgpu1: 2.4.104+git2101120630.10dd3e~oibaf~f
mesa-vulkan-drivers: 21.1~git2101170730.32797b~oibaf~f
Vulkan stack from Lunar G Repo (https://packages.lunarg.com/)
vulkan-headers: 1.2.162.0-1lunarg18.04-1
libvulkan-dev: 1.2.162.0-1lunarg18.04-1
vulkan-tools: 1.2.162.1~rc1-1lunarg18.04-1
Tried with PROTON_USE_WINED3D=1 PROTON_NO_ESYNC=1 PROTON_USE_D9VK=1 Nothing allowed it to start. WINE debug log isn't much help either.
Using proton experimental, window shows for a second, showing a spinner in the lower left corner, and then disappears within a second.
FPS cap is gone, frame rate is now up to around 180
Linux Native (OpenGL) is capped at 60 fps
Windows Native is capped at 90 fps
Blacklist radeon driver in /etc/modprobe.d/blacklist.conf
Added the following to kernel line: amdgpu.si_support=1 radeon.si_support=0 amdgpu.cik_support=1 radeon.cik_support=0
I had to use VULKAN in order for the brightness, contrast, and gamma settings to actually work.
Mouse buttons suddenly stopped working. Mouse cursor would only move while a mouse button was held down. Cursor then would ONLY move, no clicks. I had to exit the game with my keyboard. Only happened twice.
Momentary dips in FPS. Happens when panning across levels, and when newly showing enemies on-screen.
Game would slow down suddenly for short periods of time while panning across the level, and showing enemies on screen. Makes it hard to aim correctly.
With proton, I made no changes and the game ran.
Windows native (Direct 3D 9.0) usually gives me a smooth 90 fps (capped), with Linux native (OpenGL) it is slightly lower than that.
For Linux native OpenGL, the in-game vsync graphical option has no effect.
Use this launch option to disable vsync to uncap the frame rate:
vblank_mode=0 %command%
PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 WINEESYNC=0 mesa_glthread=true %command%
Has an initial black screen for a minute or so before loading the main menu.
I had to use an older version of Proton (6.3-8) as newer ones would cause my GPU to crash and reset. Reporting "amdgpu: GPU reset begin" in kernel syslog.