Package: server-xorg-core Version: 2:1.20.4-1 Severity: grave Hello I have a similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911680 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911680> bug I think, also in VM which is KVM (Proxmox) with AMD RX590 PCI passthru. Happens on latest sid & experimental 5.0 kernels, also in latest Ubuntu 19.04 & 19.10. Previously it worked ok in ESXI, Xen with Ubuntu. It works in KVM Windows 10.
Or is it amdgpu bug? Thanks. root@dev:/var/log# cat Xorg.0.log [ 131.766] X.Org <http://x.org/> X Server 1.20.4 X Protocol Version 11, Revision 0 [ 131.766] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian [ 131.766] Current Operating System: Linux dev 5.0.0-trunk-amd64 #1 SMP Debian 5.0.2-1~exp1 (2019-03-18) x86_64 [ 131.766] Kernel command line: BOOT_IMAGE=/vmlinuz-5.0.0-trunk-amd64 root=UUID=e4607c3b-74e7-45bf-be63-5cc5d816194d ro quiet [ 131.766] Build Date: 05 March 2019 08:11:12PM [ 131.766] xorg-server 2:1.20.4-1 (https://www.debian.org/support <https://www.debian.org/support>) [ 131.766] Current version of pixman: 0.36.0 [ 131.766] Before reporting problems, check http://wiki.x.org <http://wiki.x.org/> to make sure that you have the latest version. [ 131.766] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 131.767] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 25 13:48:04 2019 [ 131.767] (++) Using config file: "/root/xorg.conf.new" [ 131.767] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 131.767] (==) ServerLayout "X.org <http://x.org/> Configured" [ 131.767] (**) |-->Screen "Screen0" (0) [ 131.767] (**) | |-->Monitor "Monitor0" [ 131.768] (**) | |-->Device "Card0" [ 131.768] (**) |-->Screen "Screen1" (1) [ 131.768] (**) | |-->Monitor "Monitor1" [ 131.768] (**) | |-->Device "Card1" [ 131.768] (**) |-->Screen "Screen2" (2) [ 131.768] (**) | |-->Monitor "Monitor2" [ 131.768] (**) | |-->Device "Card2" [ 131.768] (**) |-->Input Device "Mouse0" [ 131.768] (**) |-->Input Device "Keyboard0" [ 131.768] (==) Automatically adding devices [ 131.768] (==) Automatically enabling devices [ 131.768] (==) Automatically adding GPU devices [ 131.768] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 131.768] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 131.768] Entry deleted from font path. [ 131.768] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 131.768] Entry deleted from font path. [ 131.768] (**) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins, /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 131.768] (**) ModulePath set to "/usr/lib/xorg/modules" [ 131.768] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. [ 131.768] (WW) Disabling Mouse0 [ 131.768] (WW) Disabling Keyboard0 [ 131.768] (II) Loader magic: 0x55f57d015e20 [ 131.769] (II) Module ABI versions: [ 131.769] X.Org <http://x.org/> ANSI C Emulation: 0.4 [ 131.769] X.Org <http://x.org/> Video Driver: 24.0 [ 131.769] X.Org <http://x.org/> XInput driver : 24.1 [ 131.769] X.Org <http://x.org/> Server Extension : 10.0 [ 131.769] (--) using VT number 3 [ 131.769] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 131.771] (II) xfree86: Adding drm device (/dev/dri/card0) [ 131.771] (II) xfree86: Adding drm device (/dev/dri/card1) [ 131.799] (--) PCI:*(0@0:1:0) 1234:1111:1af4:1100 rev 2, Mem @ 0xf0000000/16777216, 0xfea14000/4096, BIOS @ 0x????????/131072 [ 131.799] (--) PCI: (1@0:0:0) 1002:67df:1da2:e366 rev 225, Mem @ 0x600000000/8589934592, 0x800000000/2097152, 0xfe800000/262144, I/O @ 0x00005000/256, BIOS @ 0x????????/131072 [ 131.799] (II) "glx" will be loaded. This was enabled by default and also specified in the config file. [ 131.799] (II) LoadModule: "glx" [ 131.799] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 131.801] (II) Module glx: vendor="X.Org <http://x.org/> Foundation" [ 131.801] compiled for 1.20.4, module version = 1.0.0 [ 131.801] ABI class: X.Org <http://x.org/> Server Extension, version 10.0 [ 131.801] (II) LoadModule: "amdgpu" [ 131.801] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so [ 131.801] (II) Module amdgpu: vendor="X.Org <http://x.org/> Foundation" [ 131.801] compiled for 1.20.4, module version = 19.0.1 [ 131.801] Module class: X.Org <http://x.org/> Video Driver [ 131.801] ABI class: X.Org <http://x.org/> Video Driver, version 24.0 [ 131.801] (II) LoadModule: "modesetting" [ 131.801] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 131.802] (II) Module modesetting: vendor="X.Org <http://x.org/> Foundation" [ 131.802] compiled for 1.20.4, module version = 1.20.4 [ 131.802] Module class: X.Org <http://x.org/> Video Driver [ 131.802] ABI class: X.Org <http://x.org/> Video Driver, version 24.0 [ 131.802] (II) AMDGPU: Driver for AMD Radeon: All GPUs supported by the amdgpu kernel driver [ 131.802] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 131.805] (II) AMDGPU(0): [KMS] Kernel modesetting enabled. [ 131.805] (II) modeset(1): using drv /dev/dri/card0 [ 131.805] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32 [ 131.805] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps) [ 131.805] (==) AMDGPU(0): Default visual is TrueColor [ 131.805] (==) AMDGPU(0): RGB weight 888 [ 131.805] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC) [ 131.805] (--) AMDGPU(0): Chipset: "Radeon RX 590 Series" (ChipID = 0x67df) [ 131.805] (II) Loading sub module "fb" [ 131.805] (II) LoadModule: "fb" [ 131.805] (II) Loading /usr/lib/xorg/modules/libfb.so [ 131.805] (II) Module fb: vendor="X.Org <http://x.org/> Foundation" [ 131.806] compiled for 1.20.4, module version = 1.0.0 [ 131.806] ABI class: X.Org <http://x.org/> ANSI C Emulation, version 0.4 [ 131.806] (II) Loading sub module "dri2" [ 131.806] (II) LoadModule: "dri2" [ 131.806] (II) Module "dri2" already built-in [ 131.909] (EE) [ 131.909] (EE) Backtrace: [ 131.909] (EE) 0: /usr/lib/xorg/Xorg (OsLookupColor+0x139) [0x55f57cf882c9] [ 131.909] (EE) 1: /lib/x86_64-linux-gnu/libpthread.so.0 (funlockfile+0x50) [0x7fbb6e85977f] [ 131.910] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (memcpy+0x2d7) [0x7fbb6e7263b7] [ 131.910] (EE) 3: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0xc8c8e) [0x7fbb6ced280e] [ 131.910] (EE) 4: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0xa6220) [0x7fbb6ce8ced0] [ 131.911] (EE) 5: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x96e35) [0x7fbb6ce6e865] [ 131.911] (EE) 6: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (radeon_drm_winsys_create+0x97b21) [0x7fbb6ce6fe51] [ 131.911] (EE) 7: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (amdgpu_winsys_create+0x3f1) [0x7fbb6ce40aa1] [ 131.911] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 131.911] (EE) 8: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (?+0x0) [0x7fbb6cc22100] [ 131.912] (EE) 9: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_virtio_gpu+0x9d698) [0x7fbb6cd5d288] [ 131.912] (EE) 10: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_virtio_gpu+0x40ea) [0x7fbb6cc2a6da] [ 131.912] (EE) 11: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (__driDriverGetExtensions_virtio_gpu+0x12f8) [0x7fbb6cc24968] [ 131.912] (EE) 12: /usr/lib/x86_64-linux-gnu/libgbm.so.1 (gbm_surface_has_free_buffers+0x1b06) [0x7fbb6da271b6] [ 131.913] (EE) 13: /usr/lib/x86_64-linux-gnu/libgbm.so.1 (gbm_surface_has_free_buffers+0x1e83) [0x7fbb6da27833] [ 131.913] (EE) 14: /usr/lib/x86_64-linux-gnu/libgbm.so.1 (gbm_create_device+0x57) [0x7fbb6da235d7] [ 131.913] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 131.913] (EE) 15: /usr/lib/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fbb6da3d650] [ 131.913] (EE) 16: /usr/lib/xorg/Xorg (InitOutput+0x9c0) [0x55f57ce6a6a0] [ 131.913] (EE) 17: /usr/lib/xorg/Xorg (InitFonts+0x1cf) [0x55f57ce2d76f] [ 131.914] (EE) 18: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xeb) [0x7fbb6e6a809b] [ 131.914] (EE) 19: /usr/lib/xorg/Xorg (_start+0x2a) [0x55f57ce1767a] [ 131.914] (EE) [ 131.914] (EE) Illegal instruction at address 0x7fbb6e7262f7 [ 131.914] (EE) Fatal server error: [ 131.914] (EE) Caught signal 4 (Illegal instruction). Server aborting [ 131.914] (EE) [ 131.914] (EE) Please consult the The X.Org <http://x.org/> Foundation support at http://wiki.x.org <http://wiki.x.org/> for help. [ 131.914] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 131.914] (EE) [ 131.919] (EE) Server terminated with error (1). Closing log file. root@dev:/var/log# lspci -v | grep AMD 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e1) (prog-if 00 [VGA controller]) 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] root@dev:/var/log# uname -a Linux dev 5.0.0-trunk-amd64 #1 SMP Debian 5.0.2-1~exp1 (2019-03-18) x86_64 GNU/Linux root@dev:/var/log# dmesg | grep amdgpu [ 6.182483] [drm] amdgpu kernel modesetting enabled. [ 6.185106] amdgpu 0000:01:00.0: No more image in the PCI ROM [ 6.298108] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_k_mc.bin [ 6.299001] amdgpu 0000:01:00.0: BAR 2: releasing [mem 0xe0000000-0xe01fffff 64bit pref] [ 6.299001] amdgpu 0000:01:00.0: BAR 0: releasing [mem 0xd0000000-0xdfffffff 64bit pref] [ 6.302266] amdgpu 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x7ffffffff 64bit pref] [ 6.302457] amdgpu 0000:01:00.0: BAR 2: assigned [mem 0x800000000-0x8001fffff 64bit pref] [ 6.307511] amdgpu 0000:01:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used) [ 6.307511] amdgpu 0000:01:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF [ 6.307511] [drm] amdgpu: 8192M of VRAM memory ready [ 6.307511] [drm] amdgpu: 8192M of GTT memory ready. [ 6.332098] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_pfp_2.bin [ 6.332121] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_me_2.bin [ 6.332135] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_ce_2.bin [ 6.332152] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_rlc.bin [ 6.332238] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_mec_2.bin [ 6.332329] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_mec2_2.bin [ 6.334548] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_sdma.bin [ 6.334566] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_sdma1.bin [ 6.334919] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_uvd.bin [ 6.337633] amdgpu 0000:01:00.0: firmware: direct-loading firmware amdgpu/polaris10_vce.bin [ 6.515558] amdgpu 0000:01:00.0: fb1: amdgpudrmfb frame buffer device [ 6.518985] [drm] Initialized amdgpu 3.27.0 20150101 for 0000:01:00.0 on minor 1 [ 11.644461] amdgpu 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none