Public bug reported:

[Impact] 
 * When using nvidia drivers and the nvidia graphics card is boot vga the intel 
card will be added twice, causing xserver to fail to start up correctly.
 * Proper optimus usecase requires this.

[Test Case]
 * Either:
  - Have an affected laptop with nvidia drivers
  - hack xserver-xorg-video-nouveau NVPlatformProbe to always return false 
immediately, and use vgaswitcheroo to force nouveau as primary:
     # stop lightdm
     # echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
     # echo ON > /sys/kernel/debug/vgaswitcheroo/switch
 * Start xserver with "Xorg" and no configuration file.
 * Good behavior: starts normally, with the nvidia card driving all displays
 * Bad behavior: "Fatal server error: AddScreen/ScreenInit failed for gpu 
driver 1 -1"

[Regression Potential] 
 * Unlikely to regress, the fix affects code paths that previously were broken, 
and could have caused devices to be added multiple times, resulting in the 
fatal server error seen here. Extra checks are added to make sure platform <-> 
pci device confusion won't happen.
 * GPU detection may be affected in some way, testing will have to be done to 
make sure the normal cases are unaffected.

[Other Info]
Proposed upstream. http://lists.x.org/archives/xorg-devel/2013-June/036555.html

** Affects: xorg-server (Ubuntu)
     Importance: Undecided
     Assignee: Maarten Lankhorst (mlankhorst)
         Status: In Progress

** Summary changed:

- using nvidia driver causes intel to be listed twice
+ using nvidia driver causes intel to be detected twice

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1190546

Title:
  using nvidia driver causes intel to be detected twice

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1190546/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to