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 Desktop
Packages, which is subscribed to ubuntu-drivers-common in Ubuntu.
https://bugs.launchpad.net/bugs/1492873

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

Status in ubuntu-drivers-common package in Ubuntu:
  Triaged

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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to