Public bug reported:

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

** Affects: ubuntu-drivers-common (Ubuntu)
     Importance: High
         Status: Triaged

** Changed in: ubuntu-drivers-common (Ubuntu)
       Status: New => Triaged

** Changed in: ubuntu-drivers-common (Ubuntu)
   Importance: Undecided => High

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to