Easily Swap Between AMD & NVIDIA OpenGL Linux Drivers At Boot Time

Written by Eric Griffith in Hardware on 7 August 2015 at 04:18 AM EDT. 15 Comments
HARDWARE
For benchmarkers, or distributions that ship the closed source drivers, it might be a pain to constantly be swapping between the two closed source drivers. It would appear that one developer was annoyed by this enough to try and create a solution. Meet: gpu-driver-swap by mikeanthonywild.

Gpu-driver-swap is a combination systemd service file and sh script that detects the installed card and automatically moves around the necessary symlinks so that the appropriate driver is activated on boot. Recent commits point to eventually supporting run-time swapping between the drivers.


GPU driver swapping could be happy... Among the many Phoronix articles last month: 15-Way AMD/NVIDIA Graphics Card Comparison For 4K Linux Gaming


In case you have the rather interesting setup of an AMD APU with an Nvidia dedicated card -- and therefore both GPU vendors in your dmesg -- the wording of the script weights Nvidia higher than AMD.

The author cannot vouch for the reliability of this script, but you can learn more about gpu-driver-swap via the project site on GitHub.
Related News
Popular News This Week