Open oscarbg opened 9 years ago
This sounds like a good idea and seems like it would be possible with GRUB. I shall take a look into this when I have time.
Thanks.. That would be my biggest improvement to Linux in years! :-)
This can be achieved using the systemd.unit
argument in the GRUB entry to specify a systemd target (see here).
Base off the graphical.target file, and pass an argument to the gpuswap.sh script.
Will look into hooking this all up.
Pardon if I'm doing it in the wrong place. I found your project the Brazilian website 'LinuxBuzz'. I have a doubt. If I remove my GPU NVIDIA or AMD is still possible to detect Intel graphics?
That's currently not supported at the moment, however I can add this in quite easily. I have created a separate issue for this here: #9.
Could you give me an example of how to do this?
I added this today in commit 713096013def6786f68b005c90c009b132a3c477. Pull the latest changes, create a separate Xorg config file for your AMD, Nvidia and Intel adapters, and then update the paths in gupswap.sh.
Hello,
I added code to support for vmware driver, thought you might like to know. That's fine and functional for Linux distributions that want to add GPU-driver-swap by default, along with the proprietary drivers from NVIDIA and AMD. This makes it easy to test and install the Linux distribution in VMWare and Oracle VM VirtualBox.
Good job! Feel free to submit a pull request with your changes.
Hello!
I made some changes in the code. AMD, NVIDIA, Intel, VMware and Oracle VM VirtualBox are now supported, either after the installed system or Live CD / DVD or Live USB.
Among the changes, it added the link to libGL.so.1 32bit. So the PlayOnLinux games work without error. To learn more and understand better, visit this link and download the file gpuswap.sh where I made all the changes. If good, do tests, try ... and implement the main code.
Download (Script tested on openSUSE 13.2 (64-bit)): https://drive.google.com/file/d/0B2Q3oSqM_6mOSUFTanBlTU9hY00/view?usp=sharing
Thank you! ;)
(Google Translate)
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..