Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMage is unusable on Mac M1 #12431

Open
danielfranke opened this issue Jun 8, 2024 · 7 comments
Open

XMage is unusable on Mac M1 #12431

danielfranke opened this issue Jun 8, 2024 · 7 comments
Labels
bug Bugs and errors linux / macos

Comments

@danielfranke
Copy link

danielfranke commented Jun 8, 2024

Any mouse click in "Connect to Server" window causes XMage to hang (crash - spinning wheel on Mac).

MacBook Pro, 16 inch, 2021
Chip: Apple M1 Max
Memory 64 GB
MacOS Sonoma 14.5
Java 8 update 411

----- CRASH LOG ------

Date/Time: 2024-06-07 22:24:26.230 -0400
End time: 2024-06-07 22:24:45.991 -0400
OS Version: macOS 14.5 (Build 23F79)
Architecture: arm64e
Report Version: 49
Incident Identifier: 6C075C46-EF91-44F9-8710-6C394544173C
Share With Devs: Yes

Data Source: Stackshots
Shared Cache: 3406AD1B-2469-30EB-9863-5DCE861E6DEA slid base address 0x18fba4000, slide 0xfba4000 (System Primary)
Shared Cache: 03FF7F1F-0B2B-3DA3-9879-86BA9BC31444 slid base address 0x1916cc000, slide 0x116cc000 (DriverKit)
Shared Cache: 6F51A82C-C96C-3BC8-82CA-9C109185BD3C slid base address 0x7ff806ecc000, slide 0x6ecc000 (Rosetta)

Command: mage.client.MageFrame
Path: /Applications/XMageBeta/*/java
Codesigning ID: net.java.openjdk.cmd
Team ID: VB5E2TV963
Architecture: x86_64 (translated)
Parent: XMageLauncher-0.3.8 [1812]
Responsible: JavaLauncher [1811]
PID: 1819
Time Since Fork: 461s

Event: hang
Duration: 19.76s
Duration Sampled: 1.10s (process was unresponsive for 19 seconds before sampling)
Steps: 11 (100ms sampling interval)

Hardware model: MacBookPro18,2
Active cpus: 10
HW page size: 16384
VM page size: 16384

Time Since Boot: 2849s
Time Awake Since Boot: 2849s
Time Since Wake: n/a (machine hasn't slept)

Fan speed: 0 rpm
Total CPU Time: 1.338s (2.1G cycles, 2.4G instructions, 0.89c/i)
Advisory levels: Battery -> 1, User -> 2, ThermalPressure -> 0, Combined -> 1
Free disk space: 3046.13 GB/3721.87 GB, low space threshold 3072 MB
Vnodes Available: 82.33% (216670/263168)

Preferred User Language: en-CA
Country Code: CA
OS Cryptex File Extents: 1

@JayDi85
Copy link
Member

JayDi85 commented Jun 8, 2024

As workaround until next update -- workable fix 1:

P.S.

Experimental fix 2 for never worked macos with m1/m2 (who can't run xmage due startup freeze for many years): Not work…

  • disable auto-connect in connection dialog and close xmage;
  • download and replace file http://xmage.today/X/macos/fix2/mage-client-1.4.50.jar
  • open launcher settings - java - client options and add at the end xxx -Dxmage.fullScreen=true (xxx - your old settings, then space, then new setting);
  • it's test version, you can't play on public or local server with it;
  • shot_240614_182834

@JayDi85 JayDi85 changed the title XMage Latest version 1.4.51-dev (2024-06-06 19-55) is unusable on Mac XMage is unusable on Mac M1 Jun 8, 2024
@JayDi85 JayDi85 added linux / macos bug Bugs and errors labels Jun 8, 2024
@danielfranke
Copy link
Author

Workaround now provided access to the interface but Mac Client freezes when using mouse for most configuration windows (e.g.: Using drop down menus or clicking with mouse inside a pop-up window to change a setting). ** Work around is using keyboard only with tab + enter keys but this is not always possible for example when prompted to enter a value such as number of cards to draw during play.

@JayDi85
Copy link
Member

JayDi85 commented Jun 9, 2024

@danielfranke did old versions (from last months) also not work on your mac due freeze on menu usage?

@danielfranke
Copy link
Author

@danielfranke did old versions (from last months) also not work on your mac due freeze on menu usage?

Previous versions did allow me to access the interface (unlike newest version) but freeze up regularly when using any kind of menu with drop down. Buttons when used alone worked as expected.

@JayDi85
Copy link
Member

JayDi85 commented Jun 10, 2024

@danielfranke can you try that fix -- is it workable? Nope, it's not

@danielfranke
Copy link
Author

danielfranke commented Jun 10, 2024

@danielfranke can you try that fix -- is it workable?

Unfortunately, this version does not work. The client hangs before I can connect to any server.
The previous version produced better results (http://xmage.today/X/mage-client-1.4.50.jar).

@JayDi85
Copy link
Member

JayDi85 commented Jun 11, 2024

@danielfranke can you write me DM in discord https://discord.gg/Qn7gN6VR ? I have some versions and tooltips for possible fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs and errors linux / macos
Projects
None yet
Development

No branches or pull requests

2 participants