← Back to team overview

desktop-packages team mailing list archive

[Bug 1443364] Re: gpu-manager systemd unit doesn't always work as expected

 

Ah, indeed /var/lib/dpkg/info/ubuntu-drivers-common.postinst has no unit
enablement code at all. I suspect the conditional code in debian/rules
which is supposed to call this stopped working:

        # on architectures where we build gpu-manager, install the systemd unit
        if [ -d debian/tmp/lib/systemd ]; then \
                dh_systemd_enable; \
                dh_install -p ubuntu-drivers-common lib/systemd; \
        fi

indeed the build log shows:

Can't stat debian/nvidia-common: No such file or directory
 at /usr/bin/dh_systemd_enable line 180.
Can't stat debian/fglrx-pxpress: No such file or directory
 at /usr/bin/dh_systemd_enable line 180.

** Changed in: ubuntu-drivers-common (Ubuntu)
     Assignee: (unassigned) => Martin Pitt (pitti)

** Changed in: ubuntu-drivers-common (Ubuntu)
       Status: Triaged => In Progress

** Tags added: systemd-boot

** Changed in: ubuntu-drivers-common (Ubuntu)
    Milestone: None => ubuntu-15.04

** Summary changed:

- gpu-manager systemd unit doesn't always work as expected
+ gpu-manager systemd unit is not enabled

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1443364

Title:
  gpu-manager systemd unit is not enabled

Status in ubuntu-drivers-common package in Ubuntu:
  In Progress

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
  /ubuntu-drivers-common/requires_offloading was created. This caused
  the system to boot into a black screen.

  Starting the same unit after (the failure to) boot, resulted in the
  correct creation of  /var/lib/ubuntu-drivers-
  common/requires_offloading . There is probably something weird going
  on in the systemd unit, as gpu-manager has never behaved like this
  with Upstart.

  This breaks hybrid graphics.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: ubuntu-drivers-common 1:0.4.4
  ProcVersionSignature: Ubuntu 3.19.0-13.13-generic 3.19.3
  Uname: Linux 3.19.0-13-generic x86_64
  NonfreeKernelModules: nvidia
  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-drivers-common
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1443364/+subscriptions


References