** Description changed:

- 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).
+ [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.
+ 
+ [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/nvidia-detector", line 8, in <module>
-     a = NvidiaDetection(printonly=True, verbose=False)
-   File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", 
line 68, in __init__
-     self.getData()
-   File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", 
line 149, in getData
-     driver_version = self.__get_value_from_name(stripped_package_name)
-   File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", 
line 87, in __get_value_from_name
-     v = int(name)
+   File "/usr/bin/nvidia-detector", line 8, in <module>
+     a = NvidiaDetection(printonly=True, verbose=False)
+   File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", 
line 68, in __init__
+     self.getData()
+   File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", 
line 149, in getData
+     driver_version = self.__get_value_from_name(stripped_package_name)
+   File "/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py", 
line 87, in __get_value_from_name
+     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_experimental_304 - Experimental NVIDIA binary Xorg driver, kernel 
module and VDPAU library (Proprietary, Disabled, Not in use)
  kmod:nvidia_current - NVIDIA binary Xorg driver, kernel module and VDPAU 
library (Proprietary, Disabled, Not in use)
  kmod:nvidia_current_updates - NVIDIA binary Xorg driver, kernel module and 
VDPAU library (Proprietary, Disabled, Not in use)
  
  I was unable to enable any of those using jockey-text -e
  
  Removing the nvidia-current and nvidia-experimental-304 fixed the
  problem by re-enabling the nouveau driver.

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

Title:
  nvidia-detector error breaks Nvidia drivers install on Quantal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-drivers-common/+bug/1070795/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to