italomandara / CXPatcher

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

CXPatcher 24 creates weird filter on Counter-Strike 2 #194

Open Sebas7882 opened 6 months ago

Sebas7882 commented 6 months ago

Fresh install of Crossover 24.0, and fresh CX Patcher and GStreamer downloaded as well. But CS2 is buggy. (Just tested the old version 23.7, it works fine) As you can see, when im holding the knife, the filter is normal. When holding guns, you can see green-purple-ish filter appearing on the screen. It never happened before. I assume this is some sort of incomplete shader code? (not a tech guy) Please response when you are available. Thanks! IMG_5179 IMG_5176 IMG_5177IMG_5178

agent-carl commented 6 months ago

same

italomandara commented 6 months ago

I need some extra information. What are your settings and hardware (do you use dxvk or d3d metal? are you on apple silicon or intel?) then you need to try the following steps

if it happens with d3dmetal, we're not in control of that, so we can't fix it until a new release of d3dmetal (Apple GPTK) is out (hopefully with the fix). if it happens with both dxvk and with both turned dxvk and d3dmetal off, try running the game with NAS_DISABLE_UE4_HACK=1 (right click the game icon in crossover and run with options)

Sebas7882 commented 6 months ago

I need some extra information. What are your settings and hardware (do you use dxvk or d3d metal? are you on apple silicon or intel?) then you need to try the following steps

  • try with dxvk
  • try with d3dmetal
  • try with both turned off

if it happens with d3dmetal, we're not in control of that, so we can't fix it until a new release of d3dmetal (Apple GPTK) is out (hopefully with the fix). if it happens with both dxvk and with both turned dxvk and d3dmetal off, try running the game with NAS_DISABLE_UE4_HACK=1 (right click the game icon in crossover and run with options)

I'm running the game on apple silicon. The screenshots above were taken when using DXVK. Tried with D3Dmetal, filters are gone but fps significantly dropped Tried with DXVK again, filters occured. Tried with DXVK and NAS_DISABLE_UE4_HACK=1, filters still there And game wouldnt even run without DXVK or D3Dmetal.... So problem might be DXVK.

italomandara commented 6 months ago

Try patching it without MoltenVK Screenshot 2024-05-09 at 15 45 27 if it still doesn't work, try patching without dxvk

Sebas7882 commented 6 months ago

Try patching it without MoltenVK Screenshot 2024-05-09 at 15 45 27 if it still doesn't work, try patching without dxvk

how to I re-patch my game without deleting the bottle?(no i dont see the revert back to original in file section in crossover) I have installed the game and i dont want to delete it and repatch it again. (in case it dont work, i have to reinstall again)

italomandara commented 6 months ago

re-patching doesn't delete the bottle. Patched CX will re-use the same Patched bottle path

Sebas7882 commented 6 months ago

re-patching doesn't delete the bottle. Patched CX will re-use the same Patched bottle path

Just tried, despite not patching moltenVK and DVXK, the problem still exists with DXVK on.

italomandara commented 6 months ago

if you don't patch moltenVK and dxvk you are pretty much using the unpatched Crossover app. 🤷‍♂️

italomandara commented 6 months ago

@Sebas7882 I downloaded the game and I will investigate and make a patch if it's something i could fix myself.

Sebas7882 commented 6 months ago

@Sebas7882 I downloaded the game and I will investigate and make a patch if it's something i could fix myself.

thats very good. As far as I aware this colour screen only occurs in crossover 24 with DXVK on, either patched or not

daliborfilus commented 3 months ago

@Sebas7882 I downloaded the game and I will investigate and make a patch if it's something i could fix myself.

thats very good. As far as I aware this colour screen only occurs in crossover 24 with DXVK on, either patched or not

I have the exact conclusion - D3DMetal works OK - no filter, stutters because of shader compilation, FPS are OK (on M1 Pro). DXVK has the filter with many weapons, some are OK. The same with CXPatcher "Base MVK". I've tried to also patch it with "Latest MVK", but with that, everything in the game is black, except for players, weapons and skyline - they render OK, and it seems like the filter is gone. But ground, buildings, everything is black. The menu and preview screens in Settings are OK though. Weird. (Crossover 24.0.4, CXPatcher 0.5.4)