[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
In the source package that I have, debian/control hasn't been updated to mark systemd as an alternative to upstart. Also, for the display manager dependency, one should (?) add '| sddm', as it will eventually replace kdm. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
** Branch linked: lp:~ubuntu-branches/ubuntu/vivid/nvidia-prime/vivid- proposed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
This bug was fixed in the package nvidia-prime - 0.7 --- nvidia-prime (0.7) vivid; urgency=medium * debian/control, debian/dirs.in, debian/install.in, debian/nvidia-prime.service, debian/rules: - Add support for systemd (LP: #1312255). -- Alberto Milone alberto.mil...@canonical.com Fri, 16 Jan 2015 19:32:00 +0100 ** Changed in: nvidia-prime (Ubuntu) Status: In Progress = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
** Changed in: nvidia-prime (Ubuntu) Status: Triaged = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
Alberto, assigning to you as you assigned the duplicate bug to you and expressed interest in this. Bryan's initial attempt needs at least Wants=lightdm.service Before=lightdm.service which is a direct translation of start on starting lightdm. I don't understand the $prime_supported` stuff, as this *only* starts start-nvidia-persistenced if $supported is empty and says Sorry but your hardware configuration is not supported. To me this looks like an error in the upstart script, but I could just misunderstand what it does. ** Changed in: nvidia-prime (Ubuntu) Assignee: (unassigned) = Alberto Milone (albertomilone) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
Actually, you probably want display-manager.service instead of lightdm.service so that this also works with gdm and friends. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
A quick first attempt /lib/systemd/system/nvidia-prime.service [Unit] Description=NVIDIA PRIME Power Saving Mode [Service] ExecStart=/usr/bin/start-nvidia-persistenced ExecStopPost=/sbin/rmmod bbswitch [Install] WantedBy=graphical.target It doesn't have any of the conditionals of the original upstart.. and I don't have a prime setup so I have no idea if it actually would work. (I just got tired of dpkg throwing errors about it everytime) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
** Changed in: nvidia-prime (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
@Jörn: no, as nvidia-prime is not the only package that handles hybrid graphics. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
Just for my interest, would fixing this bug allow to use nvidia-prime in upstream Debian? Best regards -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1312255] Re: [systemd] nvidia-prime package needs systemd unit or init.d script
** Summary changed: - [systemd] nvidia-prime package installation failed due to missing upstart service + [systemd] nvidia-prime package needs systemd unit or init.d script ** Changed in: nvidia-prime (Ubuntu) Status: Confirmed = Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1312255 Title: [systemd] nvidia-prime package needs systemd unit or init.d script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs