You are not logged in.

#1 2018-10-21 20:58:20

Physicist1616
Member
Registered: 2015-02-16
Posts: 32

AMD RX480 amdgpu, drm, no video at modeset

What's happening here?  Am I the only one?  It used to work, but got hot.  That "ring test 0 fail" and high temp got me to this thread: https://bbs.archlinux.org/viewtopic.php?id=223458, but I'm seeing it's old and, if I read the thread right, got fixed with a later kernel/linux-firmware.

The RX480 works in Windows, so I don't think it's a hardware failure, but there was some inconsistency before this that makes me wonder about the possibility.  I was only able to get to these logs in-OS by adding nomodeset to the kernel line and then journalctl --boot=-1, or by using arch install media and adding nomodeset.

Feel free to ask for more data, I'm lost at this point.

-- Logs begin at Sun 2017-09-24 20:48:10 HST, end at Sun 2018-10-21 09:59:21 HST. --
Oct 21 09:56:52 arch kernel: microcode: microcode updated early to revision 0x1d, date = 2018-05-11
Oct 21 09:56:52 arch kernel: Linux version 4.18.14-arch1-1-ARCH (builduser@heftig-9905) (gcc version 8.2.1 20180831 (GCC)) #1 SMP PREEMPT Sat Oct 13 13:42:37 UTC 2018
Oct 21 09:56:52 arch kernel: Command line: BOOT_IMAGE=../vmlinuz-linux root=UUID=2636c05b-d4d1-4743-8340-b52f5891172d rw initrd=../intel-ucode.img,../initramfs-linux.img
[***skipping to drm stuff]
Oct 21 09:56:52 arch kernel: [drm] amdgpu kernel modesetting enabled.
Oct 21 09:56:52 arch kernel: [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1682:0x9480 0xC7).
Oct 21 09:56:52 arch kernel: [drm] register mmio base: 0xFBC80000
Oct 21 09:56:52 arch kernel: [drm] register mmio size: 262144
Oct 21 09:56:52 arch kernel: [drm] probing gen 2 caps for device 8086:340e = 3b3d02/0
Oct 21 09:56:52 arch kernel: [drm] probing mlw for device 8086:340e = 3b3d02
Oct 21 09:56:52 arch kernel: [drm] add ip block number 0 <vi_common>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 1 <gmc_v8_0>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 2 <tonga_ih>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 3 <powerplay>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 4 <dm>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 5 <gfx_v8_0>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 6 <sdma_v3_0>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 7 <uvd_v6_0>
Oct 21 09:56:52 arch kernel: [drm] add ip block number 8 <vce_v3_0>
Oct 21 09:56:52 arch kernel: [drm] UVD is enabled in VM mode
Oct 21 09:56:52 arch kernel: [drm] UVD ENC is enabled in VM mode
Oct 21 09:56:52 arch kernel: [drm] VCE enabled in VM mode
Oct 21 09:56:52 arch kernel: resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000dffff window]
Oct 21 09:56:52 arch kernel: caller pci_map_rom+0x58/0xe0 mapping multiple BARs
Oct 21 09:56:52 arch kernel: amdgpu 0000:04:00.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff
Oct 21 09:56:52 arch kernel: ATOM BIOS: 113-P10XT-XFX1328-8GB-W80
Oct 21 09:56:52 arch kernel: [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
Oct 21 09:56:52 arch kernel: amdgpu 0000:04:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
Oct 21 09:56:52 arch kernel: amdgpu 0000:04:00.0: GTT: 256M 0x0000000000000000 - 0x000000000FFFFFFF
Oct 21 09:56:52 arch kernel: [drm] Detected VRAM RAM=8192M, BAR=256M
Oct 21 09:56:52 arch kernel: [drm] RAM width 256bits GDDR5
Oct 21 09:56:52 arch kernel: [TTM] Zone  kernel: Available graphics memory: 8207604 kiB
Oct 21 09:56:52 arch kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
Oct 21 09:56:52 arch kernel: [TTM] Initializing pool allocator
Oct 21 09:56:52 arch kernel: [TTM] Initializing DMA pool allocator
Oct 21 09:56:52 arch kernel: [drm] amdgpu: 8192M of VRAM memory ready
Oct 21 09:56:52 arch kernel: [drm] amdgpu: 8192M of GTT memory ready.
Oct 21 09:56:52 arch kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
Oct 21 09:56:52 arch kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400900000).
Oct 21 09:56:52 arch kernel: [drm] Chained IB support enabled!
Oct 21 09:56:52 arch kernel: [drm] Found UVD firmware Version: 1.130 Family ID: 16
Oct 21 09:56:52 arch kernel: [drm] Found VCE firmware Version: 53.26 Binary ID: 3
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 136 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 53 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 169 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 185 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 187 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 188 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 10a ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 305 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 26a ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 209 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 206 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 5b ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 205 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 20a ret is 65535 
Oct 21 09:56:52 arch kernel: [drm:resource_construct [amdgpu]] *ERROR* DC: unexpected audio fuse!
Oct 21 09:56:52 arch kernel: WARNING: CPU: 7 PID: 171 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:196 resource_construct+0x288/0x2e0 [amdgpu]
Oct 21 09:56:52 arch kernel: Modules linked in: amdgpu(+) chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
Oct 21 09:56:52 arch kernel: CPU: 7 PID: 171 Comm: modprobe Tainted: G          I       4.18.14-arch1-1-ARCH #1
Oct 21 09:56:52 arch kernel: Hardware name: System manufacturer System Product Name/SABERTOOTH X58, BIOS 1402    08/09/2012
Oct 21 09:56:52 arch kernel: RIP: 0010:resource_construct+0x288/0x2e0 [amdgpu]
Oct 21 09:56:52 arch kernel: Code: 8b 45 18 48 89 df e8 d7 32 91 de 48 8b 4c 24 08 48 89 81 28 07 00 00 b8 01 00 00 00 eb b5 48 c7 c7 78 8f 3a c0 e8 08 be d5 ff <0f> 0b 45 85 f6 45 89 f4 0f 95 c0 e9 3c fe ff ff 45 85 f6 45 89 f4 
Oct 21 09:56:52 arch kernel: RSP: 0000:ffffa74b01f07808 EFLAGS: 00010246
Oct 21 09:56:52 arch kernel: RAX: 0000000000000000 RBX: ffff9c776895e600 RCX: 0000000000000001
Oct 21 09:56:52 arch kernel: RDX: 0000000000000000 RSI: 0000000000000096 RDI: 00000000ffffffff
Oct 21 09:56:52 arch kernel: RBP: ffffffffc0365ea0 R08: 0000000000000000 R09: 0000000000000324
Oct 21 09:56:52 arch kernel: R10: ffff9c73400b8320 R11: ffffffff9f86af2d R12: 0000000000000007
Oct 21 09:56:52 arch kernel: R13: 0000000000000000 R14: 0000000000000006 R15: ffff9c7768949c00
Oct 21 09:56:52 arch kernel: FS:  00007fc846d92b80(0000) GS:ffff9c776f3c0000(0000) knlGS:0000000000000000
Oct 21 09:56:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 09:56:52 arch kernel: CR2: 0000000000000000 CR3: 0000000428448000 CR4: 00000000000006e0
Oct 21 09:56:52 arch kernel: Call Trace:
Oct 21 09:56:52 arch kernel:  dce112_create_resource_pool+0x5af/0x630 [amdgpu]
Oct 21 09:56:52 arch kernel:  dc_create_resource_pool+0x14e/0x180 [amdgpu]
Oct 21 09:56:52 arch kernel:  ? __kmalloc+0x1f0/0x230
Oct 21 09:56:52 arch kernel:  ? dal_gpio_service_create+0x7c/0x110 [amdgpu]
Oct 21 09:56:52 arch kernel:  dc_create+0x21f/0x640 [amdgpu]
Oct 21 09:56:52 arch kernel:  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
Oct 21 09:56:52 arch kernel:  dm_hw_init+0xc8/0x130 [amdgpu]
Oct 21 09:56:52 arch kernel:  amdgpu_device_init.cold.15+0xfa5/0x11a8 [amdgpu]
Oct 21 09:56:52 arch kernel:  ? kmalloc_order+0x14/0x40
Oct 21 09:56:52 arch kernel:  amdgpu_driver_load_kms+0x86/0x2c0 [amdgpu]
Oct 21 09:56:52 arch kernel:  drm_dev_register+0x109/0x140 [drm]
Oct 21 09:56:52 arch kernel:  amdgpu_pci_probe+0x13c/0x1c0 [amdgpu]
Oct 21 09:56:52 arch kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Oct 21 09:56:52 arch kernel:  local_pci_probe+0x41/0x90
Oct 21 09:56:52 arch kernel:  pci_device_probe+0x115/0x1a0
Oct 21 09:56:52 arch kernel:  driver_probe_device+0x2da/0x450
Oct 21 09:56:52 arch kernel:  __driver_attach+0xdd/0x110
Oct 21 09:56:52 arch kernel:  ? driver_probe_device+0x450/0x450
Oct 21 09:56:52 arch kernel:  ? driver_probe_device+0x450/0x450
Oct 21 09:56:52 arch kernel:  bus_for_each_dev+0x76/0xc0
Oct 21 09:56:52 arch kernel:  bus_add_driver+0x152/0x230
Oct 21 09:56:52 arch kernel:  ? 0xffffffffc04a2000
Oct 21 09:56:52 arch kernel:  driver_register+0x6b/0xb0
Oct 21 09:56:52 arch kernel:  ? 0xffffffffc04a2000
Oct 21 09:56:52 arch kernel:  do_one_initcall+0x46/0x1f5
Oct 21 09:56:52 arch kernel:  ? kmem_cache_alloc_trace+0xbd/0x1d0
Oct 21 09:56:52 arch kernel:  ? do_init_module+0x22/0x210
Oct 21 09:56:52 arch kernel:  do_init_module+0x5a/0x210
Oct 21 09:56:52 arch kernel:  load_module+0x2384/0x2590
Oct 21 09:56:52 arch kernel:  ? vfs_read+0x112/0x130
Oct 21 09:56:52 arch kernel:  ? __se_sys_finit_module+0x97/0xf0
Oct 21 09:56:52 arch kernel:  __se_sys_finit_module+0x97/0xf0
Oct 21 09:56:52 arch kernel:  do_syscall_64+0x5b/0x170
Oct 21 09:56:52 arch kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 21 09:56:52 arch kernel: RIP: 0033:0x7fc846eab4ed
Oct 21 09:56:52 arch kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 43 79 0c 00 f7 d8 64 89 01 48 
Oct 21 09:56:52 arch kernel: RSP: 002b:00007ffc0d6c11d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Oct 21 09:56:52 arch kernel: RAX: ffffffffffffffda RBX: 00005650f5f36af0 RCX: 00007fc846eab4ed
Oct 21 09:56:52 arch kernel: RDX: 0000000000000000 RSI: 00005650f597ede6 RDI: 000000000000000e
Oct 21 09:56:52 arch kernel: RBP: 00005650f597ede6 R08: 0000000000000000 R09: 0000000000000000
Oct 21 09:56:52 arch kernel: R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000000
Oct 21 09:56:52 arch kernel: R13: 00005650f5f369b0 R14: 0000000000060000 R15: 00005650f5f36af0
Oct 21 09:56:52 arch kernel: ---[ end trace 7fd94ab242c66051 ]---
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB: values for Engine clock
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         30000
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         60800
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         91000
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         107700
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         114500
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         119100
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         123600
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         132800
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB: Validation clocks:
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:    engine_max_clock: 132800
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:    memory_max_clock: 200000
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:    level           : 8
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB: values for Memory clock
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         30000
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:         200000
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB: Validation clocks:
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:    engine_max_clock: 132800
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:    memory_max_clock: 200000
Oct 21 09:56:52 arch kernel: [drm] DM_PPLIB:    level           : 8
Oct 21 09:56:52 arch kernel: [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
Oct 21 09:56:52 arch kernel: [drm] Display Core initialized with v3.1.44!
Oct 21 09:56:52 arch kernel: usb 1-2: new high-speed USB device number 2 using ehci-pci
Oct 21 09:56:52 arch kernel: [drm:dc_link_detect [amdgpu]] *ERROR* No EDID read.
Oct 21 09:56:52 arch kernel: usb 1-2: New USB device found, idVendor=1a40, idProduct=0201, bcdDevice= 1.00
Oct 21 09:56:52 arch kernel: usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Oct 21 09:56:52 arch kernel: usb 1-2: Product: USB 2.0 Hub [MTT]
Oct 21 09:56:52 arch kernel: hub 1-2:1.0: USB hub found
Oct 21 09:56:52 arch kernel: hub 1-2:1.0: 7 ports detected
Oct 21 09:56:52 arch kernel: usb 8-2: new low-speed USB device number 2 using uhci_hcd
Oct 21 09:56:52 arch kernel: [drm:dc_link_detect [amdgpu]] *ERROR* No EDID read.
Oct 21 09:56:52 arch kernel: random: fast init done
Oct 21 09:56:52 arch kernel: usb 8-2: New USB device found, idVendor=046d, idProduct=c512, bcdDevice=30.07
Oct 21 09:56:52 arch kernel: usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 21 09:56:52 arch kernel: usb 8-2: Product: USB Receiver
Oct 21 09:56:52 arch kernel: usb 8-2: Manufacturer: Logitech
Oct 21 09:56:52 arch kernel: [drm:dc_link_detect [amdgpu]] *ERROR* No EDID read.
Oct 21 09:56:52 arch kernel: input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.0/0003:046D:C512.0001/input/input2
Oct 21 09:56:52 arch kernel: amdgpu 0000:04:00.0: HDMI-A-1: EDID is invalid:
Oct 21 09:56:52 arch kernel:         [00] BAD  00 ff ff ff ff ff ff 00 ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel:         [00] BAD  ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
Oct 21 09:56:52 arch kernel: [drm:dc_link_detect [amdgpu]] *ERROR* No EDID read.
Oct 21 09:56:52 arch kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Oct 21 09:56:52 arch kernel: [drm] Driver supports precise vblank timestamp query.
Oct 21 09:56:52 arch kernel: logitech 0003:046D:C512.0001: input,hidraw0: USB HID v1.10 Keyboard [Logitech USB Receiver] on usb-0000:00:1d.2-2/input0
Oct 21 09:56:52 arch kernel: input: Logitech USB Receiver as /devices/pci0000:00/0000:00:1d.2/usb8/8-2/8-2:1.1/0003:046D:C512.0002/input/input3
Oct 21 09:56:52 arch kernel: logitech 0003:046D:C512.0002: input,hidraw1: USB HID v1.10 Mouse [Logitech USB Receiver] on usb-0000:00:1d.2-2/input1
Oct 21 09:56:52 arch kernel: [drm] Timeout wait for RLC serdes 0,0
Oct 21 09:56:52 arch kernel: tsc: Refined TSC clocksource calibration: 3207.282 MHz
Oct 21 09:56:52 arch kernel: clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x2e3b292d2ce, max_idle_ns: 440795263541 ns
Oct 21 09:56:52 arch kernel: clocksource: Switched to clocksource tsc
Oct 21 09:56:52 arch kernel: [drm:gfx_v8_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xFFFFFFFF)
Oct 21 09:56:52 arch kernel: [drm:amdgpu_device_init.cold.15 [amdgpu]] *ERROR* hw_init of IP block <gfx_v8_0> failed -22
Oct 21 09:56:52 arch kernel: amdgpu 0000:04:00.0: amdgpu_device_ip_init failed
Oct 21 09:56:52 arch kernel: amdgpu 0000:04:00.0: Fatal error during GPU init
Oct 21 09:56:52 arch kernel: [drm] amdgpu: finishing device.
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 133 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 148 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 145 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 146 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 16a ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 186 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 54 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 26b ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 13d ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 14f ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 151 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 135 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 190 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 63 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 84 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] Failed to force to switch arbf0!
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 261 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 261 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 261 ret is 65535 
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Oct 21 09:56:52 arch kernel: amdgpu: [powerplay] 
                              failed to send message 261 ret is 65535 
