From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105018] Kernel panic when waking up after screen goes blank. Date: Thu, 05 Jul 2018 05:56:23 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0220188530==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 93F806EC19 for ; Thu, 5 Jul 2018 05:56:23 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0220188530== Content-Type: multipart/alternative; boundary="15307701835.aC2B.8141" Content-Transfer-Encoding: 7bit --15307701835.aC2B.8141 Date: Thu, 5 Jul 2018 05:56:23 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105018 --- Comment #37 from L.S.S. --- Attempted to lock the screen and leave it blank for a while to see what happens, and it seems for the first time there are still errors related to VBLANK, but they appear minor as the system woke up just fine. I tried letting the screen blank twice this time, and the errors did not sh= ow up the second time. Only during first time did the errors appear, though th= is is probably not enough to prove much. But still, I don't see that kernel bug this time so that must have been fixed. I'm yet to assess whether the bug can no longer be reproduced as I've been avoiding having to leave the screen blank, as back then this bug has caused losses of unsaved work and other problems due to the crash. Jul 05 13:35:42 linuxsys kernel: [drm:dm_logger_write [amdgpu]] *ERROR* Fai= led to get VBLANK! Jul 05 13:35:55 linuxsys blueman-mechanism[2281]: Exiting Jul 05 13:36:02 linuxsys kernel: [drm:dm_logger_write [amdgpu]] *ERROR* Fai= led to get VBLANK! Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO= R* dc_stream_state is NULL for crtc '1'! Jul 05 13:36:22 linuxsys kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERR= OR* dc_stream_state is NULL for crtc '1'! Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO= R* dc_stream_state is NULL for crtc '1'! Jul 05 13:36:22 linuxsys kernel: WARNING: CPU: 14 PID: 1998 at drivers/gpu/drm/drm_vblank.c:620 drm_calc_vbltimestamp_from_scanoutpos+0x2af/0x2f0 [drm] Jul 05 13:36:22 linuxsys kernel: Modules linked in: cmac rfcomm fuse bnep vmnet(O) nls_iso8859_1 nls_cp437 vfat fat arc4 amdkfd amd_iommu_v2 amdgpu iwlmvm chash gpu_sched i2c_algo_bit ttm mac80211 drm_kms_helper btusb uvcvi= deo btrtl iwlwif> Jul 05 13:36:22 linuxsys kernel: glue_helper pcspkr k10temp i2c_piix4 rtc_= cmos shpchp tpm_tis_core battery ac tpm wmi rng_core asus_wireless gpio_amdpt i2c_hid pinctrl_amd evdev mac_hid acpi_cpufreq vmmon(O) vmw_vmci vboxnetflt= (O) vboxnet> Jul 05 13:36:22 linuxsys kernel: CPU: 14 PID: 1998 Comm: xfwm4 Tainted: G= =20=20=20=20=20=20 O 4.17.3-1-MANJARO #1 Jul 05 13:36:22 linuxsys kernel: Hardware name: ASUSTeK COMPUTER INC. GL702ZC/GL702ZC, BIOS GL702ZC.303 12/15/2017 Jul 05 13:36:22 linuxsys kernel: RIP: 0010:drm_calc_vbltimestamp_from_scanoutpos+0x2af/0x2f0 [drm] Jul 05 13:36:22 linuxsys kernel: RSP: 0018:ffff9bae0b6d7b38 EFLAGS: 00010082 Jul 05 13:36:22 linuxsys kernel: RAX: ffffffffc114e400 RBX: ffff8f4ff7840800 RCX: 0000000000000000 Jul 05 13:36:22 linuxsys kernel: RDX: 0000000000000001 RSI: ffffffffc0e128a0 RDI: 0000000000000001 Jul 05 13:36:22 linuxsys kernel: RBP: ffff9bae0b6d7b98 R08: 0000000000000000 R09: ffffffffc0df1770 Jul 05 13:36:22 linuxsys kernel: R10: 0000000000000000 R11: ffffffffc0f814d0 R12: 0000000000000001 Jul 05 13:36:22 linuxsys kernel: R13: ffff8f4fe8eb01d8 R14: ffff8f4fe8eb0000 R15: ffff9bae0b6d7bac Jul 05 13:36:22 linuxsys kernel: FS: 00007f4c76bcdfc0(0000) GS:ffff8f4ffe980000(0000) knlGS:0000000000000000 Jul 05 13:36:22 linuxsys kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Jul 05 13:36:22 linuxsys kernel: CR2: 00007f8de800bf98 CR3: 00000007520fc000 CR4: 00000000003406e0 Jul 05 13:36:22 linuxsys kernel: Call Trace: Jul 05 13:36:22 linuxsys kernel: drm_get_last_vbltimestamp+0x78/0x90 [drm] Jul 05 13:36:22 linuxsys kernel: drm_update_vblank_count+0x79/0x230 [drm] Jul 05 13:36:22 linuxsys kernel: drm_vblank_enable+0x101/0x120 [drm] Jul 05 13:36:22 linuxsys kernel: drm_vblank_get+0x8d/0xb0 [drm] Jul 05 13:36:22 linuxsys kernel: drm_wait_vblank_ioctl+0x138/0x630 [drm] Jul 05 13:36:22 linuxsys kernel: ? import_iovec+0x37/0xd0 Jul 05 13:36:22 linuxsys kernel: ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm] Jul 05 13:36:22 linuxsys kernel: drm_ioctl_kernel+0x5b/0xb0 [drm] Jul 05 13:36:22 linuxsys kernel: drm_ioctl+0x1b7/0x370 [drm] Jul 05 13:36:22 linuxsys kernel: ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm] Jul 05 13:36:22 linuxsys kernel: ? do_iter_write+0xdc/0x190 Jul 05 13:36:22 linuxsys kernel: amdgpu_drm_ioctl+0x49/0x80 [amdgpu] Jul 05 13:36:22 linuxsys kernel: do_vfs_ioctl+0xa4/0x610 Jul 05 13:36:22 linuxsys kernel: ? __sys_recvmsg+0x83/0xa0 Jul 05 13:36:22 linuxsys kernel: ksys_ioctl+0x60/0x90 Jul 05 13:36:22 linuxsys kernel: __x64_sys_ioctl+0x16/0x20 Jul 05 13:36:22 linuxsys kernel: do_syscall_64+0x5b/0x170 Jul 05 13:36:22 linuxsys kernel: entry_SYSCALL_64_after_hwframe+0x44/0xa9 Jul 05 13:36:22 linuxsys kernel: RIP: 0033:0x7f4c731df667 Jul 05 13:36:22 linuxsys kernel: RSP: 002b:00007ffcd9a51ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 Jul 05 13:36:22 linuxsys kernel: RAX: ffffffffffffffda RBX: 00007ffcd9a51b10 RCX: 00007f4c731df667 Jul 05 13:36:22 linuxsys kernel: RDX: 00007ffcd9a51b10 RSI: 00000000c018643a RDI: 000000000000000c Jul 05 13:36:22 linuxsys kernel: RBP: 00000000017bde80 R08: 0000000001000109 R09: 0000000000000000 Jul 05 13:36:22 linuxsys kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c018643a Jul 05 13:36:22 linuxsys kernel: R13: 00000000010037c3 R14: 000000000189dd10 R15: 0000000000000000 Jul 05 13:36:22 linuxsys kernel: Code: e9 af fd ff ff 44 89 e2 48 c7 c6 a0 = 28 e1 c0 bf 01 00 00 00 e8 53 ea ff ff 48 8b 83 98 03 00 00 48 83 78 28 00 0f = 84 89 fd ff ff <0f> 0b 45 31 f6 e9 82 fd ff ff 48 c7 c7 68 28 e1 c0 45 31 f6 e= 8=20 Jul 05 13:36:22 linuxsys kernel: ---[ end trace e82ad29a813c3d81 ]--- Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO= R* dc_stream_state is NULL for crtc '1'! Jul 05 13:36:22 linuxsys kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERR= OR* dc_stream_state is NULL for crtc '1'! Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO= R* dc_stream_state is NULL for crtc '1'! --=20 You are receiving this mail because: You are the assignee for the bug.= --15307701835.aC2B.8141 Date: Thu, 5 Jul 2018 05:56:23 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 37 on bug 10501= 8 from L.S.S.
Attempted to lock the screen and leave it blank for a while to=
 see what
