wildtruc / nvidia-prime-select

This a fork of FedoraPrime enhanced for all linux distributions
GNU General Public License v3.0
132 stars 15 forks source link

Any plans for "on demand" #19

Open joaomamede opened 3 years ago

joaomamede commented 3 years ago

Hi, thank you for nvidia-prime-select.

The ubuntu prime-select has a "on demand" feature, that uses the intel card for graphics rendering but still leaves the nvidia modules loaded. Meaning we can do computation (this is useful for me particularly because sometime I need all of my vRAM to do microscopy data processing). I think this corresponds to the "intel" of nvidia-prime-select.

On the other hand ubuntu prime-select "intel" selection, changes the modeset for boot, blacklists nvidia modules and also has some udev rules. This results in more battery saving for the laptop as only the intel chip is available to the system.

I could try to mimic the ubuntu scripts and adapt them to nvidia-prime select. Is there any interest from all of you for me to try to implement these changes, or you prefer me to fork nvidia-prime-select?

ryanpcmcquen commented 2 years ago

@joaomamede did anything ever come of this?

wildtruc commented 2 years ago

Sorry, project is not maintained since early 2019 for personal health issues. There not plan for Nvidia-Prime-Select for offload or "on demand" features.

ryanpcmcquen commented 2 years ago

@joaomamede I am interested in maintaining a fork if you want to collaborate on this. https://github.com/ryanpcmcquen/nvidia-prime-select

wildtruc commented 2 years ago

Please, do ! I am hopping for this for a long time. it would be grateful.

joaomamede commented 2 years ago

I didn't implement it as I switched to ubuntu that has that feature already.

I initially tried to implement it but the udev rules in redhat & pals needs a initramfs modifition each time and it made it quite hard to test.