Oct 21 09:56:52 arch kernel: ------------[ cut here ]------------
Oct 21 09:56:52 arch kernel: Memory manager not clean during takedown.
Oct 21 09:56:52 arch kernel: WARNING: CPU: 1 PID: 171 at drivers/gpu/drm/drm_mm.c:913 drm_mm_takedown+0x1f/0x30 [drm]
Oct 21 09:56:52 arch kernel: Modules linked in: hid_logitech ff_memless amdgpu(+) chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
Oct 21 09:56:52 arch kernel: CPU: 1 PID: 171 Comm: modprobe Tainted: G        W I       4.18.14-arch1-1-ARCH #1
Oct 21 09:56:52 arch kernel: Hardware name: System manufacturer System Product Name/SABERTOOTH X58, BIOS 1402    08/09/2012
Oct 21 09:56:52 arch kernel: RIP: 0010:drm_mm_takedown+0x1f/0x30 [drm]
Oct 21 09:56:52 arch kernel: Code: 66 66 2e 0f 1f 84 00 00 00 00 00 66 66 66 66 90 48 8b 47 38 48 83 c7 38 48 39 c7 75 01 c3 48 c7 c7 48 ea 06 c0 e8 4b 85 04 de <0f> 0b c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 66 66 66 66 90 
Oct 21 09:56:52 arch kernel: RSP: 0018:ffffa74b01f07a10 EFLAGS: 00010282
Oct 21 09:56:52 arch kernel: RAX: 0000000000000000 RBX: ffff9c77689a0200 RCX: 0000000000000002
Oct 21 09:56:52 arch kernel: RDX: 0000000080000002 RSI: 0000000000000092 RDI: 00000000ffffffff
Oct 21 09:56:52 arch kernel: RBP: ffff9c7767cc2990 R08: 0000000000000001 R09: 00000000000003c6
Oct 21 09:56:52 arch kernel: R10: 0000000000000004 R11: 0000000000000000 R12: ffff9c77689a02e0
Oct 21 09:56:52 arch kernel: R13: 0000000000000000 R14: 0000000000000170 R15: ffff9c77684ee2f0
Oct 21 09:56:52 arch kernel: FS:  00007fc846d92b80(0000) GS:ffff9c776f240000(0000) knlGS:0000000000000000
Oct 21 09:56:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 09:56:52 arch kernel: CR2: 00007f58466920d0 CR3: 0000000428448000 CR4: 00000000000006e0
Oct 21 09:56:52 arch kernel: Call Trace:
Oct 21 09:56:52 arch kernel:  amdgpu_vram_mgr_fini+0x27/0x50 [amdgpu]
Oct 21 09:56:52 arch kernel:  ttm_bo_clean_mm+0xa9/0xb0 [ttm]
Oct 21 09:56:52 arch kernel:  amdgpu_ttm_fini+0x71/0x120 [amdgpu]
Oct 21 09:56:52 arch kernel:  amdgpu_bo_fini+0xe/0x30 [amdgpu]
Oct 21 09:56:52 arch kernel:  gmc_v8_0_sw_fini+0x2e/0x50 [amdgpu]
Oct 21 09:56:52 arch kernel:  amdgpu_device_fini+0x29a/0x478 [amdgpu]
Oct 21 09:56:52 arch kernel:  amdgpu_driver_unload_kms+0x42/0x90 [amdgpu]
Oct 21 09:56:52 arch kernel:  amdgpu_driver_load_kms+0x168/0x2c0 [amdgpu]
Oct 21 09:56:52 arch kernel:  drm_dev_register+0x109/0x140 [drm]
Oct 21 09:56:52 arch kernel:  amdgpu_pci_probe+0x13c/0x1c0 [amdgpu]
Oct 21 09:56:52 arch kernel:  ? _raw_spin_unlock_irqrestore+0x20/0x40
Oct 21 09:56:52 arch kernel:  local_pci_probe+0x41/0x90
Oct 21 09:56:52 arch kernel:  pci_device_probe+0x115/0x1a0
Oct 21 09:56:52 arch kernel:  driver_probe_device+0x2da/0x450
Oct 21 09:56:52 arch kernel:  __driver_attach+0xdd/0x110
Oct 21 09:56:52 arch kernel:  ? driver_probe_device+0x450/0x450
Oct 21 09:56:52 arch kernel:  ? driver_probe_device+0x450/0x450
Oct 21 09:56:52 arch kernel:  bus_for_each_dev+0x76/0xc0
Oct 21 09:56:52 arch kernel:  bus_add_driver+0x152/0x230
Oct 21 09:56:52 arch kernel:  ? 0xffffffffc04a2000
Oct 21 09:56:52 arch kernel:  driver_register+0x6b/0xb0
Oct 21 09:56:52 arch kernel:  ? 0xffffffffc04a2000
Oct 21 09:56:52 arch kernel:  do_one_initcall+0x46/0x1f5
Oct 21 09:56:52 arch kernel:  ? kmem_cache_alloc_trace+0xbd/0x1d0
Oct 21 09:56:52 arch kernel:  ? do_init_module+0x22/0x210
Oct 21 09:56:52 arch kernel:  do_init_module+0x5a/0x210
Oct 21 09:56:52 arch kernel:  load_module+0x2384/0x2590
Oct 21 09:56:52 arch kernel:  ? vfs_read+0x112/0x130
Oct 21 09:56:52 arch kernel:  ? __se_sys_finit_module+0x97/0xf0
Oct 21 09:56:52 arch kernel:  __se_sys_finit_module+0x97/0xf0
Oct 21 09:56:52 arch kernel:  do_syscall_64+0x5b/0x170
Oct 21 09:56:52 arch kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 21 09:56:52 arch kernel: RIP: 0033:0x7fc846eab4ed
Oct 21 09:56:52 arch kernel: Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 43 79 0c 00 f7 d8 64 89 01 48 
Oct 21 09:56:52 arch kernel: RSP: 002b:00007ffc0d6c11d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Oct 21 09:56:52 arch kernel: RAX: ffffffffffffffda RBX: 00005650f5f36af0 RCX: 00007fc846eab4ed
Oct 21 09:56:52 arch kernel: RDX: 0000000000000000 RSI: 00005650f597ede6 RDI: 000000000000000e
Oct 21 09:56:52 arch kernel: RBP: 00005650f597ede6 R08: 0000000000000000 R09: 0000000000000000
Oct 21 09:56:52 arch kernel: R10: 000000000000000e R11: 0000000000000246 R12: 0000000000000000
Oct 21 09:56:52 arch kernel: R13: 00005650f5f369b0 R14: 0000000000060000 R15: 00005650f5f36af0
Oct 21 09:56:52 arch kernel: ---[ end trace 7fd94ab242c66052 ]---
Oct 21 09:56:52 arch kernel: [TTM] Finalizing pool allocator
Oct 21 09:56:52 arch kernel: [TTM] Finalizing DMA pool allocator
Oct 21 09:56:52 arch kernel: [TTM] Zone  kernel: Used memory at exit: 58 kiB
Oct 21 09:56:52 arch kernel: [TTM] Zone   dma32: Used memory at exit: 58 kiB
Oct 21 09:56:52 arch kernel: [drm] amdgpu: ttm finalized
Oct 21 09:56:52 arch kernel: amdgpu: probe of 0000:04:00.0 failed with error -22
Oct 21 09:56:52 arch kernel: SCSI subsystem initialized
[***skipping some storage and input initialization]
Oct 21 09:56:52 arch systemd[1]: Starting Create list of required static device nodes for the current kernel...
Oct 21 09:56:52 arch systemd[1]: Mounting Kernel Debug File System...
Oct 21 09:56:52 arch kernel: EXT4-fs (sda2): re-mounted. Opts: data=ordered
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.161:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-binfmt comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.175:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-lvmetad comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.175:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.191:5): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000000
Oct 21 09:56:52 arch kernel: PGD 0 P4D 0 
Oct 21 09:56:52 arch kernel: Oops: 0000 [#1] PREEMPT SMP PTI
Oct 21 09:56:52 arch kernel: CPU: 4 PID: 386 Comm: udevadm Tainted: G        W I       4.18.14-arch1-1-ARCH #1
Oct 21 09:56:52 arch kernel: Hardware name: System manufacturer System Product Name/SABERTOOTH X58, BIOS 1402    08/09/2012
Oct 21 09:56:52 arch kernel: RIP: 0010:sysfs_kf_seq_show+0x87/0x120
Oct 21 09:56:52 arch kernel: Code: 48 89 d1 31 c0 48 83 e7 f8 48 c7 02 00 00 00 00 48 c7 82 f8 0f 00 00 00 00 00 00 48 29 f9 81 c1 00 10 00 00 c1 e9 03 f3 48 ab <48> 8b 45 00 48 85 c0 74 61 49 8b 09 4c 89 c7 48 8b 71 60 e8 01 09 
Oct 21 09:56:52 arch kernel: RSP: 0018:ffffa74b0216fdd0 EFLAGS: 00010206
Oct 21 09:56:52 arch kernel: RAX: 0000000000000000 RBX: ffff9c7767724300 RCX: 0000000000000000
Oct 21 09:56:52 arch kernel: RDX: ffff9c77677c3000 RSI: 0000000000001000 RDI: ffff9c77677c4000
Oct 21 09:56:52 arch kernel: RBP: 0000000000000000 R08: ffff9c7768167928 R09: ffff9c7767c41a40
Oct 21 09:56:52 arch kernel: R10: ffff9c77677c3000 R11: 0000000000001000 R12: ffffa74b0216ff08
Oct 21 09:56:52 arch kernel: R13: ffff9c7767445700 R14: 0000000000000001 R15: ffff9c7767724300
Oct 21 09:56:52 arch kernel: FS:  00007f865f7c4480(0000) GS:ffff9c776f300000(0000) knlGS:0000000000000000
Oct 21 09:56:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 09:56:52 arch kernel: CR2: 0000000000000000 CR3: 0000000429db4000 CR4: 00000000000006e0
Oct 21 09:56:52 arch kernel: Call Trace:
Oct 21 09:56:52 arch kernel:  seq_read+0x16b/0x460
Oct 21 09:56:52 arch kernel:  __vfs_read+0x36/0x180
Oct 21 09:56:52 arch kernel:  vfs_read+0x8a/0x130
Oct 21 09:56:52 arch kernel:  ksys_read+0x4f/0xb0
Oct 21 09:56:52 arch kernel:  do_syscall_64+0x5b/0x170
Oct 21 09:56:52 arch kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Oct 21 09:56:52 arch kernel: RIP: 0033:0x7f8662b41775
Oct 21 09:56:52 arch kernel: Code: fe ff ff 50 48 8d 3d 42 dc 09 00 e8 d5 0c 02 00 0f 1f 44 00 00 f3 0f 1e fa 48 8d 05 c5 6d 0d 00 8b 00 85 c0 75 0f 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 53 c3 66 90 41 54 49 89 d4 55 48 89 f5 53 89 
Oct 21 09:56:52 arch kernel: RSP: 002b:00007ffc617956d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
Oct 21 09:56:52 arch kernel: RAX: ffffffffffffffda RBX: 000056042c81d6a0 RCX: 00007f8662b41775
Oct 21 09:56:52 arch kernel: RDX: 0000000000001000 RSI: 000056042c872920 RDI: 0000000000000005
Oct 21 09:56:52 arch kernel: RBP: 00007f8662c10100 R08: 0000000000000003 R09: 0000000000000077
Oct 21 09:56:52 arch kernel: R10: 000056042c800010 R11: 0000000000000246 R12: 0000000000001001
Oct 21 09:56:52 arch kernel: R13: 000056042c872920 R14: 0000000000000d68 R15: 00007f8662c0f5c0
Oct 21 09:56:52 arch kernel: Modules linked in: ip_tables x_tables uas usb_storage sd_mod hid_logitech_hidpp hid_logitech_dj ata_generic pata_acpi ahci ata_piix libahci libata firewire_ohci firewire_core crc_itu_t scsi_mod vfat fat ext4 crc32c_generic crc32c_intel crc16 mbcache jbd2 fscrypto hid_logitech ff_memless amdgpu chash i2c_algo_bit gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm drm agpgart
Oct 21 09:56:52 arch kernel: CR2: 0000000000000000
Oct 21 09:56:52 arch kernel: ---[ end trace 7fd94ab242c66053 ]---
Oct 21 09:56:52 arch kernel: RIP: 0010:sysfs_kf_seq_show+0x87/0x120
Oct 21 09:56:52 arch kernel: Code: 48 89 d1 31 c0 48 83 e7 f8 48 c7 02 00 00 00 00 48 c7 82 f8 0f 00 00 00 00 00 00 48 29 f9 81 c1 00 10 00 00 c1 e9 03 f3 48 ab <48> 8b 45 00 48 85 c0 74 61 49 8b 09 4c 89 c7 48 8b 71 60 e8 01 09 
Oct 21 09:56:52 arch kernel: RSP: 0018:ffffa74b0216fdd0 EFLAGS: 00010206
Oct 21 09:56:52 arch kernel: RAX: 0000000000000000 RBX: ffff9c7767724300 RCX: 0000000000000000
Oct 21 09:56:52 arch kernel: RDX: ffff9c77677c3000 RSI: 0000000000001000 RDI: ffff9c77677c4000
Oct 21 09:56:52 arch kernel: RBP: 0000000000000000 R08: ffff9c7768167928 R09: ffff9c7767c41a40
Oct 21 09:56:52 arch kernel: R10: ffff9c77677c3000 R11: 0000000000001000 R12: ffffa74b0216ff08
Oct 21 09:56:52 arch kernel: R13: ffff9c7767445700 R14: 0000000000000001 R15: ffff9c7767724300
Oct 21 09:56:52 arch kernel: FS:  00007f865f7c4480(0000) GS:ffff9c776f300000(0000) knlGS:0000000000000000
Oct 21 09:56:52 arch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 21 09:56:52 arch kernel: CR2: 0000000000000000 CR3: 0000000429db4000 CR4: 00000000000006e0
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.208:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.238:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch systemd-journald[380]: Journal started
Oct 21 09:56:52 arch systemd-journald[380]: Runtime journal (/run/log/journal/aaf5066497474d51b9eb630c2f7950d4) is 8.0M, max 801.5M, 793.5M free.
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-binfmt comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lvm2-lvmetad comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-random-seed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup-dev comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch kernel: audit: type=1130 audit(1540151812.265:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 21 09:56:52 arch systemd[1]: Starting Flush Journal to Persistent Storage...
Oct 21 09:56:52 arch systemd-journald[380]: Time spent on flushing to /var is 123.148ms for 1232 entries.
[***journalctl for the boot ends here, system hangs indefinitely, video and ssh never come up]

Offline

#2 2018-10-22 12:50:50

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: AMD RX480 amdgpu, drm, no video at modeset

Looks like it may be kernel / firmware realted.
Both linux & linux-firmware were upgraded today, run pacman -Syu from a chroot .

If latest versions don't solve the issue, try booting with amdgpu.dc=0 .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2018-12-09 06:58:42

Physicist1616
Member
Registered: 2015-02-16
Posts: 32

Re: AMD RX480 amdgpu, drm, no video at modeset

Lone_Wolf, thanks for the reply.  Unfortunately, dc=0 did not solve it, but another option did:  `amdgpu.dpm=0`.

I know you're very active on the GPU support front.  Regarding Linux support for the AMD RX480, is this a bug, a known issue, a 'me and handful of others only,' or a will not fix problem?

Offline

#4 2018-12-09 17:27:43

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: AMD RX480 amdgpu, drm, no video at modeset

dpm = dynamic power management .
Check your dmesg / journal for errors, I kinda expect you'll see powerplay errors.

Since the amd DC code became part of the kernel in 4.15 lots have changed and improved, but there's still a lot ahead.
The list of drm changes for 4.20 and 4.21 is huge and includes lots of powerplay improvements.

Imo you're facing a bug, but one that may already have been solved.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2018-12-09 21:31:10

loqs
Member
Registered: 2014-03-06
Posts: 18,035

Re: AMD RX480 amdgpu, drm, no video at modeset

You could try 4.20-rc6 and amd-staging-drm-next and see if the issues are still present.  Would also suggest updating motherboard firmware if there is one available.

Offline

#6 2019-03-06 23:07:50

Physicist1616
Member
Registered: 2015-02-16
Posts: 32

Re: AMD RX480 amdgpu, drm, no video at modeset

So it's been a while, and now we're up to 5.0:    Linux arch 5.0.0-arch1-1-ARCH #1 SMP PREEMPT Mon Mar 4 14:11:43 UTC 2019 x86_64 GNU/Linux

Every so often when I'm feeling optimistic about a kernel since this thread I've attempted removing amdgpu.dpm=0 from a boot and every time I get errors.

The same is true for 5.0.0.  Selected logging for that boot, let me know if I need to be more thorough:

Mar 06 07:47:11 arch kernel: [drm] VCE enabled in VM mode
Mar 06 07:47:11 arch kernel: resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [me
m 0x000d0000-0x000dffff window]
Mar 06 07:47:11 arch kernel: caller pci_map_rom+0x6a/0x1b0 mapping multiple BARs
Mar 06 07:47:11 arch kernel: amdgpu 0000:04:00.0: No more image in the PCI ROM
Mar 06 07:47:11 arch kernel: ATOM BIOS: 113-P10XT-XFX1328-8GB-W80
Mar 06 07:47:11 arch kernel: [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
Mar 06 07:47:11 arch kernel: amdgpu 0000:04:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
Mar 06 07:47:11 arch kernel: amdgpu 0000:04:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
Mar 06 07:47:11 arch kernel: [drm] Detected VRAM RAM=8192M, BAR=256M
Mar 06 07:47:11 arch kernel: [drm] RAM width 256bits GDDR5
Mar 06 07:47:11 arch kernel: [TTM] Zone  kernel: Available graphics memory: 8207072 kiB
Mar 06 07:47:11 arch kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
Mar 06 07:47:11 arch kernel: [TTM] Initializing pool allocator
Mar 06 07:47:11 arch kernel: [TTM] Initializing DMA pool allocator
Mar 06 07:47:11 arch kernel: [drm] amdgpu: 8192M of VRAM memory ready
Mar 06 07:47:11 arch kernel: [drm] amdgpu: 8192M of GTT memory ready.
Mar 06 07:47:11 arch kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
Mar 06 07:47:11 arch kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400900000).
Mar 06 07:47:11 arch kernel: [drm] Chained IB support enabled!
Mar 06 07:47:11 arch kernel: [drm] Found UVD firmware Version: 1.130 Family ID: 16
Mar 06 07:47:11 arch kernel: [drm] Found VCE firmware Version: 53.26 Binary ID: 3
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB: values for Engine clock
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         300000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         608000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         910000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         1077000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         1145000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         1191000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         1236000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         1328000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB: Validation clocks:
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:    engine_max_clock: 132800
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:    memory_max_clock: 200000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:    level           : 8
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB: values for Memory clock
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         300000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:         2000000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB: Validation clocks:
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:    engine_max_clock: 132800
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:    memory_max_clock: 200000
Mar 06 07:47:11 arch kernel: [drm] DM_PPLIB:    level           : 8
Mar 06 07:47:11 arch kernel: [drm] dce110_link_encoder_construct: Failed to get encoder_cap_info from VBIOS with error code 4!
Mar 06 07:47:11 arch kernel: [drm] Display Core initialized with v3.2.08!
Mar 06 07:47:11 arch kernel: [drm] SADs count is: -524, don't need to read it
Mar 06 07:47:11 arch kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Mar 06 07:47:11 arch kernel: [drm] Driver supports precise vblank timestamp query.
Mar 06 07:47:11 arch kernel: [drm] UVD and UVD ENC initialized successfully.
Mar 06 07:47:11 arch kernel: [drm] VCE initialized successfully.
Mar 06 07:47:11 arch kernel: [drm] fb mappable at 0xD0E30000
Mar 06 07:47:11 arch kernel: [drm] vram apper at 0xD0000000
Mar 06 07:47:11 arch kernel: [drm] size 8294400
Mar 06 07:47:11 arch kernel: [drm] fb depth is 24
Mar 06 07:47:11 arch kernel: [drm]    pitch is 7680
Mar 06 07:47:11 arch kernel: fbcon: amdgpudrmfb (fb0) is primary device
Mar 06 07:47:11 arch kernel: Console: switching to colour frame buffer device 240x67
Mar 06 07:47:11 arch kernel: amdgpu 0000:04:00.0: fb0: amdgpudrmfb frame buffer device
Mar 06 07:47:11 arch kernel: [drm] Initialized amdgpu 3.27.0 20150101 for 0000:04:00.0 on minor 0
Mar 06 07:47:11 arch kernel: [drm] radeon kernel modesetting enabled.
[***skip]
Mar 06 07:47:11 arch kernel: amdgpu: [powerplay] 
                              last message was failed ret is 65535
Mar 06 07:47:11 arch kernel: amdgpu: [powerplay] 
                              failed to send message 15b ret is 65535 
[***skip]
Mar 06 07:47:11 arch kernel: amdgpu 0000:04:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx (-110).
Mar 06 07:47:11 arch kernel: [drm:amdgpu_device_ip_late_init_func_handler [amdgpu]] *ERROR* ib ring test failed (-110).
[***skip]
Mar 06 07:47:26 arch kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:47:crtc-0] flip_done timed out
Mar 06 07:47:28 arch kernel: sd 16:0:0:2: [sde] Attached SCSI removable disk
Mar 06 07:47:36 arch kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:49:crtc-1] flip_done timed out
[***journalctl for the boot ends here]