happens, and it seems for the first time there are still errors related to
VBLANK, but they appear minor as the system woke up just fine.

I tried letting the screen blank twice this time, and the errors did not sh=
ow
up the second time. Only during first time did the errors appear, though th=
is
is probably not enough to prove much. But still, I don't see that kernel bug
this time so that must have been fixed.

I'm yet to assess whether the bug can no longer be reproduced as I've been
avoiding having to leave the screen blank, as back then this bug has caused
losses of unsaved work and other problems due to the crash.

Jul 05 13:35:42 linuxsys kernel: [drm:dm_logger_write [amdgpu]] *ERROR* Fai=
led
to get VBLANK!
Jul 05 13:35:55 linuxsys blueman-mechanism[2281]: Exiting
Jul 05 13:36:02 linuxsys kernel: [drm:dm_logger_write [amdgpu]] *ERROR* Fai=
led
to get VBLANK!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO=
R*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERR=
OR*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO=
R*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: WARNING: CPU: 14 PID: 1998 at
drivers/gpu/drm/drm_vblank.c:620
drm_calc_vbltimestamp_from_scanoutpos+0x2af/0x2f0 [drm]
Jul 05 13:36:22 linuxsys kernel: Modules linked in: cmac rfcomm fuse bnep
vmnet(O) nls_iso8859_1 nls_cp437 vfat fat arc4 amdkfd amd_iommu_v2 amdgpu
iwlmvm chash gpu_sched i2c_algo_bit ttm mac80211 drm_kms_helper btusb uvcvi=
deo
btrtl iwlwif>
Jul 05 13:36:22 linuxsys kernel:  glue_helper pcspkr k10temp i2c_piix4 rtc_=
cmos
shpchp tpm_tis_core battery ac tpm wmi rng_core asus_wireless gpio_amdpt
i2c_hid pinctrl_amd evdev mac_hid acpi_cpufreq vmmon(O) vmw_vmci vboxnetflt=
(O)
vboxnet>
Jul 05 13:36:22 linuxsys kernel: CPU: 14 PID: 1998 Comm: xfwm4 Tainted: G=
=20=20=20=20=20=20
    O      4.17.3-1-MANJARO #1
Jul 05 13:36:22 linuxsys kernel: Hardware name: ASUSTeK COMPUTER INC.
GL702ZC/GL702ZC, BIOS GL702ZC.303 12/15/2017
Jul 05 13:36:22 linuxsys kernel: RIP:
0010:drm_calc_vbltimestamp_from_scanoutpos+0x2af/0x2f0 [drm]
Jul 05 13:36:22 linuxsys kernel: RSP: 0018:ffff9bae0b6d7b38 EFLAGS: 00010082
Jul 05 13:36:22 linuxsys kernel: RAX: ffffffffc114e400 RBX: ffff8f4ff7840800
RCX: 0000000000000000
Jul 05 13:36:22 linuxsys kernel: RDX: 0000000000000001 RSI: ffffffffc0e128a0
RDI: 0000000000000001
Jul 05 13:36:22 linuxsys kernel: RBP: ffff9bae0b6d7b98 R08: 0000000000000000
R09: ffffffffc0df1770
Jul 05 13:36:22 linuxsys kernel: R10: 0000000000000000 R11: ffffffffc0f814d0
R12: 0000000000000001
Jul 05 13:36:22 linuxsys kernel: R13: ffff8f4fe8eb01d8 R14: ffff8f4fe8eb0000
R15: ffff9bae0b6d7bac
Jul 05 13:36:22 linuxsys kernel: FS:  00007f4c76bcdfc0(0000)
GS:ffff8f4ffe980000(0000) knlGS:0000000000000000
Jul 05 13:36:22 linuxsys kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Jul 05 13:36:22 linuxsys kernel: CR2: 00007f8de800bf98 CR3: 00000007520fc000
CR4: 00000000003406e0
Jul 05 13:36:22 linuxsys kernel: Call Trace:
Jul 05 13:36:22 linuxsys kernel:  drm_get_last_vbltimestamp+0x78/0x90 [drm]
Jul 05 13:36:22 linuxsys kernel:  drm_update_vblank_count+0x79/0x230 [drm]
Jul 05 13:36:22 linuxsys kernel:  drm_vblank_enable+0x101/0x120 [drm]
Jul 05 13:36:22 linuxsys kernel:  drm_vblank_get+0x8d/0xb0 [drm]
Jul 05 13:36:22 linuxsys kernel:  drm_wait_vblank_ioctl+0x138/0x630 [drm]
Jul 05 13:36:22 linuxsys kernel:  ? import_iovec+0x37/0xd0
Jul 05 13:36:22 linuxsys kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100
[drm]
Jul 05 13:36:22 linuxsys kernel:  drm_ioctl_kernel+0x5b/0xb0 [drm]
Jul 05 13:36:22 linuxsys kernel:  drm_ioctl+0x1b7/0x370 [drm]
Jul 05 13:36:22 linuxsys kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100
[drm]
Jul 05 13:36:22 linuxsys kernel:  ? do_iter_write+0xdc/0x190
Jul 05 13:36:22 linuxsys kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
Jul 05 13:36:22 linuxsys kernel:  do_vfs_ioctl+0xa4/0x610
Jul 05 13:36:22 linuxsys kernel:  ? __sys_recvmsg+0x83/0xa0
Jul 05 13:36:22 linuxsys kernel:  ksys_ioctl+0x60/0x90
Jul 05 13:36:22 linuxsys kernel:  __x64_sys_ioctl+0x16/0x20
Jul 05 13:36:22 linuxsys kernel:  do_syscall_64+0x5b/0x170
Jul 05 13:36:22 linuxsys kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul 05 13:36:22 linuxsys kernel: RIP: 0033:0x7f4c731df667
Jul 05 13:36:22 linuxsys kernel: RSP: 002b:00007ffcd9a51ae8 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
Jul 05 13:36:22 linuxsys kernel: RAX: ffffffffffffffda RBX: 00007ffcd9a51b10
RCX: 00007f4c731df667
Jul 05 13:36:22 linuxsys kernel: RDX: 00007ffcd9a51b10 RSI: 00000000c018643a
RDI: 000000000000000c
Jul 05 13:36:22 linuxsys kernel: RBP: 00000000017bde80 R08: 0000000001000109
R09: 0000000000000000
Jul 05 13:36:22 linuxsys kernel: R10: 0000000000000000 R11: 0000000000000246
R12: 00000000c018643a
Jul 05 13:36:22 linuxsys kernel: R13: 00000000010037c3 R14: 000000000189dd10
R15: 0000000000000000
Jul 05 13:36:22 linuxsys kernel: Code: e9 af fd ff ff 44 89 e2 48 c7 c6 a0 =
28
e1 c0 bf 01 00 00 00 e8 53 ea ff ff 48 8b 83 98 03 00 00 48 83 78 28 00 0f =
84
89 fd ff ff <0f> 0b 45 31 f6 e9 82 fd ff ff 48 c7 c7 68 28 e1 c0 45 3=
1 f6 e8=20
Jul 05 13:36:22 linuxsys kernel: ---[ end trace e82ad29a813c3d81 ]---
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO=
R*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERR=
OR*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERRO=
R*
dc_stream_state is NULL for crtc '1'!


You are receiving this mail because:
  • You are the assignee for the bug.
= --15307701835.aC2B.8141-- --===============0220188530== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0220188530==--