CodySchrank / gSwitch

macOS menu bar app that allows control over the gpu on dual gpu macbooks
MIT License
886 stars 46 forks source link

Failed to find multiple gpus - Macbook Pro 13" 2019 - Catalina + eGpu RX 580 #76

Closed phalimee closed 3 years ago

phalimee commented 3 years ago

Sorry if this is a known issue - I had a look and couldnt find anything that fits.

> tail -F ~/Library/Caches/gSwitch/swiftybeaver.log
09:42:47.090 VERBOSE AppDelegate.applicationDidFinishLaunching():36 - gSwitch 1.9.7
09:42:47.094 ERROR AppDelegate.applicationDidFinishLaunching():42 - No matching drivers found.
09:42:48.679 VERBOSE GPUManager.setGPUNames():58 - Integrated: Intel Iris Plus Graphics 655
09:42:48.680 VERBOSE GPUManager.setGPUNames():59 - Discrete: Radeon RX 580
09:42:48.680 INFO GPUListener.listen():29 - Listening
09:42:48.681 INFO AppDelegate.setupUpdater():257 - Updater setup
09:42:48.682 VERBOSE AppDelegate.deforestation():267 - Launch at Login set as true
09:42:48.682 VERBOSE AppDelegate.deforestation():269 - Automatically update set as true
09:42:48.683 VERBOSE AppDelegate.deforestation():271 - GPU Change notifications set as false
09:42:48.683 VERBOSE AppDelegate.deforestation():273 - Use Last State set as true
09:42:48.684 VERBOSE AppDelegate.deforestation():275 - Ignore IGPU Warning set as true
09:42:48.684 VERBOSE AppDelegate.deforestation():277 - Saved GPU State set as 0 (ForceIntergrated)
09:42:48.685 WARNING AppDelegate.unsafeIntegratedOnly():142 - Failed to force igpu (probably because already on igpu)
09:42:48.686 ERROR GPUManager.CheckGPUStateAndisUsingIntegratedGPU():191 - Lost connection to gpu
09:42:48.691 INFO ProcessManager.updateProcessMenuList():58 - UPDATE: Polling for hungry processes

I keep receiving the "Failed to find multiple gpus" error on startup and gSwitch seems unable to allocate most applications to the internal gpu (if any). I basically want to keep osx apps using the integrated graphics so I can disconnect my eGpu without needing to restart everything.

I have a Macbook 2019 13" (Catalina 10.15.6) connected to a Razer Core X Chroma + Radeon™ RX 580 GAMING 8G. The first time I installed gSwitch I think it was working fine - but a few days later it suddenly started reporting errors? I can't quite figure out how to fix it (or if I can)?

CodySchrank commented 3 years ago

Thanks for the reporting this, unfortunately I don't think this is something I can solve. gSwitch was never designed with eGPU support in mind, and I don't have an eGPU so it would be very hard for me to test. Also, I'm assuming this is something on the OS level that I can't fix, given the 'No matching drivers found.' error that is being reported.

I will leave the issue open if anyone wants to tackle it.