← Back to team overview

desktop-packages team mailing list archive

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

 

Public bug reported:

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.

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References