[PATCH] Improved autoconfig drivers matching

Aaron Plattner aplattner at nvidia.com
Wed May 3 20:21:43 UTC 2017

On 05/03/2017 01:11 PM, Adam Jackson wrote:
> On Mon, 2017-05-01 at 18:03 +0900, Michel Dänzer wrote:
>> On 28/04/17 04:11 AM, Adam Jackson wrote:
>>> Fixed up (and rebased and made meson-aware) and merged:
>>> To ssh://git.freedesktop.org/git/xorg/xserver
>>>    1549e3037..112d0d7d0  master -> master
>> This broke things on my development box.
>> There are two GPUs. When I want Xorg to use the secondary GPU for its
>> primary screen, I use a xorg.conf with (effectively) only:
>> Section "Device"
>>         Identifier "Device0"
>>         BusID   "PCI:1:0:0"
>> EndSection
>> Before this change, this worked fine, automatically[0] using the amdgpu
>> driver for that GPU. With this change, Xorg fails to start up, see the
>> attached log file.

Weird. Do you have a working log to compare against?

> Ugh. I don't know if I'm going to have time to investigate that in
> detail, so I lean towards reverting. If the original problem was that
> 20 was too small a number let's just bump it to something safely crazy
> like 256. Sound reasonable?
Sad, but sure, fine with me. 16 drivers times 16 GPUs should be rare
enough that it won't be a problem in practice.

-- Aaron

More information about the xorg-devel mailing list