mikeanthonywild / gpu-driver-swap Goto Github PK
View Code? Open in Web Editor NEWsystemd service to automatically swap AMD / Nvidia drivers on boot
License: MIT License
systemd service to automatically swap AMD / Nvidia drivers on boot
License: MIT License
Updating Nvidia drivers will break the script. Look into using either a search pattern, or make use of update-alternatives
.
Should be relatively simple given that the meat of the program is in gpuswap.sh.
If there is no discrete GPU plugged in then the system fails. If an Intel adapter is detected then we should load the stock Intel config.
When running the command: systemctl status gpu-driver-swap.service
gpu-driver-swap.service - Service to automatically swap AMD/Nvidia drivers on boot
Loaded: loaded (/etc/systemd/system/gpu-driver-swap.service; enabled)
Active: failed (Result: exit-code) since Seg 2015-09-21 01:04:33 BRT; 16min ago
Process: 3173 ExecStart=/bin/sh /usr/lib/systemd/scripts/gpuswap.sh (code=exited, status=1/FAILURE)
Main PID: 3173 (code=exited, status=1/FAILURE)
Set 21 01:04:33 RegataOS-desktop.regataos sh[3173]: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/... 230 OEM]
Set 21 01:04:33 RegataOS-desktop.regataos sh[3173]: Using fglrx driver
Set 21 01:04:33 RegataOS-desktop.regataos sh[3173]: Linking libglx.so...OK
Set 21 01:04:33 RegataOS-desktop.regataos sh[3173]: Linking libGL.so.1...OK
Set 21 01:04:33 RegataOS-desktop.regataos sh[3173]: Linking xorg.conf...ERROR
Set 21 01:04:33 RegataOS-desktop.regataos sh[3173]: Couldn't find /SW-SCRT-0030/bladeConfig/xorg.conf.S4000X
Hint: Some lines were ellipsized, use -l to show in full.
Hi,
I found your project reading softpedia news and thought it will solve my need:
namely with a system with a NV GPU and AMD GPU installed ability to select which binary driver to use..
your tool is good if you keep changing installed GPUs but I would like to select which GPU from GRUB menu as said..
I don't know so much about Linux still so can you add support for this?
thanks..
Hi, it seems you have a highly similar project to my own, which uses a predefined system to separate the GL links into known locations:
https://github.com/solus-project/gl-driver-switch
Perhaps there is room for merging of concepts here?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.