From a2cdc0339ab193ca5e62ee98aabb70762288a16e Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Sat, 27 May 2023 11:23:35 -0600 Subject: [PATCH] misc.py: Strip media argument --- CHANGELOG.md | 4 ++++ resources/build/misc.py | 17 ----------------- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9677574e5..dfaedcd88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ ## 0.6.7 - Resolve partition buttons overlapping in Install OpenCore UI - ex. "EFI" and additional FAT32 partitions on a single drive +- Re-enable mediaanalysisd on Ventura + - Allows for Live Text support on systems with3802 GPUs + - ie. Intel Ivy Bridge and Haswell, Nvidia Kepler + - Previously disabled due to high instability in Photos with Face Scanning, now resolved - Backend changes: - Call `setpgrp()` to prevent app from being killed if parent process is killed (ie. LaunchAgents) - Resolve payloads path being mis-routed during CLI calls diff --git a/resources/build/misc.py b/resources/build/misc.py index 9bf332cdf..a39f15080 100644 --- a/resources/build/misc.py +++ b/resources/build/misc.py @@ -106,23 +106,6 @@ class BuildMiscellaneous: logging.info("- Disabling memory error reporting") re_block_args.append("pcie") - # Resolve mediaanalysisd crashing on 3802 GPUs - gpu_dict = [] if self.constants.custom_model else self.constants.computer.gpus - if gpu_dict == []: - gpu_dict = smbios_data.smbios_dictionary[self.model]["Stock GPUs"] if self.model in smbios_data.smbios_dictionary else [] - - for gpu in gpu_dict: - if not self.constants.custom_model: - gpu = gpu.arch - if gpu in [ - device_probe.Intel.Archs.Ivy_Bridge, - device_probe.Intel.Archs.Haswell, - device_probe.NVIDIA.Archs.Kepler, - ]: - logging.info("- Disabling mediaanalysisd") - re_block_args.append("media") - break - return re_block_args