Jump to content

tomnic

Moderators
  • Posts

    1,057
  • Joined

  • Last visited

  • Days Won

    45

Everything posted by tomnic

  1. https://github.com/mhaeuser/AmdXnuSupportPkg This is the most promising project to correctly emulate a real Intel CPU, without the hassle to patch the xnu kernel at every release... unfortunately we lost the contribute of the original developer because he retired, probably because of the bad behaviour of the AMD "community", so trying to make it work will be a big trouble...
  2. http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=ru&tl=en&u=http%3A%2F%2Fwww.vmgu.ru%2Farticles%2Fred-pill-virtualization-security If only we could adapt this program as an EFI module to be loaded by OpenCore...
  3. https://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-nov-13-2020/ scegli quelli per la tua build esatta
  4. See the update in my first post in this thread, we don't need that environment variable anymore! It causes more problems to other apps than real solutions 😉
  5. I know I'm a rookie with my tiny GPU but my 5950x literally flies with tracking thanks to its single core powaaaaa 😄
  6. That's a really nice Tracking Score 😉 I also managed to run Adobe Premiere Pro 2020 14.3.1 just using: launchctl setenv MKL_DEBUG_CPU_TYPE 5 If you put my lib in Applications folder you can use this customized environment.plist file to apply the environment variables to be set for the fixes to work. Just put it in your Home / Library / LaunchAgents folder. environment.plist.zip
  7. Bene bene 😉 Alle volte i problemi "di gpu" non sono strettamente hackintoshiani
  8. Se ti salvi il bios originale e hai una scheda video secondaria da cui fare il reflash andato male (anche PCI semplice) non hai nulla da temere
  9. Esattamente, pensavo avessi una gpu migliore ...anche se forse esiste un bios UEFI da flasharci... hai provato a cercare?
  10. Aggiornalo, la chiave sta lì O magari basta cambiare le tre voci tutte in UEFI, specie per la GPU... prova 😉
  11. Dalle immagini del manuale vedo che nella sezione Boot del bios la voce CSM è l'ultima in basso ma è nascosta da una barra di scorrimento.
  12. Hai disattivato il CSM da bios?
  13. For sure issues to other non-adobe apps are led by this command: launchctl setenv DYLD_FORCE_FLAT_NAMESPACE 1 You can undo it by typing (it works for me): launchctl unsetenv DYLD_FORCE_FLAT_NAMESPACE I found out that if you change libiomp5.dylib you don't need this second "destructive" line of code, injection will work the same. Make me know!
  14. It seems that using the same routine as an effect in Premiere involves other libraries to be "patched"... not easy to learn which one 😉 I'll keep on trying!
  15. Hi, please try replacing libiomp5.dylib in Contents Frameworks with the one of the "classic" patch, then warp stabilizer in AE seems to work. I attach it for simplicity 😉 Please report any issue!!! You're precious! libiomp5.dylib.zip
  16. Il connettore in figura è un "vecchio" attacco (in inglese Molex) per alimentare dischi parallel ata e vecchie schede video agp. Ne devi avere due liberi per usare il cavetto adattatore che ti ho linkato io. Le gpu se sono sottoalimentate (in sostanza se attacchi solo 8 pin di 16) in alcuni casi emettono subito un avviso acustico fortissimo e ti bloccano il boot, se non è questo il tuo caso potresti avere problemi quando entra l'accelerazione 3d, blocchi di sistema o rallentamenti vistosi. Quindi ti consiglio di usare l'adattatore da 2 molex a 8 pin pciex che ti ho linkato, a patto anche che, come dice Carlo, il tuo alimentatore sia almeno un buon 600W
  17. Periodo merdosissimo per acquisti specie di gpu
  18. https://www.amazon.it/NANOCABLE-10-19-1201-Alimentazione-Grafica-PCI/dp/B00CI2WIG2/ Devi avere due molex liberi di quelli per i vecchi dischi pata
  19. Servono entrambi, magari ti si accende il tutto con solo 8 pin ma poi durante i carichi pesanti accuseresti il colpo: esistono adattatori da molex a pciex 6-8 pin però! Prendine uno e sarai a posto se l'alimentatore è valido
  20. Little update: even without reboot you can undo the effects of code injection using this command in terminal: launchctl unsetenv DYLD_INSERT_LIBRARIES
  21. 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
  22. Intanto con Photoshop 22.3.1 (CC 2021) grazie solamente a: launchctl setenv DYLD_INSERT_LIBRARIES /Users/tomnic/Desktop/libfakeintel.dylib funziona di default: - Apertura di file JPG senza sovrascrivere cameraraw (io ho l'ultima installata, la 13.2); - Filtro fluidifica; - Strumento seleziona oggetto. Allego video che illustra tali funzioni! Registrazione schermo 2021-06-02 alle 22.31.15 low.mov Questo è @fabiosun che è commosso dai progressi!!!
  23. Ho aggiunto un'altra variabile basandomi su questo articolo: http://www.goldsborough.me/c/low-level/kernel/2016/08/29/16-48-53-the_-ld_preload-_trick/ launchctl setenv DYLD_FORCE_FLAT_NAMESPACE 1 E facendo un progetto da zero e riapplicando il camera tracking AE non mi crasha. Vediamo se la cosa è stabile
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.