Open josef256 opened 1 year ago
apparently according to protondb to fix the desync in MP you need to download the 'vc_redist.x64.exe' file from https://www.microsoft.com/en-us/download/details.aspx?id=48145 and run the commands: cabextract vc_redist.x64.exe, cabextract a10, mv ucrtbase.dll $HOME/.steam/steam/steamapps/compatdata/2245830/pfx/drive_c/windows/system32/.
Company of Heroes 3 on laptop with nvidia
Issue transferred from https://github.com/ValveSoftware/Proton/issues/6572. @b3nis posted on 2023-02-25T19:49:21:
My system: https://gist.github.com/b3nis/1235a9ae56f8015f0ca6d16b66e824d3
Proton log: https://gist.github.com/b3nis/27ea6c8b0a320849f010199b5dc9e0d1
A dialog window with the text "Sorry, something went wrong. For solution please visit: https://support.codefusion.technology/CoH3_gjsa_8945/?e=88500006&l=english"
Install the game on a laptop with nvidia dgpu and launch it. All other games I play, including COH2, works with any mods. Seems to be something with the dgpu + proton + wine maybe? Seems to be working for a lot of people on desktop computers (with single gpu).
apparently according to protondb to fix the desync in MP you need to download the 'vc_redist.x64.exe' file from https://www.microsoft.com/en-us/download/details.aspx?id=48145 and run the commands: cabextract vc_redist.x64.exe, cabextract a10, mv ucrtbase.dll $HOME/.steam/steam/steamapps/compatdata/2245830/pfx/drive_c/windows/system32/.
See also this gist which addresses the same problem for CoH2 and should apply for CoH3.
I wonder if there is a way to make this fix unnecessary though. I have submitted a bug report to SEGA; perhaps if enough people do this, they will try to fix it (although I'm not sure if it is strictly a Proton issue..).
Low FPS
For this game, I can only achieve 60 fps if I run it at 800x600, and only in the menu. It runs incredibly slower than the alpha which had a stable 60 on max settings. 1920x1080 runs at 40fps and even lower in the campaign. Lucky to even get 20 at 4k. This is all with min settings.
Launch company of heroes 3 using proton experimental Use FPS counter in steam
Replying to https://github.com/ValveSoftware/Proton/issues/6568#issuecomment-1445403256
I have a tought. I might out on deep water, but what if the Coh3 app is not recoqnized as a "game"/"heavy 3D app"? Because in my case I actually got it to start now - but only on my igpu. Maybe it's similar for you - and that you GPU is just idling (that is why you get so low fps). Have you checked with Mangohud if you GPU is using more than 20 watts when the game is on?
Replying to https://github.com/ValveSoftware/Proton/issues/6568#issuecomment-1445191370
Update: I can start the game - but it only runs on the igpu for some reason. All other games runs, without any specific launch options, on the dgpu.
Radeon Profiler was showing an increase in watts used and even proc'd the fans
for me the game won't launch at all (tried v7.0-6, experimental and GE7-49) Log file with experimental: steam-1677280.log
PS . I don't know if this is proton issue or openSUSE MicroOS issue, as this is my first time using it for past few days....but other games I have tested before still work for me just fine, with some exception of few mmorpg (FF XIV, GW2 and SWTOR).
my system spec:
.;ldkO0000Okdl;.
.;d00xl:^''''''^:ok00d;. OS: openSUSE MicroOS
.d00l' 'o00d. Kernel: x86_64 Linux 6.1.12-1-default
.d0K^' Okxoc;:,. ^O0d. Uptime: 12h 47m
.OVVAK0kOKKKKKKKKKKOxo:, lKO. Packages: RPM / Flatpak
,0VVAKKKKKKKKKKKKK0P^,,,^dx: ;00, Shell: bash 5.2.15
.OVVAKKKKKKKKKKKKKk'.oOPPb.'0k. cKO. Resolution: 3072x1728
:KVAKKKKKKKKKKKKKK: kKx..dd lKd 'OK: DE: KDE 5.103.0 / Plasma 5.27.1
lKlKKKKKKKKKOx0KKKd ^0KKKO' kKKc lKl WM: KWin_wayland
lKlKKKKKKKKKK;.;oOKx,..^..;kKKK0. lKl GTK Theme: Breeze [GTK2], [GTK3]
:KAlKKKKKKKKK0o;...^cdxxOK0O/^^' .0K: Icon Theme: Papirus-Dark
kKAVKKKKKKKKKKKK0x;,,......,;od lKP Disk: 16T / 21T (75%)
'0KAVKKKKKKKKKKKKKKKKKK00KKOo^ c00' CPU: AMD Ryzen 7 5700G with Radeon Graphics @ 16x 4.3GHz
'kKAVOxddxkOO00000Okxoc;'' .dKV' GPU: NVIDIA GeForce RTX 3060 Ti (Driver: v525.89.02)
l0Ko. .c00l' RAM: 12736MiB / 47963MiB
'l0Kk:. .;xK0l'
'lkK0xc;:,,,,:;odO0kl'
'^:ldxkkkkxdl:^'
okay after the 1.0.2 hotfix update the game still don't launch for me BUT now it get stuck in running/playing ...and the log file is huge, here is a 163,6MiB file: steam-1677280.log
I don't know how Coh3 rates the different fps types, but it does seem that main and render is the bottleneck
here is my new log after 1.0.4 hotfix update: steam-1677280.log no big log files anymore
Replying to https://github.com/ValveSoftware/Proton/issues/6568#issuecomment-1445191370
Managed to sort this by https://github.com/doitsujin/dxvk/blob/master/README.md#device-filter Dunno why DXVK has no problem with any other game (this setting is not needed). Anyway, fixes my issue with not wanted to start on dgpu.
Update: Only works with x.org, not Wayland. Nvidia I guess? Gah.
Anyone have a solution to my issue? Or seeing similar symptoms? Only gpu I have is the radeon and my 5950x doesn't have an embedded gpu
1.0.5 patch:
Between then and now, after a fresh restart after the 1.5 I'm getting a stable 60!!!
Finally some great news for me at least with the new 1.0.6 hotfix update.
I can now for the FIRST time actually launch (& play) the damn game.
Now my only issue is that the game gives me error that says my drivers are too old/unsupported ... don't know if this is a game issue or proton one (I have the latest stable v525.89.02 drivers)
here is the new log file: steam-1677280.log
Update, here is my benchmark results:
damn I spoke too soon
I can play the main game fine. Has anyone managed to get the EssenceEditor.exe (the provided modding tool) working? When I run it, I get the following logs: https://gist.github.com/JonathanBrouwer/4aaf81ce5f572058f748cd14f222d00a
Essence.Editor.Bridge.dll is in the same directory as the essence editor, so I'm not sure why it can't find it
I can play the main game fine
What are the specs of your machine? Curious if you're running nvidia or amd and which divers.
I can play the main game fine
What are the specs of your machine? Curious if you're running nvidia or amd and which divers.
i7 6700k RX 7900 XTX Mesa 23.0.0
If you want any other information, let me know
If you want any other information, let me know
Wayland or X11?
If you want any other information, let me know
Wayland or X11?
I mainly run on KDE Wayland (Running the game under XWayland), but I just tried running it in KDE under X11 and that also works fine
Mainly a reply to myself and if somebody got the same challenges:
Mesa 23.0.0
glxinfo | grep Mesa
client glx vendor string: Mesa Project and SGI OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.5 OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.5 OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.5
Maybe that's why. I'm on 22.
Replying to https://github.com/ValveSoftware/Proton/issues/6568#issuecomment-1476838752
I also took the benchmark, for some reason the graph does not seem to be rendered right, but the numbers at the bottom are reliable. I'm on mesa 23 already because the 7900 XTX does not work well on mesa 22. I also had to apply the dll copy to be able to play multiplayer. Also looks like I'm playing at a lower resolution than you, but that shouldn't explain how large the gap in performance is.
That must have been it. Manjaro still had me on mesa 22. 23 did the trick.
I'm seeing a similar issue to @sfxworks . Constant frame drops on Ubuntu 22.10. I have Mesa 23.0 installed. Is anyone else seeing similar issues?
Your issue looks different as I was floating around 14fps with spikes upward https://github.com/ValveSoftware/Proton/issues/6568#issuecomment-1464830070
Does anyone else have any idea why it seems to be so stuttery? Other people on protondb are reporting camera stutter - which might be the same issue https://www.protondb.com/app/1677280
is the mp disconnect still present even with the lates GE versions ?
Company of heroes 3
Issue transferred from https://github.com/ValveSoftware/Proton/issues/7449. @EliasDadde posted on 2024-01-27T14:05:20:
Heavy Camera Sluttering makes the game unplayable . Proton Experimental (although i used many different proton version so i dont think it matters , it's a universal issue with proton and he game).
To update the post , seems to be a lot of frames drop , doesn't matter really low quality graphics or high quality graphics , the heavy frame drops are the cause of the sluttery camera feeling, sadly been working on the game for a week or so , cant get it to run at a stable frame rate ![Uploading Screenshot_20240127_232418-1.png…]()
I have found a fix for PCs/Laptops running CoH3 and having fps issues (at least with dedicated Nvidia GPU)! Because the game sometimes actively priorities the integrated (slow) GPU over the dGPU even when offloading. A simple fix is to filter GPUs with DXVK_FILTER_DEVICE_NAME="GPU NAME". Works on Wayland and X11, however on X11 I did get some strange bugs about wrong gpu detection and the screen flickering like crazy.
I have found a fix for PCs/Laptops running CoH3 and having fps issues (at least with dedicated Nvidia GPU)! Because the game sometimes actively priorities the integrated (slow) GPU over the dGPU even when offloading. A simple fix is to filter GPUs with DXVK_FILTER_DEVICE_NAME="GPU NAME". Works on Wayland and X11, however on X11 I did get some strange bugs about wrong gpu detection and the screen flickering like crazy.
are you sure about that DXVK is a dx11 , and im not sure coh 3 has a dx11 path , its a dx12 games , unless i'am mistaken.
are you sure about that DXVK is a dx11 , and im not sure coh 3 has a dx11 path , its a dx12 games , unless i'am mistaken.
@EliasDadde actually I do not know, but it only works on my system with the env var (without it it will use iGPU). For vkd3d (dx12) there is VKD3D_FILTER_DEVICE_NAME, which does the same but has no effect on my system (when playing CoH3). So I guess it uses dx11.
Here are my full launch options:
DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce RTX 3060" PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 DXVK_ASYNC=1 gamemoderun %command%
Hi, for people who reported bad stuttering in Company of Heroes 3: I had the same experience and found that Kernel's split lock mitigation caused these problems on my system (Ubuntu 22.04, Nvidia 4070 Ti, Intel i5 12500).
After running CoH 3 with all its stuttering and bad fps, dmesg was full of lines like:
#AC: RelicCoH3.exe/63356 took a split_lock trap at address: 0x154f93c1b
Once I disabled split lock mitigation the game ran perfectly at 120 fps without any suttering. You can do this by using gamemode >= 1.8.0 and configuring enabling disable_splitlock=1
in the gamemode configuration.
Alternatively, you can also disable the split lock mitigation by running
sudo sysctl kernel.split_lock_mitigate=0
in the terminal before playing.
Hope this helps!
Replying to https://github.com/ValveSoftware/Proton/issues/6568#issuecomment-2105716251
this is true indeed , however sysctl doesn't seem to work nor the gamodemode.ini im still getting this split_lock , seems like steam encourage this behaviour while kernel don't , seems more like a valve proton issue that they can solve themself , but thank you for catching this up . [137185.322270] x86/split lock detection: #AC: RelicCoH3.exe/26727 took a split_lock trap at address: 0x15a0539d4 [137186.046481] x86/split lock detection: #AC: RelicCoH3.exe/26720 took a split_lock trap at address: 0x15a0539d4 [137186.448791] x86/split lock detection: #AC: RelicCoH3.exe/26712 took a split_lock trap at address: 0x14420ead2 [137189.911775] x86/split lock detection: #AC: RelicCoH3.exe/26710 took a split_lock trap at address: 0x14420eb82 even after i tried to change the kernel parameter with sysctl.
yeah i noticed the difference it's huge , still not 100% smooth but at least it's now playable 2v2 , thanks so much for pointing this out , hopefully valve will fix this issue once and for all
Just A Quick Note disable_splitlock=1 in /etc/gamemode.ini doesn't really fix the sluttering the only way to fix it is to use sysctl and change kernel parameter then the game will work flawlessly .
Compatibility Report
System Information
I confirm:
steam-1677280.log
Symptoms
i got a desync error whenever i join a multiplayer match
Reproduction