[Bug 105018] Kernel panic when waking up after screen goes blank.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 5 05:56:23 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=105018

--- Comment #37 from L.S.S. <ragnaros39216 at yandex.com> ---
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 show
up the second time. Only during first time did the errors appear, though this
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* Failed
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* Failed
to get VBLANK!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERROR*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR*
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 uvcvideo
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      
    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 e8 
Jul 05 13:36:22 linuxsys kernel: ---[ end trace e82ad29a813c3d81 ]---
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERROR*
dc_stream_state is NULL for crtc '1'!
Jul 05 13:36:22 linuxsys kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR*
dc_stream_state is NULL for crtc '1'!

-- 
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/20180705/ddb022de/attachment.html>


More information about the dri-devel mailing list