Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568272 - x11-base/xorg-server-1.17.4: AutoAddGPU not respected
Summary: x11-base/xorg-server-1.17.4: AutoAddGPU not respected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-12-14 19:51 UTC by Ilia Mirkin
Modified: 2017-01-29 06:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilia Mirkin 2015-12-14 19:51:34 UTC
http://cgit.freedesktop.org/xorg/xserver/commit/?id=c99fb550e06207e83ec89463fe32bd6bceca45f8

Please include this patch into xorg-server builds. The recent stabilization of Xorg 1.17 broke this feature (which is fixed again in 1.18).

Reproducible: Always

Steps to Reproduce:
1. Boot with nouveau blacklisted, intel used as primary
2. Set AutoAddGPU=false in xorg.conf
3. modprobe nouveau

Actual Results:  
Observe how Xorg grabs onto the newly availabel GPU device, with the modesetting driver. And in my case exited for good measure, but I don't know if that's a separate issue, I didn't see a crash in the log.

Expected Results:  
X ignores the newly added GPU, making it possible to later rmmod nouveau without restarting X.

[IP-] [  ] x11-base/xorg-server-1.17.4:0/1.17.4

xorg-server built with +udev [which is the default I believe]

$ /usr/sbin/lspci -nn -d ::300
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208 [GeForce GT 720] [10de:1286] (rev a1)

Screens connected to Intel GPU, use the NVIDIA GPU via DRI3 (which doesn't require X to have any knowledge of the GPU, unlike with DRI2).
Comment 1 Matt Turner gentoo-dev 2017-01-29 06:23:08 UTC
1.18.4 is stable and includes this.