


Forced proton since Native is outdated.
Steam Cloud can have problems while sync when you add the dll for multiplayer.
Native has slowdowns and sometimes don't detect the gpu.
Multiplayer instantly desyncs if you don't fix it with this https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed but just extracting the dll "ucrtbase.dll" from the vcredist got from microsoft and place it on your pfx/drive_c/windows/system32 fixes all the problems of sync.
The game also has weird crashes from time to time but happens on windows too. Also if you use mangohud globally like me the game instantly crashes when launching, add "MANGOHUD_CONFIG=no_display %command%" to make it work

-nomovies
for online play you have to follow this guide to ucrtbase.dll file: https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
You will get a desync error after some time ingame if not.
No tinkering required for single player

gamemoderun %command% -autoconfig
Adicionando o arquivo ucrtbase.dll para prevenir erro de sincronização.
As vezes o jogo simplismente fica lento até travar, em alguns casos a propria steam fecha sozinha, mas esse problema e devido a minha limitação de memória ram.
Como eu disse antes as vezes o jog trava no carregamento mas é devido a limitação da minha memória ram.
da para jogar mas se o ajuste da dll não será possivel jogar online.

Kampf mit Erfolg
Auflösung erkennt meine 120Hzs Monitor nicht an. nur 60Hz optionen
Abgesehen von der Hz probleme, alles Reigungslos. Benchmark 70.06FPS (Windows 101.51FPS)

runs perfectly
I haven't tried multiplayer, but Skirmish against CPU players runs fine.

Affects dual monitor setups - Alt-tabbing sometimes randomly moves the game to a different monitor. Keep holding alt and enter the window where coh2 now is with your mouse, then release tab. Repeat until fixed, sometimes wildly alt-tabbing also works.
Game WILL have a sync error after ~2-5mins of gameplay and subsequently crash everybody that participated in the online match. However, this fix completely removes this issue: https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
Linux is technically supported natively, however will only allow you to play with other linux players. Proton is recommended.

-autoconfig
somente adicionar correções anteriores para o multiplayer
no meu caso sem opção de inicialização -autoconfig a janela ficava invisivel, e por algum motivo na seção xorg do ubuntu fecharia a steam e o jogo na hora de carregar a partida, quando mudei para a seção wayland o jogo funcionou sem problemas.

Using Proton 9.0-3 i had no Problems at all. It works good, but i dont know the Game in Windows. So..
gamescope -W 2560 -H 1440 -r 60 -f -- game-performance %command% -nomovies
.sh script on github.
Need gamescope session to set a fixed framerate because game will not show menu screen otherwise (thanks relic).
After .sh fix, game can decide to crash for whatever reason.
Can still desync and crash after fixes.
Stick to COH3 if you can (a game which needs a similar .dll workaround, hack whatever). Maybe COH4 remaster will finally address this, otherwise avoid relic like the plague.

native did stop working after adding some dlc, switched to proton experimental, steam updated to windows version and it works
DXVK_FRAME_RATE=144 mangohud %command%
add ucrtbase.dll to /compatdata/231430/pfx/drive_c/windows/system32/ from vc_redist_x64

DRI_PRIME=1! DXVK_FILTER_DEVICE_NAME="AMD Radeon RX 7700S (RADV NAVI33)" %command%
Game crashes unless you switch to the Scout runtime.

-nomovies -window
used the COH2 mulitplayer fix, https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
runs like a charm
game sometimes got moved to my second screen when trying to alt tab
Works just like under Windows, no issues.
Game crashed and couldnt start without the mentioned steps. If you follow the steps, everything works like a charm

I've given up!
Tried all commands listed below in other's solutions
Got to the menu nearly every time, I tried every single solution listed below with no luck, the best I did was to get through the benchmark once very choppily on Proton 5.0.10. This is on a Framework 16.

-nomovies -autoconfig
Multiplayer fixed with popular guide https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
Game turned invisible after starting. Workaround with -autoconfig.

-nomovies -window –fullwindow
not sure if needed, but it wouldn't capture the mouse inside the game window for me, so I went into winecfg and activated "Emulate a virtual Desktop" and set my resolution (3440x1440) under "Graphics tab". And I also checked "Automatically caputre the mouse in full-screen windows" under "Input"
Mouse not captured inside fullscreen
Make sure to use the guide provided by the other reports to fix multiplayer desync. It 100% works - I played around 20 matches already.

-nomovies -window
Needs to be played on Proton with this script to be able to play with Windows users https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
Game will lag badly after ~20 minutes due to the game's replay system by default.
To fix this, go into .../Steam/steamapps/compatdata/231430/pfx/drive_c/users/steamuser/My Documents/My Games/Company of Heroes 2/
and set the 'playback' folder permissions to be 'read only'.
I tested this and it prevents this lag from appearing for roughly 90 minutes on my end.
Needs the Proton patch in the github to avoid games cancelling due to desync after 1 minute, but works well after.

Native Linux version works pretty well, but no crossplay mp. So you gotta play using Proton. To play with proton, you gotta do tinkering.
-nomovies -window –fullwindow
I followed a guide here: https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
You can't basically use anything except Borderless Fullscreen. Stick to my Launch options.
Without tinkering, you'll get Sync errors.
If you are going to play the game single player, just launch it. You'll be fine. If you wanna play with your friends or other people, just follow the github guide and then apply the launch settings.

Keyboard doesn't work
Need fix to not desync

gamemoderun %command%
When launching windows version with Proton (since the native Linux version cant crossplay with windows versions), the game would desync in every multiplayer match. To fix i had to follow these instructions: https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed After that i had no more issues :)
Will not start

DXVK_FILTER_DEVICE_NAME="POLARIS11" WINE_FULLSCREEN_FSR=1 WINE_FULLSCREEN_FSR_STRENGTH=1 gamemoderun %command%
After about half an hour, the game's performance gets real choppy. I tested it on Heidelberg Crossing.
It crashed once on my very first startup.
Native version won't launch. Current Proton version refuses to install DirectX dependencies.

Native version works just as fine however with slightly worse performance (~25%).
See: https://youtu.be/SEjEx6wa7hU

Seems not to work with Proton
Native works fine but neither are Proton 8, Proton Experiment and not Proton GE 9-4 are working with this game. Also tested the 64bit Beta Branch to no avail.

Native runs ootb
Thank you Feral Interactive!

Crash on startup, doesn't work in native mode.
I've tried looking at the CLI output of Steam and tried to remedy some of what I think are the issues to include preloading some dependancies, switching to the 64bit beta and forcing the use of the dGPU. This had no results.

A sync issue would occur in multiplayer after some time. The following gist solved it https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
If you're on Linux and you want to play with friends on Windows you must install the Proton version of the game (v4). By default Steam will install a native version of the game (v5) where multiplayer does not work with Windows.

Use it with the Github script or steps to avoid desync
Use the Github script or steps to avoid desync in MP

gamescope -W 1920 -H 1080 -r 120 --immediate-flips -e -f -- %command% -nomovies
The game will freeze at the startup logo on 240hz displays, which is apparently also a problem on Windows. This issue can be resolved by using gamescope to set the refresh rate to 120hz.

-nomovies
Multiplayer games are terminated with a synchronization error if the ucrtbase.dll is not replaced.
The launch option is not mandatory.
The game does not seem to start from BTRFS drives, at least it crashes before I reach the menu. I have never had problems with EXT4 drives!

%command% -nomovies
- Alt-Enter to toggle fullscreen crashes the game.
- Alt-Tabbing on XFCE sometimes causes the taskbar to get stuck on top of the game window.
- Multiplayer is not cross compatible between native Linux and Proton/Windows.
- Had to use this script from GitHub to fix de-sync issue.
- Steam Workshop is fully functional.
- You can still use
-nomovies
to skip the Sega/Relic intro videos (see above).

black screen
black screen in the benchmark, which cannot be closed afterwards

Couldn't start multiplayer without tinkering. It crashed after several minutes until installing the "vc_redist.x64.exe" via script
Would start background. There's nothing I can do to bring it back

-autoconfig
Based on https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed
- Turn off cloud sync
git clone https://gist.githubusercontent.com/TechT10n/79b853003f2e9841a18e8b6decd0fd3e/raw/coh2_multiplayer_fix.sh
- For Flatpack Steam on Fedora I had to update the following paths in the cloned file:
STEAM_ROOT=~/.var/app/com.valvesoftware.Steam/.local/share/Steam
STEAM_PATH=${STEAM_ROOT}/steamapps/compatdata/231430/pfx/drive_c/windows/system32
- run it by typing
sh coh2_multiplayer_fix.sh
in the terminal
Without the fix mentioned above, the game crashes after a desync in multiplayer.
Without the aforementioned fix, the game desyncs and crashes after roughly 5 minutes on multiplayer.

Game crashes on start
Basically the game crashes on start when using proton.
I had to disable the Steam Overlay in the game's settings, otherwise it crashes on startup.

Tinkering required for multiplayer
Multiplayer will crash requires an extra dll to be loaded
Game plays flawlessly out of the box for single player. However, multiplayer requires an extra dll copied into the game directory in order to function properly.
Can confirm that the solution outlined here works as advertised. https://gist.github.com/jrbergen/0ce746676c4fbcc2becd6054d1bba2ed