nvidiadetector.py: neglects to match on class code 0302 3D Controller

Bug #1492873 reported by TJ
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-drivers-common (Ubuntu)
Invalid
High
Unassigned
Nominated for Trusty by TJ
Nominated for Wily by TJ

Bug Description

Helping a user on IRC where ubuntu-drivers failed to detect

0a:00.0 3D controller [0302]: NVIDIA Corporation GM107M [GeForce GTX 850M] [10de:1391] (rev a2)

Looking at the source-code I noticed that

/usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py::detection()

is not matching on class 0302 (despite the associated fake entry comment for debugging suggesting it)

The work-around is to amend the code thus:

sudo sed -i 's/0300/(0300|0302)/' /usr/lib/python3/dist-packages/NvidiaDetector/nvidiadetector.py

Running ubuntu-drivers now matches the 3D Controller

TJ (tj)
Changed in ubuntu-drivers-common (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Alberto Milone (albertomilone) wrote :

nvidia-detector was never meant to be used with ubuntu-drivers.

Changed in ubuntu-drivers-common (Ubuntu):
status: Triaged → Invalid
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.