← Back to team overview

desktop-packages team mailing list archive

[Bug 1376966] Re: gpu-manager treats all files in /etc/modprobe.d as config files

 

This bug was fixed in the package ubuntu-drivers-common - 1:0.2.91.9

---------------
ubuntu-drivers-common (1:0.2.91.9) trusty-proposed; urgency=medium

  * sl-modem plugin: Keep environment for aplay, just ensure it's using the C
    locale. This avoids staring pulseaudio twice and causing races for
    attaching devices to pulseaudio. (LP: #1296425)

ubuntu-drivers-common (1:0.2.91.8) trusty-proposed; urgency=medium

  * gpu-manager.c:
    - Refine checks for blacklisted modules, so that we don't end up
      catching false positives (LP: #1376966).
      Thanks to Pär Lindfors for the patch.
 -- Martin Pitt <martin.pitt@xxxxxxxxxx>   Mon, 05 Jan 2015 17:27:53 +0100

** Changed in: ubuntu-drivers-common (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
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/1376966

Title:
  gpu-manager treats all files in /etc/modprobe.d as config files

Status in ubuntu-drivers-common package in Ubuntu:
  Fix Released
Status in ubuntu-drivers-common source package in Trusty:
  Fix Released

Bug description:
  My media center computer have a single nvidia GPU connected to a TV,
  and have for many years been happily using the nvidia driver.
  Unfortunately the recent upgrade to version 1:0.2.91.7 broke X.
  Starting lightdm would fail, delete my xorg.conf and redirect libgl
  symlinks to mesa.

  After some debugging I fond that this was done by gpu-manager, because
  it incorrectly believes that my nvidia module is blacklisted. gpu-
  manager.log contained "Is nvidia blacklisted? yes".

  More debugging determined that this was happening because I have a several years old file named:
    /etc/modprobe.d/blacklist.dpkg-old
  which among other things contain the line "blacklist nvidia".

  However that is _not_ a modprobe config file. modprobe only uses files
  with a .conf extension. (See the man page modprobe.d(5)).
  Unfortunately gpu-manager does not have this restriction and looks in
  all files in /etc/modprobe.d by running:

    grep -G "blacklist.*nvidia[[:space:]]*$" /etc/modprobe.d/*

  
  I could work-around the bug by removing the .dpkg-old file. However this will likely break other machines as well. I found two bugs 1373968 and 1374871 about X not working after installing the latest update. However they does not contain enough information to determine if they are duplicates of this bug or not.

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


References