gpu-manager systemd unit is not enabled
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | ubuntu-drivers-common (Ubuntu) |
Critical
|
Martin Pitt | ||
Bug Description
This happened with today's 15.04 image. The gpu-manager unit started, the xorg.conf was written, and so was the log but, somehow, even though the log says that the system needs offloading, no /var/lib/
Starting the same unit after (the failure to) boot, resulted in the correct creation of /var/lib/
This breaks hybrid graphics.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.19.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17-0ubuntu2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 13 12:38:53 2015
InstallationDate: Installed on 2015-04-13 (0 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150413)
SourcePackage: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
| Alberto Milone (albertomilone) wrote : | #1 |
| Changed in ubuntu-drivers-common (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → Critical |
| Alberto Milone (albertomilone) wrote : | #2 |
| Martin Pitt (pitti) wrote : | #3 |
The unit did not run at all during boot on your system, it appears the unit isn't enabled. Do you actually have a /etc/systemd/
It is enabled on my laptop, and ran fine (it didn't do anything of course as I have a single intel card).
| Martin Pitt (pitti) wrote : | #4 |
Ah, indeed /var/lib/
# on architectures where we build gpu-manager, install the systemd unit
if [ -d debian/
fi
indeed the build log shows:
Can't stat debian/
at /usr/bin/
Can't stat debian/
at /usr/bin/
| Changed in ubuntu-drivers-common (Ubuntu): | |
| assignee: | nobody → Martin Pitt (pitti) |
| status: | Triaged → In Progress |
| tags: | added: systemd-boot |
| Changed in ubuntu-drivers-common (Ubuntu): | |
| milestone: | none → ubuntu-15.04 |
| summary: |
- gpu-manager systemd unit doesn't always work as expected + gpu-manager systemd unit is not enabled |
| Changed in ubuntu-drivers-common (Ubuntu): | |
| status: | In Progress → Won't Fix |
| status: | Won't Fix → Fix Committed |
| Alberto Milone (albertomilone) wrote : | #5 |
ok, it makes sense now.
I've just rebuilt u-d-c using your latest commits, and it works well now:
:~$ sudo systemctl status gpu-manager.service
● gpu-manager.service - Detect the available GPUs and deal with any system changes
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since lun 2015-04-13 16:03:00 CEST; 1min 25s ago
Process: 697 ExecStart=
Main PID: 697 (code=exited, status=0/SUCCESS)
Please make sure that the fix makes it into the 15.04 release. Thanks a lot for your help!
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
* Call dh_systemd_enable after installing gpu-manager.
unit actually gets enabled. Also quiesce the confusing error messages
about nonexisting binary package directories. (LP: #1443364)
-- Martin Pitt <email address hidden> Mon, 13 Apr 2015 07:01:15 -0500
| Changed in ubuntu-drivers-common (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| TigerShark (tieskey-k) wrote : | #7 |
I'm experiencing this bug after upgrading from kubuntu 14.10 to 15.04 using the update manager.
Using nvidia-346:
Booting with a previous kernel (3.16) works but I'm stuck in intel mode.
Booting with current kernel (3.19) leaves me with the black screen which can be fixed (until restart) by running the suggested:
sudo systemctl stop sddm
sudo systemctl start gpu-manager
sudo systemctl start sddm
Idk if its relevant but
gpu-manager.conf :
start on (starting lightdm
or starting gdm
or starting kdm
or starting xdm
or starting lxdm)
task
exec gpu-manager --log /var/log/
Tried the obvious and added a line "or starting sddm" but didn't work :P
| TigerShark (tieskey-k) wrote : | #8 |
| TigerShark (tieskey-k) wrote : | #9 |
| Martin Pitt (pitti) wrote : | #10 |
TigerShark, can you please give me the output of
sudo systemctl status -l gpu-manager.service
directly after a clean boot? Note that /etc/init/
| vgeloven (vgeloven) wrote : | #11 |
# systemctl status -l gpu-manager.service
● gpu-manager.service - Detect the available GPUs and deal with any system changes
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since Thu 2016-09-15 16:34:57 CEST; 3min 4s ago
Process: 1950 ExecStart=
Main PID: 1950 (code=exited, status=0/SUCCESS)
Sep 15 16:34:57 *** gpu-manager[1950]: /etc/modprobe.d is not a file
Sep 15 16:34:57 *** gpu-manager[1950]: /etc/modprobe.d is not a file
Sep 15 16:34:57 *** gpu-manager[1950]: Error: can't open /lib/modules/
Sep 15 16:34:57 *** gpu-manager[1950]: Error: can't open /lib/modules/
Sep 15 16:34:57 *** gpu-manager[1950]: update-
Sep 15 16:34:57 *** systemd[1]: Started Detect the available GPUs and deal with any system changes.
Sep 15 16:34:57 *** systemd[1]: gpu-manager.
Sep 15 16:34:57 *** systemd[1]: Failed to start Detect the available GPUs and deal with any system changes.
Sep 15 16:35:02 *** systemd[1]: gpu-manager.
Sep 15 16:35:02 *** systemd[1]: Failed to start Detect the available GPUs and deal with any system changes.


sudo systemctl status gpu-manager.service system/ gpu-manager. service; disabled; vendor preset: enabled)
● gpu-manager.service - Detect the available GPUs and deal with any system changes
Loaded: loaded (/lib/systemd/
Active: inactive (dead)