Search the Community
Showing results for tags 'photoshop'.
-
Adaptive Wide Angle - 23.1 libmkl_core.dylib-23.1 Latest libs and filter patched for AMD CPU in OSX old 22.5.1 and "How to" here : https://www.macos86.it/topic/5299-adobe-photoshop-2251-amd-fix/
-
FINAL UPDATE: Now you just need to patch the offending executables, no more libfakeintel, no more plists to preload... just direct patching where needed. Post the requested files of the requested app and a patched executable will be released: replace and recodesign it, done! QUICK UPDATE: Put the libfakeintel.dylib in your Application folder, put environment.plist in your $HOME/Library/LaunchAgents, overwrite libiomp5.dylib in Contents/Frameworks into AE CC 2020/2021 application with the one provided and we have the best working solution available for all actual adobe's products. Premiere Pro works with this method until CC 2020 version 14.3.1. AE CC 2021 18.4 works by replacing even libmkl_intel_thread.1.dylib with the one provided. UPDATE: Premiere Pro CC 2021 15.4 works by manually patching AEFilterStabilizer and AEFilterMorphCut binaries inside the respective bundles, as dylib injection doesn't seem to work inside macOS bundles. Details in my last post. Need to generalize it for versions between 14.4 - 15.4 and up. Hi everybody! Trying to solve the remaining issues of running macOS with AMD cpus when certain apps expect strict intel code (Adobe Suite, Discord, Matlab and some older DaVinci Resolve versions) I randomly came reading this article: https://danieldk.eu/Posts/2020-08-31-MKL-Zen.html This works perfectly in Linux in order to run optimized x86_64 Intel code but with AMD cpus... but can we port this to macOS I asked myself? We could solve the compatibility issues I've talked about earlier. I'm a real rookie in programming but I managed to get some interesting results anyway!!! At first I installed brew, a real bridge between Linux and macOS, just issue this command in terminal: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Then I installed GCC using brew and this mini-guide: https://discussions.apple.com/thread/8336714 Then I compiled as a dylib (dynamic library) for macOS this little trivial C program with gcc: int mkl_serv_intel_cpu_true() { return 1; } I used this command, fakeintel.c is the file in which I typed and saved the above code: gcc -dynamiclib /Users/tomnic/Desktop/fakeintel.c -o libfakeintel.dylib ...so I got the libfakeintel.dylib I attach. To get the code injecting effect in macOS you need to use the environmental variable DYLD_INSERT_LIBRARIES, same effects of the Linux counterpart LD_PRELOAD (http://web.archive.org/web/20121108142727/https://blogs.oracle.com/DatabaseEmporium/entry/where_is_ld_preload_under). We can inject automatically this library with each unix executable using this command: launchctl setenv DYLD_INSERT_LIBRARIES /Users/tomnic/Desktop/libfakeintel.dylib As you can infer, I put the injected library on my desktop, change your path according to your needs 😉 Experimenting with Adobe After Effects with camera tracking function (older tricks no longer work) I got these results: 1. Without injecting libfakeintel.dylib analysis stops at 0%, then AE stops; 2. With libfakeintel.dylib injected tracking starts and completes at 100% but then AE crashes with this error: <1641966> <Tracciatore videocamera 3D Profile Data> <5> Analysis Started (Tutorial - Tracking.mov) selector.max_count: 500.000000 selector.spacing: 29.000000 selector.half_winx: 15.000000 selector.half_winy: 15.000000 selector.border: 12.000000 selector.threshold: 0.010000 selector.min_eig: 1.000000 selector.max_eig: 6000.000000 selector.presmoothing: 1.000000 selector.presmooth_factor: 0.100000 selector.eig_ratio_threshold: 15.000000 selector.down_sample_factor: 1.000000 tracker.max_iterations: 25.000000 tracker.tolerance_translation: 0.100000 tracker.tolerance_affine: 0.050000 tracker.pyramidal_levels: 5.000000 tracker.half_win_x: 15.000000 tracker.half_win_y: 15.000000 tracker.color_correction_translation: 0.000000 tracker.color_correction_affine: 2.000000 tracker.affine_verification: 1.000000 tracker.tolerance_color_lambda: 0.050000 tracker.tolerance_color_delta: 1.000000 tracker.tolerance_min_correlation: 0.700000 tracker.tolerance_primary_color_threshold: 5.000000 tracker.kill_tracks_shorter_than: 5.000000 <1641966> <StateBinaryConverter> <5> solveCompleteB = 0 <1642537> <StateBinaryConverter> <5> solveCompleteB = 0 <1641966> <AnalyzerServer> <5> Create Temp Project: /var/folders/qw/wdfjy1tx0z3569g9v0gygxw80000gn/T/tmpAEProject-569fa6b4-c9fb-43f2-a2a4-5ea9f85fde5b.aep <1641966> <AnalyzerServer> <5> Start 7fa4a8b1-fb7a-4570-b4f7-fc33bfce2803 <1641966> <Tracciatore videocamera 3D Profile Data> <5> Analysis Time (seconds) : 5,22 (Tutorial - Tracking.mov) <1641966> <AnalyzerServer> <5> End 7fa4a8b1-fb7a-4570-b4f7-fc33bfce2803 <1641966> <AnalyzerServer> <5> Delete Temp Project: /var/folders/qw/wdfjy1tx0z3569g9v0gygxw80000gn/T/tmpAEProject-569fa6b4-c9fb-43f2-a2a4-5ea9f85fde5b.aep <1642537> <StateBinaryConverter> <5> solveCompleteB = 0 [19817:1642194:20210530,203115.482236:WARNING process_memory_mac.cc:93] mach_vm_read(0x7ffeefbff000, 0x2000): (os/kern) invalid address (1) [19817:1642194:20210530,203115.593841:WARNING mach_o_image_segment_reader.cc:173] section.segname incorrect in segment __TEXT, section ??? ??? ??? ???, ??? ??? ??? ??? 0/11, load command 0x19 0/22, module /Applications/Adobe After Effects 2021/Adobe After Effects 2021.app/Contents/Frameworks/LogSession.framework/Versions/A/Resources/libConfigurer64.dylib, address 0x12f534000 LaunchHeadlightsCrashProcessor result: -11 [19817:1642194:20210530,203119.056962:WARNING crash_report_exception_handler.cc:346] UniversalExceptionRaise: (os/kern) failure (5) [1] + illegal hardware instruction DYLD_INSERT_LIBRARIES=/Users/tomnic/Desktop/libfakeintel.dylib ...help me finding out why 😉 Instead in Adobe Photoshop everything seems to work happily, since the name of this thread (by now). To revert everything back just reboot! 1.mov libfakeintel.dylib.zip environment.plist.zip libiomp5.dylib.zip libmkl_intel_thread.1.dylib.zip AEFilterMorphCut.bundle.zip AEFilterStabilizer.bundle.zip
- 154 replies
-
- 2
-
- photoshop
- amd adobe fix
-
(and 1 more)
Tagged with:
-
Riprendendo il topic originale -> https://www.macos86.it/topic/1572-asus-hero-x-maximus-i7-9700k/ apro questa discussione per un motivo particolare. Lavorando SOLO su photoshop, ad un certo punto, senza un pattern riconoscibile (può essere un'importazione di foto da camera raw, importazione di documento esterno, uso pennello, selezione, ecc...), improvvisamente appare la rotella della cacca di unicorno e photoshop si blocca per 3-5 minuti. Quello che ho notato è questo comportamento DURANTE questo blocco, in cui l'hack diventa molto molto lento. Da monitor attività ho un incremento di scrittura dati a 27-30mb/s (su SSD) La cache cresce costantemente (con photoshop chiuso) (con photoshop ancora aperto) Non capisco se possa essere un problema di insufficienza di RAM (monto 32gb al momento) o se è un problema di sistema. Ho anche raccolto i log completi di errori e guasti collezionati prima e durante il periodo di freeze. Non riesco a capire se sia un problema di software o di sistema instabile. EFI in allegato EFI.zip errori e guasti post crash PS.rtf.zip