Bug#735049: nvidia-support: Debconf prompts are misleading for NVIDIA Optimus users

Vincent Cheng vincentc1208 at gmail.com
Sun Jan 12 10:56:34 UTC 2014

Package: nvidia-support
Version: 20130816+1
Severity: important
Tags: patch

Dear Maintainer,

Installing bumblebee-nvidia (for optimus support) also pulls in the
proprietary nvidia packages, along with nvidia-support; during the
installation process, the user will see a debconf prompt saying that a
xorg.conf snippet must be used to enable the nvidia driver
(nvidia-support/create-nvidia-conf), which does not apply for nvidia
optimus users and will break glx on the user's main display if the
user blindly follows those debconf prompts.

Please consider the following patch (attached with this email) against
nvidia-support's debconf templates to address this issue.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-5-vclaptop-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nvidia-support depends on:
ii  debconf [debconf-2.0]  1.5.52

nvidia-support recommends no packages.

nvidia-support suggests no packages.

-- debconf information:
  nvidia-support/check-running-module-version: true
  nvidia-support/last-mismatching-module-version: 310.19
  nvidia-support/create-nvidia-conf: true
* nvidia-support/needs-xorg-conf-to-enable:
* nvidia-support/warn-nouveau-module-loaded:
  nvidia-support/check-xorg-conf-on-removal: true
-------------- next part --------------
diff -Nru a/debian/nvidia-support.templates b/debian/nvidia-support.templates
--- a/debian/nvidia-support.templates	2013-05-05 05:51:31.000000000 -0700
+++ b/debian/nvidia-support.templates	2014-01-12 02:09:53.883701648 -0800
@@ -50,6 +50,9 @@
  The NVIDIA driver is not yet configured; it needs to be enabled in
  xorg.conf before it can be used.
+ Ignore this message if you have a laptop with NVIDIA Optimus technology
+ (dual Intel and NVIDIA GPUs).
+ .
  Please see the package documentation for instructions.
 Template: nvidia-support/check-xorg-conf-on-removal
@@ -74,7 +77,8 @@
 Default: true
 Description: Create a minimal Xorg configuration to enable NVIDIA?
  The NVIDIA Xorg driver that was just installed requires manual configuration
- to be activated.
+ to be activated, unless you have a laptop with NVIDIA Optimus technology
+ (dual Intel and NVIDIA GPUs).
  A minimal config file that should be sufficient to start the X server
  can be created now. This file (/etc/X11/nvidia.conf) can be customized
@@ -83,3 +87,5 @@
  If you choose not to create this file now, you have to create your own
  configuration (in /etc/X11/xorg.conf or better /etc/X11/xorg.conf.d/*.conf)
  before Xorg can use the NVIDIA driver.
+ .
+ Do NOT create this file if you have a laptop with NVIDIA Optimus technology.

More information about the pkg-nvidia-devel mailing list