Public bug reported:

The old-style NVIDIA package (used prior to Bionic) installs an X
configuration snippet to:

/usr/share/X11/xorg.conf.d/50-nvidia-drm-outputclass.conf/nvidia-drm-
outputclass.conf

The purpose of this configuration snippet is to configure DRM
OutputClass-based driver matching so that the NVIDIA driver can be
loaded without needing to explicitly configure it. Due to its location,
however, it ends up not being read by the X server.

This isn't a problem in distros before Bionic, since up until Artful,
the X server was patched to add "nvidia" to the X server's own auto-
detected driver list, so the OutputClass-based matching was redundant.
However, if a system running Bionic or newer has an NVIDIA driver
package from Artful or earlier installed, the location of this file is
problematic, as the NVIDIA driver can no longer be autoconfigured from
either the X server's internal driver list nor the OutputClass-based
matching.

Normally, a user wouldn't end up with an old-style driver package on a
newer distro, but one possible scenario which could lead to this
condition is if an NVIDIA driver package is installed via an external
repository (for example, the NVIDIA CUDA repositories) on an Ubuntu
version that uses the older packaging format, then the system is
upgraded to a newer version that uses the newer packaging format. Third
party repositories are disabled as part of the do-release-upgrade
process, and the NVIDIA driver package does not get updated. The
packages continue to function, but the placement of the nvidia-drm-
outputclass.conf file prevents X from selecting the NVIDIA X driver
without explicit configuration.

I have confirmed that moving this file one level up, so that its parent
directory is /usr/share/X11/xorg.conf.d allows the OutputClass-based
matching to function as expected.

** Affects: nvidia-graphics-drivers-384 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830975

Title:
  Old style NVIDIA package installs configuration snippet to an unusual
  location

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-384/+bug/1830975/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to