Comment 26 for bug 1792932

Revision history for this message
In , Jimi (jimijames-bove) wrote :

Alright, new problem. I have debian all set up to debug this. I even tested the whole debugging process without amdgpu running and it went swimmingly. But, as soon as I put in my 20-amdgpu.conf file, X crashes, because it can't grab my card from pci-stub, but in order to test this bug, I *need* to boot up the machine with the card bound to pci-stub. It's because for some reason, in Arch Linux, X is OK with loading amdgpu without finding a usable card, but in debian, not finding a card makes it freak out, even though Ignore is set to true. Here's the amdgpu part of the crash log from debian:

[ 4.716] (--) PCI:*(0:0:2:0) 1b36:0100:1af4:1100 rev 4, Mem @ 0x94000000/67108864, 0x90000000/67108864, 0x98248000/8192, I/O @ 0x0000c2a0/32, BIOS @ 0x????????/131072
[ 4.716] (--) PCI: (0:0:7:0) 1002:7300:174b:e331 rev 203, Mem @ 0x80000000/268435456, 0x98000000/2097152, 0x98200000/262144, I/O @ 0x0000c000/256, BIOS @ 0x????????/131072
[ 4.716] (II) LoadModule: "glx"
[ 4.716] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 4.717] (II) Module glx: vendor="X.Org Foundation"
[ 4.717] compiled for 1.18.4, module version = 1.0.0
[ 4.717] ABI class: X.Org Server Extension, version 9.0
[ 4.717] (==) AIGLX enabled
[ 4.717] (II) LoadModule: "amdgpu"
[ 4.717] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 4.717] (II) Module amdgpu: vendor="X.Org Foundation"
[ 4.717] compiled for 1.18.3, module version = 1.1.0
[ 4.717] Module class: X.Org Video Driver
[ 4.717] ABI class: X.Org Video Driver, version 20.0
[ 4.717] (II) AMDGPU: Driver for AMD Radeon chipsets: BONAIRE, BONAIRE, BONAIRE,
 BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, BONAIRE, KABINI, KABINI,
 KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KABINI,
 KABINI, KABINI, KABINI, KABINI, KABINI, KABINI, KAVERI, KAVERI,
 KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
 KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI, KAVERI,
 KAVERI, KAVERI, KAVERI, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII,
 HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, HAWAII, TOPAZ, TOPAZ,
 TOPAZ, TOPAZ, TOPAZ, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA, TONGA,
 TONGA, TONGA, CARRIZO, CARRIZO, CARRIZO, CARRIZO, CARRIZO, FIJI,
 STONEY, POLARIS11, POLARIS11, POLARIS11, POLARIS11, POLARIS11,
 POLARIS11, POLARIS10, POLARIS10
[ 4.718] (EE) No devices detected.
[ 4.718] (EE)
Fatal server error:
[ 4.718] (EE) no screens found(EE)

And here's my 20-amdgpu.conf file that works fine in Arch but not debian, given a card that's occupied by vfio-pci or pci-stub:

Section "Device"
    Identifier "Radeon"
    Driver "amdgpu"
    Option "DRI" "3"
    Option "Ignore" "true"
EndSection