using nvidia driver causes intel to be detected twice

Bug #1190546 reported by Maarten Lankhorst on 2013-06-13
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Maarten Lankhorst

Bug Description

 * 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.

Related branches

summary: - using nvidia driver causes intel to be listed twice
+ using nvidia driver causes intel to be detected twice
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xorg-server - 2:1.13.3-0ubuntu11

xorg-server (2:1.13.3-0ubuntu11) saucy; urgency=low

  * Add patch to fix device enumeration with nvidia drivers. (LP: #1190546)
    - xf86-fixup-detection.patch
 -- Maarten Lankhorst <email address hidden> Thu, 13 Jun 2013 13:00:58 +0200

Changed in xorg-server (Ubuntu):
status: In Progress → Fix Released

Hello Maarten, or anyone else affected,

Accepted xorg-server into raring-proposed. The package will build now and be available at in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at . Thank you in advance!

Changed in xorg-server (Ubuntu Raring):
status: New → Fix Committed
tags: added: verification-needed
tags: added: verification-done
removed: verification-needed
Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

Changed in xorg-server (Ubuntu Raring):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers