Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing the kext hangs the system at boot #8

Open
rickardp opened this issue Feb 10, 2018 · 5 comments
Open

Installing the kext hangs the system at boot #8

rickardp opened this issue Feb 10, 2018 · 5 comments

Comments

@rickardp
Copy link

rickardp commented Feb 10, 2018

H/W: Akitio Thunder2 / NVIDIA GTX 1060, MacBookPro11,3

I build the kext using ./package/build.sh and install the pkg. After a reboot, the system hangs at about 80% in the progress bar. The system fails to boot even if I unplug the eGPU.

I can SSH into the machine, delete the /Library/Extensions/NVDAEGPUSupport.kext and do "sudo reboot -q" and the system boots again, but without the eGPU.

Tail of dmesg

SIOCPROTODETACH_IN6: utun0 error=6
NVDAGK100HAL loaded and registered
nvAccelerator::attach provider NVDAgl parent GFX0
nvAccelerator::probe enter provider: NVDAgl [score 130]
nvAccelerator::probe parent: GFX0
nvAccelerator::probe return success <ptr>
nvAccelerator::probe remove "unmatched" property
nvAccelerator::detach provider NVDAgl parent GFX0
nvAccelerator::attach provider NVDAgl parent GFX0
nvAccelerator: ENTER ::start with provider: NVDAgl
nvAccelerator::start switch to parent: GFX0
NVSPI::start starting!
+ IOAudioDevice[<ptr>]::init(<ptr>)
- IOAudioDevice[<ptr>]::init(<ptr>) returns 1
+ IOAudioDevice[<ptr>]::init(<ptr>)
- IOAudioDevice[<ptr>]::init(<ptr>) returns 1
+ IOAudioDevice[<ptr>]::setDeviceModelName(<ptr>)
- IOAudioDevice[<ptr>]::setDeviceModelName(<ptr>)
+ IOAudioDevice[<ptr>]::free()
+ IOAudioDevice[<ptr>]::deactivateAllAudioEngines()
- IOAudioDevice[<ptr>]::deactivateAllAudioEngines()
  did deactiveateAllAudioEngines ()
  did detachAllAudioPorts ()
  did timerEvents->release ()
  did workLoop->removeEventSource ( timerEventSource )
  did workLoop->removeEventSource ( reserved->idleTimer )  did workLoop->removeEventSource ( commandGate )
  did workLoop->release ()
  did IOFree ()
- IOAudioDevice[<ptr>]::free()
+ IOAudioDevice[<ptr>]::init(<ptr>)
- IOAudioDevice[<ptr>]::init(<ptr>) returns 1
+ IOAudioDevice[<ptr>]::setDeviceModelName(<ptr>)
- IOAudioDevice[<ptr>]::setDeviceModelName(<ptr>)
apfs_keybag_get:1307: failed to get apfs volume keybag, err = 2
apfs_keybag_init:1359: failed to initialize volume keybag, err = 2
@perfaram
Copy link

Can confirm (MacBookPro11,3 too – that's a model with dedicated graphics). I'm also using the Akitio Thunder2, but with a GTX1070. Just ask if you need more data @pedroresende

@pedroresende
Copy link
Owner

@rickardp, @perfaram have you tried to book into the system without the eGPU connected and then after having the login screen, plug it in ? If could you please try it ?

@rickardp
Copy link
Author

rickardp commented Feb 18, 2018

That results in a black screen when I try to log in. I can SSH into the machine and caps lock works, but nothing on the screen.

The GPU seems to work if I don’t use it for graphics (i.e. as a CUDA device only, no HDMI/DP connected).

@perfaram
Copy link

perfaram commented Mar 9, 2018

@pedroresende Will try in a couple of days, I'm currently abroad and very busy, sorry :(

@rickardp
Copy link
Author

Actually, this may be tied to the NVIDIA drivers rather than the eGPU itself. I managed to reproduce this issue on a clean install without using NVIDIAEGPUSupport, by just installing the NVIDIA web driver, at least once. I think this may be due to some inconsistency between the web drivers and the OS (after an update of one of them).

I only had this problem happen once without the eGPU, so I can't say much more than that. I had to do a full OS reinstall at that point (deleting kexts did not help).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants