Unknown AMD Radeon GPU (ChipID = 0x15dd) crashes xserver master
I have a Lenovo Thinkpad E585. lspci reports: 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] [1002:15dd] (rev c4)
libdrm-2.4.100 reports this as unknown to xf86-video-amdgpu-19.1.0. AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x15dd)
xserver-1.20.7 accepts this and works normally. xserver-master segfaults.
[ 49.425] (II) LoadModule: "amdgpu"
[ 49.425] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[ 49.433] (II) Module amdgpu: vendor="X.Org Foundation"
[ 49.433] compiled for 1.20.99.1, module version = 19.1.0
[ 49.433] Module class: X.Org Video Driver
[ 49.433] ABI class: X.Org Video Driver, version 25.1
[ 49.434] (II) LoadModule: "modesetting"
[ 49.434] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 49.435] (II) Module modesetting: vendor="X.Org Foundation"
[ 49.435] compiled for 1.20.99.1, module version = 1.20.99
[ 49.435] Module class: X.Org Video Driver
[ 49.435] ABI class: X.Org Video Driver, version 25.1
[ 49.435] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 49.436] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 49.436] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 49.457] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 49.458] (WW) Falling back to old probe method for modesetting
[ 49.458] (II) modeset(G0): using drv /dev/dri/card0
[ 49.458] (II) AMDGPU(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 49.458] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[ 49.458] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 49.458] (==) AMDGPU(0): Default visual is TrueColor
[ 49.458] (EE)
[ 49.458] (EE) Backtrace:
[ 49.459] (EE) 0: /usr/bin/Xorg (xorg_backtrace+0x4d) [0x5592059c53fd]
[ 49.459] (EE) 1: /usr/bin/Xorg (0x559205859000+0x16ffd5) [0x5592059c8fd5]
[ 49.459] (EE) 2: /lib/libc.so.6 (0x7f19275b2000+0x3d9b0) [0x7f19275ef9b0]
[ 49.459] (EE) 3: /usr/bin/Xorg (0x559205859000+0x1b0200) [0x559205a09200]
[ 49.459] (EE) 4: /usr/bin/Xorg (xf86CollectOptions+0x77) [0x5592059e70c7]
[ 49.459] (EE) 5: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (0x7f1926ce4000+0xdaf7) [0x7f1926cf1af7]
[ 49.459] (EE) 6: /usr/bin/Xorg (InitOutput+0xa47) [0x5592059ed157]
[ 49.459] (EE) 7: /usr/bin/Xorg (0x559205859000+0x8183b) [0x5592058da83b]
[ 49.459] (EE) 8: /lib/libc.so.6 (__libc_start_main+0xeb) [0x7f19275daf9b]
[ 49.459] (EE) 9: /usr/bin/Xorg (_start+0x2a) [0x55920589438a]
[ 49.459] (EE)
[ 49.459] (EE) Segmentation fault at address 0x124
Whereas:
[ 53.902] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[ 53.902] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 53.902] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 53.920] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[ 53.921] (WW) Falling back to old probe method for modesetting
[ 53.921] (II) AMDGPU(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 53.921] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[ 53.921] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[ 53.921] (==) AMDGPU(0): Default visual is TrueColor
[ 53.921] (==) AMDGPU(0): RGB weight 888
[ 53.921] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[ 53.921] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x15dd)
[ 53.921] (II) Loading sub module "fb"
[ 53.921] (II) LoadModule: "fb"
[ 53.921] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 53.922] (II) Module fb: vendor="X.Org Foundation"
[ 53.922] compiled for 1.20.7, module version = 1.0.0
[ 53.922] ABI class: X.Org ANSI C Emulation, version 0.4
[ 53.922] (II) Loading sub module "dri2"
[ 53.922] (II) LoadModule: "dri2"
[ 53.923] (II) Module "dri2" already built-in
[ 54.221] (II) Loading sub module "glamoregl"
[ 54.221] (II) LoadModule: "glamoregl"
[ 54.221] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 54.231] (II) Module glamoregl: vendor="X.Org Foundation"
[ 54.231] compiled for 1.20.7, module version = 1.0.1
[ 54.231] ABI class: X.Org ANSI C Emulation, version 0.4
[ 54.260] (II) AMDGPU(0): glamor X acceleration enabled on AMD RAVEN (DRM 3.36.0, 5.5.7, LLVM 9.0.1)
[ 54.260] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[ 54.260] (==) AMDGPU(0): TearFree property default: auto
[ 54.260] (==) AMDGPU(0): VariableRefresh: disabled
[ 54.260] (II) AMDGPU(0): KMS Pageflipping: enabled
[ 54.261] (II) AMDGPU(0): Output eDP has no monitor section
[ 54.261] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[ 54.261] (II) AMDGPU(0): Output DisplayPort-0 has no monitor section
[ 54.262] (II) AMDGPU(0): Output DisplayPort-1 has no monitor section
[ 54.280] (II) AMDGPU(0): EDID for output eDP
[ 54.280] (II) AMDGPU(0): Manufacturer: BOE Model: 6ff Serial#: 0
[ 54.280] (II) AMDGPU(0): Year: 2016 Week: 1
[ 54.280] (II) AMDGPU(0): EDID Version: 1.4
[ 54.280] (II) AMDGPU(0): Digital Display Input
[ 54.280] (II) AMDGPU(0): 8 bits per channel
[ 54.280] (II) AMDGPU(0): Digital interface is DisplayPort
[ 54.280] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34 vert.: 19
[ 54.280] (II) AMDGPU(0): Gamma: 2.20
[ 54.280] (II) AMDGPU(0): No DPMS capabilities specified
[ 54.280] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4
[ 54.280] (II) AMDGPU(0): First detailed timing is preferred mode
[ 54.280] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[ 54.280] (II) AMDGPU(0): redX: 0.585 redY: 0.363 greenX: 0.350 greenY: 0.579
Edited by Michel Dänzer