-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge nvidia-xrun-pm into nvidia-xrun #108
Conversation
If control is set to 'auto' and the card is idle, it won't be detected by the rescan. This fix will make sure the card is always detected.
Update the RPM to install the nvidia-xrun-pm systemd service.
The command to set the power controller for the PCI express controller needs to run in every case, so the if-else needs to be removed
Merge upstream changes
This starts with release 0.3.2. This also adds the new /etc/default/nvidia-xrun configuration file. Signed-off-by: lshort <[email protected]>
This information was outdated and referred to the original nvidia-xrun project. Signed-off-by: lshort <[email protected]>
Signed-off-by: Luke Short <[email protected]>
Update RPM to use GitHub source
Hi @michelesr , |
Just thinking, maybe the turn off nvidia at boot should not be part of nvidia-xrun itself, maybe in different package it would make more sense. What do you think? |
It works fine on my machine and I think there are other users that are currently using my fork (expecially the ones running newer graphic cards, as they seems to have problems with bbswitch), as I can see from the conversations on different GitHub issues in nvidia-xun. @ekultails built the RPM spec for nvidia-xrun-pm so maybe it can help updating the upstream rpm-spec as well: at the moment he is also maintaining the COPR package while I'm maintaining the AUR package for nvidia-xrun-pm. IMHO it makes sense to keep the systemd service implementation here as it would make the job easier for package maintainers, also without it there's no way to automatically turn off the graphic card at boot, as bbswitch was doing that so I think it makes sense to provide this service as a replacement. |
For me it would seem nice to have it as a separate package, list it as optional dependency. But for now lets keep it here. |
This PR merges all the changes introduced in nvidia-xrun-pm into nvidia-xrun, in particular:
/etc/default/nvidia-xrun