-
-
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
After enable and then disable and then disable --hard my system config hasn't reverted ot how it was before. #115
Comments
Sorry for the inconvenience egpu-switcher might have caused for you. This doesn't sound like a report that I've seen before.
Have you made any other system configurations in the time after you first enabled egpu-switcher (e.g. using the nvidia-xconfig tool). If so, your problem might not be related to egpu-switcher but may be caused by another misconfiguration that happened in the meantime. edit messed up the systemctl command first, the unit is called |
Hey @hertg it's no worries at all, your tool is really great and I will definitely use it. I'm just a bit curious about why things have ended up in an altered state. I believe I fully installed all the updated NVIDIA drivers and tested the aformentioned behavior before I installed and tested egpu-switcher. So I do believe it is most probably a change related to something egpu-switched and perhaps didn't switch back. But since i don't know how egpu-switcher works yet there's a chance this may be an impossibility and something else may be going on. If that is the case I do appologize for the false alarm. Here is the information you requested!
|
When my computer starts with the egpu plugged in and powered and gets stuck showing a console with all the services still starting (the ones that would normally be started in the background after the desktop starts). I can alt-shift-4 to open a terminal and run commands. Is there anything you can recommend I check to see why it might have not attempted to or been unable to load the desktop on my notebook gpu? Sorry, I see now that I ran the command before you fixed it. I will run all these commands (including the corrected one) after rebooting my PC with egpu-switcher removed but the egpu connected a boot (the state where the desktop no longer launches). I'll report back once I have the results. :) (may take a day as I can't reboot right now) |
OK, so I ran the commands and got the results.
But whats stranger is that if I configure and enable egpu-switcher but don't plug the HDMI into the external GPU it now behaves as it did originally which is that if I have the egpu connected and turned on at boot but the HDMI plugged into my notebook it will launch a working desktop manager using the built in HDMI port and video card. |
This could be the case if you are not using the sudo journalctl -xe -u egpu Unfortunately, I'm also out of ideas what's happening here. As implied in my earlier response, egpu-switcher seems to have cleaned up everything it touched. I could give you a short explanation on what egpu-switcher actually does, because it does not really touch a lot:
|
Thanks so much for the explanation of how it all works. It does indeed seem like perhaps I was just remembering incorrectly the state of things before installing egpu switcher. I'll close this out, but if I get any additional info from |
Just adding a note here I think I tracked down what the issue may have been however I'm not certain. The same issue happened again and the problem was related to the nvidia driver not loading. The reason it wasn't loading was unrelated to egpu-switcher and caused by conflicting cuda and nvidia drivers with debian packages that were trying to modify the same driver file. The issue and work-around posted here worked for me https://askubuntu.com/questions/1488018/nvidia-cuda-installation-package-conflicts |
So the issue is prior to installing egpu switcher I could boot my notebook PC with the egpu connector and use it for hardware accelerated tasks only.
Now if I boot my PC with the egpu connected after having run disable and disable --hard, my PC never loads the desktop it just sits at the terminal.
If I reboot and disconnect the egpu the desktop will launch fine.
Alternatively if I connect egpu and run egpu-switcher enable it loads the desktop through the hdmi on the egpu (which is great).
So for me the issue is there doesn't appear to be anyway to set things back to how they were originally so I can use the egpu for compute only tasks with it connected at startup.
Any help would be much appreciated. I apologize if this covered somewhere else on an FAQ page but I wasn't able to find it with a quick search.
System:
egpu-switcher
via ppa or via git + make (copied binary as described in readme)The text was updated successfully, but these errors were encountered: