magmast / fedora-prime

Simple program to switch between intel and nvidia gpu
MIT License
25 stars 3 forks source link

Considering packaging for RPMFusion #1

Open sr229 opened 5 years ago

sr229 commented 5 years ago

I think this tool is great for those who have optimus GPUs but it'll help a lot of people and it'll be more accessible if its on RPMFusion.

magmast commented 5 years ago

I will do some improvements this week. I'll try to pack it later. Thanks for the advice :)

magmast commented 5 years ago

So I've created .rpm package for release 0.1.1 and I'll be creating .rpm for any future release. I was trying to make a copr repo, but I'm too stupid to make it work. I'll be still trying, but I'll leave this issue open if someone would like to help.

kwizart commented 5 years ago

Side note as RPM Fusion package maintainer and project coordinator. This package would be welcomed.

However, we prefer to rely on rd.driver.blacklist and modprobe.blacklist than a dedicated modprobe file. The reason is that it leaves the rootfs "stateless" and provides a better control of the wanted switch state (before the initramfs and without the need to recreate one after each switch).

In our side, the better way would be to create a separate boot entry with the configuration needed for FLOSS drivers (nvidia blacklisted).

magmast commented 5 years ago

It would be much better solution. I'll try to implement that.