The VBIOS error happens on (the successful) amdgpu.dpm=0 boots as well, but the other errors are unique to default failed boots.  It's worth noting there are fewer total error-related lines in this boot than back in October, as those kernel traces don't occur anymore.

Last edited by Physicist1616 (2019-03-06 23:08:27)

Offline

#7 2019-03-07 11:22:25

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: AMD RX480 amdgpu, drm, no video at modeset

Mar 06 07:47:11 arch kernel: [drm] radeon kernel modesetting enabled.

I have an RX 580 and in my logs there's no sign of radeon modesetting, it's all amdgpu modesetting..
It should not happen, but maybe radeon and amdgpu kernel modules do clash/interfere with eachother .

Read https://wiki.archlinux.org/index.php/Ke … _KMS_start
Then add amdgpu to mkinitcpio.conf modules line, reboot and check if the message is still present.

Last edited by Lone_Wolf (2019-03-07 11:23:27)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#8 2019-05-30 03:54:29

gj86
Member
Registered: 2019-05-29
Posts: 3

Re: AMD RX480 amdgpu, drm, no video at modeset

Lone_Wolf wrote:
Mar 06 07:47:11 arch kernel: [drm] radeon kernel modesetting enabled.

I have an RX 580 and in my logs there's no sign of radeon modesetting, it's all amdgpu modesetting..
It should not happen, but maybe radeon and amdgpu kernel modules do clash/interfere with eachother .

Read https://wiki.archlinux.org/index.php/Ke … _KMS_start
Then add amdgpu to mkinitcpio.conf modules line, reboot and check if the message is still present.

Which kernel version do you use also what is your motherboard and processor?

For me I can't make kernel version 5.1+ boot without amdgpu.dpm=0.
The latest snapshot of 5.2 git doesn't even boot with that.
Linux version 5.1.4-350.vanilla.knurd.1.fc30.x86_64

kernel: [drm] amdgpu kernel modesetting enabled.
kernel: CRAT table not found
kernel: Virtual CRAT table created for CPU
kernel: Parsing CRAT table with 1 nodes
kernel: Creating topology SYSFS entries
kernel: Topology: Add CPU node
kernel: Finished initializing topology
kernel: checking generic (e0000000 300000) vs hw (e0000000 10000000)
kernel: fb0: switching to amdgpudrmfb from EFI VGA
kernel: Console: switching to colour dummy device 80x25
kernel: amdgpu 0000:04:00.0: vgaarb: deactivate vga console
kernel: [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1DA2:0xE387 0xE7).
kernel: [drm] register mmio base: 0xF7800000
kernel: [drm] register mmio size: 262144
kernel: [drm] add ip block number 0 <vi_common>
kernel: [drm] add ip block number 1 <gmc_v8_0>
kernel: [drm] add ip block number 2 <tonga_ih>
kernel: [drm] add ip block number 3 <gfx_v8_0>
kernel: [drm] add ip block number 4 <sdma_v3_0>
kernel: [drm] add ip block number 5 <powerplay>
kernel: [drm] add ip block number 6 <dm>
kernel: [drm] add ip block number 7 <uvd_v6_0>
kernel: [drm] add ip block number 8 <vce_v3_0>
kernel: kfd kfd: skipped device 1002:67df, PCI rejects atomics
kernel: [drm] UVD is enabled in VM mode
kernel: [drm] UVD ENC is enabled in VM mode
kernel: [drm] VCE enabled in VM mode
kernel: resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
kernel: caller pci_map_rom+0x6a/0x17d mapping multiple BARs
kernel: amdgpu 0000:04:00.0: No more image in the PCI ROM
kernel: ATOM BIOS: 113-1E3870U-O45
kernel: [drm] vm size is 128 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
kernel: amdgpu 0000:04:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
kernel: amdgpu 0000:04:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
kernel: [drm] Detected VRAM RAM=8192M, BAR=256M
kernel: [drm] RAM width 256bits GDDR5
kernel: [TTM] Zone  kernel: Available graphics memory: 12350514 kiB
kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
kernel: [TTM] Initializing pool allocator
kernel: [TTM] Initializing DMA pool allocator
kernel: [drm] amdgpu: 8192M of VRAM memory ready
kernel: [drm] amdgpu: 8192M of GTT memory ready.
kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400300000).
kernel: [drm] Chained IB support enabled!
kernel: [drm] Found UVD firmware Version: 1.130 Family ID: 16
kernel: [drm] Found VCE firmware Version: 53.26 Binary ID: 3
kernel: e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 90:2b:34:5d:00:8e
kernel: e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
kernel: e1000e 0000:00:19.0 eth0: MAC: 10, PHY: 11, PBA No: FFFFFF-0FF
systemd-udevd[473]: Using default interface naming scheme 'v240'.
systemd-udevd[473]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
kernel: e1000e 0000:00:19.0 eno1: renamed from eth0
kernel: [drm] DM_PPLIB: values for Engine clock
kernel: [drm] DM_PPLIB:         300000
kernel: [drm] DM_PPLIB:         600000
kernel: [drm] DM_PPLIB:         900000
kernel: [drm] DM_PPLIB:         1145000
kernel: [drm] DM_PPLIB:         1215000
kernel: [drm] DM_PPLIB:         1257000
kernel: [drm] DM_PPLIB:         1300000
kernel: [drm] DM_PPLIB:         1366000
kernel: [drm] DM_PPLIB: Validation clocks:
kernel: [drm] DM_PPLIB:    engine_max_clock: 136600
kernel: [drm] DM_PPLIB:    memory_max_clock: 200000
kernel: [drm] DM_PPLIB:    level           : 8
kernel: [drm] DM_PPLIB: values for Memory clock
kernel: [drm] DM_PPLIB:         300000
kernel: [drm] DM_PPLIB:         1000000
kernel: [drm] DM_PPLIB:         2000000
kernel: [drm] DM_PPLIB: Validation clocks:
kernel: [drm] DM_PPLIB:    engine_max_clock: 136600
kernel: [drm] DM_PPLIB:    memory_max_clock: 200000
kernel: [drm] DM_PPLIB:    level           : 8
kernel: usb 1-1.5.1: New USB device found, idVendor=04f2, idProduct=0978, bcdDevice= 1.45
kernel: usb 1-1.5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 1-1.5.1: Product: Tt eSPORTS Challenger Ultimate gaming keyboard
kernel: usb 1-1.5.1: Manufacturer: Thermaltake
kernel: input: Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.0/0003:04F2:0978.0001/input/input5
systemd-udevd[509]: Using default interface naming scheme 'v240'.
kernel: [drm] Display Core initialized with v3.2.17!
kernel: hid-generic 0003:04F2:0978.0001: input,hidraw0: USB HID v1.11 Keyboard [Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard] on usb-0000:00:1a.0-1.5.1/input0
kernel: [drm] SADs count is: -2, don't need to read it
kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
kernel: [drm] Driver supports precise vblank timestamp query.
kernel: input: Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard Consumer Control as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.4/0003:04F2:0978.0002/input/input6
kernel: [drm] UVD and UVD ENC initialized successfully.
kernel: input: Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.1/1-1.5.1:1.4/0003:04F2:0978.0002/input/input7
kernel: hid-generic 0003:04F2:0978.0002: input,hiddev96,hidraw1: USB HID v1.11 Device [Thermaltake Tt eSPORTS Challenger Ultimate gaming keyboard] on usb-0000:00:1a.0-1.5.1/input4
systemd[1]: Found device Hitachi_HDS721050CLA362 2.
systemd[1]: Starting Resume from hibernation using device /dev/disk/by-uuid/20c5a5b5-2b27-4cc1-9472-69aa37306662...
kernel: usb 1-1.5.3: new full-speed USB device number 5 using ehci-pci
systemd-hibernate-resume[555]: Could not resume from '/dev/disk/by-uuid/20c5a5b5-2b27-4cc1-9472-69aa37306662' (8:2).
kernel: PM: Image not found (code -22)
kernel: [drm] VCE initialized successfully.
systemd[1]: systemd-hibernate-resume@dev-disk-by\x2duuid-20c5a5b5\x2d2b27\x2d4cc1\x2d9472\x2d69aa37306662.service: Succeeded.
systemd[1]: Started Resume from hibernation using device /dev/disk/by-uuid/20c5a5b5-2b27-4cc1-9472-69aa37306662.
kernel: [drm] fb mappable at 0xE0830000
kernel: [drm] vram apper at 0xE0000000
kernel: [drm] size 8294400
kernel: [drm] fb depth is 24
kernel: [drm]    pitch is 7680
kernel: fbcon: amdgpudrmfb (fb0) is primary device
systemd[1]: Found device Hitachi_HDS721050CLA362 root.
kernel: Console: switching to colour frame buffer device 160x64
kernel: amdgpu 0000:04:00.0: fb0: amdgpudrmfb frame buffer device
systemd[1]: Reached target Initrd Root Device.
systemd[1]: Reached target Local File Systems (Pre).
systemd[1]: Reached target Local File Systems.
systemd[1]: Starting Create Volatile Files and Directories...
kernel: clocksource: timekeeping watchdog on CPU5: Marking clocksource 'tsc' as unstable because the skew is too large:
kernel: clocksource:                       'hpet' wd_now: 3660764 wd_last: 26a90be mask: ffffffff
kernel: clocksource:                       'tsc' cs_now: 1073e471c9 cs_last: f9ddd6ec2 mask: ffffffffffffffff
kernel: tsc: Marking TSC unstable due to clocksource watchdog
kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
kernel: sched_clock: Marking unstable (4047115264, 353100)<-(4335961303, -288492947)
systemd[1]: Started Create Volatile Files and Directories.
kernel: hrtimer: interrupt took 287739549 ns
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 15b ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 148 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 145 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 146 ret is 65535 
kernel: usb 1-1.5.3: New USB device found, idVendor=09da, idProduct=fc7c, bcdDevice=99.02
kernel: usb 1-1.5.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
kernel: usb 1-1.5.3: Product: USB Device
kernel: usb 1-1.5.3: Manufacturer: COMPANY
kernel: input: COMPANY USB Device as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5.3/1-1.5.3:1.0/0003:09DA:FC7C.0003/input/input9
kernel: hid-generic 0003:09DA:FC7C.0003: input,hidraw2: USB HID v1.11 Mouse [COMPANY USB Device] on usb-0000:00:1a.0-1.5.3/input0
kernel: clocksource: Switched to clocksource hpet
kernel: hid-generic 0003:09DA:FC7C.0004: hiddev97,hidraw3: USB HID v1.11 Device [COMPANY USB Device] on usb-0000:00:1a.0-1.5.3/input1
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
systemd[1]: Reached target System Initialization.
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: amdgpu: [powerplay] 
         last message was failed ret is 65535
