Comment 0 for bug 1070795

Revision history for this message
Louis Bouchard (louis) wrote : nvidia-detector error breaks Nvidia drivers install on Quantal

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)
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.