Opened 4 years ago

Closed 3 years ago

#5777 closed defect (fixed)

Graphic scales-down glitch on macOS 10.15 Catalina (red box)

Reported by: Krinkle Owned by: Krinkle
Priority: Release Blocker Milestone: Alpha 24
Component: Build & Packages Keywords: macos
Cc: Patch: phab:D2827

Description

Attachments (1)

red.png (149.5 KB ) - added by Krinkle 4 years ago.

Download all attachments as: .zip

Change History (7)

by Krinkle, 4 years ago

Attachment: red.png added

comment:1 by Krinkle, 4 years ago

Keywords: macos added

comment:2 by Krinkle, 4 years ago

The consensus on the forum threads is that an SDL update from 2.0.5 to 2.0.9 or later will fix this issue.

As I understand it, macOS 10.15 Catalina has changed some of its internals causing the same SDL and 0AD code to now behave differently. This is an issue SDL fixed in 2.0.9.

But, if I understand Itms' comment from https://code.wildfiregames.com/D1671 correctly, then the good news is that SDL 2.0.9+ fixes the macOS 10.15+ issue, and it's also good that SDL 2.0.9+ still supports macOS 10.9 and 10.11. But the bad news is that this distinction between the new and old graphics API is made at compile time, which means we'd either have to require macOS 10.12+ for 0AD Alpha 24, or we'd have to bundle and offer two downloads (one for old macOS, one for new), and build those release bundles from an old/new macOS host respectively.

comment:3 by Krinkle, 4 years ago

Patch: phab:D2827

comment:4 by Krinkle, 4 years ago

Owner: set to Krinkle
Status: newassigned

comment:5 by wraitii, 4 years ago

IMO it's a no-brainer to support 10.12+ only.

comment:6 by wraitii, 3 years ago

Resolution: fixed
Status: assignedclosed

In 24257:

Upgrade Mac OS libraries

All are updated except:

  • WxWidgets (not sure about compatibility)
  • libogg (doesn't compile)
  • zlib/libsodimum which have no update.

This drops supports for 10.11 and earlier, meaning we can now assume SSE4.1 is present.
Updates the build system to account for this.

Closes #5777 (by virtue of upgrading to SDL 2.12)

Refs #4362

Differential Revision: https://code.wildfiregames.com/D3111

Note: See TracTickets for help on using tickets.