0.18.0
✨ What's changed
The whole script has been rewritten in golang
(#85) to allow for easier maintainability than the previous bash script. Not only has egpu-switcher
been rewritten, but also some internal concept changes were made and additional features have been added.
💥 Breaking Changes
- The config file format has changed in a non backwards-compatible way and it can't be migrated automatically. Please re-run
egpu-switcher config
if you are updating from an earlier version. - The
egpu-switcher remove
command has been dropped for now.
🎉 Features
- The detection interval and timeout can now be configured in the configuration file (#79)
- Allow switch hook scripts to be configured (#73)
🐞 Fixes
- GPUs are now identified by Vendor/Product instead of the PCI Id they were assigned (#48)
- GPUs on non-zero PCI domains are working now (#69)
- The graphics driver used is now directly taken from what sysfs reports instead of the buggy driver assumptions made in the old script (#81)
📓 Technical Changes
- The X.org config is now in
/etc/X11/xorg.conf.d/99-egpu-switcher.conf
instead of/etc/X11/xorg.conf
(#72) - Additionally to the
egpu-switcher-git
AUR package, more stable alternatives pointing to the latest release are now available:egpu-switcher
andegpu-switcher-bin
- Requirements for
bash
andpciutils
have been dropped