italomandara / CXPatcher

A patcher to upgrade Crossover dependencies and improve compatibility
GNU General Public License v3.0
831 stars 22 forks source link

CS2 freezes once per match #148

Closed 0xR32 closed 7 months ago

0xR32 commented 8 months ago

I have a M1 Pro 2021 ,16GB ram and the game runs smoothly (~70 fps). However, the game freezes once per match. All I have to do is to restart everything and after that I can play pretty much until the end of the match without any freezes. It's a bit annoying to do that for every match.

Is there a setting or solution to this problem?

italomandara commented 8 months ago

What version of CXPatcher are you using?

0xR32 commented 8 months ago

v0.4.3 for Crossover 23.5 - 23.6

I'm aware that it's the pre-release version. But just want know what could cause the issue.

italomandara commented 8 months ago

It can be anything I haven't debugged that, TBH crashes arent happening anymore, but you can enable the logs and post them here. also try a new bottle because sometimes reusing a bottle created with other versions of cxpatcher would cause any kind of issue.

agent-carl commented 7 months ago

I think I found how to fix it, you need to disable esync/msync, yes these functions give extra fps but because of them once in 7-10 minutes cs2 freezes and only restarting the game can help :(

italomandara commented 7 months ago

Are you using dxvk or d3dmetal?

agent-carl commented 7 months ago

dxvk

Jaco6Z commented 7 months ago

This is happening to me as well. The game freezes exactly once per match and doesn't freeze again until the next match. Crossover 23.6 patched with CXPatcher 0.4.7. I only patched DXVK and D3DMetal, since MoltenVK seems to cause the foliage to flicker.

italomandara commented 7 months ago

This is happening to me as well. The game freezes exactly once per match and doesn't freeze again until the next match. Crossover 23.6 patched with CXPatcher 0.4.7. I only patched DXVK and D3DMetal, since MoltenVK seems to cause the foliage to flicker.

you can patch moltenvk and then disable fast math in the CXPatcher options to fix the foliage issue

Jaco6Z commented 7 months ago

This is happening to me as well. The game freezes exactly once per match and doesn't freeze again until the next match. Crossover 23.6 patched with CXPatcher 0.4.7. I only patched DXVK and D3DMetal, since MoltenVK seems to cause the foliage to flicker.

you can patch moltenvk and then disable fast math in the CXPatcher options to fix the foliage issue

I enabled both options in CXPatcher and the flickering still exists.

In fact, I don't even care about the flickering that much, as long as the random freezing is resolved I'm happy. These freezes forces me to have to restart the game every single match and my teammates aren't too happy about it.

italomandara commented 7 months ago

disable fast math

Does it freeze without CXPatcher?

Jaco6Z commented 7 months ago

disable fast math

Does it freeze without CXPatcher?

yes. It freezes no matter what.

italomandara commented 7 months ago

disable fast math

Does it freeze without CXPatcher?

yes. It freezes no matter what.

Then I don't think I can do much, if there is a workaround I'll add it to CXPatcher but for now, I'll close the issue