pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
109 stars 46 forks source link

Graphics corruption and crash on 144Hz monitor (MacOS) #699

Open swiftcoder opened 1 month ago

swiftcoder commented 1 month ago

Describe the bug

If I launch a freshly-installed copy of the PharoLauncher, and then drag the window to a 144hz external monitor, the monitor flashes black, and after some time the MacBook crashes and reboots.

Lowering the monitor refresh rate to 120hz or below appears to resolve the issue. But I can repro this at lower refresh rates as well, if I resize any Pharo window to cover a substantial portion of the screen.

May have an interaction with resolution as well as refresh rate - I can only seem to repro on a 4K display.

To Reproduce Steps to reproduce the behavior:

  1. Install Pharo on a Mac
  2. Launch the PharoLauncher
  3. Drag the PharoLauncher window onto a 144Hz monitor
  4. Observe that the screen flashes black
  5. Leave the window there for some time, and the Mac is likely to crash and reboot

Expected behavior No black flashes, no crash

Screenshots https://github.com/user-attachments/assets/829363ed-cb7e-4e72-9e5f-a2e6ffb6d84c

Version information:

Expected development cost Happy to lend a hand, but unsure where to start as I'm new to Pharo.

Additional context Add any other context about the problem here.