[Bug 199139] System freezes (kernel, amdgpu NULL pointer dereference) when video enters powersafe state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=199139

--- Comment #5 from Eduard (wirch.eduard@xxxxxxxxx) ---
But it causes follow up problems:

kernel: [drm:dm_logger_write [amdgpu]] *ERROR* Failed to get VBLANK!
kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR* dc_stream_state is NULL
for crtc '1'!
kernel: [drm:dm_crtc_get_scanoutpos [amdgpu]] *ERROR* dc_stream_state is NULL
for crtc '1'!
kernel: [drm:dm_vblank_get_counter [amdgpu]] *ERROR* dc_stream_state is NULL
for crtc '1'!
kernel: WARNING: CPU: 10 PID: 1119 at drivers/gpu/drm/drm_vblank.c:612
drm_calc_vbltimestamp_from_scanoutpos+0x2c5/0x340 [drm]
kernel: Modules linked in: cmac rfcomm fuse ipt_MASQUERADE
nf_nat_masquerade_ipv4 nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype
iptable_filter xt_conntrack nf_nat nf_conntrack libcr>
kernel:  wmi_bmof mxm_wmi fb_sys_fops soundcore dca rng_core pcbc rfkill
aesni_intel aes_x86_64 crypto_simd glue_helper sp5100_tco cryptd pcspkr
i2c_piix4 k10temp shpchp rtc_cmos wmi pinctrl_amd gpio_amdpt evdev mac_hid
acpi_cpufreq crypto_user ip_tables >
kernel: CPU: 10 PID: 1119 Comm: xfwm4 Not tainted 4.15.10-1.1-MANJARO #1
kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X370
Taichi, BIOS P3.30 01/15/2018
kernel: RIP: 0010:drm_calc_vbltimestamp_from_scanoutpos+0x2c5/0x340 [drm]
kernel: RSP: 0018:ffffb128c747fb30 EFLAGS: 00010086
kernel: RAX: ffffffffc143c540 RBX: ffffa30e940cf000 RCX: 0000000000000001
kernel: RDX: ffffffffc12303c8 RSI: 0000000000000001 RDI: ffffffffc122e26e
kernel: RBP: ffffb128c747fb98 R08: 0000000000000000 R09: ffffffffc120f8b0
kernel: R10: ffffffffc1262320 R11: ffffffffb55ccf2d R12: 0000000000000001
kernel: R13: ffffb128c747fbac R14: ffffb128c747fbe0 R15: ffffa30d496af800
kernel: FS:  00007fa8a541a980(0000) GS:ffffa30edee80000(0000)
knlGS:0000000000000000
kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00007fbf500135b8 CR3: 0000000e7e82a000 CR4: 00000000003406e0
kernel: Call Trace:
kernel:  ? set_cursor+0x80/0x80
kernel:  ? set_cursor+0x80/0x80
kernel:  drm_get_last_vbltimestamp+0x54/0x90 [drm]
kernel:  drm_update_vblank_count+0x77/0x250 [drm]
kernel:  drm_vblank_enable+0xbd/0x100 [drm]
kernel:  drm_vblank_get+0x8d/0xb0 [drm]
kernel:  drm_wait_vblank_ioctl+0x12a/0x660 [drm]
kernel:  ? unix_stream_recvmsg+0x53/0x70
kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
kernel:  drm_ioctl_kernel+0x5b/0xb0 [drm]
kernel:  drm_ioctl+0x2d5/0x370 [drm]
kernel:  ? drm_legacy_modeset_ctl_ioctl+0x100/0x100 [drm]
kernel:  ? do_iter_write+0xdc/0x190
kernel:  ? vfs_writev+0xb9/0x110
kernel:  amdgpu_drm_ioctl+0x49/0x80 [amdgpu]
kernel:  do_vfs_ioctl+0xa4/0x630
kernel:  ? __sys_recvmsg+0x4e/0x90
kernel:  ? __sys_recvmsg+0x7d/0x90
kernel:  SyS_ioctl+0x74/0x80
kernel:  do_syscall_64+0x74/0x190
kernel:  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
kernel: RIP: 0033:0x7fa8a1a6fd87
kernel: RSP: 002b:00007fff3c9e7a48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
kernel: RAX: ffffffffffffffda RBX: 00007fff3c9e7a70 RCX: 00007fa8a1a6fd87
kernel: RDX: 00007fff3c9e7a70 RSI: 00000000c018643a RDI: 000000000000000c
kernel: RBP: 0000000002251590 R08: 0000000000800105 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c018643a
kernel: R13: 0000000000801813 R14: 000000000233d510 R15: 0000000000000000
kernel: Code: e1 48 c7 c2 c8 03 23 c1 be 01 00 00 00 48 c7 c7 6e e2 22 c1 e8 5d
62 fe ff 48 8b 83 98 03 00 00 48 83 78 20 00 0f 84 6f fd ff ff <0f> 0b e9 68 fd
ff ff 48 c7 c2 90 03 23 c1 31 f6 48 c7 c7 6b e2 
kernel: ---[ end trace d9312f249097de3a ]---



And the system freezes every 7s for 3s.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux