Coder Social home page Coder Social logo

Comments (31)

liangtb avatar liangtb commented on June 2, 2024

diff kext which normal boot add:

com.apple.driver.AppleThunderboltDPOutAdapter
com.apple.driver.AppleThunderboltEDMSink
com.apple.driver.AppleThunderboltIP
com.apple.driver.AppleFIVRDriver
com.apple.vecLib.kext
com.apple.iokit.IOAudioFamily
com.apple.iokit.IOHDAFamily
com.apple.driver.AppleHDAController
com.apple.driver.AppleCameraInterface
com.apple.AVEBridge
com.intel.driver.EnergyDriver
com.apple.driver.AppleIntelHD5000Graphics
com.apple.driver.eficheck
com.apple.driver.pmtelemetry
com.apple.driver.AppleSSE
com.apple.iokit.IOUserEthernet
com.apple.driver.AppleHV
com.apple.iokit.IOTimeSyncFamily
com.apple.AGDCPluginDisplayMetrics
com.apple.driver.AppleUpstreamUserClient
com.apple.driver.AudioAUUC
com.apple.kext.OSvKernDSPLib
com.apple.driver.DspFuncLib
com.apple.driver.AppleHDA
com.apple.driver.AppleHDAHardwareConfigDriver
com.apple.iokit.IOSerialFamily
com.apple.iokit.IOBluetoothSerialManager
com.apple.driver.ApplePlatformEnabler
com.apple.GeForce
com.apple.filesystems.smbfs

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Please try this:
sudo mv /System/Library/Extensions/GeForce*.* /Users/<your_username>/Desktop/

Then run the script in nvram-only mode on 17A405 and reboot. Of course, don't use the script and ensure SIP is disabled. Then test eGPU.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

I tried, it’s not working, besides, the gt750m can’t output signal to external screen, it’s different with safe boot which gt750m can output signal to external screen.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Can you try the latest script? At least it boots High Sierra iGPU only.

If eGPU does not work, could you try moving the ThunderboltDPOut kext and then running the script?

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

yes, it can iGPU boot, but I guess this non-related with Extensions folder, I am wrong?

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

It is related. If I don’t move the appropriate kexts, iGPU boot will not be persistent.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

mv /System/Library/Extensions/GeForce*.* "$backup_dir", it's same as before....., just leave NVDA*.kexts

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Yes, just moving the GeForce kexts ensures iGPU persistent boots, contrary to the methods used for AMD, where the drivers were indeed moved. This is a new discovery.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

but in safe boot without geforce*.kexts, gt750m can actually output signal to external screen, but in normal boot with purge-nvda 1.2.1, it did't happen. That's the point why lead gt750m output signal without geforce*.kext

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

I see what you mean. Thing is though, in Safe Boot there is no acceleration. So I want to know what exactly is driving the display. Perhaps EFI.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

In safe boot, Macbook don't have eficheck.kext. This is only diff about efi.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Well, maybe we have to completely prevent the NVIDIA from being able to output to the display, because that's how the hack worked on B4 yes? So if we can simulate the same thing, we could probably have working external GPUs.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

I just made a commit. Could you clone my repo and use the latest script? You can keep pulling changes and test as I make changes. For now, just removed DisplayPort support (boots fine). Want to test with eGPU. Could you please try?

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

okay, I will try now

PS:dp is disabled in both Macbook and RX580, even no output signal.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Ok thanks..

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

Libm.kext is the key to solve Nvidia-based Macbook compatible with AMD-eGPU.

Libm.kext contains a bunch of compatibility checks such as AppleKernelExternalComponent.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Not sure that that's related to external graphics.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Also, quick question, does the updated script accelerate the display on Beta 4? If the issue really is with DP outputs, it should not be able to work. Could you try the updated script on Beta 4 (uninstall any previous changes).

Also try booting in 10.13 recovery (not the beta) with external graphics connected. Recovery does not include all the kexts an ordinary macOS install does, but the display is accelerated.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

Recovery is okay, I tested. I will test it on Beta4 with your new script after I watched the new big bang for 20mins.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

That’s what I expected. Hmm. Recovery was able to accelerate the eGPU + display, right? So we should compare recovery loaded kexts versus main disk boot.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

10.13beta4 will fail-boot at a certain level with the latest script.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

Recovery mode is okay natively, but 10.13beta4 will fail-boot at a certain level with the latest script.

Besides, Did you add enable SIP in your script? every time I uninstall script, SIP is set to enabled, I must reboot again to disable SIP, several APPS rely on disabled SIP....

Can you remove enable SIP or add extra ver. of script without enable SIP?

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

What do you mean “at a certain level”? Irrespective of that, my primary concern is the public build. The old versions of the script will be available anyway for those concerned.

Also, the script doesn’t manage SIP. I have continuously used it (install + uninstall for testing) without SIP modifications.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

My config of 10.13beta4 is located in a portable ssd drive. Every time I use latest script with installment or uninstallation, uninstallation always triggered to enable SIP. Besides, only first time after install the latest script, can boot successfully.
My portable ssd drive is APFS volume, I don't know whether is the problem, besides before this, my portable ssd drive is HFS+ volume, using prior scripts just fine.
After I uninstalled the latest script in recovery mode, boot successfully again...

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

If you boot into another installation of macOS that has not had purge-nvda run, the NVRAM changes are undone. So if you keep booting into 10.13 (after running the script), it will boot in iGPU mode only.
Not sure about your issue with SIP. Cannot reproduce. Try resetting PRAM using the keyboard shortcut on boot. Then turn off SIP and use the script.

Apple does not officially support external graphics on Thunderbolt 2. I don't exactly know what you mean by "represent you", but I don't see any reason for Apple to look into this issue (which is already classified as an unsupported configuration). While it would be awesome for them to fix it, we should also keep in mind that officially, eGPU support has yet to come (Spring 2018). Developer Relations has also confirmed (via my bug reports) that they would look into iGPU-only boot options as well as making the Mac firmware more flexible.

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

I see what you mean friend. Let's hope that things work out.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

@liangtb with v1.2.1 of the script (not the latest commit), have you tried booting with the eGPU plugged in instead of hotplugging? Could you try and provide an update?

from purge-nvda.

liangtb avatar liangtb commented on June 2, 2024

yes, I tried ,same issue.

from purge-nvda.

mayankk2308 avatar mayankk2308 commented on June 2, 2024

Resolved on macOS 10.13.4 B1.

from purge-nvda.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.