magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.86k stars 762 forks source link

Client Freezes as Soon as it Starts up on MacOS #11292

Closed sechecopar closed 4 weeks ago

sechecopar commented 12 months ago

So, I figured out that some other people were having the same issue I was on Mac which was basically some other program is interfering with Java so the client can't run properly.

What sucks though is that the replies are always "it must be Contexts or Magnet or something" I have neither of those apps, so I have no idea what it is that's conflicting with Xmage.

I could go and delete absolutely everything from my Activity Monitor but that would mean I'd have to do that every single time I wanna run Xmage, and since it's not a fast process it would render it virtually unusable anyways.

Anyone know how I can find out exactly what is clashing with the client so I can just shut that down? Thank you!

Related: https://github.com/magefree/mage/issues/4920

https://github.com/magefree/mage/issues/5928

https://github.com/magefree/mage/issues/6398

JayDi85 commented 12 months ago

If it freeze before you see a connection dialog then it's auto-connect problem. See here for the fix.

SteffenJahr commented 12 months ago

@JayDi85 Not working for me:

Screenshot 2023-10-11 at 13 46 04
JayDi85 commented 12 months ago

@SteffenJahr are you a topic starter? You must restart mac to apply new settings. If not helps then describe your problem with details:

  1. Hows you run it?
  2. What you see at the end (on freeze moment)?
  3. Is it open something on startup?
  4. Is it allows to open connect dialog?
  5. Is it allows to open country/flag search button in connect dialog?
SteffenJahr commented 12 months ago

@JayDi85 No i am not but I have the same issue. I launch the client, the ui shows up and immediately the color wheel appears and the app frezes. And I restarted my Mac several times.

  1. MacOS on a Macbook Pro M1 Max
  2. See Screenshot
  3. Yes the UI is showing up 4 & 5. I can't click anything Screenshot 2023-10-11 at 15 28 03
sechecopar commented 12 months ago

If it freeze before you see a connection dialog then it's auto-connect problem. See here for the fix.

Hi, OP here, that com.apple.java.util.prefs API isn't showing up on my end:

Screenshot 2023-10-11 at 3 30 28 PM

This is where I get to before it freezes:

Screenshot 2023-10-11 at 3 32 14 PM

For reference this is my Activity Monitor:

Screenshot 2023-10-11 at 3 33 22 PM

Notice the size of the scrolling bar to the right to see how just blindly closing everything isn't a viable option.

Thank you for any help you can provide!

DeliriumXDHS commented 10 months ago

If it freeze before you see a connection dialog then it's auto-connect problem. See here for the fix.

Hi, OP here, that com.apple.java.util.prefs API isn't showing up on my end: Screenshot 2023-10-11 at 3 30 28 PM

This is where I get to before it freezes: Screenshot 2023-10-11 at 3 32 14 PM

For reference this is my Activity Monitor: Screenshot 2023-10-11 at 3 33 22 PM Notice the size of the scrolling bar to the right to see how just blindly closing everything isn't a viable option.

Thank you for any help you can provide!

Hey, did you solve this issue in any way? It looks like I have the same thing and I can't seem to fix it.

JayDi85 commented 9 months ago

Follow that instructions to replace xmage’s java with updated version - it must fix most problems: https://github.com/magefree/mage/issues/8406#issuecomment-1011720728

DeliriumXDHS commented 9 months ago

Hello, sorry for getting back to you this late, sadly this has not worked - (I downloaded the newest Mac tar file and overwrote my Contents folder. Still the same issue of an unresponsive XMage Connect Screen. I really appreciate the help though,

Have a great new year!  

   

Gesendet: Freitag, 15. Dezember 2023 um 03:49 Uhr Von: "Oleg Agafonov" @.> An: "magefree/mage" @.> Cc: "DeliriumXDHS" @.>, "Comment" @.> Betreff: Re: [magefree/mage] Client Freezes as Soon as it Starts up on MacOS (Issue #11292)

 

Follow that instructions to replace xmage’s java with updated version - it must fix most problems: #8406 (comment)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

kholbekj commented 2 months ago

Same issue. no autoconnect, updated the java version.

Tiny detail is, it doesn't hang on startup directly, it hangs right after any interaction with the window (ie. clicking anywhere).

JayDi85 commented 1 month ago

Solutuion for users who raplaced java, but can't play on public servers -- now it can be compatible: https://github.com/magefree/mage/issues/12768

JayDi85 commented 4 weeks ago

Original problem was in wrong implementation of modal windows (xmage code for system events processing). Not actual anymore with non-blocking UI in last release #12825