0 Replies Latest reply on Jul 5, 2018 10:02 AM by zerebubuth

    Crash on monitor wake-up in v18.20.2.15

    zerebubuth

      I'm having an issue that sounds similar to one from back in January, but under Linux rather than Windows. I upgraded to amdgpu v18.20.2.15, and started seeing that sometimes the display wouldn't come back from a wake from display-off. The machine keeps running, and I'm able to ssh into it (see dmesg snippet below) but it seems to need a reboot for the display to come back.

       

      I rolled back to 17.50-511655, and that seems fine for now.

       

      • OS: Ubuntu 16.04.4 LTS
      • Kernel: 4.15.0-24-generic #26~16.04.1-Ubuntu SMP x86_64
      • CPU: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
      • Motherboard: MSI MS-7758/Z77A-G43 (MS-7758), BIOS V2.13 03/07/2014
      • Graphics card: MSI RX 580 Armor 8GB (AMD POLARIS10)
      • Displays: LG 27UD68P, Acer S277HK (both connected via DisplayPort)

       

      Here's what dmesg said:

       

      [Thu Jul  5 15:05:16 2018] [drm] dce_get_required_clocks_state: clocks unsupported disp_clk 709776 pix_clk 533250
      [Thu Jul  5 15:05:17 2018] BUG: unable to handle kernel NULL pointer dereference at 0000000000000208
      [Thu Jul  5 15:05:17 2018] IP: create_stream_for_sink+0x27b/0x620 [amdgpu]
      [Thu Jul  5 15:05:17 2018] PGD 0 P4D 0 
      [Thu Jul  5 15:05:17 2018] Oops: 0000 [#1] SMP PTI
      [Thu Jul  5 15:05:17 2018] Modules linked in: snd_usb_audio hid_plantronics snd_usbmidi_lib xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 nfnetlink xfrm_user xfrm_algo iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack xt_addrtype overlay aufs ccm xfs libcrc32c nls_iso8859_1 arc4 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event iwlmvm snd_rawmidi mac80211 iwlwifi intel_rapl snd_seq x86_pkg_temp_thermal intel_powerclamp intel_cstate intel_rapl_perf snd_seq_device snd_timer joydev input_leds cfg80211 snd shpchp lpc_ich iptable_filter ip_tables soundcore mei_me mei kvm_intel ie31200_edac kvm irqbypass mac_hid intel_smartconnect ip6table_filter ip6_tables br_netfilter bridge stp llc
      [Thu Jul  5 15:05:17 2018]  arp_tables x_tables lm92 coretemp parport_pc ppdev lp parport autofs4 algif_skcipher af_alg hid_cherry dm_crypt hid_generic usbhid hid amdkfd(OE) amd_iommu_v2 amdgpu(OE) amdchash(OE) amd_sched(OE) amdttm(OE) crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 amdkcl(OE) i2c_algo_bit crypto_simd glue_helper cryptd drm_kms_helper syscopyarea sysfillrect sysimgblt ahci fb_sys_fops libahci r8169 drm mii wmi video
      [Thu Jul  5 15:05:17 2018] CPU: 1 PID: 1990 Comm: Xorg Tainted: G           OE    4.15.0-24-generic #26~16.04.1-Ubuntu
      [Thu Jul  5 15:05:17 2018] Hardware name: MSI MS-7758/Z77A-G43 (MS-7758), BIOS V2.13 03/07/2014
      [Thu Jul  5 15:05:17 2018] RIP: 0010:create_stream_for_sink+0x27b/0x620 [amdgpu]
      [Thu Jul  5 15:05:17 2018] RSP: 0018:ffffc13e0395b960 EFLAGS: 00010282
      [Thu Jul  5 15:05:17 2018] RAX: 0000000000000870 RBX: ffff9f5dc3336800 RCX: 0000000000000000
      [Thu Jul  5 15:05:17 2018] RDX: 0000000000000013 RSI: 0000000000000002 RDI: ffff9f5dc33368c0
      [Thu Jul  5 15:05:17 2018] RBP: ffffc13e0395baa0 R08: 0000000000000000 R09: 0000000000000f00
      [Thu Jul  5 15:05:17 2018] R10: ffff9f5dc3336800 R11: 0000000000000f00 R12: ffff9f5d1f599e00
      [Thu Jul  5 15:05:17 2018] R13: ffff9f5e6e07a000 R14: 0000000000000000 R15: ffff9f5e6f86d800
      [Thu Jul  5 15:05:17 2018] FS:  00007ff974504a00(0000) GS:ffff9f5e9ec80000(0000) knlGS:0000000000000000
      [Thu Jul  5 15:05:17 2018] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
      [Thu Jul  5 15:05:17 2018] CR2: 0000000000000208 CR3: 00000007f4520002 CR4: 00000000001606e0
      [Thu Jul  5 15:05:17 2018] Call Trace:
      [Thu Jul  5 15:05:17 2018]  ? _cond_resched+0x1a/0x50
      [Thu Jul  5 15:05:17 2018]  ? __ww_mutex_lock.isra.3+0x42/0x700
      [Thu Jul  5 15:05:17 2018]  ? drm_modeset_lock+0x39/0xb0 [drm]
      [Thu Jul  5 15:05:17 2018]  dm_update_crtcs_state+0x24f/0x430 [amdgpu]
      [Thu Jul  5 15:05:17 2018]  ? dm_update_crtcs_state+0x24f/0x430 [amdgpu]
      [Thu Jul  5 15:05:17 2018]  amdgpu_dm_atomic_check+0x320/0x540 [amdgpu]
      [Thu Jul  5 15:05:17 2018]  drm_atomic_check_only+0x456/0x570 [drm]
      [Thu Jul  5 15:05:17 2018]  drm_atomic_commit+0x18/0x60 [drm]
      [Thu Jul  5 15:05:17 2018]  drm_atomic_connector_commit_dpms+0xee/0x100 [drm]
      [Thu Jul  5 15:05:17 2018]  drm_mode_obj_set_property_ioctl+0x1c3/0x280 [drm]
      [Thu Jul  5 15:05:17 2018]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
      [Thu Jul  5 15:05:17 2018]  drm_mode_connector_property_set_ioctl+0x3f/0x60 [drm]
      [Thu Jul  5 15:05:17 2018]  drm_ioctl_kernel+0x6b/0xb0 [drm]
      [Thu Jul  5 15:05:17 2018]  drm_ioctl+0x3e4/0x450 [drm]
      [Thu Jul  5 15:05:17 2018]  ? drm_mode_connector_set_obj_prop+0x80/0x80 [drm]
      [Thu Jul  5 15:05:17 2018]  amdgpu_drm_ioctl+0x4c/0x80 [amdgpu]
      [Thu Jul  5 15:05:17 2018]  do_vfs_ioctl+0xa4/0x600
      [Thu Jul  5 15:05:17 2018]  SyS_ioctl+0x79/0x90
      [Thu Jul  5 15:05:17 2018]  do_syscall_64+0x73/0x130
      [Thu Jul  5 15:05:17 2018]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
      [Thu Jul  5 15:05:17 2018] RIP: 0033:0x7ff971f3af47
      [Thu Jul  5 15:05:17 2018] RSP: 002b:00007fff5a19bc68 EFLAGS: 00003202 ORIG_RAX: 0000000000000010
      [Thu Jul  5 15:05:17 2018] RAX: ffffffffffffffda RBX: 000055a4945fed30 RCX: 00007ff971f3af47
      [Thu Jul  5 15:05:17 2018] RDX: 00007fff5a19bd10 RSI: 00000000c01064ab RDI: 000000000000000d
      [Thu Jul  5 15:05:17 2018] RBP: 00007fff5a19bca0 R08: 000055a4945fbde0 R09: 0000000000000005
      [Thu Jul  5 15:05:17 2018] R10: 0000000000000028 R11: 0000000000003202 R12: 0000000000000000
      [Thu Jul  5 15:05:17 2018] R13: 000055a4945fbed0 R14: 000055a494ee20d0 R15: 000055a494608a01
      [Thu Jul  5 15:05:17 2018] Code: 00 00 48 8b 83 90 01 00 00 c7 80 2c 60 00 00 00 00 00 00 e8 e8 f9 ff ff 4d 8b b5 40 04 00 00 48 8d bb c0 00 00 00 ba 13 00 00 00 <41> 0f b7 86 08 02 00 00 49 8d b6 12 02 00 00 89 83 d4 00 00 00 
      [Thu Jul  5 15:05:17 2018] RIP: create_stream_for_sink+0x27b/0x620 [amdgpu] RSP: ffffc13e0395b960
      [Thu Jul  5 15:05:17 2018] CR2: 0000000000000208
      [Thu Jul  5 15:05:17 2018] ---[ end trace 540ecb9245009089 ]---
      

       

      Hope that helps! Let me know if there's more information I can provide to help pinpoint the problem.