[Letux-kernel] pyra display trouble with 5.9.1
H. Nikolaus Schaller
hns at goldelico.com
Sat Dec 12 12:17:18 CET 2020
> Am 12.12.2020 um 12:12 schrieb David Shah <dave at ds0.me>:
>
> I believe the atomic timeouts when doing DPMS started happening
> sometime around 5.7/5.8, they aren't even a 5.9 issue.
>
> It seems like what might be happening is that vblanks are stopping
> because the display controller is stopped (as you'd expect doing DPMS),
> but something in the atomic code is expecting them still.
>
> Unfortunately, ime the atomic DRM stuff tends to be quite hard to debug
> when it goes wrong.
Indeed...
I think we should wait until the new omapdrm drivers are upstream (v5.12-rc1?)
and we can use the new drm/panel driver and look if it still happens.
Because that one will then likely be a stable basis for debugging until OMAP
support is phased out (in 15 years?).
>
> On Sat, 2020-12-12 at 10:22 +0100, H. Nikolaus Schaller wrote:
>>
>>> Am 12.12.2020 um 10:14 schrieb David Shah <dave at ds0.me>:
>>>
>>> Hi Andreas,
>>>
>>> Just to note that I can see the same issue with the OMAP5 Xorg
>>> driver
>>> when returning from DPMS sleep. I will investigate, but first I
>>> need to
>>> figure out why the display only works at all after doing a
>>> 'modprobe
>>> omapdrm'.
>>
>> Yes, would be great.
>> Just to be sure I have checked there was apparently no significant
>> change after 5.9.1
>> (unless something did have an unnoticed side-effect).
>>
>> https://download.goldelico.com/letux-kernel/letux-5.9.13/src/CHANGES
>>
>>>
>>> Best
>>>
>>> David
>>>
>>> On Fri, 2020-11-20 at 17:41 +0100, Andreas Kemnade wrote:
>>>> Hi,
>>>>
>>>> I am playing around with the plain modeset Xorg driver and 5.9.1.
>>>> I get no picture in X11 but after some time (and doing chvt 1)
>>>> I get this:
>>>>
>>>> [ 235.037060] omapdrm omapdrm.0: atomic complete timeout (pipe
>>>> 0)!
>>>> [ 245.499669] [drm:drm_atomic_helper_wait_for_dependencies
>>>> [drm_kms_helper]] *ERROR* [CRTC:55:crtc-0] flip_done timed out
>>>> [ 255.741763] [drm:drm_atomic_helper_wait_for_dependencies
>>>> [drm_kms_helper]] *ERROR* [CONNECTOR:54:DSI-1] flip_done timed
>>>> out
>>>> root at letux:/etc# [ 265.984356]
>>>> [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]]
>>>> *ERROR* [PLANE:32:plane-0] flip_done timed out
>>>> [ 266.244246] omapdrm omapdrm.0: atomic complete timeout (pipe
>>>> 0)!
>>>> [ 266.244305] ------------[ cut here ]------------
>>>> [ 266.244394] WARNING: CPU: 1 PID: 4010 at
>>>> drivers/gpu/drm/drm_atomic_helper.c:2314
>>>> drm_atomic_helper_commit_hw_done+0xb4/0xcc [drm_kms_helper]
>>>> [ 266.244396] Modules linked in:[...]
>>>> [ 266.244610] bmg160_core bmp280_i2c bno055
>>>> industrialio_triggered_buffer bmp280 ecdh_generic usb3503
>>>> kfifo_buf
>>>> industrialio ecc input_polldev snd_soc_omap_aess
>>>> snd_soc_omap_mcbsp
>>>> snd_soc_ti_sdma ip_tables x_tables ipv6 autofs4
>>>> [ 266.244671] CPU: 1 PID: 4010 Comm: Xorg Not tainted 5.9.1-
>>>> letux+
>>>> #2
>>>> [ 266.244671] Hardware name: Generic OMAP5 (Flattened Device
>>>> Tree)
>>>> [ 266.244706] [<c010ede4>] (unwind_backtrace) from [<c010a1a4>]
>>>> (show_stack+0x10/0x14)
>>>> [ 266.244732] [<c010a1a4>] (show_stack) from [<c047f480>]
>>>> (dump_stack+0x8c/0xac)
>>>> [ 266.244762] [<c047f480>] (dump_stack) from [<c012fc08>]
>>>> (__warn+0xcc/0xe4)
>>>> [ 266.244784] [<c012fc08>] (__warn) from [<c012ff9c>]
>>>> (warn_slowpath_fmt+0x74/0xa0)
>>>> [ 266.244854] [<c012ff9c>] (warn_slowpath_fmt) from [<bf2d2dd4>]
>>>> (drm_atomic_helper_commit_hw_done+0xb4/0xcc [drm_kms_helper])
>>>> [ 266.245037] [<bf2d2dd4>] (drm_atomic_helper_commit_hw_done
>>>> [drm_kms_helper]) from [<bf3f936c>]
>>>> (omap_atomic_commit_tail+0x6c/0xb8 [omapdrm])
>>>> [ 266.245281] [<bf3f936c>] (omap_atomic_commit_tail [omapdrm])
>>>> from
>>>> [<bf2d310c>] (commit_tail+0x6c/0x138 [drm_kms_helper])
>>>> [ 266.245519] [<bf2d310c>] (commit_tail [drm_kms_helper]) from
>>>> [<bf2d3724>] (drm_atomic_helper_commit+0xf4/0x100
>>>> [drm_kms_helper])
>>>> [ 266.245958] [<bf2d3724>] (drm_atomic_helper_commit
>>>> [drm_kms_helper]) from [<bf254570>]
>>>> (drm_client_modeset_commit_atomic+0x170/0x1f0 [drm])
>>>> [ 266.246502] [<bf254570>] (drm_client_modeset_commit_atomic
>>>> [drm])
>>>> from [<bf254674>] (drm_client_modeset_commit_locked+0x3c/0x148
>>>> [drm])
>>>> [ 266.246899] [<bf254674>] (drm_client_modeset_commit_locked
>>>> [drm])
>>>> from [<bf2d8918>] (drm_fb_helper_pan_display+0x90/0x174
>>>> [drm_kms_helper])
>>>> [ 266.247051] [<bf2d8918>] (drm_fb_helper_pan_display
>>>> [drm_kms_helper]) from [<c04e03cc>] (fb_pan_display+0xec/0x128)
>>>> [ 266.247089] [<c04e03cc>] (fb_pan_display) from [<c04e0820>]
>>>> (fb_set_var+0x290/0x310)
>>>> [ 266.247139] [<c04e0820>] (fb_set_var) from [<c04e9f90>]
>>>> (fbcon_blank+0x78/0x1ac)
>>>> [ 266.247173] [<c04e9f90>] (fbcon_blank) from [<c054a068>]
>>>> (do_unblank_screen+0xe0/0x148)
>>>> [ 266.247234] [<c054a068>] (do_unblank_screen) from [<c054060c>]
>>>> (complete_change_console+0x50/0xcc)
>>>> [ 266.247294] [<c054060c>] (complete_change_console) from
>>>> [<c054139c>] (vt_ioctl+0xd14/0xf80)
>>>> [ 266.247354] [<c054139c>] (vt_ioctl) from [<c0535cd4>]
>>>> (tty_ioctl+0x884/0x918)
>>>> [ 266.247409] [<c0535cd4>] (tty_ioctl) from [<c0273344>]
>>>> (vfs_ioctl+0x20/0x38)
>>>> [ 266.247448] [<c0273344>] (vfs_ioctl) from [<c0273c84>]
>>>> (sys_ioctl+0xcc/0x77c)
>>>> [ 266.247485] [<c0273c84>] (sys_ioctl) from [<c0100060>]
>>>> (ret_fast_syscall+0x0/0x54)
>>>> [ 266.247509] Exception stack(0xeca91fa8 to 0xeca91ff0)
>>>> [ 266.247539] 1fa0: 00000000 0058258c 0000000a
>>>> 00005605 00000001 005736d0
>>>> [ 266.247570] 1fc0: 00000000 0058258c 0056f000 00000036 005825ec
>>>> 00582588 ffffffff 00000004
>>>> [ 266.247600] 1fe0: 0056f300 bed35bfc 0047cef7 b6ae8716
>>>> [ 266.247631] ---[ end trace 18736e9b1bfd0866 ]---
>>>> [ 266.503953] omapdrm omapdrm.0: atomic complete timeout (pipe
>>>> 0)!
>>>> [ 276.860295] [drm:drm_atomic_helper_wait_for_dependencies
>>>> [drm_kms_helper]] *ERROR* [CRTC:55:crtc-0] flip_done timed out
>>>> [ 287.092815] [drm:drm_atomic_helper_wait_for_dependencies
>>>> [drm_kms_helper]] *ERROR* [CONNECTOR:54:DSI-1] flip_done timed
>>>> out
>>>> [ 297.324596] [drm:drm_atomic_helper_wait_for_dependencies
>>>> [drm_kms_helper]] *ERROR* [PLANE:32:plane-0] flip_done timed out
>>>> [ 297.584100] omapdrm omapdrm.0: atomic complete timeout (pipe
>>>> 0)!
>>>> [ 297.584240] ------------[ cut here ]------------
>>>> [ 297.584301] WARNING: CPU: 1 PID: 4010 at
>>>> drivers/gpu/drm/drm_atomic_helper.c:2314
>>>> drm_atomic_helper_commit_hw_done+0xb4/0xcc [drm_kms_helper]
>>>> [..] deleted overlong modules line
>>>> [ 297.584500] bmg160_core bmp280_i2c bno055
>>>> industrialio_triggered_buffer bmp280 ecdh_generic usb3503
>>>> kfifo_buf
>>>> industrialio ecc input_polldev snd_soc_omap_aess
>>>> snd_soc_omap_mcbsp
>>>> snd_soc_ti_sdma ip_tables x_tables ipv6 autofs4
>>>> [ 297.584545] CPU: 1 PID: 4010 Comm: Xorg Tainted: G
>>>> W 5.9.1-letux+ #2
>>>> [ 297.584546] Hardware name: Generic OMAP5 (Flattened Device
>>>> Tree)
>>>> [ 297.584576] [<c010ede4>] (unwind_backtrace) from [<c010a1a4>]
>>>> (show_stack+0x10/0x14)
>>>> [ 297.584606] [<c010a1a4>] (show_stack) from [<c047f480>]
>>>> (dump_stack+0x8c/0xac)
>>>> [ 297.584615] [<c047f480>] (dump_stack) from [<c012fc08>]
>>>> (__warn+0xcc/0xe4)
>>>> [ 297.584637] [<c012fc08>] (__warn) from [<c012ff9c>]
>>>> (warn_slowpath_fmt+0x74/0xa0)
>>>> [ 297.584684] [<c012ff9c>] (warn_slowpath_fmt) from [<bf2d2dd4>]
>>>> (drm_atomic_helper_commit_hw_done+0xb4/0xcc [drm_kms_helper])
>>>> [ 297.584759] [<bf2d2dd4>] (drm_atomic_helper_commit_hw_done
>>>> [drm_kms_helper]) from [<bf3f936c>]
>>>> (omap_atomic_commit_tail+0x6c/0xb8 [omapdrm])
>>>> [ 297.584820] [<bf3f936c>] (omap_atomic_commit_tail [omapdrm])
>>>> from
>>>> [<bf2d310c>] (commit_tail+0x6c/0x138 [drm_kms_helper])
>>>> [ 297.584900] [<bf2d310c>] (commit_tail [drm_kms_helper]) from
>>>> [<bf2d3724>] (drm_atomic_helper_commit+0xf4/0x100
>>>> [drm_kms_helper])
>>>> [ 297.585033] [<bf2d3724>] (drm_atomic_helper_commit
>>>> [drm_kms_helper]) from [<bf254570>]
>>>> (drm_client_modeset_commit_atomic+0x170/0x1f0 [drm])
>>>> [ 297.585211] [<bf254570>] (drm_client_modeset_commit_atomic
>>>> [drm])
>>>> from [<bf254674>] (drm_client_modeset_commit_locked+0x3c/0x148
>>>> [drm])
>>>> [ 297.585339] [<bf254674>] (drm_client_modeset_commit_locked
>>>> [drm])
>>>> from [<bf2d8918>] (drm_fb_helper_pan_display+0x90/0x174
>>>> [drm_kms_helper])
>>>> [ 297.585389] [<bf2d8918>] (drm_fb_helper_pan_display
>>>> [drm_kms_helper]) from [<c04e03cc>] (fb_pan_display+0xec/0x128)
>>>> [ 297.585400] [<c04e03cc>] (fb_pan_display) from [<c04ec16c>]
>>>> (bit_update_start+0x14/0x30)
>>>> [ 297.585418] [<c04ec16c>] (bit_update_start) from [<c04e89e0>]
>>>> (fbcon_switch+0x2f4/0x3b4)
>>>> [ 297.585430] [<c04e89e0>] (fbcon_switch) from [<c05491b0>]
>>>> (redraw_screen+0x138/0x1ac)
>>>> [ 297.585446] [<c05491b0>] (redraw_screen) from [<c04ea07c>]
>>>> (fbcon_blank+0x164/0x1ac)
>>>> [ 297.585461] [<c04ea07c>] (fbcon_blank) from [<c054a068>]
>>>> (do_unblank_screen+0xe0/0x148)
>>>> [ 297.585478] [<c054a068>] (do_unblank_screen) from [<c054060c>]
>>>> (complete_change_console+0x50/0xcc)
>>>> [ 297.585491] [<c054060c>] (complete_change_console) from
>>>> [<c054139c>] (vt_ioctl+0xd14/0xf80)
>>>> [ 297.585519] [<c054139c>] (vt_ioctl) from [<c0535cd4>]
>>>> (tty_ioctl+0x884/0x918)
>>>> [ 297.585524] [<c0535cd4>] (tty_ioctl) from [<c0273344>]
>>>> (vfs_ioctl+0x20/0x38)
>>>> [ 297.585552] [<c0273344>] (vfs_ioctl) from [<c0273c84>]
>>>> (sys_ioctl+0xcc/0x77c)
>>>> [ 297.585552] [<c0273c84>] (sys_ioctl) from [<c0100060>]
>>>> (ret_fast_syscall+0x0/0x54)
>>>> [ 297.585565] Exception stack(0xeca91fa8 to 0xeca91ff0)
>>>> [ 297.585583] 1fa0: 00000000 0058258c 0000000a
>>>> 00005605 00000001 005736d0
>>>> [ 297.585583] 1fc0: 00000000 0058258c 0056f000 00000036 005825ec
>>>> 00582588 ffffffff 00000004
>>>> [ 297.585596] 1fe0: 0056f300 bed35bfc 0047cef7 b6ae8716
>>>> [ 297.585612] ---[ end trace 18736e9b1bfd0867 ]---
>>>> [ 297.843578] omapdrm omapdrm.0: atomic complete timeout (pipe
>>>> 0)!
>>>> _______________________________________________
>>>> Kernel mailing list
>>>> Kernel at pyra-handheld.com
>>>> http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
>>>
>>>
>>> _______________________________________________
>>> Kernel mailing list
>>> Kernel at pyra-handheld.com
>>> http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel
>>
>
>
More information about the Letux-kernel
mailing list