apport asks you to uninstall nvidia drivers if nvidia module is not loaded

Bug #847601 reported by Rocko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xdiagnose (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

When apport reports a problem relating to compiz crashing, it prompts me with "It looks like you have installed the nvidia drivers..." and if you accidentally click 'No' (no in this case meaning "no I have not uninstalled them" and not the more logical "no they aren't installed"), it refuses to continue.

It would be more logical if apport checked to see if the nvidia drivers were even loaded first, eg via an "lsmod|grep nvidia".

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apport 1.22.1-0ubuntu2
Uname: Linux 3.1.0-rc5-git-20110909.1107 x86_64
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
Date: Mon Sep 12 14:34:48 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta amd64 (20110330)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: Upgraded to oneiric on 2011-09-06 (6 days ago)

Related branches

Revision history for this message
Rocko (rockorequin) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Did it say "It appears you may have installed the nVidia drivers manually from nvidia.com at some point in the past. This can cause problems with the Ubuntu-supplied drivers"? The X.org package hook does that.

affects: apport (Ubuntu) → xdiagnose (Ubuntu)
Revision history for this message
Rocko (rockorequin) wrote :

Yes, that's the message. I think it just looks for the install log because it asks me even if I'm running with intel drivers (ie the nvidia driver isn't loaded).

Revision history for this message
Bryce Harrington (bryce) wrote :

Installation of nvidia can cause troubles even if its kernel module isn't loaded -- for instance if the GL library was replaced (which hopefully should not happen anymore.)

However it's a good point that the usability of this could be better.

Revision history for this message
Bryce Harrington (bryce) wrote :

@Rocko, thanks for raising this issue for review.

Actually, I think the likelihood of this corner case happening is lessened these days; the packaging scripts for nvidia both in-distro and upstream *should* catch these cases. If they don't, that'd probably be better to handle as a regular bug.

Also, I bet that now that we're offering newer versions of the driver through jockey, the need for doing manual installs should be greatly reduced.

The logic will still attach the logs and tag the bug, so we'll be able to track and investigate manually installed driver issues, but I think it's not necessary for us to hit the user with a dialog for this case.

Bryce Harrington (bryce)
Changed in xdiagnose (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdiagnose - 1.7

---------------
xdiagnose (1.7) precise; urgency=low

  * Add data/media/microscope.svg - icon for program. Icon derived from
    microscope image by flooredmusic on OpenClipart.org (public domain
    image).
  * Include datetime module
    (LP: #881840)
  * Drop user notification of past manually-installed nvidia packages.
    The packaging scripts do a better job catching this now, and this
    logic can produce false-positives sometimes.
    (LP: #847601)
  * Properly substitute $xorg_backup_file variable in failsafe-x
    (LP: #575873)

  [Chad Miller]
  * Improve wording of 'development is complete' dialog.
    (LP: #891645)
 -- Bryce Harrington <email address hidden> Wed, 05 Oct 2011 19:36:24 -0700

Changed in xdiagnose (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.