[Bug 107153] 4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a0)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 16 14:28:31 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107153
--- Comment #12 from Peter <zurohki at gmail.com> ---
I'm running 4.18-rc4 on Slackware and I seem to have the same problem. My
system boots fine, but if I run startx with HDMI connected the system freezes
with a black screen and I get the bug in my kernel log.
I can start KDE and then connect HDMI and that seems to work fine. I even get
HDMI audio. If I close KDE, I then get the black screen and bug.
My system is a Ryzen 2700x, ASUS Prime x470-Pro motherboard, Radeon RX 470
video card. I have a monitor connected with DisplayPort and an AV receiver
connected with HDMI for sound. There is a TV connected to the receiver's
output, which is usually switched off.
Interestingly, I'm also using an Onkyo AV receiver. Mine's a TX-NR515AE. If I
unplug the receiver, unplug my monitor from DisplayPort and connect the monitor
with HDMI, my system starts KDE fine and HDMI audio plays from the monitor's
speakers.
I spent some time crashing and rebooting my system to find the combination that
didn't work. Turning everything off between attempts and starting with
everything turned off:
Leave AV receiver off. Turn on computer. Start KDE. Bug.
Turn on AV receiver. Turn on computer. Start KDE. Bug.
Turn on AV receiver. Turn on TV. Turn on computer. Start KDE. No bug. Monitor
and TV both work as expected. HDMI audio works.
Turn on AV receiver. Turn on TV. Turn *off* TV. Turn on computer. Start KDE. No
bug. Monitor works as expected. HDMI audio works.
I have a hunch that the AV receiver gets HDMI data from the TV. If the TV
hasn't been on, the receiver feeds odd data to the PC and hits this bug. I
don't know how to troubleshoot this further.
I also get two warnings in my kernel log on boot before starting KDE that
disappear if I unplug the AV receiver. I don't know if they're relevant.
Bug:
[ 37.762733] kernel BUG at
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4829!
[ 37.762742] invalid opcode: 0000 [#1] SMP NOPTI
[ 37.762746] CPU: 7 PID: 1477 Comm: Xorg Tainted: G W
4.18.0-rc4 #1
[ 37.762747] Hardware name: System manufacturer System Product Name/PRIME
X470-PRO, BIOS 4011 04/19/2018
[ 37.762804] RIP: 0010:dm_update_crtcs_state+0x458/0x4d0 [amdgpu]
[ 37.762805] Code: ff ff 48 85 db 0f 84 d9 fd ff ff 48 c7 44 24 18 00 00 00
00 48 c7 44 24 08 00 00 00 00 48 c7 04 24 00 00 00 00 e9 91 fe ff ff <0f> 0b 48
83 c4 30 b8 ea ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3
[ 37.762828] RSP: 0018:ffffb04c0083baa0 EFLAGS: 00010246
[ 37.762831] RAX: ffff925fca3ea401 RBX: 0000000000000000 RCX:
00000000000002f7
[ 37.762832] RDX: 00000000000002f6 RSI: ffff925fdede4160 RDI:
ffff925fde806e80
[ 37.762834] RBP: ffff925fca3a1880 R08: 0000000000024160 R09:
ffffffffc095be2e
[ 37.762836] R10: ffffdf2c9028fa00 R11: 00000000f0000080 R12:
0000000000000001
[ 37.762837] R13: ffff925fca3ea000 R14: ffff925fca3ecc00 R15:
ffff925fc8965000
[ 37.762839] FS: 00007fbb6af6fd40(0000) GS:ffff925fdedc0000(0000)
knlGS:0000000000000000
[ 37.762841] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 37.762842] CR2: 00007ffc9f29bfa8 CR3: 00000003fa86a000 CR4:
00000000003406e0
[ 37.762844] Call Trace:
[ 37.762901] amdgpu_dm_atomic_check+0x1bc/0x3a0 [amdgpu]
[ 37.762919] drm_atomic_check_only+0x360/0x510 [drm]
[ 37.762935] drm_atomic_commit+0x13/0x50 [drm]
[ 37.762944] drm_atomic_helper_set_config+0x75/0x80 [drm_kms_helper]
[ 37.762959] __drm_mode_set_config_internal+0x67/0x120 [drm]
[ 37.762974] drm_mode_setcrtc+0x412/0x610 [drm]
[ 37.762988] ? drm_mode_getcrtc+0x180/0x180 [drm]
[ 37.763001] drm_ioctl_kernel+0xa1/0xf0 [drm]
[ 37.763014] drm_ioctl+0x1fc/0x390 [drm]
[ 37.763028] ? drm_mode_getcrtc+0x180/0x180 [drm]
[ 37.763066] amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
[ 37.763071] do_vfs_ioctl+0xa4/0x620
[ 37.763075] ? __x64_sys_futex+0x143/0x180
[ 37.763078] ksys_ioctl+0x60/0x90
[ 37.763080] __x64_sys_ioctl+0x16/0x20
[ 37.763084] do_syscall_64+0x55/0x100
[ 37.763088] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 37.763091] RIP: 0033:0x7fbb68da2297
[ 37.763092] Code: b3 66 90 48 8b 05 f1 1b 2d 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d c1 1b 2d 00 f7 d8 64 89 01 48
[ 37.763114] RSP: 002b:00007fffe459de58 EFLAGS: 00003246 ORIG_RAX:
0000000000000010
[ 37.763116] RAX: ffffffffffffffda RBX: 00007fffe459de90 RCX:
00007fbb68da2297
[ 37.763117] RDX: 00007fffe459de90 RSI: 00000000c06864a2 RDI:
0000000000000016
[ 37.763119] RBP: 00007fffe459de90 R08: 0000000000000000 R09:
00000000028314f0
[ 37.763120] R10: 00007fffe459df50 R11: 0000000000003246 R12:
00000000c06864a2
[ 37.763122] R13: 0000000000000016 R14: 0000000000000000 R15:
00000000028314f0
[ 37.763124] Modules linked in: ipv6 cfg80211 8021q garp mrp stp llc
nls_iso8859_1 nls_cp437 vfat fat fuse joydev hid_generic usbhid hid amdkfd
amd_iommu_v2 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi
amdgpu chash snd_hda_intel gpu_sched ttm eeepc_wmi snd_hda_codec drm_kms_helper
asus_wmi snd_hda_core kvm_amd sparse_keymap snd_hwdep igb rfkill drm kvm
snd_pcm i2c_dev video wmi_bmof mxm_wmi evdev agpgart irqbypass fb_sys_fops dca
efi_pstore snd_timer syscopyarea xhci_pci sysfillrect crct10dif_pclmul
i2c_piix4 i2c_algo_bit sysimgblt crc32_pclmul snd k10temp crc32c_intel
ghash_clmulni_intel efivars i2c_core hwmon soundcore ccp xhci_hcd gpio_amdpt
gpio_generic wmi button acpi_cpufreq loop ext4 mbcache jbd2
[ 37.763169] ---[ end trace 1fcb5eff24c7c5a4 ]---
[ 37.763223] RIP: 0010:dm_update_crtcs_state+0x458/0x4d0 [amdgpu]
[ 37.763224] Code: ff ff 48 85 db 0f 84 d9 fd ff ff 48 c7 44 24 18 00 00 00
00 48 c7 44 24 08 00 00 00 00 48 c7 04 24 00 00 00 00 e9 91 fe ff ff <0f> 0b 48
83 c4 30 b8 ea ff ff ff 5b 5d 41 5c 41 5d 41 5e 41 5f c3
[ 37.763246] RSP: 0018:ffffb04c0083baa0 EFLAGS: 00010246
[ 37.763248] RAX: ffff925fca3ea401 RBX: 0000000000000000 RCX:
00000000000002f7
[ 37.763249] RDX: 00000000000002f6 RSI: ffff925fdede4160 RDI:
ffff925fde806e80
[ 37.763251] RBP: ffff925fca3a1880 R08: 0000000000024160 R09:
ffffffffc095be2e
[ 37.763252] R10: ffffdf2c9028fa00 R11: 00000000f0000080 R12:
0000000000000001
[ 37.763253] R13: ffff925fca3ea000 R14: ffff925fca3ecc00 R15:
ffff925fc8965000
[ 37.763255] FS: 00007fbb6af6fd40(0000) GS:ffff925fdedc0000(0000)
knlGS:0000000000000000
[ 37.763257] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 37.763258] CR2: 00007ffc9f29bfa8 CR3: 00000003fa86a000 CR4:
00000000003406e0
Warnings:
[ 9.711692] [drm] Initialized amdgpu 3.26.0 20150101 for 0000:09:00.0 on
minor 0
[ 9.764335] WARNING: CPU: 1 PID: 912 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.c:64
dal_gpio_open_ex+0xc/0x30 [amdgpu]
[ 9.764403] Modules linked in: amdkfd amd_iommu_v2 snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec_hdmi amdgpu chash snd_hda_intel gpu_sched
ttm eeepc_wmi snd_hda_codec drm_kms_helper asus_wmi snd_hda_core kvm_amd
sparse_keymap snd_hwdep igb rfkill drm kvm snd_pcm i2c_dev video wmi_bmof
mxm_wmi evdev agpgart irqbypass fb_sys_fops dca efi_pstore snd_timer
syscopyarea xhci_pci sysfillrect crct10dif_pclmul i2c_piix4 i2c_algo_bit
sysimgblt crc32_pclmul snd k10temp crc32c_intel ghash_clmulni_intel efivars
i2c_core hwmon soundcore ccp xhci_hcd gpio_amdpt gpio_generic wmi button
acpi_cpufreq loop ext4 mbcache jbd2
[ 9.764704] CPU: 1 PID: 912 Comm: xcmddc Not tainted 4.18.0-rc4 #1
[ 9.764737] Hardware name: System manufacturer System Product Name/PRIME
X470-PRO, BIOS 4011 04/19/2018
[ 9.764851] RIP: 0010:dal_gpio_open_ex+0xc/0x30 [amdgpu]
[ 9.764879] Code: 44 00 00 53 48 89 fb 48 8b 3f e8 0f 4b 8a c8 48 c7 03 00
00 00 00 5b c3 66 0f 1f 44 00 00 0f 1f 44 00 00 48 83 7f 08 00 74 08 <0f> 0b b8
05 00 00 00 c3 89 77 18 8b 57 14 4c 8d 47 08 89 f1 8b 77
[ 9.764998] RSP: 0018:ffffb04c0058fbb0 EFLAGS: 00010282
[ 9.765034] RAX: 0000000000000000 RBX: ffff925fccb66a40 RCX:
0000000000000050
[ 9.765072] RDX: 0000000000000000 RSI: 0000000000000003 RDI:
ffff925fccb66180
[ 9.765104] RBP: 0000000000000003 R08: 0000000000000000 R09:
0000000000000000
[ 9.765135] R10: 0000000000000000 R11: 0000000000000000 R12:
0000000000000000
[ 9.765166] R13: 0000000000000000 R14: 0000000000000000 R15:
ffffffffc07c8cd4
[ 9.765199] FS: 00007f4739064bc0(0000) GS:ffff925fdec40000(0000)
knlGS:0000000000000000
[ 9.765234] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9.765260] CR2: 00007f47385f3850 CR3: 000000040303c000 CR4:
00000000003406e0
[ 9.765294] Call Trace:
[ 9.765371] dal_ddc_open+0x2d/0xe0 [amdgpu]
[ 9.765393] ? vsnprintf+0x380/0x4d0
[ 9.765461] dal_aux_engine_acquire+0x32/0x70 [amdgpu]
[ 9.765535] dal_i2caux_acquire_aux_engine+0x56/0x80 [amdgpu]
[ 9.765611] dal_i2caux_submit_aux_command+0x44/0x1b0 [amdgpu]
[ 9.765637] ? i2cdev_open+0x38/0x90 [i2c_dev]
[ 9.765705] dal_ddc_service_write_dpcd_data+0x65/0xa0 [amdgpu]
[ 9.765783] dm_dp_aux_transfer+0xae/0x110 [amdgpu]
[ 9.765811] drm_dp_i2c_do_msg+0x90/0x290 [drm_kms_helper]
[ 9.765836] ? terminate_walk+0x8a/0x100
[ 9.765859] drm_dp_i2c_xfer+0xc7/0x250 [drm_kms_helper]
[ 9.765886] __i2c_transfer+0x123/0x410 [i2c_core]
[ 9.765910] i2c_transfer+0x55/0xa0 [i2c_core]
[ 9.765932] i2c_transfer_buffer_flags+0x4c/0x70 [i2c_core]
[ 9.765958] i2cdev_write+0x48/0x60 [i2c_dev]
[ 9.765979] __vfs_write+0x36/0x190
[ 9.765997] ? hrtimer_nanosleep+0xc6/0x1c0
[ 9.766016] vfs_write+0xa5/0x1a0
[ 9.766033] ksys_write+0x4f/0xb0
[ 9.766050] do_syscall_64+0x55/0x100
[ 9.767432] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 9.768801] RIP: 0033:0x7f473861e414
[ 9.770171] Code: 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00
00 66 90 48 8d 05 51 d5 2d 00 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00
f0 ff ff 77 54 f3 c3 66 90 41 54 55 49 89 d4 53 48 89 f5
[ 9.771642] RSP: 002b:00007ffe23011468 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 9.773099] RAX: ffffffffffffffda RBX: 0000000000000003 RCX:
00007f473861e414
[ 9.774546] RDX: 0000000000000001 RSI: 00007ffe23011470 RDI:
0000000000000003
[ 9.776004] RBP: 00007f4738ea0258 R08: 00007ffe23012f24 R09:
00007f47388f7d80
[ 9.777526] R10: 0000000000000011 R11: 0000000000000246 R12:
00007ffe23011470
[ 9.778980] R13: 00007ffe23011568 R14: 00007ffe23011570 R15:
00007ffe23012f2f
[ 9.780435] ---[ end trace 1fcb5eff24c7c5a2 ]---
[ 9.781957] WARNING: CPU: 1 PID: 912 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:488
dal_ddc_open+0x31/0xe0 [amdgpu]
[ 9.783459] Modules linked in: amdkfd amd_iommu_v2 snd_hda_codec_realtek
snd_hda_codec_generic snd_hda_codec_hdmi amdgpu chash snd_hda_intel gpu_sched
ttm eeepc_wmi snd_hda_codec drm_kms_helper asus_wmi snd_hda_core kvm_amd
sparse_keymap snd_hwdep igb rfkill drm kvm snd_pcm i2c_dev video wmi_bmof
mxm_wmi evdev agpgart irqbypass fb_sys_fops dca efi_pstore snd_timer
syscopyarea xhci_pci sysfillrect crct10dif_pclmul i2c_piix4 i2c_algo_bit
sysimgblt crc32_pclmul snd k10temp crc32c_intel ghash_clmulni_intel efivars
i2c_core hwmon soundcore ccp xhci_hcd gpio_amdpt gpio_generic wmi button
acpi_cpufreq loop ext4 mbcache jbd2
[ 9.788386] CPU: 1 PID: 912 Comm: xcmddc Tainted: G W
4.18.0-rc4 #1
[ 9.790075] Hardware name: System manufacturer System Product Name/PRIME
X470-PRO, BIOS 4011 04/19/2018
[ 9.791847] RIP: 0010:dal_ddc_open+0x31/0xe0 [amdgpu]
[ 9.793564] Code: 41 89 d4 55 89 f5 53 48 89 fb 48 83 ec 20 48 8b 3f 65 48
8b 04 25 28 00 00 00 48 89 44 24 18 31 c0 e8 23 f6 ff ff 85 c0 74 1f <0f> 0b 48
8b 4c 24 18 65 48 33 0c 25 28 00 00 00 0f 85 89 00 00 00
[ 9.795399] RSP: 0018:ffffb04c0058fbb8 EFLAGS: 00010206
[ 9.797201] RAX: 0000000000000005 RBX: ffff925fccb66a40 RCX:
0000000000000050
[ 9.799033] RDX: 0000000000000000 RSI: 0000000000000003 RDI:
ffff925fccb66180
[ 9.800862] RBP: 0000000000000003 R08: 0000000000000000 R09:
0000000000000000
[ 9.802697] R10: 0000000000000000 R11: 0000000000000000 R12:
0000000000000000
[ 9.804533] R13: 0000000000000000 R14: 0000000000000000 R15:
ffffffffc07c8cd4
[ 9.806364] FS: 00007f4739064bc0(0000) GS:ffff925fdec40000(0000)
knlGS:0000000000000000
[ 9.808203] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 9.810039] CR2: 00007f47385f3850 CR3: 000000040303c000 CR4:
00000000003406e0
[ 9.811878] Call Trace:
[ 9.813701] ? vsnprintf+0x380/0x4d0
[ 9.815551] dal_aux_engine_acquire+0x32/0x70 [amdgpu]
[ 9.817340] dal_i2caux_acquire_aux_engine+0x56/0x80 [amdgpu]
[ 9.819106] dal_i2caux_submit_aux_command+0x44/0x1b0 [amdgpu]
[ 9.820731] ? i2cdev_open+0x38/0x90 [i2c_dev]
[ 9.822402] dal_ddc_service_write_dpcd_data+0x65/0xa0 [amdgpu]
[ 9.824047] dm_dp_aux_transfer+0xae/0x110 [amdgpu]
[ 9.825652] drm_dp_i2c_do_msg+0x90/0x290 [drm_kms_helper]
[ 9.827188] ? terminate_walk+0x8a/0x100
[ 9.828682] drm_dp_i2c_xfer+0xc7/0x250 [drm_kms_helper]
[ 9.830205] __i2c_transfer+0x123/0x410 [i2c_core]
[ 9.831700] i2c_transfer+0x55/0xa0 [i2c_core]
[ 9.833189] i2c_transfer_buffer_flags+0x4c/0x70 [i2c_core]
[ 9.834723] i2cdev_write+0x48/0x60 [i2c_dev]
[ 9.836239] __vfs_write+0x36/0x190
[ 9.837764] ? hrtimer_nanosleep+0xc6/0x1c0
[ 9.839253] vfs_write+0xa5/0x1a0
[ 9.840722] ksys_write+0x4f/0xb0
[ 9.842213] do_syscall_64+0x55/0x100
[ 9.843678] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 9.844491] usb 5-1: New USB device found, idVendor=046d, idProduct=c24a,
bcdDevice=77.02
[ 9.845143] RIP: 0033:0x7f473861e414
[ 9.845143] Code: 89 02 48 c7
[ 9.846845] usb 5-1: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[ 9.848334] c0 ff ff ff ff c3 66 2e 0f 1f
[ 9.849953] usb 5-1: Product: Gaming Mouse G600
[ 9.851455] 84 00 00 00 00 00 66 90
[ 9.853016] usb 5-1: Manufacturer: Logitech
[ 9.854530] 48 8d 05 51 d5 2d 00
[ 9.856156] usb 5-1: SerialNumber: 7F8669D752180017
[ 9.857658] 8b 00 85 c0 75 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54
f3 c3 66 90 41 54 55 49 89 d4 53 48 89 f5
[ 9.862335] RSP: 002b:00007ffe23011468 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[ 9.863869] RAX: ffffffffffffffda RBX: 0000000000000003 RCX:
00007f473861e414
[ 9.865405] RDX: 0000000000000001 RSI: 00007ffe23011470 RDI:
0000000000000003
[ 9.866978] RBP: 00007f4738ea0258 R08: 00007ffe23012f24 R09:
00007f47388f7d80
[ 9.868528] R10: 0000000000000011 R11: 0000000000000246 R12:
00007ffe23011470
[ 9.870124] R13: 00007ffe23011568 R14: 00007ffe23011570 R15:
00007ffe23012f2f
[ 9.871681] ---[ end trace 1fcb5eff24c7c5a3 ]---
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180716/e23937ce/attachment-0001.html>
More information about the dri-devel
mailing list