kernel: amdgpu: [powerplay] 
         failed to send message 260 ret is 65535 
kernel: [drm] Initialized amdgpu 3.30.0 20150101 for 0000:04:00.0 on minor 0
systemd[1]: Reached target Basic System.
systemd[1]: Started dracut initqueue hook.
systemd[1]: Reached target Remote File Systems (Pre).
systemd[1]: Reached target Remote File Systems.
systemd[1]: Condition check resulted in dracut pre-mount hook being skipped.
systemd[1]: Starting File System Check on /dev/disk/by-uuid/998d9396-73e3-4120-8b24-fc371ccdc95e...
systemd-fsck[567]: root: clean, 364677/3276800 files, 5741988/13107200 blocks
systemd[1]: Started File System Check on /dev/disk/by-uuid/998d9396-73e3-4120-8b24-fc371ccdc95e.
systemd[1]: Mounting /sysroot...
kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
systemd[1]: Mounted /sysroot.
systemd[1]: Reached target Initrd Root File System.
systemd[1]: Starting Reload Configuration from the Real Root...
systemd[1]: Reloading.
systemd[1]: initrd-parse-etc.service: Succeeded.
systemd[1]: Started Reload Configuration from the Real Root.
systemd[1]: Condition check resulted in dracut mount hook being skipped.
systemd[1]: Reached target Initrd File Systems.
systemd[1]: Reached target Initrd Default Target.
systemd[1]: Starting dracut pre-pivot and cleanup hook...
systemd[1]: Started dracut pre-pivot and cleanup hook.
systemd[1]: Starting Cleaning Up and Shutting Down Daemons...
systemd[1]: dracut-pre-pivot.service: Succeeded.
systemd[1]: Stopped dracut pre-pivot and cleanup hook.
systemd[1]: Stopped target Initrd Default Target.
systemd[1]: Stopped target Initrd Root Device.
systemd[1]: Stopped target Basic System.
systemd[1]: Stopped target Paths.
systemd[1]: Stopped target Sockets.
systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
systemd[1]: Stopped target Slices.
systemd[1]: Stopped target System Initialization.
systemd[1]: systemd-sysctl.service: Succeeded.
systemd[1]: Stopped Apply Kernel Variables.
systemd[1]: Stopping udev Kernel Device Manager...
systemd[1]: systemd-tmpfiles-setup.service: Succeeded.
systemd[1]: Stopped Create Volatile Files and Directories.
systemd[1]: Stopped target Local File Systems.
systemd[1]: Stopped target Local File Systems (Pre).
systemd[1]: systemd-ask-password-console.path: Succeeded.
systemd[1]: Stopped Dispatch Password Requests to Console Directory Watch.
systemd[1]: Stopped target Timers.
systemd[1]: Stopped target Remote File Systems.
systemd[1]: Stopped target Remote File Systems (Pre).
systemd[1]: dracut-initqueue.service: Succeeded.
systemd[1]: Stopped dracut initqueue hook.
systemd[1]: systemd-udev-trigger.service: Succeeded.
systemd[1]: Stopped udev Coldplug all Devices.
systemd[1]: Stopped target Swap.
systemd[1]: systemd-udevd.service: Succeeded.
systemd[1]: Stopped udev Kernel Device Manager.
systemd[1]: systemd-tmpfiles-setup-dev.service: Succeeded.
systemd[1]: Stopped Create Static Device Nodes in /dev.
systemd[1]: kmod-static-nodes.service: Succeeded.
systemd[1]: Stopped Create list of required static device nodes for the current kernel.
systemd[1]: dracut-pre-udev.service: Succeeded.
systemd[1]: Stopped dracut pre-udev hook.
systemd[1]: dracut-cmdline.service: Succeeded.
systemd[1]: Stopped dracut cmdline hook.
systemd[1]: systemd-udevd-control.socket: Succeeded.
systemd[1]: Closed udev Control Socket.
systemd[1]: systemd-udevd-kernel.socket: Succeeded.
systemd[1]: Closed udev Kernel Socket.
systemd[1]: Starting Cleanup udevd DB...
systemd[1]: initrd-cleanup.service: Succeeded.
systemd[1]: Started Cleaning Up and Shutting Down Daemons.
systemd[1]: initrd-udevadm-cleanup-db.service: Succeeded.
systemd[1]: Started Cleanup udevd DB.
systemd[1]: Reached target Switch Root.
systemd[1]: Starting Switch Root...
systemd[1]: Switching root.
systemd-journald[336]: Journal stopped
systemd-journald[336]: Received SIGTERM from PID 1 (systemd).
kernel: printk: systemd: 24 output lines suppressed due to ratelimiting
kernel: amdgpu 0000:04:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx (-110).
kernel: [drm:amdgpu_device_ip_late_init_func_handler [amdgpu]] *ERROR* ib ring test failed (-110).

Linux version 5.2.0-0.rc1.git1.1.vanilla.knurd.1.fc30.x86_64

