-
-
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
switch: opensource drivers without monitors should switch to internal #107
Comments
Thanks for adding this extra ticket! One question: If I'm wondering if that's what users would want. Pro: No USB/Thunderbolt bandwith needed to display the rendered image, its going directly from the iGPU to the eDP, no USB/TB bottleneck. I'm a bit undecided if that is what I would expect as a user. I think for my case I would slightly tend for the eGPU to be configured as the primary GPU for applications, even if no display is connected. Because why would I otherwise physically connect the eGPU in the first place? And I would then expect that display managers like LightDM and window managers to enable and use all available monitors by default. Edit: Saw @ewagner12 's comment here only now, somehow missed it before. Then I'm wondering if it would make sense for the egpu-switcher to indeed remove /etc/X11/xorg.conf.d/99-egpu-switcher.conf if there is no monitor connected to the eGPU - but maybe egpu-switcher could then set DRI_PRIME=1? Still need test this option myself though :-). |
That's correct, applications would default to using the iGPU unless they use the DRI_PRIME enviroment variable or the |
I think we can make the |
If
/etc/X11/xorg.conf.d/99-egpu-switcher.conf
exists:Expected Behavior: Running
sudo egpu-switcher switch auto
in the above case of AMD eGPU connected with no displays removes the X11 conf file.Actual Behavior: Running
sudo egpu-switcher switch auto
in the above case only prints an error,/etc/X11/xorg.conf.d/99-egpu-switcher.conf
still exists.I believe that at line 139 in
egpu-switcher/cmd/switch.go
Lines 137 to 153 in 13b8a06
Originally posted by @ewagner12 in #106 (comment)
The text was updated successfully, but these errors were encountered: