Thanks for the patch and for the explanation, Daniel!

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nvidia-prime in Ubuntu.
https://bugs.launchpad.net/bugs/1282796

Title:
  prime-xconfig can write an invalid BusID string

Status in “nvidia-prime” package in Ubuntu:
  In Progress
Status in “nvidia-prime” source package in Precise:
  In Progress

Bug description:
  The BusID string created by prime-xconfig could be incorrect in any of
  the following cases:

  a) Any numeric component of the bus ID is greater than 9: prime-xconfig will 
write a hexadecimal value, but X will parse it as decimal.
  b) The system has more than one PCI domain: `lspci -n` will show the PCI 
domain, which is normally hidden on systems with a single PCI domain. This 
breaks the formatting assumptions made by nv_get_id() about which fields are in 
which position.

  Besides the potential correctness issues, the generated BusID string
  is missing the following recommended (but optional) information:

  a) Bus type. According to xorg.conf(5) this should be "PCI:"
  b) PCI domain: omission of this field could lead to problems on systems with 
multiple PCI domains

  A patch against nvidia-prime 0.5.5 from Trusty is attached. The
  version on github seems to be behind that version by quite a bit.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1282796/+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