ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.34k stars 1.02k forks source link

Company of Heroes 2 (231430) #3875

Open Frambooisier opened 4 years ago

Frambooisier commented 4 years ago

Compatibility Report

System Information

I confirm:

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

deckk commented 4 years ago

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

minionprocyk commented 3 years ago

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.

Frambooisier commented 3 years ago

@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.

kisak-valve commented 3 years ago

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

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:

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

JonathanBrouwer commented 3 years ago

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

Cytomax55 commented 3 years ago

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.....

dbkblk commented 3 years ago

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

JonathanBrouwer commented 3 years ago

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

Cytomax55 commented 3 years ago

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.....

dbkblk commented 3 years ago

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).

deckk commented 3 years ago

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

ryan-ronnander commented 3 years ago

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.

Cytomax55 commented 3 years ago

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.....

poVoq commented 3 years ago

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.

Cytomax55 commented 3 years ago

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.....

deckk commented 3 years ago

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

ryan-ronnander commented 3 years ago

@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.

deckk commented 3 years ago

@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!

Cytomax55 commented 3 years ago

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.....

Jikmo13 commented 3 years ago

@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)

poVoq commented 3 years ago

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

Jikmo13 commented 3 years ago

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

Cytomax55 commented 3 years ago

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.....

Jikmo13 commented 3 years ago

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/

poVoq commented 3 years ago

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.

Cytomax55 commented 3 years ago

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.....

ryan-ronnander commented 3 years ago

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.

Cytomax55 commented 3 years ago

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?

Jikmo13 commented 3 years ago

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

ryan-ronnander commented 3 years ago

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.

deckk commented 3 years ago

@Cytomax55 Hey thanks so much for posting your solution!

I just updated my proton copy and set it to Proton 5.0-10 and then installed vc_redist.x64.exe as you specified. Played a online custom game and everything seemed to work just fine! I'm gonna load into matchmaking and play a few games.

Thanks again for letting us know! Will report back. It works great!

Cytomax55 commented 3 years ago

@ryan-ronnander ... I'm kind of confused by your post initially you said the game wasn't loading on your second post you mentioned you were able to play a multiplayer game for five minutes.. I would always get sync literally within 30 seconds of the game starting I think if you were playing for five minutes you were probably golden..

But then you said you uninstalled and reinstalled company of heroes 2?

I'm running all AMD also Manjaro KDE 5.10.x w.e the latest is 3800x 5700xt Whatever mesa drivers come with Manjaro by default

@deckk Yw happy to hear it worked I never had sync errors with custom local games .... Only multiplayer

aojea commented 3 years ago

Thanks for the useful information, I just want to mention that the multiplayer game only works for me if I'm hosting the match, if I join others, the game crashes once someone makes contact with the enemies, with the mentioned sync error

Cytomax55 commented 3 years ago

@aojea Interesting... I use automatch without issues

ryan-ronnander commented 3 years ago

Well, I noticed COH2 had updated the other day in Steam. I haven't had time to play a full online game yet, but now the game crashes at startup once again. This time there was no specific error logged, just this in the warnings.log file:

Application closed with error code 1129468744

I'll see what I find out when I have time to troubleshoot further.

Cytomax55 commented 3 years ago

@ryan-ronnander i just loaded steam and was able to get into the game menu without issues i cant try multiplayer right now but ill try at another time

Since you are on tumble weed i imagine it updates more frequently than most Is it possible you had an update recently that is conflicting with the game? My installed content release date > 2-26-2021

kisak-valve commented 3 years ago

Company of Heroes 2 (64-bit) (231430)

Issue transferred from https://github.com/ValveSoftware/Proton/issues/4656. @ms178 posted on 2021-02-28T10:01:40:

Compatibility Report

System Information

System: Host: klx99 Kernel: 5.11.2-xanmod1 bits: 64 Desktop: KDE Plasma 5.21.1 Distro: Manjaro Linux Machine: Type: Desktop Mobo: N/A model: KLX99 v: 1.0 serial: UEFI: American Megatrends v: 5.11 date: 04/27/2020 CPU: Info: 12-Core model: Intel Xeon E5-2678 v3 bits: 64 type: MT MCP L2 cache: 30 MiB Speed: 3279 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 3279 2: 2834 3: 2362 4: 1564 5: 3296 6: 1817 7: 3293 8: 1344 9: 2479 10: 3293 11: 3263 12: 3193 13: 3293 14: 2720 15: 3267 16: 2079 17: 3293 18: 3164 19: 2527 20: 2055 21: 1925 22: 1980 23: 1693 24: 3263 Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] driver: amdgpu v: kernel Display: x11 server: X.Org 1.20.10 driver: loaded: amdgpu,ati unloaded: modesetting resolution: 1920x1080 OpenGL: renderer: Radeon RX Vega (VEGA10 DRM 3.40.0 5.11.2-xanmod1 LLVM 11.1.0) v: 4.6 Mesa 21.1.0-devel (git-0a7224f3ff)

I confirm:

Log for Proton Experimental [crash]: steam-231430.log

Log for Proton 5.13-6 [crash]: steam-231430.log

Symptoms

Game crashes while loading the level.

Reproduction

Just try to run the in-game-benchmark, it will crash with the mentioned Proton versions while loading the benchmark.

Cytomax55 commented 3 years ago

I just played a multiplayer game on linux using proton 5.10 and it works fine i can even alt tab out and everything

Video Card: Driver: AMD AMD Radeon RX 5700 XT (NAVI10, DRM 3.40.0, 5.10.15-1-MANJARO, LLVM 11.0.1) Driver Version: 4.6 (Compatibility Profile) Mesa 20.3.4

If you are having issues i would try a known working gpu driver and distribution

ms178 commented 3 years ago

@Cytomax55 As stated in my report, 5.0-10 works for me, too. But it does not with Proton Experimental and 5.13-6. This is a regression after all and therefore filed as such and needs to be fixed as there are other improvements in the newer Proton releases that we cannot enjoy right now (such as a higher display refresh rate above 60 Hz, with the newer releases I could set it at 120 Hz, the older working release limits it to 60 Hz).

JonathanBrouwer commented 3 years ago

Can confirm, 5.0-10 works fine, 5.13-6 crashes on load

Cytomax55 commented 3 years ago

@ms178 sorry i misunderstood the bug report

i can also confirm 5.0.-10 works fine, 5.13-6 loads into the menu just fine but crashes when trying to run the built in benchmark

ryan-ronnander commented 3 years ago

@Cytomax55 I can report that I've played multiple online games successfully with 5.0-10 now. I found an issue that prevented me from launching both COH1 and COH2 if I have too many libvirt VMs running (but not consuming more than 5 GB ram total / 32 GB). An odd issue, but the games launch fine if I don't have any VMs running. Thanks again for the multiplayer fix.

There have been a lot of moving parts to troubleshoot on my end (rolling distro, steam beta, COH2 ongoing updates, VM host issues, etc) that made it a little confusing to diagnose my issues at first.

Cytomax55 commented 3 years ago

@ryan-ronnander excellent news to hear...

Btw this 64 bit coh2 update is crazy stable I literally ran the benchmark tabbed out browsing the internet and it actually finished... I'm very surprised

case81 commented 3 years ago

I have the sync error upon match start problem with Proton Experimental on Ubuntu 20, Geforce 1050, 16 gig, 6-core CPU. I can play online after I install the vcredist 64 package with cabextract, however, that kills my FPS and violently lags the game even in replays(!) to the point where I can't even watch replays anymore without a lot of stuttering. 64 bit multiplayer via Proton is still not working correctly. The crazy stuttering only occurs after installing the vcredist - before that, the game runs buttery smooth but... sync error problem.

Edit:

It works a lot more smoothly after using cabextract into a dedicated folder and copying over ONLY the ucrtbase.dll to the Proton system32 directory, instead of dumping the entire contents of the vcrt 64bit installer. The sync error is fixed by copying 1 file only - ucrtbase.dll from the vcredist package. The rest of its contents seem to cause problems. There are still occasional FPS drops in the game though - it's not 100%.

Edit 2:

Proton 6.3.2 doesn't fix this problem. Sync error upon first enemy contact.

ms178 commented 3 years ago

I haven't played it in multiplayer yet, but at least for my benchmarking purposes, the new Proton 6.3-1 works fine. Thanks for fixing it.

beltet commented 3 years ago

Tried the new support in Proton. On 6.3-2. And I still have Sync Error problems in multiplayer. Will try the use the .dll unpacking fix.

kaihendry commented 3 years ago

I'm getting sync errors on Multiplayer either at start or on first enemy contact (5 minutes into a game) with 5.0-10.

jrbergen commented 2 years ago

Multiplayer sync-error occurs upon loading map or on first enemy contact on 5.0-10, 5.13-6, 6.3-6, experimental, 6.14-GE-2.

Seemingly resolved after using fix below:

Fix was based on this comment by @Cytomax55 (currently tested on Proton 5.0-10, 6.2-3, Manjaro, Steam native).

  1. Fully delete CoH2 (see gist below for detailed instructions) + clearing download cache (⚠ Clearing cache triggers Steam credentials prompt).
  2. Download and re-install CoH2.
  3. Extract vc_redist.x64.exe as downloaded from https://www.microsoft.com/en-us/download/details.aspx?id=48145 using cabextract, and copying ucrtbase.dll found in the a10 subfile of vc_redist.x64.exe to ~/.steam/steam/steamapps/compatdata/231430/pfx/drive_c/windows/system32/.
  4. Launch using Proton 5.0-10 or 6.2-3 (Others may work as well but weren't tested).

Note: vc_redist.x64.exe from ❌https://aka.ms/vs/16/release/vc_redist.x64.exe did NOT WORK, as it did not contain ucrtbase.dll.

See this gist for more detailed instructions and more detailed system info.

Basic system info:

OS: Manjaro Linux x64 kernel 5.10.59-1-Manjaro Steam runtime version: steam-runtime_0.202110630.0 GPU driver: 4.5.0 NVIDIA 470.63.01 CPU: Ryzen 3950x GPU: Nvidia GTX 1080 RAM: 64GB DDR4 DE + QT version + win manager: KDE Plasma 5.22.4, KDE Framewroks 5.85.0, Qt 5.15.2, X11

intrigus-lgtm commented 2 years ago

I can confirm that what @jrbergen wrote works :tada:

Zabell commented 2 years ago

I seem to be missing some higher resolutions when running under Wayland. I can't set the game to my native 3440x1440 resolution, which I can under X11. Anyone experience this issue or have ideas?