nvidia-detector error breaks Nvidia drivers install on Quantal, Precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-common (Ubuntu) |
Fix Released
|
Undecided
|
Alberto Milone | ||
Quantal |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-drivers-common (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Causes the Hardware Drivers dialog to lockup and be unusable for all users on quantal due to it being unable to parse the driver names for experimental drivers.
precise: a similar error in nvidia-common, as indicated via errors.ubuntu.com although it claims jockey as culprit?
[Fix]
Make the code skip over experimental drivers for considering which kernel drivers to list. These drivers are then listed with the X drivers instead.
[Test Case]
1. On quantal enable -proposed so that all experimental nvidia drivers become visible
2. apt-get update
3. Run jockey (the Additional Hardware Drivers dialog)
Expected behavior: Jockey lists experimental drivers
Actual behavior: Jockey locks up
[Regression Potential]
None really, it's just a one line change to exclude some strings.
Validation testing should be fairly simple on a quantal system with NVIDIA graphics. Reproduce the original flaw, then install the package from -proposed and verify behavior is fixed. A single validation report should be sufficient to prove this safe; there's not really any chance this could cause larger misbehaviors beyond the bug in question.
[Original Report]
After installing the proprietary Nvidia drivers through "Software Source" tab and rebooting, the GUI becomes totally unusable (no Dash, no top bar with indicators, unable to start applications).
When dropping to a virtual console and running 'nvidia-detector', I got the following stack trace :
Traceback (most recent call last):
File "/usr/bin/
a = NvidiaDetection
File "/usr/lib/
self.getData()
File "/usr/lib/
driver_version = self.__
File "/usr/lib/
v = int(name)
ValueError: invalid literal for int() with base 10: 'experimental-304'
Trying again after installing jockey-common, here is the list of available drivers :
kmod:nvidia_
kmod:nvidia_current - NVIDIA binary Xorg driver, kernel module and VDPAU library (Proprietary, Disabled, Not in use)
kmod:nvidia_
I was unable to enable any of those using jockey-text -e
Removing the nvidia-current and nvidia-
SRU request:
Please accept ubuntu- drivers- common_ 0.2.71. 1 in quantal-proposed. It only introduces a one-line change which is already available in nvidia-common in precise in the same file.