AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Babutzka <martin.babutzka-BGeptl67XyCzQB+pC5nmwQ@public.gmane.org>
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Regression: Crash/freeze when resuming from suspend or locked screen
Date: Fri, 06 Oct 2017 18:43:13 +0200	[thread overview]
Message-ID: <1507308193.2877.4.camel@online.de> (raw)
In-Reply-To: <mailman.10603.1507217137.1832.amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 746 bytes --]

Hello there,

Sorry it is me again with another regression. I just built the latest
amd-staging-drm-next and the issue which was already reported here:
https://github.com/M-Bab/linux-kernel-amdgpu-binaries/issues/29
and which I can confirm is still existing.

The issue is caused occasionally when re-enabling the display from
either suspend or from a locked screen. The frozen image can be black,
a weird colorful pattern or the login screen. Attached you can find the
kernel crash+trace error I just caught.

So far I have no idea when it was exactly introduced. I asked the other
users if they are able to give me a time range I will try to bisect it.

My setup: Xubuntu 17.04, patched amd-staging-drm-next kernel, R9 380

Many regards,
Martin

[-- Attachment #2: crash_trace_resume.log --]
[-- Type: text/x-log, Size: 7562 bytes --]

Oct  6 17:52:45 Main-PC kernel: [   88.605940] BUG: unable to handle kernel NULL pointer dereference at           (null)
Oct  6 17:52:45 Main-PC kernel: [   88.606042] IP: dce110_vblank_set+0x59/0xb0 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606047] PGD 0 
Oct  6 17:52:45 Main-PC kernel: [   88.606049] P4D 0 
Oct  6 17:52:45 Main-PC kernel: [   88.606052] 
Oct  6 17:52:45 Main-PC kernel: [   88.606059] Oops: 0000 [#1] SMP
Oct  6 17:52:45 Main-PC kernel: [   88.606064] Modules linked in: rfcomm bnep binfmt_misc intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel dm_crypt kvm irqbypass crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel pcbc snd_seq_midi snd_seq_midi_event aesni_intel aes_x86_64 crypto_simd glue_helper cryptd snd_hda_codec_realtek intel_cstate intel_rapl_perf snd_hda_codec_generic snd_rawmidi snd_hda_codec_h
dmi snd_seq input_leds snd_hda_intel joydev serio_raw snd_hda_codec snd_hda_core snd_hwdep snd_seq_device snd_pcm snd_timer btusb snd btrtl soundcore mei_me shpchp mei hci_uart btbcm serdev btqca btintel bluetoo
th ecdh_generic intel_lpss_acpi intel_lpss mac_hid acpi_als tpm_infineon kfifo_buf acpi_pad industrialio parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic uas usb_storage usbhid amdkfd amd_iommu
_v2
Oct  6 17:52:45 Main-PC kernel: [   88.606147]  amdgpu chash i2c_algo_bit ttm drm_kms_helper e1000e syscopyarea sysfillrect sysimgblt fb_sys_fops ptp r8169 pps_core drm mii ahci libahci wmi pinctrl_sunrisepoint 
video i2c_hid pinctrl_intel hid
Oct  6 17:52:45 Main-PC kernel: [   88.606175] CPU: 6 PID: 1489 Comm: xfwm4 Tainted: G        W       4.13.5+ #1
Oct  6 17:52:45 Main-PC kernel: [   88.606178] Hardware name: Gigabyte Technology Co., Ltd. B250-HD3P/B250-HD3P-CF, BIOS F3 12/07/2016
Oct  6 17:52:45 Main-PC kernel: [   88.606182] task: ffff8a625429b900 task.stack: ffffae59c2fdc000
Oct  6 17:52:45 Main-PC kernel: [   88.606244] RIP: 0010:dce110_vblank_set+0x59/0xb0 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606247] RSP: 0018:ffffae59c2fdfb28 EFLAGS: 00010086
Oct  6 17:52:45 Main-PC kernel: [   88.606251] RAX: ffff8a623fe00000 RBX: 0000000000000001 RCX: 0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606254] RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606256] RBP: ffffae59c2fdfb50 R08: 0000000000000000 R09: 0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606259] R10: fffffffffffffff2 R11: 00000000fffffff2 R12: ffff8a6250d79c80
Oct  6 17:52:45 Main-PC kernel: [   88.606261] R13: ffff8a626bc18600 R14: ffffffffc04551e0 R15: ffff8a62508a4000
Oct  6 17:52:45 Main-PC kernel: [   88.606265] FS:  00007f5018552a80(0000) GS:ffff8a626ed80000(0000) knlGS:0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606268] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct  6 17:52:45 Main-PC kernel: [   88.606271] CR2: 0000000000000000 CR3: 00000004180c9000 CR4: 00000000003406e0
Oct  6 17:52:45 Main-PC kernel: [   88.606274] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606277] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct  6 17:52:45 Main-PC kernel: [   88.606279] Call Trace:
Oct  6 17:52:45 Main-PC kernel: [   88.606341]  dal_irq_service_set+0x6f/0x90 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606399]  dc_interrupt_set+0x24/0x30 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606473]  amdgpu_dm_set_crtc_irq_state+0x35/0x60 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606532]  amdgpu_irq_update+0x55/0xa0 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606588]  amdgpu_irq_get+0x49/0x60 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606629]  amdgpu_enable_vblank_kms+0x27/0x30 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606645]  drm_vblank_enable+0x84/0x100 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606658]  drm_vblank_get+0x92/0xb0 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606670]  drm_wait_vblank_ioctl+0xba/0x5b0 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606677]  ? import_iovec+0x3a/0xe0
Oct  6 17:52:45 Main-PC kernel: [   88.606684]  ? unix_stream_recvmsg+0x54/0x70
Oct  6 17:52:45 Main-PC kernel: [   88.606690]  ? unix_state_double_lock+0x70/0x70
Oct  6 17:52:45 Main-PC kernel: [   88.606702]  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606715]  drm_ioctl_kernel+0x69/0xb0 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606727]  drm_ioctl+0x33c/0x3f0 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606738]  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
Oct  6 17:52:45 Main-PC kernel: [   88.606780]  amdgpu_drm_ioctl+0x4f/0x90 [amdgpu]
Oct  6 17:52:45 Main-PC kernel: [   88.606787]  do_vfs_ioctl+0xa3/0x610
Oct  6 17:52:45 Main-PC kernel: [   88.606792]  ? __sys_recvmsg+0x51/0x90
Oct  6 17:52:45 Main-PC kernel: [   88.606795]  ? __sys_recvmsg+0x51/0x90
Oct  6 17:52:45 Main-PC kernel: [   88.606802]  SyS_ioctl+0x79/0x90
Oct  6 17:52:45 Main-PC kernel: [   88.606806]  entry_SYSCALL_64_fastpath+0x1e/0xa9
Oct  6 17:52:45 Main-PC kernel: [   88.606810] RIP: 0033:0x7f5014c6d587
Oct  6 17:52:45 Main-PC kernel: [   88.606813] RSP: 002b:00007ffe34170958 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Oct  6 17:52:45 Main-PC kernel: [   88.606817] RAX: ffffffffffffffda RBX: 0000562aec72b650 RCX: 00007f5014c6d587
Oct  6 17:52:45 Main-PC kernel: [   88.606820] RDX: 00007ffe341709d0 RSI: 00000000c018643a RDI: 0000000000000006
Oct  6 17:52:45 Main-PC kernel: [   88.606822] RBP: 00007ffe34170864 R08: 00000000006001e5 R09: 0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606825] R10: 00007ffe34170910 R11: 0000000000000246 R12: 0000562aec72b668
Oct  6 17:52:45 Main-PC kernel: [   88.606827] R13: 00007ffe34170868 R14: 0000000000000001 R15: 00007ffe34170770
Oct  6 17:52:45 Main-PC kernel: [   88.606831] Code: 84 db 74 34 83 e8 4e be 02 00 00 00 0f b6 d0 48 89 d0 48 c1 e0 04 48 29 d0 48 c1 e0 06 49 03 87 38 01 00 00 48 8b b8 68 02 00 00 <48> 8b 07 ff 90 d8 00 00 00 84 c0 74 1e 0f b6 d3 4c 89 f6 4c 89 
Oct  6 17:52:45 Main-PC kernel: [   88.606954] RIP: dce110_vblank_set+0x59/0xb0 [amdgpu] RSP: ffffae59c2fdfb28
Oct  6 17:52:45 Main-PC kernel: [   88.606957] CR2: 0000000000000000
Oct  6 17:52:45 Main-PC kernel: [   88.606961] ---[ end trace afd0d6685dd56a18 ]---
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

[-- Attachment #3: Type: text/plain, Size: 154 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2017-10-06 16:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.10603.1507217137.1832.amd-gfx@lists.freedesktop.org>
     [not found] ` <mailman.10603.1507217137.1832.amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>
2017-10-05 18:26   ` Tonga PRO [Radeon R9 285/380] [1002:6939] blank screen Martin Babutzka
     [not found]     ` <1507228004.5007.1.camel-BGeptl67XyCzQB+pC5nmwQ@public.gmane.org>
2017-10-05 18:28       ` Tom St Denis
2017-10-06 12:37       ` Steven Falco
     [not found]         ` <f52fce30-bdc9-ce80-b50b-4d2d4ffb0b9a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-06 12:57           ` Tom St Denis
     [not found]             ` <c3045ba5-ca9d-fabf-7ef9-ac7d29cdfb93-5C7GfCeVMHo@public.gmane.org>
2017-10-06 13:11               ` Steven Falco
2017-10-06 20:24       ` Steven Falco
2017-10-06 16:43   ` Martin Babutzka [this message]
     [not found]     ` <1507308193.2877.4.camel-BGeptl67XyCzQB+pC5nmwQ@public.gmane.org>
2017-10-10  6:55       ` Fwd: Regression: Crash/freeze when resuming from suspend or locked screen Martin Babutzka
     [not found]         ` <624136700.113676.1507618522363-NM1PAhYDU/Oo9dU1Uvar1Q@public.gmane.org>
2017-10-10 14:41           ` Deucher, Alexander
     [not found]             ` <CY4PR12MB16533EE2F12BC8E8BF9BD4EFF7750-rpdhrqHFk06apTa93KjAaQdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2017-10-10 15:01               ` Zhu, Rex

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507308193.2877.4.camel@online.de \
    --to=martin.babutzka-bgeptl67xyczqb+pc5nmwq@public.gmane.org \
    --cc=amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox