italomandara / CXPatcher

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

CO patched with v.0.3.3 doesn't show window. #129

Closed serista closed 9 months ago

serista commented 9 months ago

Sonoma 14.0, CO 22.1.1, CXP 0.3.3. After patching (with D3DMetal option enabled and separate path disabled) CrossOver starts without errors, there is CO title bar, but its window nowhere to be seen.

italomandara commented 9 months ago

Can you please give me more details so that i can replicate? It works just fine for me, for example: was the crossover app already patched with an older cxpatcher? what are the steps to reproduce the issue?

serista commented 9 months ago

It was patched before many times with older versions of CXP, but I unpatch it every time before I use newer version. It's M1, public release of Sonoma, CO 22.1.1 as I mentioned before. I did a usual procedure (unpatched the CO) and patched with CXP. Tried it several times - same result. Also tried with or without D3DMetal integration. There is only menu bar but no window and no any error messages.

Same with 0.3.2

0.3.1 works.

italomandara commented 9 months ago

ok so that means re-patching was broken since the folder re-arrangement, good to know. meanwhile can you try on a fresh copy of crossover 22.1.1 please? That could help to narrow down the issue.

serista commented 9 months ago

I'll try it tomorrow if it's still needed.

serista commented 9 months ago

I reinstalled CO and it's still the same with 0.3.3 and 0.3.2 - no window. Moreover, somehow I could not unpatch CO after patching (there was error about "either it's not patched or patched with incompatible version") until I repatched it with "allow repatch" enabled, after that it could be unpatched. I'm on 0.3.1 now.

italomandara commented 9 months ago

I reinstalled CO and it's still the same with 0.3.3 and 0.3.2 - no window. Moreover, somehow I could not unpatch CO after patching (there was error about "either it's not patched or patched with incompatible version") until I repatched it with "allow repatch" enabled, after that it could be unpatched. I'm on 0.3.1 now.

so if you patched a pristine, fresh downloaded crossover app with 0.3.3 without previously patching it with some older version. this is something else.

serista commented 9 months ago

so if you patched a pristine, fresh downloaded crossover app with 0.3.3 without previously patching it with some older version. this is something else.

Yes, I deleted CO, then installed it from scratch, checked that it run fine, quit it, patched it with 0.3.3 without D3DMetal this time, and got no window after that.

serista commented 9 months ago

OK, it works now. I repatched the fresh copy again after I removed installed.

italomandara commented 9 months ago

This is probably because i re-uploaded another build with a new code signature. Maybe that was causing issues

serista commented 9 months ago

This is probably because i re-uploaded another build with a new code signature. Maybe that was causing issues

You should also re-upload older versions, they also cause "will damage your computer" message. I tried 0.3.1 f.e.

italomandara commented 9 months ago

This is probably because i re-uploaded another build with a new code signature. Maybe that was causing issues

You should also re-upload older versions, they also cause "will damage your computer" message. I tried 0.3.1 f.e.

Thanks for reporting that! I will re-upload all of them or maybe just remove the artifacts from old versions

serista commented 9 months ago

Thanks for reporting that! I will re-upload all of them or maybe just remove the artifacts from old versions

My pleasure. Unrelated, by I wanted to ask if it's possible to do something with D3DMetal messing with DXVK? I mean that if D3DMetal is integrated then my games that had worked fine via DXVK cease to work. Stray as example.

serista commented 9 months ago

I don't know what's going on but CO (+1.3.3) once again doesn't open window. It worked consistently for few hours I many times repatched and unpatched it with 1.3.3 (and nothing else) alterating between D3DMetal and no D3DMetal and it worked fine. Now after few hours (and some computer restarts) I run it again and here we go - no window once again ( Something very strange is going on, all else working fine including Whisky.

italomandara commented 9 months ago

Screenshot 2023-09-30 at 20 55 32 For the avoidance of doubt, is this the window you aren't able to see?

serista commented 9 months ago

For the avoidance of doubt, is this the window you aren't able to see?

Yes ) After unpatching with 0.3.3 and patching again it works again. Bizzare. It's kind of random, but when it doesn't work it doesn't work. I tried to run it 10 or 20 times in a row until I repatched. It started to work again right after I unpatched it. Lets see how long it will hold this time.

italomandara commented 9 months ago

CXPatcher just changes some libs, the ui in crossover is a separate entity that CXPatcher doen't mess with, so it could be some other problem, do you manually change something in crossover for example? Is your license valid? can't think of anything I can fix on my end.

serista commented 9 months ago

do you manually change something in crossover for example? Is your license valid? can't think of anything I can fix on my end.

I did some manipulations with bottles. Removed and added some and also moved games from and to virtual C drives in the bottles. I also enabled and disabled DXVK switch. I'll try not change anything and see how it works.

PS: I have one suspicion though. There is setting to update game profiles on startup, maybe it can't update them sometimes and some error happens or something. Anyway, I turned the option off for now.

serista commented 9 months ago

CXPatcher just changes some libs, the ui in crossover is a separate entity that CXPatcher doen't mess with

The thing is that if CO doesn't work, once I unpatch it with CXP, it starts to work right away, so I think CXP must be related somehow. Not sure of course. What is really strange that it still works if I patch it again.

serista commented 9 months ago

After booting computer today the first thing I tried was launching CO, but it once again didn't show window. Then I run a game that uses it directly from a file manager. After that it started to work properly again. Hmm.

italomandara commented 9 months ago

After booting computer today the first thing I tried was launching CO, but it once again didn't show window. Then I run a game that uses it directly from a file manager. After that it started to work properly again. Hmm.

I'm not able to replicate your issue, If crossover is in your main Applications folder and it hasn't been renamed, try to run this on your terminal /Applications/CrossOver.app/Contents/MacOS/CrossOver and paste all you get in the terminal logs please.

serista commented 9 months ago

I'm sorry, I need to reinstall my stuff before that, CX is uninstalled and I'm using Whisky for now. BUT CX+CXP 0.3.3 was working fine and consistently for a few days since that problem occurred multiple times in the beginning and I couldn't repeat the problem anymore, maybe it was some problem with installation in my particular case (my bottle folder is on the external drive btw), especially if nobody else has had that issue as it seems.

italomandara commented 9 months ago

I'll close this then. Please feel free to re-open it in the future if the issue persists or you find other people having the same issue