-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Boot gets stuck with eGPU connected #93
Comments
Hmm, I don't have an immediate hunch what could be the problem here, but I can give you some tips to further troubleshoot.
Does the computer actually freeze or are you just stuck in the bootup screen? I think on most systems it is possible to show kernel messages on startup by hitting
That is strange 🤔 The following command does not give you any data about the attempted boot? sudo journalctl -k -b -1 I find it strange that the Splashscreen shows up, indicating that it actually attempts to boot.
Sometimes it's not called Pre-Boot ACL (that's just what my Lenovo X1 Laptop calls it), it could be that such an option is available but named differently on your machine. But it is also possible that this option doesn't exist on your hardware, given that you are also using Lenovo, they would probably name it the same.
If you are on the latest version |
Thanks for the help!
Thanks I've found the messages now. The messages freeze and stop coming after a few seconds when booting with the eGPU attached. Hitting escape again (on a normal boot) should bring me back to the Kubuntu logo, but in this case, when it freezes, hitting escape doesn't do anything, so I think it's really freezing. The messages displayed right before freezing change every time I try booting, but here's on of the boot attempts: That boot seems to mention some issues with the Nvidia GPU I'm using.
Okay this does indeed give me the messages from the failed boot! I was looking in the wrong place before. I can't find anything in the output mentioning egpu-switcher. Here's the output: The messages stop after My guess is that on a "bad boot", the system isn't actually freezing/crashing, but perhaps I'm just getting no visual feedback? I'm not sure.
I checked both Steps I used to install
|
Hmm, I don't know. It could very well be an issue unrelated to egpu-switcher. It is strange that you don't find the config in If the system doesn't boot even with Does your laptop have a discrete GPU or only integrated graphics? Do you have an option to change btw. If you add the |
It sounds like the same issue I ran into on Ubuntu 22.04, which was caused by upgrading to kernel 5.15.0-53. Booting 5.15.0-52 fixes it. @harvzor, which kernel version are you running? |
@Man-with-Arrow Looks like I'm quite a few versions ahead 👀 |
It seems there’s a regression, either in Ubuntu’s kernel or upstream. I don’t have the time for a reinstall, but if you do - try testing it out with Fedora. I remember it working well for me in the past. |
@harvzor Are there any news on this by any chance? Do you still not have config files in I saw in you screenshot that you have AppArmor installed, is it possible that egpu-switcher gets blocked by that? |
If I connect the eGPU and try to boot, the computer gets to a screen with the Kubuntu logo glowing, but then freezes forever. Boot is only possible with the eGPU disconnected.
Work around
However, I can get the eGPU running by doing this:
glxinfo|egrep "OpenGL vendor|OpenGL renderer*"
confirms my internal GPU is being usedsudo egpu-switcher switch
tells me the switch is successfulglxinfo|egrep "OpenGL vendor|OpenGL renderer*"
confirms my internal GPU is still being usedglxinfo|egrep "OpenGL vendor|OpenGL renderer*"
prints:OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2
I'm pretty happy with the workaround method, it just took me a while to figure it out 😄
Other troubleshooting I've tried
When I check the journalctl after attempting to boot with the eGPU connected, there's no history of that boot.
My BIOS does not have a Pre-Boot ACL option.
I tried using
ExecStartPre=/bin/sleep 1
as mentioned in #77 but it doesn't help. I still need to try the 5s pause solution in #50.General setup
Using internal monitor.
ie.
egpu-switcher
via ppa or via git + make - downloaded 0.18.1 release manually from GitHub and installedThe text was updated successfully, but these errors were encountered: