Jump to content

Graphics Acceleration for AMD Terascale 2 cards (eg ATI Radeon HD 5770) now possible in Big Sur!


5 posts in this topic

Recommended Posts

Hi Guys.

 

Just a heads up for those like me that have a legacy machine with AMD Terascale Graphics card eg ATI HD 5770…

@ASentientBot, @khronokernel and others working on OpenCore Legacy patcher have managed to re-enable graphics acceleration in Big Sur (actually, Apple dropped official support for these graphics cards since macOS Mojave)!

 

Pre-requisites
1.  Fully disable SIP (csr-active-config to ef0f in bootloader config.plist)
2.  Disable Apple Mobile File Integrity checking with boot argument amfi_get_out_of_my_way=1
3.  Download OpenCore-Patcher.app v 0.1.8+ (I used 0.1.9)
4.  Right Click to open OpenCore-Patcher.app, choose option 5 “Patcher Settings” and then enable option 8, “Terascale 2 Acceleration”
5.  Choose option 3 “Post-Install Volume Patch”, then option 1 “Patch System Volume” and follow the prompts…

##################################
# OpenCore Legacy Patcher v0.2.2 #
#   Selected Model: MacPro5,1    #
##################################

This model is supported

1.  Build OpenCore
2.  Install OpenCore to USB/internal drive
3.  Post-Install Volume Patch
4.  Change Model
5.  Patcher Settings
6.  Credits
Q.  Quit

Please select an option: 5








###########################
# Adjust Patcher Settings #
###########################

1.  Enable Verbose Mode:		Currently True
2.  Enable OpenCore DEBUG:		Currently False
3.  Enable Kext DEBUG:			Currently False
4.  Set ShowPicker Mode:		Currently True
5.  Set Vault Mode:			Currently False
6.  Allow FireWire Boot:		Currently False
7.  Allow NVMe Boot:			Currently False
8.  Enable TeraScale 2 Acceleration:	Currently False
9.  Disable AMFI:			Currently False
10.  Set SIP and SecureBootModel:	SIP: True SBM: False
11.  Allow OpenCore on native Models:	Currently False
12.  Advanced Patch Settings, for developers only
Q.  Quit

Please select an option: 8





###################################
# Enable TeraScale 2 Acceleration #
###################################

Currently TeraScale 2 graphics acceleration is in beta with
some unfortunate bugs on login including strobing colours
until the user forces Million Colours on the Display with
SwitchResX or resXtreme

Users sensitive to seizures should avoid using TeraScale 2
patches or ask someone to handle inital setup to ensure
no issues

Note: Acceleration only applies to macOS Big Sur
        
Enable TS2 Acceleration?(y/n): y








###########################
# Adjust Patcher Settings #
###########################

1.  Enable Verbose Mode:		Currently True
2.  Enable OpenCore DEBUG:		Currently False
3.  Enable Kext DEBUG:			Currently False
4.  Set ShowPicker Mode:		Currently True
5.  Set Vault Mode:			Currently False
6.  Allow FireWire Boot:		Currently False
7.  Allow NVMe Boot:			Currently False
8.  Enable TeraScale 2 Acceleration:	Currently True
9.  Disable AMFI:			Currently False
10.  Set SIP and SecureBootModel:	SIP: True SBM: False
11.  Allow OpenCore on native Models:	Currently False
12.  Advanced Patch Settings, for developers only
Q.  Quit

Please select an option: Q





##################################
# OpenCore Legacy Patcher v0.2.2 #
#   Selected Model: MacPro5,1    #
##################################

This model is supported

1.  Build OpenCore
2.  Install OpenCore to USB/internal drive
3.  Post-Install Volume Patch
4.  Change Model
5.  Patcher Settings
6.  Credits
Q.  Quit

Please select an option: 3








##########################
# Patching System Volume #
##########################
Patches Root volume to fix misc issues such as:

- Graphics Acceleration for non-Metal GPUs
  - Nvidia: Tesla - Fermi (8000-500 series)
  - Intel: Ironlake - Sandy Bridge
  - AMD: TeraScale 1 and 2 (2000-6000 series)
- Audio support for iMac7,1 and iMac8,1

WARNING: Root Volume Patching is still in active development, please
have all important user data backed up. Note when the system volume
is patched, you can no longer have Delta updates or have FileVault
enabled.

Supported Options:

1. Patch System Volume
2. Unpatch System Volume (Experimental)
B. Exit
        
Patch System Volume?: 1
- Starting Patch Process
- Determinging Required Patch set for Darwin 20
- Found GFX0: 1002:68B8

The following patches will be applied:
- Add Legacy ATI TeraScale 2 Graphics Patch
Would you like to continue with Root Volume Patching?(y/n): y
- Continuing with Patching
- Verifying whether Root Patching possible
- Patcher is capable of patching
- Apple binaries missing
- Attempting download from following link:
https://github.com/dortania/PatcherSupportPkg/releases/download/0.0.10/11-Big-Sur.zip



- Downloading package

- Downloading package
- 144.0MB Downloaded


- Downloading package
- 144.67527961730957MB Downloaded
- Checksum: 93dee304567a8efd22665e8b60a244137645e64133a785b388baa4ab95d255fd
- Download completed
- Unzipping download...
- Renaming folder
- Binaries downloaded to:
/private/var/folders/l4/hm5_pmhj4t7fyzg5vj5pct5m0000gn/T/_MEIFYpamK/payloads
Press [ENTER] to continue
- Found Root Volume at: disk4s3
- Mounting APFS Snapshot as writable
Password:
- Successfully mounted the Root Volume
- Running patches for MacPro5,1
- Installing legacy TeraScale 2 Patches
- Detected Big Sur, installing Acceleration patches
- Deleting AMDRadeonX4000.kext
- Deleting AMDRadeonX4000HWServices.kext
- Deleting AMDRadeonX5000.kext
- Deleting AMDRadeonX5000HWServices.kext
- Deleting AMDRadeonX6000.kext
- Deleting AMDRadeonX6000Framebuffer.kext
- Deleting AMDRadeonX6000HWServices.kext
- Deleting AMD7000Controller.kext
- Deleting AMD8000Controller.kext
- Deleting AMD9000Controller.kext
- Deleting AMD9500Controller.kext
- Deleting AMD10000Controller.kext
- Deleting AppleIntelBDWGraphics.kext
- Deleting AppleIntelBDWGraphicsFramebuffer.kext
- Deleting AppleIntelCFLGraphicsFramebuffer.kext
- Deleting AppleIntelHD4000Graphics.kext
- Deleting AppleIntelHD5000Graphics.kext
- Deleting AppleIntelICLGraphics.kext
- Deleting AppleIntelICLLPGraphicsFramebuffer.kext
- Deleting AppleIntelKBLGraphics.kext
- Deleting AppleIntelKBLGraphicsFramebuffer.kext
- Deleting AppleIntelSKLGraphics.kext
- Deleting AppleIntelSKLGraphicsFramebuffer.kext
- Deleting AppleIntelFramebufferAzul.kext
- Deleting AppleIntelFramebufferCapri.kext
- Deleting AppleParavirtGPU.kext
- Deleting GeForce.kext
- Deleting IOGPUFamily.kext
- Deleting AppleCameraInterface.kext
- Found conflicting kext, Deleting Root Volume's IOAcceleratorFamily2.kext
- Adding IOAcceleratorFamily2.kext
- Found conflicting kext, Deleting Root Volume's IOSurface.kext
- Adding IOSurface.kext
- Adding AMD2400Controller.kext
- Adding AMD2600Controller.kext
- Adding AMD3800Controller.kext
- Adding AMD4600Controller.kext
- Adding AMD4800Controller.kext
- Adding AMD5000Controller.kext
- Adding AMD6000Controller.kext
- Found conflicting kext, Deleting Root Volume's AMDFramebuffer.kext
- Adding AMDFramebuffer.kext
- Adding AMDLegacyFramebuffer.kext
- Adding AMDLegacySupport.kext
- Found conflicting kext, Deleting Root Volume's AMDRadeonVADriver.bundle
- Adding AMDRadeonVADriver.bundle
- Found conflicting kext, Deleting Root Volume's AMDRadeonVADriver2.bundle
- Adding AMDRadeonVADriver2.bundle
- Adding AMDRadeonX3000.kext
- Adding AMDRadeonX3000GLDriver.bundle
- Found conflicting kext, Deleting Root Volume's AMDShared.bundle
- Adding AMDShared.bundle
- Found conflicting kext, Deleting Root Volume's AMDSupport.kext
- Adding AMDSupport.kext
- Adding ATIRadeonX2000.kext
- Adding ATIRadeonX2000GA.plugin
- Adding ATIRadeonX2000GLDriver.bundle
- Adding ATIRadeonX2000VADriver.bundle
- Found conflicting kext, Deleting Root Volume's IOSurface.kext
- Adding IOSurface.kext
- Merging general legacy Frameworks
- Adding IOHID-Fixup.plist
- Merging general legacy PrivateFrameworks
- Merging TeraScale 2 legacy Frameworks
- Merging TeraScale 2 PrivateFrameworks
- Fixing Acceleration in CMIO
Press [ENTER] to continue with cache rebuild: 
- Rebuilding Kernel Cache (This may take some time)
- Successfully built new kernel cache
Press [ENTER] to continue with snapshotting
- Creating new APFS snapshot
- Unmounting Root Volume (Don't worry if this fails)
- Patching complete

Please reboot the machine for patches to take effect
Press [ENTER] to continue

1211118203_AMDTerascaleGraphicsaccelerationnowOKinBigSur.thumb.png.23b6678d17de2f8c3d5cacc48ef8d0b7.png

 

 

Issues & Workarounds link.

To avoid screen flashing on login, recommended to enable auto login in System Preferences and install app that can change display color eg SwitchResX, ResXreme or EasyRes to force display of millions of colors instead of billions colors.

 

 

Edited by fusion71au
Added patcher log
  • Like 10

Thanks @pico,

 

Off Topic
Post #1 in the Monterey for Unsupported Macs Thread @MacRumors lists the Newly Unsupported Hardware including Legacy Wireless Cards…

 

Spoiler

Legacy Wireless Cards

  • BCM94322, BCM94328 and Atheros drivers currently can't be re-added currently
    • Models included:
      • iMac12,x and older
      • Macmini3,1 and older
      • MacBook5,x and older
      • MacBookAir2,1 and older
      • MacBookPro7,1 and older (6,x excluded)
      • MacPro5,1 and older

 

Unfortunately the old Atheros wireless kexts seem incompatible with Monterey (I have to disable loading of HS80211Family and Atheros40 in my OC config.plist, otherwise the boot process will hang).

Posted (edited)

@hardcorehenry,

 

I haven't tried the un-patching function yet.

 

However, even with a patched system volume, you can still update the system by downloading and then running the full installer app.  From dortania's issues page for legacy GPU acceleration patches...

 

The main issues with root volume patches

  • FileVault is unsupported
  • SIP and SecureBootModel must be disabled
  • Delta updates are unsupported
    • OTA updates are still supported, however they're going to be 12GB+
Edited by fusion71au
added link to issues page
  • Like 1
  • Thanks 1
×
×
  • Create New...