kernel: [drm] amdgpu kernel modesetting enabled.
kernel: CRAT table not found
kernel: Virtual CRAT table created for CPU
kernel: Parsing CRAT table with 1 nodes
kernel: Creating topology SYSFS entries
kernel: Topology: Add CPU node
kernel: Finished initializing topology
kernel: amdgpu 0000:04:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xe0000000 -> 0xefffffff
kernel: amdgpu 0000:04:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xf0000000 -> 0xf01fffff
kernel: amdgpu 0000:04:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xf7800000 -> 0xf783ffff
kernel: checking generic (e0000000 300000) vs hw (e0000000 10000000)
kernel: fb0: switching to amdgpudrmfb from EFI VGA
kernel: Console: switching to colour dummy device 80x25
kernel: amdgpu 0000:04:00.0: vgaarb: deactivate vga console
kernel: [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1DA2:0xE387 0xE7).
kernel: [drm] register mmio base: 0xF7800000
kernel: [drm] register mmio size: 262144
kernel: [drm] add ip block number 0 <vi_common>
kernel: [drm] add ip block number 1 <gmc_v8_0>
kernel: [drm] add ip block number 2 <tonga_ih>
kernel: [drm] add ip block number 3 <gfx_v8_0>
kernel: [drm] add ip block number 4 <sdma_v3_0>
kernel: [drm] add ip block number 5 <powerplay>
kernel: [drm] add ip block number 6 <dm>
kernel: [drm] add ip block number 7 <uvd_v6_0>
kernel: [drm] add ip block number 8 <vce_v3_0>
kernel: kfd kfd: skipped device 1002:67df, PCI rejects atomics
kernel: [drm] UVD is enabled in VM mode
kernel: [drm] UVD ENC is enabled in VM mode
kernel: [drm] VCE enabled in VM mode
kernel: resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
kernel: caller pci_map_rom+0x6a/0x17d mapping multiple BARs
kernel: amdgpu 0000:04:00.0: No more image in the PCI ROM
kernel: ATOM BIOS: 113-1E3870U-O45
kernel: [drm] RAS INFO: ras initialized successfully, hardware ability[0] ras_mask[0]
kernel: [drm] vm size is 128 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
kernel: amdgpu 0000:04:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
kernel: amdgpu 0000:04:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
kernel: [drm] Detected VRAM RAM=8192M, BAR=256M
kernel: [drm] RAM width 256bits GDDR5
kernel: [TTM] Zone  kernel: Available graphics memory: 12350340 KiB
kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
kernel: [TTM] Initializing pool allocator
kernel: [TTM] Initializing DMA pool allocator
kernel: [drm] amdgpu: 8192M of VRAM memory ready
kernel: [drm] amdgpu: 8192M of GTT memory ready.
kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400300000).
kernel: [drm] Chained IB support enabled!
kernel: [drm] Found UVD firmware Version: 1.130 Family ID: 16
kernel: [drm] Found VCE firmware Version: 53.26 Binary ID: 3
kernel: BUG: unable to handle page fault for address: ffffa5bd8394f650
kernel: #PF: supervisor read access in kernel mode
kernel: #PF: error_code(0x0000) - not-present page
kernel: PGD 606549067 P4D 606549067 PUD 0 
kernel: Oops: 0000 [#1] SMP PTI
kernel: CPU: 6 PID: 461 Comm: systemd-udevd Not tainted 5.2.0-0.rc1.git1.1.vanilla.knurd.1.fc30.x86_64 #1
kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./G1.Sniper 3, BIOS F8k 04/29/2013
kernel: RIP: 0010:bw_calcs_data_update_from_pplib.isra.0+0x378/0x4d0 [amdgpu]
kernel: Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 8b 7d 00 4c 89 f2 be 02 00 00 00 e8 26 bf f9 ff 8b 04 24 4c 8b 23 be e8 03 00 00 83 e8 01 <8b> 7c 84 04 e8 6f 4d fb ff be e8 03 00 00 49 89 44 24 60 8b 04 24
kernel: RSP: 0018:ffffa5b98394f650 EFLAGS: 00010297
kernel: RAX: 00000000ffffffff RBX: ffff928b34cb92d8 RCX: 0000000000000000
kernel: RDX: ffffa5b98394f58c RSI: 00000000000003e8 RDI: ffff928b39c12800
kernel: RBP: ffff928b34cb9208 R08: 0000000000000020 R09: 000000032a000000
kernel: R10: 00000003ce000000 R11: 0000001770000000 R12: ffff928b3ac0b300
kernel: R13: ffffa5b98394f76c R14: ffffa5b98394f650 R15: ffffffffc0839d60
kernel: FS:  00007f1133ad1940(0000) GS:ffff928b46b80000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: ffffa5bd8394f650 CR3: 00000005faf54004 CR4: 00000000001606e0
kernel: Call Trace:
kernel:  dce112_create_resource_pool+0x6de/0x700 [amdgpu]
kernel:  dc_create_resource_pool+0x16c/0x220 [amdgpu]
kernel:  ? dal_gpio_service_create+0x92/0x110 [amdgpu]
kernel:  dc_create+0x219/0x620 [amdgpu]
kernel:  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
kernel:  amdgpu_dm_init+0xeb/0x160 [amdgpu]
kernel:  dm_hw_init+0xe/0x20 [amdgpu]
kernel:  amdgpu_device_init.cold+0x128d/0x161f [amdgpu]
kernel:  ? kmalloc_order+0x14/0x30
kernel:  amdgpu_driver_load_kms+0x88/0x270 [amdgpu]
kernel:  drm_dev_register+0x111/0x150 [drm]
kernel:  amdgpu_pci_probe+0xbd/0x120 [amdgpu]
kernel:  ? __pm_runtime_resume+0x58/0x80
kernel:  local_pci_probe+0x42/0x80
kernel:  pci_device_probe+0x115/0x190
kernel:  really_probe+0xf0/0x390
kernel:  driver_probe_device+0xb6/0x100
kernel:  device_driver_attach+0x53/0x60
kernel:  __driver_attach+0x8a/0x150
kernel:  ? device_driver_attach+0x60/0x60
kernel:  bus_for_each_dev+0x78/0xc0
kernel:  bus_add_driver+0x14a/0x1e0
kernel:  driver_register+0x6c/0xb0
kernel:  ? 0xffffffffc09b9000
kernel:  do_one_initcall+0x46/0x1f4
kernel:  ? _cond_resched+0x15/0x30
kernel:  ? kmem_cache_alloc_trace+0x154/0x1c0
kernel:  ? do_init_module+0x23/0x230
kernel:  do_init_module+0x5c/0x230
kernel:  load_module+0x22eb/0x28e0
kernel:  ? __do_sys_init_module+0x16e/0x1a0
kernel:  __do_sys_init_module+0x16e/0x1a0
kernel:  do_syscall_64+0x5b/0x180
kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
kernel: RIP: 0033:0x7f1134ad1bae
kernel: Code: 48 8b 0d dd 42 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d aa 42 0c 00 f7 d8 64 89 01 48
kernel: RSP: 002b:00007ffe9cb83118 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
kernel: RAX: ffffffffffffffda RBX: 0000563b364ce650 RCX: 00007f1134ad1bae
kernel: RDX: 0000563b364b50a0 RSI: 00000000006dfa2e RDI: 0000563b36d998b0
kernel: RBP: 0000563b36d998b0 R08: 0000563b364ba730 R09: 0000000000000001
kernel: R10: 0000000000000002 R11: 0000000000000246 R12: 0000563b364b50a0
kernel: R13: 0000000000000006 R14: 0000563b364c9fa0 R15: 0000000000000000
kernel: Modules linked in: amdgpu(+) amd_iommu_v2 gpu_sched i2c_algo_bit ttm drm_kms_helper crc32c_intel serio_raw drm e1000e(+) alx mdio video wmi vfio_pci irqbypass vfio_virqfd vfio_iommu_type1 vfio
kernel: CR2: ffffa5bd8394f650
kernel: ---[ end trace e14f412d43dd70ae ]---
kernel: RIP: 0010:bw_calcs_data_update_from_pplib.isra.0+0x378/0x4d0 [amdgpu]
kernel: Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 8b 7d 00 4c 89 f2 be 02 00 00 00 e8 26 bf f9 ff 8b 04 24 4c 8b 23 be e8 03 00 00 83 e8 01 <8b> 7c 84 04 e8 6f 4d fb ff be e8 03 00 00 49 89 44 24 60 8b 04 24
kernel: RSP: 0018:ffffa5b98394f650 EFLAGS: 00010297
kernel: RAX: 00000000ffffffff RBX: ffff928b34cb92d8 RCX: 0000000000000000
kernel: RDX: ffffa5b98394f58c RSI: 00000000000003e8 RDI: ffff928b39c12800
kernel: RBP: ffff928b34cb9208 R08: 0000000000000020 R09: 000000032a000000
kernel: R10: 00000003ce000000 R11: 0000001770000000 R12: ffff928b3ac0b300
kernel: R13: ffffa5b98394f76c R14: ffffa5b98394f650 R15: ffffffffc0839d60
kernel: FS:  00007f1133ad1940(0000) GS:ffff928b46b80000(0000) knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: ffffa5bd8394f650 CR3: 00000005faf54004 CR4: 00000000001606e0

I use fedora, but since using the mainline kernel I thought this thread might be helpful.
Sorry if I'm in the wrong place.

Edit: Added spec
CPU: i7 3770 with Vt-D enabled
Motherboard: G1.Sniper3
Ram: 24GB DDR3
GPU: RX580 8GB

Last edited by gj86 (2019-05-30 03:58:46)

Offline

#9 2019-05-30 12:50:52

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: AMD RX480 amdgpu, drm, no video at modeset

I started with 4.19.4 , now at 5.1.5 . Only used latest stock kernel.

AS rock X399 Taichi, 16 Gib ECC DDR4 ram, threadripper 1920X processor.

kernel: clocksource: timekeeping watchdog on CPU5: Marking clocksource 'tsc' as unstable because the skew is too large:
kernel: clocksource:                       'hpet' wd_now: 3660764 wd_last: 26a90be mask: ffffffff
kernel: clocksource:                       'tsc' cs_now: 1073e471c9 cs_last: f9ddd6ec2 mask: ffffffffffffffff
kernel: tsc: Marking TSC unstable due to clocksource watchdog
kernel: TSC found unstable after boot, most likely due to broken BIOS. Use 'tsc=unstable'.
kernel: sched_clock: Marking unstable (4047115264, 353100)<-(4335961303, -288492947)
systemd[1]: Started Create Volatile Files and Directories.
kernel: hrtimer: interrupt took 287739549 ns

Make sure you're using intel microcode updating, are running latest uefi version and have disabled any overclocking options.
You should probably also disable the intel integrated gpu (or set the amd as primary gpu)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2019-05-30 14:27:57

gj86
Member
Registered: 2019-05-29
Posts: 3

Re: AMD RX480 amdgpu, drm, no video at modeset

Tried disabling Vt-D. No over-clocking applied as it's a non-k processor.
Inte iGPU is disabled and RX 580 is set to initialize as primary card.
Intel microcode is updated to 3/12/2019 as of today.

No more uefi bios update available for my motherboard.

As of now I can only think the issue is kernel itself. Kernel up to 5.1.5 is bootable with amdgpu.dpm=0

But kernel 5.2 and onward errors out.

May 30 20:11:25 daemon.home.bd kernel: AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
May 30 20:11:25 daemon.home.bd kernel: AMD-Vi: AMD IOMMUv2 functionality not available on this system
May 30 20:11:25 daemon.home.bd kernel: tsc: Refined TSC clocksource calibration: 3403.346 MHz
May 30 20:11:25 daemon.home.bd kernel: clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x310ea79c150, max_idle_ns: 440795317982 ns
May 30 20:11:25 daemon.home.bd kernel: clocksource: Switched to clocksource tsc
May 30 20:11:25 daemon.home.bd kernel: e1000e 0000:00:19.0 0000:00:19.0 (uninitialized): registered PHC clock
May 30 20:11:25 daemon.home.bd kernel: [drm] amdgpu kernel modesetting enabled.
May 30 20:11:25 daemon.home.bd kernel: CRAT table not found
May 30 20:11:25 daemon.home.bd kernel: Virtual CRAT table created for CPU
May 30 20:11:25 daemon.home.bd kernel: Parsing CRAT table with 1 nodes
May 30 20:11:25 daemon.home.bd kernel: Creating topology SYSFS entries
May 30 20:11:25 daemon.home.bd kernel: Topology: Add CPU node
May 30 20:11:25 daemon.home.bd kernel: Finished initializing topology
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: remove_conflicting_pci_framebuffers: bar 0: 0xe0000000 -> 0xefffffff
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xf0000000 -> 0xf01fffff
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xf7800000 -> 0xf783ffff
May 30 20:11:25 daemon.home.bd kernel: checking generic (e0000000 300000) vs hw (e0000000 10000000)
May 30 20:11:25 daemon.home.bd kernel: fb0: switching to amdgpudrmfb from EFI VGA
May 30 20:11:25 daemon.home.bd kernel: Console: switching to colour dummy device 80x25
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: vgaarb: deactivate vga console
May 30 20:11:25 daemon.home.bd kernel: [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x1DA2:0xE387 0xE7).
May 30 20:11:25 daemon.home.bd kernel: [drm] register mmio base: 0xF7800000
May 30 20:11:25 daemon.home.bd kernel: [drm] register mmio size: 262144
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 0 <vi_common>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 1 <gmc_v8_0>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 2 <tonga_ih>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 3 <gfx_v8_0>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 4 <sdma_v3_0>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 5 <powerplay>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 6 <dm>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 7 <uvd_v6_0>
May 30 20:11:25 daemon.home.bd kernel: [drm] add ip block number 8 <vce_v3_0>
May 30 20:11:25 daemon.home.bd kernel: kfd kfd: skipped device 1002:67df, PCI rejects atomics
May 30 20:11:25 daemon.home.bd kernel: [drm] UVD is enabled in VM mode
May 30 20:11:25 daemon.home.bd kernel: [drm] UVD ENC is enabled in VM mode
May 30 20:11:25 daemon.home.bd kernel: [drm] VCE enabled in VM mode
May 30 20:11:25 daemon.home.bd kernel: resource sanity check: requesting [mem 0x000c0000-0x000dffff], which spans more than PCI Bus 0000:00 [mem 0x000d0000-0x000d3fff window]
May 30 20:11:25 daemon.home.bd kernel: caller pci_map_rom+0x6a/0x17d mapping multiple BARs
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: No more image in the PCI ROM
May 30 20:11:25 daemon.home.bd kernel: ATOM BIOS: 113-1E3870U-O45
May 30 20:11:25 daemon.home.bd kernel: [drm] RAS INFO: ras initialized successfully, hardware ability[0] ras_mask[0]
May 30 20:11:25 daemon.home.bd kernel: [drm] vm size is 128 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: VRAM: 8192M 0x000000F400000000 - 0x000000F5FFFFFFFF (8192M used)
May 30 20:11:25 daemon.home.bd kernel: amdgpu 0000:04:00.0: GART: 256M 0x000000FF00000000 - 0x000000FF0FFFFFFF
May 30 20:11:25 daemon.home.bd kernel: [drm] Detected VRAM RAM=8192M, BAR=256M
May 30 20:11:25 daemon.home.bd kernel: [drm] RAM width 256bits GDDR5
May 30 20:11:25 daemon.home.bd kernel: [TTM] Zone  kernel: Available graphics memory: 12350342 KiB
May 30 20:11:25 daemon.home.bd kernel: [TTM] Zone   dma32: Available graphics memory: 2097152 KiB
May 30 20:11:25 daemon.home.bd kernel: [TTM] Initializing pool allocator
May 30 20:11:25 daemon.home.bd kernel: [TTM] Initializing DMA pool allocator
May 30 20:11:25 daemon.home.bd kernel: [drm] amdgpu: 8192M of VRAM memory ready
May 30 20:11:25 daemon.home.bd kernel: [drm] amdgpu: 8192M of GTT memory ready.
May 30 20:11:25 daemon.home.bd kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
May 30 20:11:25 daemon.home.bd kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400300000).
May 30 20:11:25 daemon.home.bd kernel: [drm] Chained IB support enabled!
May 30 20:11:25 daemon.home.bd kernel: [drm] Found UVD firmware Version: 1.130 Family ID: 16
May 30 20:11:25 daemon.home.bd kernel: [drm] Found VCE firmware Version: 53.26 Binary ID: 3
May 30 20:11:25 daemon.home.bd kernel: usb 1-1.5.1: new full-speed USB device number 4 using ehci-pci
May 30 20:11:25 daemon.home.bd kernel: BUG: unable to handle page fault for address: ffffaebfc38af650
May 30 20:11:25 daemon.home.bd kernel: #PF: supervisor read access in kernel mode
May 30 20:11:25 daemon.home.bd kernel: #PF: error_code(0x0000) - not-present page
May 30 20:11:25 daemon.home.bd kernel: PGD 606542067 P4D 606542067 PUD 0 
May 30 20:11:25 daemon.home.bd kernel: Oops: 0000 [#1] SMP NOPTI
May 30 20:11:25 daemon.home.bd kernel: CPU: 7 PID: 446 Comm: systemd-udevd Not tainted 5.2.0-0.rc1.git2.2.fc31.x86_64 #1
May 30 20:11:25 daemon.home.bd kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./G1.Sniper 3, BIOS F8k 04/29/2013
May 30 20:11:25 daemon.home.bd kernel: RIP: 0010:bw_calcs_data_update_from_pplib.isra.0+0x378/0x4d0 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel: Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 8b 7d 00 4c 89 f2 be 02 00 00 00 e8 26 bf f9 ff 8b 04 24 4c 8b 23 be e8 03 00 00 83 e8 01 <8b> 7c 84 04 e8 6f 4d fb ff be e>
May 30 20:11:25 daemon.home.bd kernel: RSP: 0018:ffffaebbc38af650 EFLAGS: 00010297
May 30 20:11:25 daemon.home.bd kernel: RAX: 00000000ffffffff RBX: ffff88f4baba42d8 RCX: 0000000000000000
May 30 20:11:25 daemon.home.bd kernel: RDX: ffffaebbc38af58c RSI: 00000000000003e8 RDI: ffff88f4b9f1d000
May 30 20:11:25 daemon.home.bd kernel: RBP: ffff88f4baba4208 R08: 0000000000000020 R09: 000000032a000000
May 30 20:11:25 daemon.home.bd kernel: R10: 00000003ce000000 R11: 0000001770000000 R12: ffff88f4bb0cf100
May 30 20:11:25 daemon.home.bd kernel: R13: ffffaebbc38af76c R14: ffffaebbc38af650 R15: ffffffffc077dd40
May 30 20:11:25 daemon.home.bd kernel: FS:  00007fde1f856940(0000) GS:ffff88f4c6bc0000(0000) knlGS:0000000000000000
May 30 20:11:25 daemon.home.bd kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 30 20:11:25 daemon.home.bd kernel: CR2: ffffaebfc38af650 CR3: 00000005fa81e005 CR4: 00000000001606e0
May 30 20:11:25 daemon.home.bd kernel: Call Trace:
May 30 20:11:25 daemon.home.bd kernel:  dce112_create_resource_pool+0x6de/0x700 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  dc_create_resource_pool+0x16c/0x220 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? dal_gpio_service_create+0x92/0x110 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  dc_create+0x219/0x620 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_dm_init+0xeb/0x160 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  dm_hw_init+0xe/0x20 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_device_init.cold+0x128d/0x161f [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? kmalloc_order+0x14/0x30
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_driver_load_kms+0x88/0x270 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  drm_dev_register+0x111/0x150 [drm]
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_pci_probe+0xbd/0x120 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? __pm_runtime_resume+0x58/0x80
May 30 20:11:25 daemon.home.bd kernel:  local_pci_probe+0x42/0x80
May 30 20:11:25 daemon.home.bd kernel:  pci_device_probe+0x115/0x190
May 30 20:11:25 daemon.home.bd kernel:  really_probe+0xf0/0x390
May 30 20:11:25 daemon.home.bd kernel:  driver_probe_device+0xb6/0x100
May 30 20:11:25 daemon.home.bd kernel:  device_driver_attach+0x53/0x60
May 30 20:11:25 daemon.home.bd kernel:  __driver_attach+0x8a/0x150
May 30 20:11:25 daemon.home.bd kernel:  ? device_driver_attach+0x60/0x60
May 30 20:11:25 daemon.home.bd kernel:  bus_for_each_dev+0x78/0xc0
May 30 20:11:25 daemon.home.bd kernel:  bus_add_driver+0x14a/0x1e0
May 30 20:11:25 daemon.home.bd kernel:  driver_register+0x6c/0xb0
May 30 20:11:25 daemon.home.bd kernel:  ? 0xffffffffc08fe000
May 30 20:11:25 daemon.home.bd kernel:  do_one_initcall+0x46/0x1f4
May 30 20:11:25 daemon.home.bd kernel:  ? _cond_resched+0x15/0x30
May 30 20:11:25 daemon.home.bd kernel:  ? kmem_cache_alloc_trace+0x154/0x1c0
May 30 20:11:25 daemon.home.bd kernel:  ? do_init_module+0x23/0x230
May 30 20:11:25 daemon.home.bd kernel:  do_init_module+0x5c/0x230
May 30 20:11:25 daemon.home.bd kernel:  load_module+0x233d/0x2930
May 30 20:11:25 daemon.home.bd kernel: [drm] GART: num cpu pages 65536, num gpu pages 65536
May 30 20:11:25 daemon.home.bd kernel: [drm] PCIE GART of 256M enabled (table at 0x000000F400300000).
May 30 20:11:25 daemon.home.bd kernel: [drm] Chained IB support enabled!
May 30 20:11:25 daemon.home.bd kernel: [drm] Found UVD firmware Version: 1.130 Family ID: 16
May 30 20:11:25 daemon.home.bd kernel: [drm] Found VCE firmware Version: 53.26 Binary ID: 3
May 30 20:11:25 daemon.home.bd kernel: usb 1-1.5.1: new full-speed USB device number 4 using ehci-pci
May 30 20:11:25 daemon.home.bd kernel: BUG: unable to handle page fault for address: ffffaebfc38af650
May 30 20:11:25 daemon.home.bd kernel: #PF: supervisor read access in kernel mode
May 30 20:11:25 daemon.home.bd kernel: #PF: error_code(0x0000) - not-present page
May 30 20:11:25 daemon.home.bd kernel: PGD 606542067 P4D 606542067 PUD 0 
May 30 20:11:25 daemon.home.bd kernel: Oops: 0000 [#1] SMP NOPTI
May 30 20:11:25 daemon.home.bd kernel: CPU: 7 PID: 446 Comm: systemd-udevd Not tainted 5.2.0-0.rc1.git2.2.fc31.x86_64 #1
May 30 20:11:25 daemon.home.bd kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./G1.Sniper 3, BIOS F8k 04/29/2013
May 30 20:11:25 daemon.home.bd kernel: RIP: 0010:bw_calcs_data_update_from_pplib.isra.0+0x378/0x4d0 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel: Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 8b 7d 00 4c 89 f2 be 02 00 00 00 e8 26 bf f9 ff 8b 04 24 4c 8b 23 be e8 03 00 00 83 e8 01 <8b> 7c 84 04 e8 6f 4d fb ff be e>
May 30 20:11:25 daemon.home.bd kernel: RSP: 0018:ffffaebbc38af650 EFLAGS: 00010297
May 30 20:11:25 daemon.home.bd kernel: RAX: 00000000ffffffff RBX: ffff88f4baba42d8 RCX: 0000000000000000
May 30 20:11:25 daemon.home.bd kernel: RDX: ffffaebbc38af58c RSI: 00000000000003e8 RDI: ffff88f4b9f1d000
May 30 20:11:25 daemon.home.bd kernel: RBP: ffff88f4baba4208 R08: 0000000000000020 R09: 000000032a000000
May 30 20:11:25 daemon.home.bd kernel: R10: 00000003ce000000 R11: 0000001770000000 R12: ffff88f4bb0cf100
May 30 20:11:25 daemon.home.bd kernel: R13: ffffaebbc38af76c R14: ffffaebbc38af650 R15: ffffffffc077dd40
May 30 20:11:25 daemon.home.bd kernel: FS:  00007fde1f856940(0000) GS:ffff88f4c6bc0000(0000) knlGS:0000000000000000
May 30 20:11:25 daemon.home.bd kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 30 20:11:25 daemon.home.bd kernel: CR2: ffffaebfc38af650 CR3: 00000005fa81e005 CR4: 00000000001606e0
May 30 20:11:25 daemon.home.bd kernel: Call Trace:
May 30 20:11:25 daemon.home.bd kernel:  dce112_create_resource_pool+0x6de/0x700 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  dc_create_resource_pool+0x16c/0x220 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? dal_gpio_service_create+0x92/0x110 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  dc_create+0x219/0x620 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? amdgpu_cgs_create_device+0x23/0x50 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_dm_init+0xeb/0x160 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  dm_hw_init+0xe/0x20 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_device_init.cold+0x128d/0x161f [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? kmalloc_order+0x14/0x30
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_driver_load_kms+0x88/0x270 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  drm_dev_register+0x111/0x150 [drm]
May 30 20:11:25 daemon.home.bd kernel:  amdgpu_pci_probe+0xbd/0x120 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel:  ? __pm_runtime_resume+0x58/0x80
May 30 20:11:25 daemon.home.bd kernel:  local_pci_probe+0x42/0x80
May 30 20:11:25 daemon.home.bd kernel:  pci_device_probe+0x115/0x190
May 30 20:11:25 daemon.home.bd kernel:  really_probe+0xf0/0x390
May 30 20:11:25 daemon.home.bd kernel:  driver_probe_device+0xb6/0x100
May 30 20:11:25 daemon.home.bd kernel:  device_driver_attach+0x53/0x60
May 30 20:11:25 daemon.home.bd kernel:  __driver_attach+0x8a/0x150
May 30 20:11:25 daemon.home.bd kernel:  ? device_driver_attach+0x60/0x60
May 30 20:11:25 daemon.home.bd kernel:  bus_for_each_dev+0x78/0xc0
May 30 20:11:25 daemon.home.bd kernel:  bus_add_driver+0x14a/0x1e0
May 30 20:11:25 daemon.home.bd kernel:  driver_register+0x6c/0xb0
May 30 20:11:25 daemon.home.bd kernel:  ? 0xffffffffc08fe000
May 30 20:11:25 daemon.home.bd kernel:  do_one_initcall+0x46/0x1f4
May 30 20:11:25 daemon.home.bd kernel:  ? _cond_resched+0x15/0x30
May 30 20:11:25 daemon.home.bd kernel:  ? kmem_cache_alloc_trace+0x154/0x1c0
May 30 20:11:25 daemon.home.bd kernel:  ? do_init_module+0x23/0x230
May 30 20:11:25 daemon.home.bd kernel:  do_init_module+0x5c/0x230
May 30 20:11:25 daemon.home.bd kernel:  load_module+0x233d/0x2930
May 30 20:11:25 daemon.home.bd kernel:  ? __do_sys_init_module+0x16e/0x1a0
May 30 20:11:25 daemon.home.bd kernel:  __do_sys_init_module+0x16e/0x1a0
May 30 20:11:25 daemon.home.bd kernel:  do_syscall_64+0x5b/0x180
May 30 20:11:25 daemon.home.bd kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 30 20:11:25 daemon.home.bd kernel: RIP: 0033:0x7fde20857bae
May 30 20:11:25 daemon.home.bd kernel: Code: 48 8b 0d dd 42 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8>
May 30 20:11:25 daemon.home.bd kernel: RSP: 002b:00007fff10d74768 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
May 30 20:11:25 daemon.home.bd kernel: RAX: ffffffffffffffda RBX: 00005611c2426670 RCX: 00007fde20857bae
May 30 20:11:25 daemon.home.bd kernel: RDX: 00005611c241f8e0 RSI: 00000000006e08e6 RDI: 00005611c2db2840
May 30 20:11:25 daemon.home.bd kernel: RBP: 00005611c2db2840 R08: 00005611c2421090 R09: 0000000000000004
May 30 20:11:25 daemon.home.bd kernel: R10: 0000000000000005 R11: 0000000000000246 R12: 00005611c241f8e0
May 30 20:11:25 daemon.home.bd kernel: R13: 0000000000000006 R14: 00005611c24237e0 R15: 0000000000000000
May 30 20:11:25 daemon.home.bd kernel: Modules linked in: amdgpu(+) amd_iommu_v2 gpu_sched i2c_algo_bit ttm drm_kms_helper crc32c_intel drm e1000e(+) serio_raw alx mdio wmi video vfio_pci irqbypass vfio_v>
May 30 20:11:25 daemon.home.bd kernel: CR2: ffffaebfc38af650
May 30 20:11:25 daemon.home.bd kernel: ---[ end trace a5cae1b32a126811 ]---
May 30 20:11:25 daemon.home.bd kernel: RIP: 0010:bw_calcs_data_update_from_pplib.isra.0+0x378/0x4d0 [amdgpu]
May 30 20:11:25 daemon.home.bd kernel: Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 8b 7d 00 4c 89 f2 be 02 00 00 00 e8 26 bf f9 ff 8b 04 24 4c 8b 23 be e8 03 00 00 83 e8 01 <8b> 7c 84 04 e8 6f 4d fb ff be e>
May 30 20:11:25 daemon.home.bd kernel: RSP: 0018:ffffaebbc38af650 EFLAGS: 00010297
May 30 20:11:25 daemon.home.bd kernel: RAX: 00000000ffffffff RBX: ffff88f4baba42d8 RCX: 0000000000000000
May 30 20:11:25 daemon.home.bd kernel: RDX: ffffaebbc38af58c RSI: 00000000000003e8 RDI: ffff88f4b9f1d000
May 30 20:11:25 daemon.home.bd kernel: RBP: ffff88f4baba4208 R08: 0000000000000020 R09: 000000032a000000
May 30 20:11:25 daemon.home.bd kernel: R10: 00000003ce000000 R11: 0000001770000000 R12: ffff88f4bb0cf100
May 30 20:11:25 daemon.home.bd kernel: R13: ffffaebbc38af76c R14: ffffaebbc38af650 R15: ffffffffc077dd40
May 30 20:11:25 daemon.home.bd kernel: FS:  00007fde1f856940(0000) GS:ffff88f4c6bc0000(0000) knlGS:0000000000000000
May 30 20:11:25 daemon.home.bd kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 30 20:11:25 daemon.home.bd kernel: CR2: ffffaebfc38af650 CR3: 00000005fa81e005 CR4: 00000000001606e0
May 30 20:11:25 daemon.home.bd systemd-udevd[436]: Worker [446] terminated by signal 9 (KILL)
May 30 20:11:25 daemon.home.bd systemd-udevd[436]: 0000:04:00.0: Worker [446] failed

Offline

#11 2019-06-10 14:18:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,926

Re: AMD RX480 amdgpu, drm, no video at modeset

kernel: kfd kfd: skipped device 1002:67df, PCI rejects atomics

Just noticed that, atomics is a PCIE 3 feature that wasn't used  much until recently.
Your motherboard is from around 2012 I think ?

For testing purposes, try putting the card in a PCIe v2 slot if that's available.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#12 2019-06-10 15:34:18

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: AMD RX480 amdgpu, drm, no video at modeset

Lone_Wolf wrote:
kernel: kfd kfd: skipped device 1002:67df, PCI rejects atomics

Just noticed that, atomics is a PCIE 3 feature that wasn't used  much until recently.
Your motherboard is from around 2012 I think ?

For testing purposes, try putting the card in a PCIe v2 slot if that's available.

That message doesn't seem to mean anything bad. I see it here as well but things still work fine.

I have an RX480, and my CPU that's too old and without PCI atomics is an Ivy Bridge generation i5-3570k. I have VT-d disabled because it literally can't be enabled on a 3570k. The board here is a Gigabyte Z77X-D3H.

The PCIe slot can be switched between PCIe v3 and v2 somewhere in the UEFI/BIOS menus so trying PCIe v2 works without having to move the card around. About physically moving the card around, a problem with the Gigabyte G1.Sniper3 might be that it supports "4-way crossfire" and supports using the card in every single one of its PCIe slots. I guess it uses a PLEX chip and everything is wired to the CPU? Every single slot might then be v3 by default, and moving things around wouldn't work, only the BIOS menus would work.

Maybe something interesting to try is see if the GPU manufacturer offers several different video-BIOS versions on their support website for the card. I noticed for me here the "ATOM BIOS" version string is different:

[    0.867928] [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x174B:0xE353 0xE7).
... about twenty lines later: ...
[    0.868149] ATOM BIOS: 113-1E353FU.O50

Flashing a different BIOS onto the card is reasonably safe, I guess, as even if things go super wrong you can still continue working on flashing different files onto the card while using the integrated graphics in the CPU+board.

On that note, perhaps a different motherboard BIOS might influence the problem? Flashing different versions is pretty safe to do on a Gigabyte board because it has a second, backup BIOS chip to save you in the worst case scenario. The page with downloads for that board is here:

https://www.gigabyte.com/Motherboard/G1 … rt-dl-bios

Offline

#13 2019-06-11 02:24:59

gj86
Member
Registered: 2019-05-29
Posts: 3

Re: AMD RX480 amdgpu, drm, no video at modeset

Ropid wrote:

Your motherboard is from around 2012 I think ?

Yes.

Ropid wrote:

That message doesn't seem to mean anything bad. I see it here as well but things still work fine.

I have an RX480, and my CPU that's too old and without PCI atomics is an Ivy Bridge generation i5-3570k. I have VT-d disabled because it literally can't be enabled on a 3570k. The board here is a Gigabyte Z77X-D3H.

The PCIe slot can be switched between PCIe v3 and v2 somewhere in the UEFI/BIOS menus so trying PCIe v2 works without having to move the card around. About physically moving the card around, a problem with the Gigabyte G1.Sniper3 might be that it supports "4-way crossfire" and supports using the card in every single one of its PCIe slots. I guess it uses a PLEX chip and everything is wired to the CPU? Every single slot might then be v3 by default, and moving things around wouldn't work, only the BIOS menus would work.

Yes, it uses a PLEX chip and every card goes through that to the CPU. No direct PCIe slot to CPU on this motherboard. First 2 slot is x16/PCIe3 and 3rd/4th slot uses x8/PCIe3 (shares bandwidth from first 2 slots accordingly).
Unfortunately there is not any option to switch PCIe version on this motherboard. It happens automatically depending on the GPU.

Ropid wrote:

Maybe something interesting to try is see if the GPU manufacturer offers several different video-BIOS versions on their support website for the card. I noticed for me here the "ATOM BIOS" version string is different:

[    0.867928] [drm] initializing kernel modesetting (POLARIS10 0x1002:0x67DF 0x174B:0xE353 0xE7).
... about twenty lines later: ...
[    0.868149] ATOM BIOS: 113-1E353FU.O50

Flashing a different BIOS onto the card is reasonably safe, I guess, as even if things go super wrong you can still continue working on flashing different files onto the card while using the integrated graphics in the CPU+board.

Flashed the latest VBIOS available ATOM BIOS: 113-1E3870U-O4B, problem still remains.

Ropid wrote:

On that note, perhaps a different motherboard BIOS might influence the problem? Flashing different versions is pretty safe to do on a Gigabyte board because it has a second, backup BIOS chip to save you in the worst case scenario. The page with downloads for that board is here:

https://www.gigabyte.com/Motherboard/G1 … rt-dl-bios

Already tried that with BIOS revision as old as F6 to the latest available F8n beta BIOS (not available in Gigabyte website, F5 and older doesn't boot with the GPU). No solution on that front either.

I've already filed a bug report and bisected, there is a specific commit that seems to be the reason behind this. here is the bug report link: [Bisected]Booting with kernel version 5.1.0 or higher on RX 580 hangs

What I'm currently doing is reverting that commit and compiling my own kernel (latest git 5.2.0-rc4) it works flawlessly. Also there is definitely performance increase over 5.0 version kernel in games and desktop (KDE).

Offline

Board footer

Powered by FluxBB