Proton icon indicating copy to clipboard operation
Proton copied to clipboard

Company of Heroes 2 (231430)

Open Frambooisier opened this issue 4 years ago • 57 comments

Compatibility Report

  • Name of the game with compatibility issues: Company of heroes 2
  • Steam AppID of the game: 231430

System Information

  • GPU: GTX 960
  • Driver/LLVM version: Nvidia 440.82
  • Kernel version: 5.6.11-1-default
  • Link to full system information report: https://gist.github.com/Frambooisier/acf5056b2ef473aab83a31bf84624d4a
  • Proton version:5.0-7

I confirm:

  • [ ✔] that I haven't found an existing compatibility report for this game.
  • [ ✔] that I have checked whether there are updates for my system available.

steam-231430.log

Symptoms

S

Game freeze when more than 6 infantry units are present/spawn ,I am using the Cheatcommands II mod to do the testing and spawn units. if less than 6 infantry units are on the field game works perfectly.

sometimes, it seems to be random (I couldn't tie any variables affecting the occurrence of this bug) the game gets stuck/freeze when the game finishes loading a match. when the game is stuck on a fully loaded screen, but the actual match does not start, the environment sounds of actual match plays correctly but player input does not work.

Esync off prevents the game from freezing but it causes in match sound loops when there are multiple sounds played (more than 2 units shooting causes sound loop) when multiple sound sources played, the sound loop is permanent and that causes the inability to exit the match to the main menu. There is a known workaround to reduce (what I understand) the number of sounds played in game at once, decreasing sound looping but in competitive gaming, that solution is not acceptable.

Update 26-05-2020 I did some additional testing and it appears that bug occurs only when a larger group of infantry units are close to each other, when spread across the map even in groups of 2 the bug does not occur(game freeze).

Reproduction

-Start the custom game build more than 6 infantry units, play. -Playing as OKW (obercommando west) spawn 4 volksgrenadier squads in close distance to each other, freeze should occur in about 5 seconds.

Other users reports

Eddie

  • OS manjaro kde
  • CPU 3800x with x570 chipset (16GB ram)
  • GPU: 5700xt
  • Driver/LLVM version: Nvidia 440.82
  • Kernel version: 5.6.11-1-default
  • Proton version:5.0.9
  • launch options PROTON_NO_ESYNC=1 MANGOHUD=1 MANGOHUD_CONFIG=cpu_temp,gpu_temp,position=top-left,width=405 RADV_PERFTEST=aco %command%

Deck

i5-6400 16gb

Frambooisier avatar May 16 '20 10:05 Frambooisier

I'm having an identical issue, using PROTON_NO_ESYNC=1 fixes freezing problem. In addition, after loading into a (custom) game and pressing a key to start, there is a 50/50 chance the game freezes.

Using Manjaro with r9 380x.

Also, I have tried COH2 on Mint, but it suffers from unusual input problems (very high middle mouse sensitivity) as well as the audio looping (or cut-out) describing above.

GPU driver: 20.0.7 Kernel: 5.4.44-1-MANJARO

deckk avatar Jul 02 '20 18:07 deckk

Freezing is easy to reproduce on proton 5.13 with/without PROTON_NO_ESYNC.

  1. start company of heroes 2
  2. press 'options'
  3. press 'graphics' tab
  4. press 'performance test'

The map may or may not load, if it does it may or may not try to start before finished loading which results in game audio crackling or broken. When the test is finished it may or may not properly unload the test and load the main menu.

minionprocyk avatar Nov 14 '20 08:11 minionprocyk

@minionprocyk Good point, in my case when Esync is on the test freeze in about 3 sec after loading, without Esync, sound looping occurs, test finish but gets stuck on the end loading screen. with Esync on 7 units of tommy is the upper limit that does not cause freeze and works flawlessly.

Frambooisier avatar Nov 14 '20 23:11 Frambooisier

Unable to alt+tab away and back, aka Xorg focus view

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4443. @kaihendry posted on 2020-12-08T04:42:44:

Compatibility Report

System Information

  • GPU: AMD Ryzen 7 PRO 4750U with Radeon Graphics
  • Driver/LLVM version: 4.6 (Compatibility Profile) Mesa 20.2.3 (git-8440307a61)
  • Kernel version: 5.9.12-arch1-1
  • https://gist.github.com/kaihendry/ad8411e7287c1f296b120443694960f6
  • Proton version: 5.0-10 https://s.natalian.org/2020-12-08/coh2-proton.png

Btw Neither Proton 5.13-3 or the Steam Linux Runtime is able to launch this game. It does have a Linux port 5.x, but I need to run under Proton to play multiplier online. :/

I confirm:

  • [X] that I haven't found an existing compatibility report for this game.
  • [X] that I have checked whether there are updates for my system available.

https://s.natalian.org/2020-12-08/steam-231430.log

Symptoms

When I Alt-Tab aka change views in my Xorg environment, I can't switch back to the game.

Reproduction

Launch and Alt-Tab twice

kisak-valve avatar Dec 08 '20 12:12 kisak-valve

The game just received a new 64-bit update, with which it stopped working. Tried Proton-6.0-GE-1 and Proton-5.13-5

When launching the game, the log is spammed with stack unwinds, tho interestingly enough the main menu works fine. The entire loading screen also works, but the game freezes without crashing when pressing the "Continue" button which is supposed to bring you in-game. https://gist.github.com/JonathanBrouwer/10420e38db370f2b0a15dac61034b4c6

JonathanBrouwer avatar Jan 19 '21 14:01 JonathanBrouwer

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Jan 21 '21 02:01 Cytomax55

I can confirm that the game is now completely broken. It doesn't get past the loading screen. The menu is still fine. On protondb, you can see that noone can launch a game now (since the 19th of january, update date): https://www.protondb.com/app/231430

dbkblk avatar Jan 25 '21 19:01 dbkblk

The latest hotfix fixed the game for me. Does not work with Proton 5.13, but it DOES work with Proton 5.0-10

JonathanBrouwer avatar Jan 26 '21 11:01 JonathanBrouwer

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Jan 26 '21 14:01 Cytomax55

After the hotfix, none of the proton versions I've tried worked (6.0-GE, 5.13, Experimental, 5.0). I'm on Debian 11, kernel 5.10, nvidia 460.32.03 (GTX970).

dbkblk avatar Jan 26 '21 18:01 dbkblk

I used no launch options for the below tests. Previously, I experienced audio issues as well as a strange extremely high middle mouse sensitivity issue, but both of these seem to have been solved with the 64 bit update (on certain versions of Proton; see below).

TL;DR: Proton 5.0-10 works fine for offline custom games but not for multiplayer games.


Proton 5.13-5

Tried two offline custom games, both bugsplatted whilst in loading screen.

Proton 5.0-10

Offline custom games work fine, with much better FPS when compared to native Linux version.

Tried getting into two multiplayer games. Loading in takes quite a while. In my first game, a 2v2, I started off fine, got in my first engagement, and then got "Sync-error detected" then bugsplat. Second game, 4v4, same long loading time, see an overview of my base and then Sync-errored immediately followed by a bugpsplat.

Proton 4.11-13

Multiplayer: "Sync-error detected" then bugsplat. Offline custom was fine.

Proton 4.2-9

Window titled "Error" with the text: "Steam must be running to play this game. Try again by launching game from Steam."

Proton 3.16-9

Window titled "Error" with the text: "Steam must be running to play this game. Try again by launching game from Steam."

Proton 3.7-8

Window titled "Error" with the text: "Steam must be running to play this game. Try again by launching game from Steam."


OS: Manjaro Linux x86_64 Kernel: 5.10.10-1-MANJARO CPU: Intel i5-6400 (4) @ 3.300GHz GPU: AMD ATI Radeon RX Vega 56 Memory: 16GB

deckk avatar Jan 26 '21 18:01 deckk

I'm seeing good results with Proton 5.0-10 as others have mentioned. However, every multiplayer game I've attempted to load (custom and auto match with friends) has resulted in an immediate sync error as soon as the map loads.

ryan-ronnander avatar Feb 03 '21 03:02 ryan-ronnander

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Feb 03 '21 04:02 Cytomax55

Same here, multiplayer games crash after the loading screen since the 64bit CoH2 update. I also tried the available 32bit legacy beta, but that one seems to be incompatible with other Windows versions in multiplayer.

poVoq avatar Feb 11 '21 21:02 poVoq

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Feb 11 '21 22:02 Cytomax55

Or you could involve yourself in a wonderful Mac/Linux community and find likeminded players for custom games! https://discord.gg/xes7635Trp

deckk avatar Feb 12 '21 00:02 deckk

@deckk The problem is games such as these are only worth playing for multiplayer and they already have a super small active player base.

The other problem is companies shouldn't make incomplete ports. Why port such a multiplayer heavy game and then fail to port the networking code in a cross platform manner? At least titles such as Civ 6 eventually received promised cross platform play.

ryan-ronnander avatar Feb 12 '21 01:02 ryan-ronnander

@ryan-ronnander You're absolutely right, companies shouldn't make incomplete ports. The Mac/Linux community is small and it only exists because of Relic's (or rather Feral's) poor port. However I doubt that Relic isn't bothering to fix the issue just because community options have sprung up.

Just thought I'd provide the link as an option for people who still want to play COH2 on their Linux machines in the meantime. But I totally understand if people don't want to!

deckk avatar Feb 12 '21 13:02 deckk

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Feb 21 '21 00:02 Cytomax55

@Cytomax55 game works for me fine on proton 5.0 without any proton commands.. i dont know what further informations i need to give to see where is the problem. Game-wise I unsubscribed from workshop items and deleted everything from coh2 folder in "my documents" in compData.. I have been playing without any issues for 2 weeks now almost every day(since posting my review on protondb)

Jikmo13 avatar Feb 21 '21 19:02 Jikmo13

This is a specific multiplayer issue, and it crashes immediately after the loading screen on any multiplayer game.

poVoq avatar Feb 21 '21 21:02 poVoq

I am playing multiplayer games with my friends who are on windows on automatchmaking edit: steam launch command: -nomovies

Jikmo13 avatar Feb 21 '21 21:02 Jikmo13

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Feb 21 '21 23:02 Cytomax55

not every proton version works the same.. you need vulkan-utils and latest drivers.. proton 5.0-10 works fine for me.. and compatdata/231430/.. is created after first launch with proton then you install vcredist here edit: here is reddit guide for aoe2:DE from which i created fix that works (for me at least) https://www.reddit.com/r/aoe2/comments/dwuplr/how_to_run_age_of_empires_2_definitive_edition_on/

