Bug 199925

Summary: system-freeze with amdgpu.dc=1 & HDMI-Output
Product: Drivers Reporter: Thomas Wegele (thomas.j.wegele)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: bjo, harry.wentland, martin.tk, mj.wilson.uk
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.17 Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg error when connecting tv via hdmi

Description Thomas Wegele 2018-06-04 21:50:36 UTC
Created attachment 276323 [details]
dmesg error when connecting tv via hdmi

Booting 4.17 kernel (with amdgpu.dc=1 )with HDMI-TV connected results in system-freeze (unable to ssh / change tty, etc)

If I connect the tv after logging into a graphical session (gnome 3.28) i get a video-signal.

When I select HDMI-Audio output with pavucontrol (since it's not even listed in Gnome) my system will still freeze.

Trying to play some audiofile with aplay -D on that device will also freeze my system (sometimes even just aplay -l will cause a freeze)

I have attatched the dmesg-output after connecting the tv with hdmi

my system:

 Kernel: 4.17.0
 DE: GNOME 3.28.2
 CPU: Intel Core i5-4690S
 GPU: AMD Radeon R9 290
Comment 1 Martin 2018-06-05 08:46:20 UTC
I think I may be experiencing a similar problem.

I had 2 random system freezes, the kind when nothing can be done (the second time I had the characteristic audio freeze).

Both freezes happened when I was stopping audio playback and/or the screen was in the stand by mode. ( I was switching screen's input to Display Port which is the PC that froze). The screen is Dell U2515H (it doesn't have speakers, I use audio out mini-jack on the motherboard for audio output).

I haven't experiences such issues on the previous kernel version.

I don't have amdgpu.dc=1 on kernel cmdline but as I understand it it's the new default for 4.17.0

I started getting this kind of traces in my logs:


Jun  5 08:15:16 callisto kernel: [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3000 tries - dce110_stream_encoder_dp_blank line:956
Jun  5 08:15:16 callisto kernel: WARNING: CPU: 0 PID: 1799 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195 generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 08:15:16 callisto kernel: Modules linked in: lz4 lz4_compress zram it87 hwmon_vid vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cpufreq_ondemand ext4 crc16 mbcache jbd2 i2c_dev wmi_bmof amdgpu snd_hda_codec_realtek snd_hda_codec_generic chash gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hda_intel ttm snd_hda_codec sundance snd_hwdep k10temp drm mii snd_hda_core drm_panel_orientation_quirks snd_pcm snd_timer snd wmi soundcore evdev acpi_cpufreq loop
Jun  5 08:15:16 callisto kernel: CPU: 0 PID: 1799 Comm: Xorg Tainted: G        W  O      4.17.0 #1
Jun  5 08:15:16 callisto kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA770T-UD3/GA-MA770T-UD3, BIOS F8 10/18/2010
Jun  5 08:15:16 callisto kernel: RIP: 0010:generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 08:15:16 callisto kernel: RSP: 0018:ffffc900002bb8a0 EFLAGS: 00010297
Jun  5 08:15:16 callisto kernel: RAX: 0000000000000074 RBX: 000000000000000a RCX: 0000000000000000
Jun  5 08:15:16 callisto kernel: RDX: ffff88023fc1bea0 RSI: ffff88023fc15158 RDI: ffff88023fc15158
Jun  5 08:15:16 callisto kernel: RBP: 0000000000000010 R08: 0000000000000387 R09: 0000000000010200
Jun  5 08:15:16 callisto kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff880234790380
Jun  5 08:15:16 callisto kernel: R13: 0000000000000bb9 R14: 0000000000010000 R15: 0000000000000000
Jun  5 08:15:16 callisto kernel: FS:  00007f242ef01d40(0000) GS:ffff88023fc00000(0000) knlGS:0000000000000000
Jun  5 08:15:16 callisto kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun  5 08:15:16 callisto kernel: CR2: 0000000000e7b000 CR3: 0000000221bd0000 CR4: 00000000000006f0
Jun  5 08:15:16 callisto kernel: Call Trace:
Jun  5 08:15:16 callisto kernel:  dce110_stream_encoder_dp_blank+0x12a/0x190 [amdgpu]
Jun  5 08:15:16 callisto kernel:  core_link_disable_stream+0x53/0x270 [amdgpu]
Jun  5 08:15:16 callisto kernel:  dce110_reset_hw_ctx_wrap+0xb1/0x1c0 [amdgpu]
Jun  5 08:15:16 callisto kernel:  dce110_apply_ctx_to_hw+0x3b/0x8f0 [amdgpu]
Jun  5 08:15:16 callisto kernel:  ? amdgpu_pm_compute_clocks+0x87/0x4c0 [amdgpu]
Jun  5 08:15:16 callisto kernel:  dc_commit_state+0x2db/0x570 [amdgpu]
Jun  5 08:15:16 callisto kernel:  ? dc_stream_get_scanoutpos+0x4e/0x60 [amdgpu]
Jun  5 08:15:16 callisto kernel:  ? dm_crtc_get_scanoutpos+0x51/0x90 [amdgpu]
Jun  5 08:15:16 callisto kernel:  ? drm_calc_timestamping_constants+0xf3/0x180 [drm]
Jun  5 08:15:16 callisto kernel:  amdgpu_dm_atomic_commit_tail+0x33d/0xcd0 [amdgpu]
Jun  5 08:15:16 callisto kernel:  ? amdgpu_bo_pin_restricted+0x1cc/0x2b0 [amdgpu]
Jun  5 08:15:16 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 08:15:16 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 08:15:16 callisto kernel:  commit_tail+0x38/0x70 [drm_kms_helper]
Jun  5 08:15:16 callisto kernel:  drm_atomic_helper_commit+0x11d/0x130 [drm_kms_helper]
Jun  5 08:15:16 callisto kernel:  drm_atomic_connector_commit_dpms+0xe9/0x120 [drm]
Jun  5 08:15:16 callisto kernel:  drm_mode_obj_set_property_ioctl+0x152/0x250 [drm]
Jun  5 08:15:16 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 08:15:16 callisto kernel:  drm_mode_connector_property_set_ioctl+0x24/0x30 [drm]
Jun  5 08:15:16 callisto kernel:  drm_ioctl_kernel+0x6b/0xd0 [drm]
Jun  5 08:15:16 callisto kernel:  ? __switch_to_asm+0x30/0x60
Jun  5 08:15:16 callisto kernel:  drm_ioctl+0x1a3/0x380 [drm]
Jun  5 08:15:16 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 08:15:16 callisto kernel:  ? schedule_hrtimeout_range_clock+0x99/0x100
Jun  5 08:15:16 callisto kernel:  ? __handle_mm_fault+0x47f/0xa30
Jun  5 08:15:16 callisto kernel:  ? hrtimer_init+0x10/0x10
Jun  5 08:15:16 callisto kernel:  do_vfs_ioctl+0xa0/0x610
Jun  5 08:15:16 callisto kernel:  ? __fget+0x69/0xa0
Jun  5 08:15:16 callisto kernel:  ksys_ioctl+0x46/0x90
Jun  5 08:15:16 callisto kernel:  __x64_sys_ioctl+0x11/0x20
Jun  5 08:15:16 callisto kernel:  do_syscall_64+0x4a/0xf0
Jun  5 08:15:16 callisto kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jun  5 08:15:16 callisto kernel: RIP: 0033:0x7f242cd0f297
Jun  5 08:15:16 callisto kernel: RSP: 002b:00007fff03225048 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
Jun  5 08:15:16 callisto kernel: RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f242cd0f297
Jun  5 08:15:16 callisto kernel: RDX: 00007fff03225080 RSI: 00000000c01064ab RDI: 000000000000000e
Jun  5 08:15:16 callisto kernel: RBP: 00007fff03225080 R08: 00282b116e78297b R09: 00007fff032e8080
Jun  5 08:15:16 callisto kernel: R10: 00000000000c2c54 R11: 0000000000003246 R12: 00000000c01064ab
Jun  5 08:15:16 callisto kernel: R13: 000000000000000e R14: 0000000000000000 R15: 000000000083ae60
Jun  5 08:15:16 callisto kernel: Code: 24 58 48 8b 4c 24 50 89 de 8b 54 24 48 48 c7 c7 88 9b 32 a0 44 89 4c 24 08 e8 ac 5d e3 ff 41 83 7c 24 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 
Jun  5 08:15:16 callisto kernel: ---[ end trace 4b1f1f277b56213e ]---
Jun  5 08:43:21 callisto kernel: [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3000 tries - dce110_stream_encoder_dp_blank line:956
Jun  5 08:43:21 callisto kernel: WARNING: CPU: 1 PID: 1799 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195 generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 08:43:21 callisto kernel: Modules linked in: lz4 lz4_compress zram it87 hwmon_vid vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cpufreq_ondemand ext4 crc16 mbcache jbd2 i2c_dev wmi_bmof amdgpu snd_hda_codec_realtek snd_hda_codec_generic chash gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hda_intel ttm snd_hda_codec sundance snd_hwdep k10temp drm mii snd_hda_core drm_panel_orientation_quirks snd_pcm snd_timer snd wmi soundcore evdev acpi_cpufreq loop
Jun  5 08:43:21 callisto kernel: CPU: 1 PID: 1799 Comm: Xorg Tainted: G        W  O      4.17.0 #1
Jun  5 08:43:21 callisto kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA770T-UD3/GA-MA770T-UD3, BIOS F8 10/18/2010
Jun  5 08:43:21 callisto kernel: RIP: 0010:generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 08:43:21 callisto kernel: RSP: 0018:ffffc900002bb8a0 EFLAGS: 00010297
Jun  5 08:43:21 callisto kernel: RAX: 0000000000000074 RBX: 000000000000000a RCX: 0000000000000000
Jun  5 08:43:21 callisto kernel: RDX: ffff88023fc9bea0 RSI: ffff88023fc95158 RDI: ffff88023fc95158
Jun  5 08:43:21 callisto kernel: RBP: 0000000000000010 R08: 00000000000003c0 R09: 0000000000010200
Jun  5 08:43:21 callisto kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff880234790380
Jun  5 08:43:21 callisto kernel: R13: 0000000000000bb9 R14: 0000000000010000 R15: 0000000000000000
Jun  5 08:43:21 callisto kernel: FS:  00007f242ef01d40(0000) GS:ffff88023fc80000(0000) knlGS:0000000000000000
Jun  5 08:43:21 callisto kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun  5 08:43:21 callisto kernel: CR2: 00007f31ca288060 CR3: 0000000221bd0000 CR4: 00000000000006e0
Jun  5 08:43:21 callisto kernel: Call Trace:
Jun  5 08:43:21 callisto kernel:  dce110_stream_encoder_dp_blank+0x12a/0x190 [amdgpu]
Jun  5 08:43:21 callisto kernel:  core_link_disable_stream+0x53/0x270 [amdgpu]
Jun  5 08:43:21 callisto kernel:  dce110_reset_hw_ctx_wrap+0xb1/0x1c0 [amdgpu]
Jun  5 08:43:21 callisto kernel:  dce110_apply_ctx_to_hw+0x3b/0x8f0 [amdgpu]
Jun  5 08:43:21 callisto kernel:  ? amdgpu_pm_compute_clocks+0x87/0x4c0 [amdgpu]
Jun  5 08:43:21 callisto kernel:  dc_commit_state+0x2db/0x570 [amdgpu]
Jun  5 08:43:21 callisto kernel:  ? dc_stream_get_scanoutpos+0x4e/0x60 [amdgpu]
Jun  5 08:43:21 callisto kernel:  ? dm_crtc_get_scanoutpos+0x51/0x90 [amdgpu]
Jun  5 08:43:21 callisto kernel:  ? drm_calc_timestamping_constants+0xf3/0x180 [drm]
Jun  5 08:43:21 callisto kernel:  amdgpu_dm_atomic_commit_tail+0x33d/0xcd0 [amdgpu]
Jun  5 08:43:21 callisto kernel:  ? amdgpu_bo_pin_restricted+0x1cc/0x2b0 [amdgpu]
Jun  5 08:43:21 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 08:43:21 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 08:43:21 callisto kernel:  commit_tail+0x38/0x70 [drm_kms_helper]
Jun  5 08:43:21 callisto kernel:  drm_atomic_helper_commit+0x11d/0x130 [drm_kms_helper]
Jun  5 08:43:21 callisto kernel:  drm_atomic_connector_commit_dpms+0xe9/0x120 [drm]
Jun  5 08:43:21 callisto kernel:  drm_mode_obj_set_property_ioctl+0x152/0x250 [drm]
Jun  5 08:43:21 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 08:43:21 callisto kernel:  drm_mode_connector_property_set_ioctl+0x24/0x30 [drm]
Jun  5 08:43:21 callisto kernel:  drm_ioctl_kernel+0x6b/0xd0 [drm]
Jun  5 08:43:21 callisto kernel:  ? __switch_to_asm+0x30/0x60
Jun  5 08:43:21 callisto kernel:  drm_ioctl+0x1a3/0x380 [drm]
Jun  5 08:43:21 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 08:43:21 callisto kernel:  ? schedule_hrtimeout_range_clock+0x99/0x100
Jun  5 08:43:21 callisto kernel:  ? hrtimer_init+0x10/0x10
Jun  5 08:43:21 callisto kernel:  do_vfs_ioctl+0xa0/0x610
Jun  5 08:43:21 callisto kernel:  ? wake_up_q+0x70/0x70
Jun  5 08:43:21 callisto kernel:  ? __fget+0x69/0xa0
Jun  5 08:43:21 callisto kernel:  ksys_ioctl+0x46/0x90
Jun  5 08:43:21 callisto kernel:  __x64_sys_ioctl+0x11/0x20
Jun  5 08:43:21 callisto kernel:  do_syscall_64+0x4a/0xf0
Jun  5 08:43:21 callisto kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jun  5 08:43:21 callisto kernel: RIP: 0033:0x7f242cd0f297
Jun  5 08:43:21 callisto kernel: RSP: 002b:00007fff03225048 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
Jun  5 08:43:21 callisto kernel: RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f242cd0f297
Jun  5 08:43:21 callisto kernel: RDX: 00007fff03225080 RSI: 00000000c01064ab RDI: 000000000000000e
Jun  5 08:43:21 callisto kernel: RBP: 00007fff03225080 R08: 00299a7f3494cf4e R09: 00007fff032e8080
Jun  5 08:43:21 callisto kernel: R10: 00000000002d4162 R11: 0000000000003246 R12: 00000000c01064ab
Jun  5 08:43:21 callisto kernel: R13: 000000000000000e R14: 0000000000000000 R15: 000000000083ae60
Jun  5 08:43:21 callisto kernel: Code: 24 58 48 8b 4c 24 50 89 de 8b 54 24 48 48 c7 c7 88 9b 32 a0 44 89 4c 24 08 e8 ac 5d e3 ff 41 83 7c 24 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 
Jun  5 08:43:21 callisto kernel: ---[ end trace 4b1f1f277b56213f ]---
Jun  5 08:52:38 callisto kernel: [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3000 tries - dce110_stream_encoder_dp_blank line:956
Jun  5 08:52:38 callisto kernel: WARNING: CPU: 0 PID: 1799 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195 generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 08:52:38 callisto kernel: Modules linked in: lz4 lz4_compress zram it87 hwmon_vid vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cpufreq_ondemand ext4 crc16 mbcache jbd2 i2c_dev wmi_bmof amdgpu snd_hda_codec_realtek snd_hda_codec_generic chash gpu_sched drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops snd_hda_intel ttm snd_hda_codec sundance snd_hwdep k10temp drm mii snd_hda_core drm_panel_orientation_quirks snd_pcm snd_timer snd wmi soundcore evdev acpi_cpufreq loop
Jun  5 08:52:38 callisto kernel: CPU: 0 PID: 1799 Comm: Xorg Tainted: G        W  O      4.17.0 #1
Jun  5 08:52:38 callisto kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA770T-UD3/GA-MA770T-UD3, BIOS F8 10/18/2010
Jun  5 08:52:38 callisto kernel: RIP: 0010:generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 08:52:38 callisto kernel: RSP: 0018:ffffc900002bb8a0 EFLAGS: 00010297
Jun  5 08:52:38 callisto kernel: RAX: 0000000000000074 RBX: 000000000000000a RCX: 0000000000000000
Jun  5 08:52:38 callisto kernel: RDX: ffff88023fc1bea0 RSI: ffff88023fc15158 RDI: ffff88023fc15158
Jun  5 08:52:38 callisto kernel: RBP: 0000000000000010 R08: 00000000000003fc R09: 0000000000010200
Jun  5 08:52:38 callisto kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff880234790380
Jun  5 08:52:38 callisto kernel: R13: 0000000000000bb9 R14: 0000000000010000 R15: 0000000000000000
Jun  5 08:52:38 callisto kernel: FS:  00007f242ef01d40(0000) GS:ffff88023fc00000(0000) knlGS:0000000000000000
Jun  5 08:52:38 callisto kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun  5 08:52:38 callisto kernel: CR2: 0000000002c7e708 CR3: 0000000221bd0000 CR4: 00000000000006f0
Jun  5 08:52:38 callisto kernel: Call Trace:
Jun  5 08:52:38 callisto kernel:  dce110_stream_encoder_dp_blank+0x12a/0x190 [amdgpu]
Jun  5 08:52:38 callisto kernel:  core_link_disable_stream+0x53/0x270 [amdgpu]
Jun  5 08:52:38 callisto kernel:  dce110_reset_hw_ctx_wrap+0xb1/0x1c0 [amdgpu]
Jun  5 08:52:38 callisto kernel:  dce110_apply_ctx_to_hw+0x3b/0x8f0 [amdgpu]
Jun  5 08:52:38 callisto kernel:  ? pplib_apply_display_requirements+0x17a/0x1a0 [amdgpu]
Jun  5 08:52:38 callisto kernel:  dc_commit_state+0x2db/0x570 [amdgpu]
Jun  5 08:52:38 callisto kernel:  ? dc_stream_get_scanoutpos+0x4e/0x60 [amdgpu]
Jun  5 08:52:38 callisto kernel:  ? dm_crtc_get_scanoutpos+0x51/0x90 [amdgpu]
Jun  5 08:52:38 callisto kernel:  ? drm_calc_timestamping_constants+0xf3/0x180 [drm]
Jun  5 08:52:38 callisto kernel:  amdgpu_dm_atomic_commit_tail+0x33d/0xcd0 [amdgpu]
Jun  5 08:52:38 callisto kernel:  ? amdgpu_bo_pin_restricted+0x1cc/0x2b0 [amdgpu]
Jun  5 08:52:38 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 08:52:38 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 08:52:38 callisto kernel:  commit_tail+0x38/0x70 [drm_kms_helper]
Jun  5 08:52:38 callisto kernel:  drm_atomic_helper_commit+0x11d/0x130 [drm_kms_helper]
Jun  5 08:52:38 callisto kernel:  drm_atomic_connector_commit_dpms+0xe9/0x120 [drm]
Jun  5 08:52:38 callisto kernel:  drm_mode_obj_set_property_ioctl+0x152/0x250 [drm]
Jun  5 08:52:38 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 08:52:38 callisto kernel:  drm_mode_connector_property_set_ioctl+0x24/0x30 [drm]
Jun  5 08:52:38 callisto kernel:  drm_ioctl_kernel+0x6b/0xd0 [drm]
Jun  5 08:52:38 callisto kernel:  drm_ioctl+0x1a3/0x380 [drm]
Jun  5 08:52:38 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 08:52:38 callisto kernel:  ? ep_scan_ready_list.constprop.6+0x1aa/0x1d0
Jun  5 08:52:38 callisto kernel:  ? sock_poll+0x80/0xa0
Jun  5 08:52:38 callisto kernel:  ? ep_item_poll.isra.1+0x41/0xb0
Jun  5 08:52:38 callisto kernel:  do_vfs_ioctl+0xa0/0x610
Jun  5 08:52:38 callisto kernel:  ? __fget+0x69/0xa0
Jun  5 08:52:38 callisto kernel:  ksys_ioctl+0x46/0x90
Jun  5 08:52:38 callisto kernel:  __x64_sys_ioctl+0x11/0x20
Jun  5 08:52:38 callisto kernel:  do_syscall_64+0x4a/0xf0
Jun  5 08:52:38 callisto kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jun  5 08:52:38 callisto kernel: RIP: 0033:0x7f242cd0f297
Jun  5 08:52:38 callisto kernel: RSP: 002b:00007fff03224d88 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
Jun  5 08:52:38 callisto kernel: RAX: ffffffffffffffda RBX: 0000000002423ae0 RCX: 00007f242cd0f297
Jun  5 08:52:38 callisto kernel: RDX: 00007fff03224dc0 RSI: 00000000c01064ab RDI: 000000000000000e
Jun  5 08:52:38 callisto kernel: RBP: 00007fff03224dc0 R08: 0000000000000001 R09: 0000000000000005
Jun  5 08:52:38 callisto kernel: R10: 0000000002cc1aa0 R11: 0000000000003246 R12: 00000000c01064ab
Jun  5 08:52:38 callisto kernel: R13: 000000000000000e R14: 0000000002423f00 R15: 0000000002421800
Jun  5 08:52:38 callisto kernel: Code: 24 58 48 8b 4c 24 50 89 de 8b 54 24 48 48 c7 c7 88 9b 32 a0 44 89 4c 24 08 e8 ac 5d e3 ff 41 83 7c 24 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 
Jun  5 08:52:38 callisto kernel: ---[ end trace 4b1f1f277b562140 ]---


--- cut ---

Jun  5 09:41:52 callisto kernel: [drm:generic_reg_wait [amdgpu]] *ERROR* REG_WAIT timeout 10us * 3000 tries - dce110_stream_encoder_dp_blank line:956
Jun  5 09:41:52 callisto kernel: WARNING: CPU: 1 PID: 1822 at drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:195 generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 09:41:52 callisto kernel: Modules linked in: lz4 lz4_compress zram it87 hwmon_vid vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) cpufreq_ondemand ext4 crc16 mbcache jbd2 i2c_dev wmi_bmof amdgpu chash gpu_sched snd_hda_codec_realtek drm_kms_helper syscopyarea snd_hda_codec_generic sysfillrect sysimgblt fb_sys_fops ttm snd_hda_intel sundance snd_hda_codec k10temp mii drm snd_hwdep snd_hda_core drm_panel_orientation_quirks snd_pcm snd_timer snd soundcore wmi evdev acpi_cpufreq loop
Jun  5 09:41:52 callisto kernel: CPU: 1 PID: 1822 Comm: Xorg Tainted: G           O      4.17.0 #1
Jun  5 09:41:52 callisto kernel: Hardware name: Gigabyte Technology Co., Ltd. GA-MA770T-UD3/GA-MA770T-UD3, BIOS F8 10/18/2010
Jun  5 09:41:52 callisto kernel: RIP: 0010:generic_reg_wait+0xe1/0x160 [amdgpu]
Jun  5 09:41:52 callisto kernel: RSP: 0018:ffffc900004178a0 EFLAGS: 00010297
Jun  5 09:41:52 callisto kernel: RAX: 0000000000000074 RBX: 000000000000000a RCX: 0000000000000000
Jun  5 09:41:52 callisto kernel: RDX: ffff88023fc9bea0 RSI: ffff88023fc95158 RDI: ffff88023fc95158
Jun  5 09:41:52 callisto kernel: RBP: 0000000000000010 R08: 000000000000032c R09: 0000000000010200
Jun  5 09:41:52 callisto kernel: R10: 0000000000000000 R11: 0000000000000001 R12: ffff8802369d0780
Jun  5 09:41:52 callisto kernel: R13: 0000000000000bb9 R14: 0000000000010000 R15: 0000000000000000
Jun  5 09:41:52 callisto kernel: FS:  00007f5ac52f0d40(0000) GS:ffff88023fc80000(0000) knlGS:0000000000000000
Jun  5 09:41:52 callisto kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jun  5 09:41:52 callisto kernel: CR2: 00007f5410022000 CR3: 000000023096a000 CR4: 00000000000006e0
Jun  5 09:41:52 callisto kernel: Call Trace:
Jun  5 09:41:52 callisto kernel:  dce110_stream_encoder_dp_blank+0x12a/0x190 [amdgpu]
Jun  5 09:41:52 callisto kernel:  core_link_disable_stream+0x53/0x270 [amdgpu]
Jun  5 09:41:52 callisto kernel:  dce110_reset_hw_ctx_wrap+0xb1/0x1c0 [amdgpu]
Jun  5 09:41:52 callisto kernel:  dce110_apply_ctx_to_hw+0x3b/0x8f0 [amdgpu]
Jun  5 09:41:52 callisto kernel:  ? amdgpu_pm_compute_clocks+0x87/0x4c0 [amdgpu]
Jun  5 09:41:52 callisto kernel:  dc_commit_state+0x2db/0x570 [amdgpu]
Jun  5 09:41:52 callisto kernel:  ? dc_stream_get_scanoutpos+0x4e/0x60 [amdgpu]
Jun  5 09:41:52 callisto kernel:  ? dm_crtc_get_scanoutpos+0x51/0x90 [amdgpu]
Jun  5 09:41:52 callisto kernel:  ? drm_calc_timestamping_constants+0xf3/0x180 [drm]
Jun  5 09:41:52 callisto kernel:  amdgpu_dm_atomic_commit_tail+0x33d/0xcd0 [amdgpu]
Jun  5 09:41:52 callisto kernel:  ? amdgpu_bo_pin_restricted+0x1cc/0x2b0 [amdgpu]
Jun  5 09:41:52 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 09:41:52 callisto kernel:  ? wait_for_common+0x111/0x190
Jun  5 09:41:52 callisto kernel:  commit_tail+0x38/0x70 [drm_kms_helper]
Jun  5 09:41:52 callisto kernel:  drm_atomic_helper_commit+0x11d/0x130 [drm_kms_helper]
Jun  5 09:41:52 callisto kernel:  drm_atomic_connector_commit_dpms+0xe9/0x120 [drm]
Jun  5 09:41:52 callisto kernel:  drm_mode_obj_set_property_ioctl+0x152/0x250 [drm]
Jun  5 09:41:52 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 09:41:52 callisto kernel:  drm_mode_connector_property_set_ioctl+0x24/0x30 [drm]
Jun  5 09:41:52 callisto kernel:  drm_ioctl_kernel+0x6b/0xd0 [drm]
Jun  5 09:41:52 callisto kernel:  drm_ioctl+0x1a3/0x380 [drm]
Jun  5 09:41:52 callisto kernel:  ? drm_mode_connector_set_obj_prop+0xa0/0xa0 [drm]
Jun  5 09:41:52 callisto kernel:  ? ep_scan_ready_list.constprop.6+0x1aa/0x1d0
Jun  5 09:41:52 callisto kernel:  ? sock_poll+0x80/0xa0
Jun  5 09:41:52 callisto kernel:  ? ep_item_poll.isra.1+0x41/0xb0
Jun  5 09:41:52 callisto kernel:  do_vfs_ioctl+0xa0/0x610
Jun  5 09:41:52 callisto kernel:  ? __fget+0x69/0xa0
Jun  5 09:41:52 callisto kernel:  ksys_ioctl+0x46/0x90
Jun  5 09:41:52 callisto kernel:  __x64_sys_ioctl+0x11/0x20
Jun  5 09:41:52 callisto kernel:  do_syscall_64+0x4a/0xf0
Jun  5 09:41:52 callisto kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jun  5 09:41:52 callisto kernel: RIP: 0033:0x7f5ac30fe297
Jun  5 09:41:52 callisto kernel: RSP: 002b:00007fffb1f45478 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
Jun  5 09:41:52 callisto kernel: RAX: ffffffffffffffda RBX: 0000000001bcbae0 RCX: 00007f5ac30fe297
Jun  5 09:41:52 callisto kernel: RDX: 00007fffb1f454b0 RSI: 00000000c01064ab RDI: 000000000000000e
Jun  5 09:41:52 callisto kernel: RBP: 00007fffb1f454b0 R08: 0000000000000001 R09: 0000000000000005
Jun  5 09:41:52 callisto kernel: R10: 00000000023835b0 R11: 0000000000003246 R12: 00000000c01064ab
Jun  5 09:41:52 callisto kernel: R13: 000000000000000e R14: 0000000001bcbf00 R15: 0000000001bc9800
Jun  5 09:41:52 callisto kernel: Code: 24 58 48 8b 4c 24 50 89 de 8b 54 24 48 48 c7 c7 88 db 34 a0 44 89 4c 24 08 e8 ac 5d df ff 41 83 7c 24 20 01 44 8b 4c 24 08 74 02 <0f> 0b 48 83 c4 10 44 89 c8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 
Jun  5 09:41:52 callisto kernel: ---[ end trace a6cd9bfc6e28f158 ]---





My system:
Kernel: 4.17.0
DE: KDE Plasma
CPU AMD Phenom(tm) II X4 965 Processor
GPU: AMD Radeon RX550 (monitor connected vis Display Port)
Comment 2 Martin 2018-06-06 09:00:56 UTC
After adding amdgpu.dc=0 to kernel command line the system hasn't experienced any crashes and there were no error messages like the ones I mentioned earlier.
Comment 3 mj.wilson.uk 2018-09-25 14:18:38 UTC
I think I'm also seeing the same problem with hard system freezes.  However, I'm unable to get the dmesg output from journald on reboot - it complains it's corrupt.

However, I do get warning messages with similar stack traces to the ones above, often when changing from virtual console to X, or when the monitors wake up after sleep.