desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #83985
[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 Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1312255
Title:
[systemd] nvidia-prime package needs systemd unit or init.d script
Status in “nvidia-prime” package in Ubuntu:
Triaged
Bug description:
With systemd as pid 1
nvidia-prime package is pulled as a dependency of nvidia-331-updates package.
When I tried to install the nvidia-331-updates package it gave me an error of installation on nvidia-prime due to
"initctl: Unable to connect to Upstart: Failed to connect to socket
/com/ubuntu/upstart: Connection refused"
The full terminal stdout is
Setting up nvidia-prime (0.6.2) ...
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
invoke-rc.d: unknown initscript, /etc/init.d/nvidia-prime not found.
dpkg: error processing package nvidia-prime (--configure):
subprocess installed post-installation script returned error exit status 100
and at the end
Errors were encountered while processing:
nvidia-prime
E: Sub-process /usr/bin/dpkg returned an error code (1)
This problem didn't prevent the nvidia-331-updates package from being
installed. Nvidia driver installed properly and have worked as it
should after a reboot, but the nvidia-prime "didn't make it".
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: nvidia-prime 0.6.2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Apr 24 18:37:04 2014
InstallationDate: Installed on 2014-03-24 (31 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140323)
SourcePackage: nvidia-prime
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1312255/+subscriptions