Jikmo13 avatar Feb 22 '21 19:02 Jikmo13

I tried it with 5.10 now, and while the multiplayer games start fine, there is always a desync issue after a few minutes that even crashes the host player's client (on Windows). This only happens in games when I join with the client running on Proton 5.10.

poVoq avatar Feb 22 '21 21:02 poVoq

IT WORKS!!! so you dont waste your time reading all the crap i posted before... here is how i got it to work I did not need any launch commands I did not turn my sound quality to low

Step 1: DELETE ALL OF COH2 ... i mean all of it.. go into your Step 1a: Go to steam > Right Click COH2 > Manage > Uninstall Step 1b: Delete /home/$USER/.steam/steam/steamapps/compatdata/231430 Step 1c: Delete /home/$USER/.steam/steam/steamapps/common/Company of Heroes 2/

WARNING You need to know your Steam username and password because CLEARING DOWNLOAD CACHE will force you to login to steam again

Step 1d: Steam > settings > Downloads > CLEAR Download Cache

Step 2: Redownload COH 2

Step 3: Try to run it with Proton 5.0-10 and it will crash most likely

Step 4: Run the following in the terminal

cd /home/$USER/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/

wget "https://aka.ms/vs/16/release/vc_redist.x64.exe"

cabextract vc_redist.x64.exe

cabextract a10

Step 5: Right Click COH2 > Properties > Compatibility > 5.0.10

Then it magically works.....

Cytomax55 avatar Feb 22 '21 22:02 Cytomax55

After trying to reinstall from scratch this morning, 5.0.10 is now completely broken. Unable to launch the game.

09:04:51.45   GAME -- steam returned language 'english'
09:04:51.45   GAME -- platform returned language 'english'
09:04:51.45   Primary CPU is a 3800MHz [AMD Ryzen 7 5800X 8-Core Processor]
09:04:51.45   Architecture [9], Level [25], Revision [8448].
09:04:51.46   16 logical processor(s) detected.
09:04:51.46   8 physical processor(s) detected.
09:04:51.46   1 processor(s) nodes detected.
09:04:51.46   MATHBOX -- Version=6, Mode=SSE
09:04:51.46   Using [C:\users\steamuser\My Documents\My Games\Company of Heroes 2\] as base writable folder
09:04:51.46   Game -- System temp path is [C:\users\steamuser\Temp\]
09:04:51.49   SYSTEMCONFIG -- Failed to load configuration from 'userdata:configuration_system.lua'.

Application closed with error code 1129468744

Proton 5.13-6 loads the game, but now it crashes before loading a skirmish (non-online). Proton experimental exhibits the same behavior.

ryan-ronnander avatar Feb 23 '21 17:02 ryan-ronnander

All I can tell you is I did this twice... the first time I deleted everything and tried lots of stuff eventually got it working in order to confirm how to fix it I then deleted everything again and did the steps as mentioned above

And it worked

I can tell you that when I initially reinstalled company heroes the game would not even load I think I tried a few different proton options and restarted my computer...

By any chance are you doing this on a drive other than your OS drive?

What kernel, os, video card and driver you running?

Cytomax55 avatar Feb 23 '21 17:02 Cytomax55

C:\users\steamuser\My Documents\My Games\Company of Heroes 2\ folder tends to get corrupted so you can delete everything from it and it will get auto-generated on next launch of the game

Jikmo13 avatar Feb 23 '21 17:02 Jikmo13

All I can tell you is I did this twice... the first time I deleted everything and tried lots of stuff eventually got it working in order to confirm how to fix it I then deleted everything again and did the steps as mentioned above

And it worked

I can tell you that when I initially reinstalled company heroes the game would not even load I think I tried a few different proton options and restarted my computer...

By any chance are you doing this on a drive other than your OS drive?

What kernel, os, video card and driver you running?

Well, I must say I just played a multiplayer game (2v2) for over 5 minutes and no sync error. I updated my OS, rebooted, reinstalled the game (for the third time), COH2 loaded pre and post the cab extract steps this time.

OS: OpenSuse Tumbleweed Kernel: 5.10.16 GPU: 6800 XT CPU: 5800X

I will try to finish a complete multiplayer game when I have the time.

ryan-ronnander avatar Feb 24 '21 16:02 ryan-ronnander