new home for the non-Metal framework shims!

Overview

Moraea non-Metal Frameworks

The core of the non-Metal patches: wrappers for downgraded frameworks, consisting of a mixture of autogenerated stubs and handwritten shims.

build

Run Dependencies.tool to fetch dependencies from GitHub, or set MORAEA_LOCAL_DEPENDENCIES=1 to use local versions. Run Build.tool to generate binaries in the Build subfolder. Set USE_CAT_QC to use Catalina's QuartzCore; otherwise Mojave's will be used (unstable).

Most users will want to just use OCLP, which includes stable versions of these fixes.

credits

  • EduCovas
    • QuartzCore downgrade idea and shims (fixes numerous graphical bugs and improves performance)
    • refresh rate shims (fixes Catalyst scrolling and WebKit freezing)
    • swipe between pages workaround discovery
    • window rim improvement code
    • auto appearance switching reimplementation
    • Safari extensions help
    • display backlight insights
    • countless other code contributions, insights, and testing
    • TODO: Edu, edit this yourself however you want and add anything i forgot - Amy
  • ASentientHedgehog
    • QuartzCore downgrade idea
    • swipe between pages workaround code
    • window rim improvement code
    • auto appearance switching reimplementation
    • keyboard backlight workaround code
    • TeraScale 2 insights
    • OpenCL downgrade
    • Night Shift prefpane fix code
    • countless other code contributions, insights, and testing
    • TODO: Hedgy, edit this yourself however you want and add anything i forgot - Amy
  • ASentientBot
    • most fixes for Catalina/Big Sur (empty windows, empty menu bar, menu bar styling, sidebar glyphs, user input, sessions, display sleep, accessibility zoom, several app and WindowServer crashes)
    • most build scripts and stubbing/binpatching utils
    • fixes for problems caused by downgraded QuartzCore (animations, Catalyst issues, Siri issues, black videos)
    • Cycle Through Windows reimplementation
    • various other code and research
  • khronokernel
    • OpenCore Legacy Patcher development and leadership
    • TeraScale 2 insights
    • excellent hackintosh guides
    • countless other explanations, insights, help, patience, and testing
    • TODO: Mykola, edit this yourself however you want and add anything i forgot - Amy
  • dosdude1
    • 10.14.4+ OpenGL/GPUSupport downgrade (fixes mysterious WindowServer crash)
    • Mojave/Catalina patcher development and leadership
    • countless other macOS insights and help
  • SpiraMira (pkouame), testheit
    • various SkyLight insights and explanations
    • previous light mode transparency workarounds
  • fabioiop
    • window rim improvements
  • jackluke
    • 10.14+ Penryn panic fix (telemetry plugin)
    • Tesla insights
  • Minh Ton
    • display brightness workaround (fixes greyed Control Center slider with downgraded QuartzCore)
    • many other macOS insights and testing
  • parrotgeek1
    • numerous macOS and graphics insights regarding Tesla, TeraScale 2, SIP, OpenGL and more
  • Flagers
    • numerous macOS insights, explanations, and help
  • IronApple
    • OpenCL downgrade testing
  • dhinakg
  • Syncretic
  • Acidanthera
  • Julian Fairfax

Thank you as well to other contributors, moderators, and testers on Unsupported Macs Discord, OCLP Discord, and MacRumors Forums. Please contact us or open an issue if we forgot to mention you!

changes

2022-4-21

  • fix Catalyst app instability with Mojave QuartzCore
  • disable Night Shift patch by default since OCLP handles that
  • fix upside-down Catalyst UI elements with Mojave QuartzCore

2022-4-20

  • fix Siri regression with Stubber 2

2022-4-19

  • reduce Display prefpane icon pixelation
  • reimplement Cycle Through Windows
  • replace last ASB_ and NonMetal_ prefixes with Moraea_

2022-4-18

  • improve rim detection heuristic

2022-4-17

  • improve auto appearance stability

2022-4-10

  • fix swipe between pages automatically
  • improve auto appearance stability

2022-4-5

  • significantly improve window rim appearance

2022-4-4

  • add window rim blacklist
  • automatically disable fake window rims in light mode
  • add Fabio's window rim tweak
  • improve build scripts
  • fix 1200 second Catalyst crash

2022-4-3

  • add initial auto appearance reimplementation

earlier history

Previous history is available in the old repository.

todo

Also see here and here.

  • fix stuttering/out-of-order frames when seeking in videos with Mojave QuartzCore
  • fix beachball with hardware cursor (workaround: downgrade IOHIDFamily to Catalina and edit WindowServer's sandbox file to allow HIDWaitCursorFrameInterval, or use this beta SkyLight plugin)
  • rewrite blur fix to work with Mojave QC and fix flickering/performance issues
  • fix unresponsive password dialogs with downgraded QuartzCore
  • fix unresponsive Catalyst buttons
  • investigate rare binaries not seeing re-exported symbols (Dropbox-specific workaround: SkyLight plugin)
  • investigate slow compositing in all browsers (at least partially fixed with Mojave QuartzCore)
  • investigate broken WebGL in some browsers (workaround: use Chrome's ignore-gpu-blocklist)
  • improve status bar item resizing, replicant handling
  • investigate Maps crash
  • fix Photo Booth (workaround: use Big Sur version)
  • fix Books (workaround: use Big Sur version)
  • automatically color menu bar text (workaround: defaults write -g Moraea_DarkMenuBar -bool true)
  • fix full-screen transition
  • fix Migration Assistant
  • fix "Move to Display"
You might also like...
1D, 2D, and 3D variations of Fast Fourier Transforms for a Metal S4TF backend

MetalFFT MetalFFT is an experiment in adding GPU acceleration for 1D, 2D, and 3D variations of Fast Fourier Transforms. This framework's original purp

An example app showing how to use AVCaptureSession with Metal in Swift.
An example app showing how to use AVCaptureSession with Metal in Swift.

#iOSSwiftMetalCamera Click here to see video demo. This app is a basic example showing how to use Swift to setup an AVCaptureSession session to access

VRTracerSample - Learning project in Metal Ray Tracing and Swift
VRTracerSample - Learning project in Metal Ray Tracing and Swift

VRTracer This is a personal project for learning Metal's Ray Tracing API with sw

Visualiser written in Swift, SwiftUI and Metal API
Visualiser written in Swift, SwiftUI and Metal API

ModularMTL About Visualisation of modular multiplication on a circle. Written in Swift using Metal API and SwiftUI. Images Features Keyboard controls

Extract Metal functions from .metallib files.
Extract Metal functions from .metallib files.

Metal Library Archive MetalLibraryArchive is a product of reverse-engineering Apple's metallib file format. You can use MetalLibraryArchive to get the

Playing with Core Image and Metal Shader Language for fun.
Playing with Core Image and Metal Shader Language for fun.

Playing with Core Image and Metal Shader Language for fun.

A Metal application that mimics SAO
A Metal application that mimics SAO "Link Start" scene.

SAO Link Start Effect This is a Metal application that mimics SAO "Link Start" scene. Building The project requires Xcode 13.3 or later version. The a

A Metal re-implementation of GLKit's GLKBaseEffect
A Metal re-implementation of GLKit's GLKBaseEffect

MBEBaseEffect: Antique Fixed-Function Features for Modern Apps When GLKit was introduced with iOS 5 (2011), it included the GLKBaseEffect class to all

Image slide-show viewer with multiple predefined transition styles, with ability to create new transitions with ease.
Image slide-show viewer with multiple predefined transition styles, with ability to create new transitions with ease.

ATGMediaBrowser ATGMediaBrowser is an image slide-show viewer that supports multiple predefined transition styles, and also allows the client to defin

Comments
  • Amy's changes for 2022-4-21

    Amy's changes for 2022-4-21

    • fix Catalyst app instability with Mojave QuartzCore
    • disable Night Shift patch by default since OCLP handles that
    • fix upside-down Catalyst UI elements with Mojave QuartzCore
    opened by ASentientBot 1
  • AppKit issetugid hack

    AppKit issetugid hack

    fix for VirtualBox and probably other things that break with Cycle Through Windows hack, and should prevent this issue with loading AppKit in privileged processes in the future.

    opened by ASentientBot 0
  • workaround unresponsive UNCAlert buttons

    workaround unresponsive UNCAlert buttons

    rewriting the NSOcclusionDetectionView hack to send the unoccluded notification and properly add a (fake) SLSecureCursorAssertion to the userInfo

    allows clicking UNCAlert buttons and removes the need for a Safari-specific hack

    still not a proper fix; ideally we would have fake SLSecureCursorAssertion + working 0x526/0x527 SL notifications, but idk what is wrong with the latter...

    opened by ASentientBot 0
Owner
Moraea
Home of the non-Metal Patches.
Moraea
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.

GPUImage 3 Janie Clayton http://redqueengraphics.com @RedQueenCoder Brad Larson http://www.sunsetlakesoftware.com @bradlarson contact@sunsetlakesoftwa

Brad Larson 2.4k Jan 3, 2023
A GPU accelerated image and video processing framework built on Metal.

MetalPetal An image processing framework based on Metal. Design Overview Goals Core Components MTIContext MTIImage MTIFilter MTIKernel Optimizations C

null 1.5k Jan 4, 2023
The first non-jailbroken iOS (and macOS) application to adjust the screen temperature, brightness, and color!

GoodNight Project name thanks to @Emu4iOS. Based off of Thomas Finch's GammaThingy. GoodNight is an app that allows you to directly access the screen'

Anthony Agatiello 558 Nov 3, 2022
📷 A composable image editor using Core Image and Metal.

Brightroom - Composable image editor - building your own UI Classic Image Editor PhotosCrop Face detection Masking component ?? v2.0.0-alpha now open!

Muukii 2.8k Jan 3, 2023
📷 A composable image editor using Core Image and Metal.

Brightroom - Composable image editor - building your own UI Classic Image Editor PhotosCrop Face detection Masking component ?? v2.0.0-alpha now open!

Muukii 2.8k Jan 2, 2023
A python library to run metal compute kernels on MacOS 12

metalcompute for Python A python library to run metal compute kernels on MacOS Usage Example execution from M1-based Mac running MacOS 12.0: > ./build

Andrew Baldwin 21 Nov 7, 2022
GPU-based media processing library using Metal written in Swift

GPU-based media processing library using Metal written in Swift. Overview MetalAcc is a GPU-Based media processing library that lets you apply GPU-acc

Jiawei Wang 259 Dec 17, 2022
A simple mesh viewer for MacOS based on Swift and Metal and using Assimp for loading meshes

Metal Mesh Viewer A simple triangle mesh viewer for MacOS This application is a simple (triangle) mesh viewer that should be capable of rendering even

J. Andreas Bærentzen 0 Dec 13, 2021
Boids written in the Metal Shader language + Swift

MetalBoid Boids written in the Metal Shader language + Swift This is an example of a Boid simulating running in iOS using Swift+Metal. The parameters

Mark Dawson 10 Nov 8, 2022
1D, 2D, and 3D variations of Fast Fourier Transforms for a Metal S4TF backend

MetalFFT MetalFFT is an experiment in adding GPU acceleration for 1D, 2D, and 3D variations of Fast Fourier Transforms. This framework's original purp

Philip Turner 21 Oct 11, 2022