User avatar
saper_2
Posts: 240
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Raspberry Pi 4B - two Full HD monitors

Wed Jul 03, 2019 9:41 pm

Hi,

I got (too) myself the brand new Raspberry Pi 4B (1G version). All happy I prepared card (buster 2019-06-20) , hooked up cables to two monitors and I got shot down to earth after resizing partition :| .

I have 2 monitors: NEC EA243WM (1920x1200 with HDMI input)
  1. After splash on 1st monitor, and when it starting to load desktop, first monitor stay black (but it's on) while the 2nd enter standby mode (no signal). I can't ssh, keyboard and mouse don't work (ctrl+f1...6 too).
  2. Next, I tried to go with most basic setup - only one monitor, I unplugged HDMI0, reboot. Splash screen popup for a moment and display goes black again, can't ssh either.
  3. I unplugged all displays & reboot. Now I can SSH, so I run apt update and apt upgrade, reboot - SSH works, first good sign since a while.
  4. Try with one display, HDMI0 - ok, got desktop :D
  5. Next, try with two displays - I see rainbow on 2nd monitor, I think: looks good, and again FAIL black screen without desktop :( , but SSH at least now works....
  6. No I gone for a moment, when I came back, I checked dmesg (that's my habit):

    Code: Select all

    [  243.673500] INFO: task plymouthd:156 blocked for more than 120 seconds.
    [  243.673514]       Tainted: G         C        4.19.50-v7l+ #895
    [  243.673523] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [  243.673534] plymouthd       D    0   156      1 0x00000000
    [  243.673578] [<c0990864>] (__schedule) from [<c0990ed4>] (schedule+0x50/0xa8)
    [  243.673599] [<c0990ed4>] (schedule) from [<c0994e7c>] (schedule_timeout+0x200/0x428)
    [  243.673618] [<c0994e7c>] (schedule_timeout) from [<c0991b04>] (wait_for_common+0xd4/0x1b0)
    [  243.673635] [<c0991b04>] (wait_for_common) from [<c0991c00>] (wait_for_completion+0x20/0x24)
    [  243.673657] [<c0991c00>] (wait_for_completion) from [<c0808394>] (rpi_firmware_transaction+0x78/0xd0)
    [  243.673678] [<c0808394>] (rpi_firmware_transaction) from [<c080852c>] (rpi_firmware_property_list+0x140/0x2b0)
    [  243.673757] [<c080852c>] (rpi_firmware_property_list) from [<bf8f3cc0>] (vc4_crtc_mode_set_nofb+0x218/0x290 [vc4])
    [  243.673914] [<bf8f3cc0>] (vc4_crtc_mode_set_nofb [vc4]) from [<bf8b2864>] (drm_atomic_helper_commit_modeset_disables+0x278/0x464 [drm_kms_helper])
    [  243.674057] [<bf8b2864>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<bf8f5160>] (vc4_atomic_complete_commit+0x44/0x33c [vc4])
    [  243.674159] [<bf8f5160>] (vc4_atomic_complete_commit [vc4]) from [<bf8f5538>] (vc4_atomic_commit+0xe0/0x194 [vc4])
    [  243.674390] [<bf8f5538>] (vc4_atomic_commit [vc4]) from [<bf77537c>] (drm_atomic_commit+0x5c/0x60 [drm])
    [  243.674652] [<bf77537c>] (drm_atomic_commit [drm]) from [<bf8b8c98>] (restore_fbdev_mode_atomic+0x204/0x214 [drm_kms_helper])
    [  243.674802] [<bf8b8c98>] (restore_fbdev_mode_atomic [drm_kms_helper]) from [<bf8baaac>] (restore_fbdev_mode+0x54/0x188 [drm_kms_helper])
    [  243.674946] [<bf8baaac>] (restore_fbdev_mode [drm_kms_helper]) from [<bf8bc6e0>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x5c/0xa0 [drm_kms_helper])
    [  243.675089] [<bf8bc6e0>] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [<bf8bc7a4>] (drm_fb_helper_lastclose+0x1c/0x20 [drm_kms_helper])
    [  243.675332] [<bf8bc7a4>] (drm_fb_helper_lastclose [drm_kms_helper]) from [<bf7612d0>] (drm_lastclose+0x40/0xcc [drm])
    [  243.675671] [<bf7612d0>] (drm_lastclose [drm]) from [<bf7613f4>] (drm_release+0x98/0xb4 [drm])
    [  243.675851] [<bf7613f4>] (drm_release [drm]) from [<c03b0d24>] (__fput+0xa4/0x1e8)
    [  243.675871] [<c03b0d24>] (__fput) from [<c03b0ed8>] (____fput+0x18/0x1c)
    [  243.675891] [<c03b0ed8>] (____fput) from [<c02420ec>] (task_work_run+0xbc/0xe0)
    [  243.675911] [<c02420ec>] (task_work_run) from [<c020cc08>] (do_work_pending+0xf0/0xf4)
    [  243.675927] [<c020cc08>] (do_work_pending) from [<c0201034>] (slow_work_pending+0xc/0x20)
    [  243.675938] Exception stack(0xddbaffb0 to 0xddbafff8)
    [  243.675951] ffa0:                                     00000000 00000000 0000006c 00000000
    [  243.675965] ffc0: 01108ac8 00000010 0002fef8 00000006 00000000 00000000 b6ea9970 b6ea9b24
    [  243.675977] ffe0: b4dc6154 be8cf990 b4dae134 b6e0f6bc 68000010 00000010
    [  243.675992] INFO: task kworker/1:2:231 blocked for more than 120 seconds.
    [  243.676003]       Tainted: G         C        4.19.50-v7l+ #895
    [  243.676012] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [  243.676021] kworker/1:2     D    0   231      2 0x00000000
    [  243.676053] Workqueue: events get_values_poll [raspberrypi_hwmon]
    [  243.676081] [<c0990864>] (__schedule) from [<c0990ed4>] (schedule+0x50/0xa8)
    [  243.676097] [<c0990ed4>] (schedule) from [<c0991330>] (schedule_preempt_disabled+0x18/0x1c)
    [  243.676115] [<c0991330>] (schedule_preempt_disabled) from [<c09923a0>] (__mutex_lock.constprop.5+0x1a8/0x590)
    [  243.676132] [<c09923a0>] (__mutex_lock.constprop.5) from [<c09928a4>] (__mutex_lock_slowpath+0x1c/0x20)
    [  243.676149] [<c09928a4>] (__mutex_lock_slowpath) from [<c0992904>] (mutex_lock+0x5c/0x60)
    [  243.676168] [<c0992904>] (mutex_lock) from [<c0808370>] (rpi_firmware_transaction+0x54/0xd0)
    [  243.676188] [<c0808370>] (rpi_firmware_transaction) from [<c080852c>] (rpi_firmware_property_list+0x140/0x2b0)
    [  243.676207] [<c080852c>] (rpi_firmware_property_list) from [<c0808718>] (rpi_firmware_property+0x7c/0xfc)
    [  243.676228] [<c0808718>] (rpi_firmware_property) from [<bf6de0c0>] (get_values_poll+0x4c/0x15c [raspberrypi_hwmon])
    [  243.676255] [<bf6de0c0>] (get_values_poll [raspberrypi_hwmon]) from [<c023da80>] (process_one_work+0x170/0x458)
    [  243.676273] [<c023da80>] (process_one_work) from [<c023ddc4>] (worker_thread+0x5c/0x5a4)
    [  243.676288] [<c023ddc4>] (worker_thread) from [<c02440b0>] (kthread+0x138/0x168)
    [  243.676303] [<c02440b0>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
    [  243.676313] Exception stack(0xdd737fb0 to 0xdd737ff8)
    [  243.676325] 7fa0:                                     00000000 00000000 00000000 00000000
    [  243.676338] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  243.676350] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [  243.676363] INFO: task kworker/1:3:234 blocked for more than 120 seconds.
    [  243.676373]       Tainted: G         C        4.19.50-v7l+ #895
    [  243.676382] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    [  243.676391] kworker/1:3     D    0   234      2 0x00000000
    [  243.676485] Workqueue: events output_poll_execute [drm_kms_helper]
    [  243.676512] [<c0990864>] (__schedule) from [<c0990ed4>] (schedule+0x50/0xa8)
    [  243.676528] [<c0990ed4>] (schedule) from [<c0991330>] (schedule_preempt_disabled+0x18/0x1c)
    [  243.676546] [<c0991330>] (schedule_preempt_disabled) from [<c0992e40>] (__ww_mutex_lock.constprop.4+0x504/0x85c)
    [  243.676564] [<c0992e40>] (__ww_mutex_lock.constprop.4) from [<c09932a8>] (__ww_mutex_lock_slowpath+0x20/0x24)
    [  243.676581] [<c09932a8>] (__ww_mutex_lock_slowpath) from [<c0993340>] (ww_mutex_lock+0x94/0xcc)
    [  243.676767] [<c0993340>] (ww_mutex_lock) from [<bf7732b8>] (drm_modeset_lock+0x50/0xf8 [drm])
    [  243.677020] [<bf7732b8>] (drm_modeset_lock [drm]) from [<bf8aafe8>] (drm_helper_probe_detect_ctx+0x74/0x104 [drm_kms_helper])
    [  243.677171] [<bf8aafe8>] (drm_helper_probe_detect_ctx [drm_kms_helper]) from [<bf8abc1c>] (output_poll_execute+0x124/0x1b8 [drm_kms_helper])
    [  243.677256] [<bf8abc1c>] (output_poll_execute [drm_kms_helper]) from [<c023da80>] (process_one_work+0x170/0x458)
    [  243.677273] [<c023da80>] (process_one_work) from [<c023ddc4>] (worker_thread+0x5c/0x5a4)
    [  243.677289] [<c023ddc4>] (worker_thread) from [<c02440b0>] (kthread+0x138/0x168)
    [  243.677304] [<c02440b0>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
    [  243.677315] Exception stack(0xdd7b3fb0 to 0xdd7b3ff8)
    [  243.677326] 3fa0:                                     00000000 00000000 00000000 00000000
    [  243.677339] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [  243.677351] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    
    Seems like something crashing (it repeats 2-3mins) :|
  7. I typed sudo poweroff in putty and started to wait ... Normally, putty instantly should throw a message "connection lost", but after about 1min I got back to console like poweroff never been issued O_o - ok, hard way, pull of cube from wall...
  8. Try with HDMI1 - nope don't work. Leaving pi running, after a while I got this in dmesg:

    Code: Select all

    [   17.751734] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [   27.991718] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [   38.231721] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [   48.471708] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane-0] flip_done timed out
    [   58.711710] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [   68.951727] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [   79.191926] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [   89.432068] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane-0] flip_done timed out
    [   99.672096] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  109.912122] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  120.152131] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [  130.392144] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane-0] flip_done timed out
    [  140.632404] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  150.872707] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  161.112963] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [  171.353118] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane-0] flip_done timed out
    [  181.593262] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  193.113422] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  203.353483] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [  213.593564] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  224.473649] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  234.713706] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [  244.953756] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane-0] flip_done timed out
    [  255.193820] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  256.504077] fuse init (API version 7.27)
    [  267.354053] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [  277.594329] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:28:plane-0] flip_done timed out
    [ 1149.927335] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    [ 1149.927477] ------------[ cut here ]------------
    [ 1149.927551] WARNING: CPU: 1 PID: 628 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:869 vc4_crtc_atomic_flush+0x98/0x9c [vc4]
    [ 1149.927561] Modules linked in: fuse rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic 8021q garp stp llc vc4 v3d drm_kms_helper gpu_sched drm drm_panel_orientation_quirks snd_soc_core snd_bcm2835(C) snd_compress snd_pcm_dmaengine snd_pcm syscopyarea snd_timer sysfillrect sysimgblt fb_sys_fops snd raspberrypi_hwmon hwmon evdev joydev brcmfmac brcmutil sha256_generic cfg80211 rfkill bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem v4l2_common bcm2835_mmal_vchiq(C) videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media argon_mem uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
    [ 1149.928081] CPU: 1 PID: 628 Comm: Xorg Tainted: G         C        4.19.50-v7l+ #895
    [ 1149.928089] Hardware name: BCM2835
    [ 1149.928121] [<c0212c80>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24)
    [ 1149.928142] [<c020d49c>] (show_stack) from [<c0978f60>] (dump_stack+0xd4/0x118)
    [ 1149.928162] [<c0978f60>] (dump_stack) from [<c0222270>] (__warn+0x104/0x11c)
    [ 1149.928179] [<c0222270>] (__warn) from [<c02223c0>] (warn_slowpath_null+0x50/0x58)
    [ 1149.928240] [<c02223c0>] (warn_slowpath_null) from [<bf8eeaa4>] (vc4_crtc_atomic_flush+0x98/0x9c [vc4])
    [ 1149.928393] [<bf8eeaa4>] (vc4_crtc_atomic_flush [vc4]) from [<bf8947f0>] (drm_atomic_helper_commit_planes+0x1a4/0x298 [drm_kms_helper])
    [ 1149.928529] [<bf8947f0>] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [<bf8f017c>] (vc4_atomic_complete_commit+0x60/0x33c [vc4])
    [ 1149.928627] [<bf8f017c>] (vc4_atomic_complete_commit [vc4]) from [<bf8f0538>] (vc4_atomic_commit+0xe0/0x194 [vc4])
    [ 1149.928854] [<bf8f0538>] (vc4_atomic_commit [vc4]) from [<bf77037c>] (drm_atomic_commit+0x5c/0x60 [drm])
    [ 1149.929215] [<bf77037c>] (drm_atomic_commit [drm]) from [<bf772474>] (drm_mode_atomic_ioctl+0x98c/0xb78 [drm])
    [ 1149.929559] [<bf772474>] (drm_mode_atomic_ioctl [drm]) from [<bf75dbc4>] (drm_ioctl_kernel+0xb4/0xf0 [drm])
    [ 1149.929898] [<bf75dbc4>] (drm_ioctl_kernel [drm]) from [<bf75dff8>] (drm_ioctl+0x230/0x3cc [drm])
    [ 1149.930078] [<bf75dff8>] (drm_ioctl [drm]) from [<c03c3e3c>] (do_vfs_ioctl+0xbc/0x804)
    [ 1149.930099] [<c03c3e3c>] (do_vfs_ioctl) from [<c03c45c8>] (ksys_ioctl+0x44/0x6c)
    [ 1149.930118] [<c03c45c8>] (ksys_ioctl) from [<c03c4608>] (sys_ioctl+0x18/0x1c)
    [ 1149.930135] [<c03c4608>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
    [ 1149.930144] Exception stack(0xdd4adfa8 to 0xdd4adff0)
    [ 1149.930156] dfa0:                   01d77720 bef38a78 0000000c c03864bc bef38a78 00000000
    [ 1149.930169] dfc0: 01d77720 bef38a78 c03864bc 00000036 01d25f50 01bccdd0 01d6df20 0000002d
    [ 1149.930178] dfe0: b6cc508c bef38a44 b6cac594 b693851c
    [ 1149.930188] ---[ end trace 5500804c7d2bbb24 ]---
    [ 1160.167575] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [ 1170.407820] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:43:crtc-0] flip_done timed out
    [ 1180.648057] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:45:HDMI-A-1] flip_done timed out
    
  9. I connected monitor to HDMI0 port - works... almost, Pi seems a bit laggy (can be seen on ssh sometimes console freeze), in dmesg pop up this:

    Code: Select all

    [  611.118706] ------------[ cut here ]------------
    [  611.118793] WARNING: CPU: 2 PID: 483 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:869 vc4_crtc_atomic_flush+0x98/0x9c [vc4]
    [  611.118803] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc vc4 v3d gpu_sched drm_kms_helper drm evdev joydev drm_panel_orientation_quirks snd_soc_core snd_compress snd_pcm_dmaengine syscopyarea sysfillrect sysimgblt fb_sys_fops raspberrypi_hwmon hwmon snd_bcm2835(C) snd_pcm brcmfmac brcmutil snd_timer snd sha256_generic cfg80211 rfkill bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem v4l2_common bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media argon_mem uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
    [  611.119401] CPU: 2 PID: 483 Comm: Xorg Tainted: G         C        4.19.50-v7l+ #895
    [  611.119409] Hardware name: BCM2835
    [  611.119444] [<c0212c80>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24)
    [  611.119466] [<c020d49c>] (show_stack) from [<c0978f60>] (dump_stack+0xd4/0x118)
    [  611.119490] [<c0978f60>] (dump_stack) from [<c0222270>] (__warn+0x104/0x11c)
    [  611.119507] [<c0222270>] (__warn) from [<c02223c0>] (warn_slowpath_null+0x50/0x58)
    [  611.119571] [<c02223c0>] (warn_slowpath_null) from [<bf843aa4>] (vc4_crtc_atomic_flush+0x98/0x9c [vc4])
    [  611.119731] [<bf843aa4>] (vc4_crtc_atomic_flush [vc4]) from [<bf7dc7f0>] (drm_atomic_helper_commit_planes+0x1a4/0x298 [drm_kms_helper])
    [  611.119871] [<bf7dc7f0>] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [<bf84517c>] (vc4_atomic_complete_commit+0x60/0x33c [vc4])
    [  611.119976] [<bf84517c>] (vc4_atomic_complete_commit [vc4]) from [<bf845538>] (vc4_atomic_commit+0xe0/0x194 [vc4])
    [  611.120207] [<bf845538>] (vc4_atomic_commit [vc4]) from [<bf75837c>] (drm_atomic_commit+0x5c/0x60 [drm])
    [  611.120568] [<bf75837c>] (drm_atomic_commit [drm]) from [<bf75a474>] (drm_mode_atomic_ioctl+0x98c/0xb78 [drm])
    [  611.120912] [<bf75a474>] (drm_mode_atomic_ioctl [drm]) from [<bf745bc4>] (drm_ioctl_kernel+0xb4/0xf0 [drm])
    [  611.121252] [<bf745bc4>] (drm_ioctl_kernel [drm]) from [<bf745ff8>] (drm_ioctl+0x230/0x3cc [drm])
    [  611.121432] [<bf745ff8>] (drm_ioctl [drm]) from [<c03c3e3c>] (do_vfs_ioctl+0xbc/0x804)
    [  611.121463] [<c03c3e3c>] (do_vfs_ioctl) from [<c03c45c8>] (ksys_ioctl+0x44/0x6c)
    [  611.121481] [<c03c45c8>] (ksys_ioctl) from [<c03c4608>] (sys_ioctl+0x18/0x1c)
    [  611.121499] [<c03c4608>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
    [  611.121508] Exception stack(0xdbcd9fa8 to 0xdbcd9ff0)
    [  611.121520] 9fa0:                   028f4f88 bea97a78 0000000c c03864bc bea97a78 00000000
    [  611.121532] 9fc0: 028f4f88 bea97a78 c03864bc 00000036 02907100 0299e638 02989820 0000002d
    [  611.121542] 9fe0: b6cac08c bea97a44 b6c93594 b691f51c
    [  611.121552] ---[ end trace 0c9f6b1ebd8b4e4d ]---
    [  732.180341] ------------[ cut here ]------------
    [  732.180541] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/drm_vblank.c:1026 drm_vblank_put+0xf0/0x100 [drm]
    [  732.180549] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc vc4 v3d gpu_sched drm_kms_helper drm evdev joydev drm_panel_orientation_quirks snd_soc_core snd_compress snd_pcm_dmaengine syscopyarea sysfillrect sysimgblt fb_sys_fops raspberrypi_hwmon hwmon snd_bcm2835(C) snd_pcm brcmfmac brcmutil snd_timer snd sha256_generic cfg80211 rfkill bcm2835_codec(C) bcm2835_v4l2(C) v4l2_mem2mem v4l2_common bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media argon_mem uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
    [  732.180964] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.50-v7l+ #895
    [  732.180972] Hardware name: BCM2835
    [  732.181004] [<c0212c80>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24)
    [  732.181026] [<c020d49c>] (show_stack) from [<c0978f60>] (dump_stack+0xd4/0x118)
    [  732.181049] [<c0978f60>] (dump_stack) from [<c0222270>] (__warn+0x104/0x11c)
    [  732.181067] [<c0222270>] (__warn) from [<c02223c0>] (warn_slowpath_null+0x50/0x58)
    [  732.181251] [<c02223c0>] (warn_slowpath_null) from [<bf766178>] (drm_vblank_put+0xf0/0x100 [drm])
    [  732.181601] [<bf766178>] (drm_vblank_put [drm]) from [<bf7661ac>] (drm_crtc_vblank_put+0x24/0x28 [drm])
    [  732.181827] [<bf7661ac>] (drm_crtc_vblank_put [drm]) from [<bf8436f0>] (vc4_crtc_handle_page_flip+0x50/0x60 [vc4])
    [  732.181934] [<bf8436f0>] (vc4_crtc_handle_page_flip [vc4]) from [<bf844f80>] (vc4_crtc_irq_handler+0xc8/0x144 [vc4])
    [  732.181993] [<bf844f80>] (vc4_crtc_irq_handler [vc4]) from [<c028155c>] (__handle_irq_event_percpu+0xc0/0x22c)
    [  732.182009] [<c028155c>] (__handle_irq_event_percpu) from [<c0281704>] (handle_irq_event_percpu+0x3c/0x8c)
    [  732.182023] [<c0281704>] (handle_irq_event_percpu) from [<c02817a8>] (handle_irq_event+0x54/0x78)
    [  732.182038] [<c02817a8>] (handle_irq_event) from [<c0285600>] (handle_fasteoi_irq+0xb4/0x194)
    [  732.182056] [<c0285600>] (handle_fasteoi_irq) from [<c02805cc>] (generic_handle_irq+0x34/0x44)
    [  732.182074] [<c02805cc>] (generic_handle_irq) from [<c0280d08>] (__handle_domain_irq+0x6c/0xc4)
    [  732.182091] [<c0280d08>] (__handle_domain_irq) from [<c0202244>] (gic_handle_irq+0x4c/0x88)
    [  732.182105] [<c0202244>] (gic_handle_irq) from [<c02019bc>] (__irq_svc+0x5c/0x7c)
    [  732.182114] Exception stack(0xc1001ed8 to 0xc1001f20)
    [  732.182124] 1ec0:                                                       c0209a84 00000000
    [  732.182137] 1ee0: 40000093 40000093 c1004dbc c1000000 c1004e04 00000001 c109580a c10a4ac0
    [  732.182149] 1f00: c0e67a38 c1001f34 c10051c4 c1001f28 00000000 c0209a88 40000013 ffffffff
    [  732.182167] [<c02019bc>] (__irq_svc) from [<c0209a88>] (arch_cpu_idle+0x34/0x4c)
    [  732.182187] [<c0209a88>] (arch_cpu_idle) from [<c0996124>] (default_idle_call+0x34/0x48)
    [  732.182208] [<c0996124>] (default_idle_call) from [<c02541f0>] (do_idle+0xec/0x17c)
    [  732.182227] [<c02541f0>] (do_idle) from [<c0254540>] (cpu_startup_entry+0x28/0x2c)
    [  732.182242] [<c0254540>] (cpu_startup_entry) from [<c098f800>] (rest_init+0xbc/0xc0)
    [  732.182260] [<c098f800>] (rest_init) from [<c0e00fe4>] (start_kernel+0x4b8/0x4e8)
    [  732.182271] ---[ end trace 0c9f6b1ebd8b4e4e ]---
    
    I think around 611sec this happens when display goes to power save (screen only turn black but backlight is still on), and at 732sec is the moment when I pressed key on keyboard to wakeup screen and return to desktop.
I know it's new Pi, not everything is working properly. The question is: will both HDMI work (with normal mass-available non-4k monitors)?

This looks for me like problem with dkms driver - so this might be fixed and all Pi-addicts :roll: will be able run 2 non-4k monitors? I can provide more info (but need to know how to do it ;) ).


Again, I written a novel-class post :lol:

Ps. I googled in meantime, and found a info that both hdmi only works with 4k displays, for smaller resolution displays (e.g. full hd 1080) only HDMI0 port works (I hope for now)...

chipace
Posts: 81
Joined: Sat Jun 29, 2019 2:56 am
Location: brown paper bag in a septic tank

Re: Raspberry Pi 4B - two Full HD monitors

Wed Jul 03, 2019 10:34 pm

I tried to override the edid of the hdmi1 monitor, but had no luck.
https://www.raspberrypi.org/forums/view ... 4#p1492014

There are known dkms issue with kernels above 4.15:
https://bugs.debian.org/cgi-bin/bugrepo ... bug=906180

I am hoping this is a buster related issue and a new kernel could fix things.

User avatar
saper_2
Posts: 240
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: Raspberry Pi 4B - two Full HD monitors

Fri Jul 05, 2019 11:23 pm

Hi,

I tried hard-coding HDMI mode in config.txt but that didn't work either - so the problem is the gpu firmware or in the fdkms driver, I suspect the first one - since it support 4k displays only - it was released as partly working. I hope the RPF will update the firmware so "we normal users" will be able to connect two poor-man's ;) Full HD displays.

But since it's very new hardware , there certainly is going be a some (lot) of thing that don't work so good - If I remember RPF dev team needed around half year to make Pi2 rather usable since announcement .

Well, interesting is that plymouthd is hanging - it's responsible for boot splashscreen, but it have nothing todo with desktop ( :?: )...

FYI: I mean normal by people that can't buy two 4k monitors for pocket money.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24191
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi 4B - two Full HD monitors

Sat Jul 06, 2019 6:03 am

Two 1080p or indeed 1200p60 should work fine, I've used that no problem. I've also used 4k60 and 1200p60 at the same time although we don't guarantee that combination. So something is going wrong with your specific combination.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

User avatar
saper_2
Posts: 240
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: Raspberry Pi 4B - two Full HD monitors

Sat Jul 06, 2019 12:38 pm

Hi,

I just run rpi-update to update the kernel & firmware to development branch, and now both displays works fine.
Here a piece of info:

Code: Select all

[email protected]:~ $ sudo vcgencmd version
Jun 20 2019 16:04:31
Copyright (c) 2012 Broadcom
version 407b1da8fa3d1a7108cb1d250f5064a3420d2b7d (clean) (release) (start)
[email protected]:~ $ sudo rpi-update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15408  100 15408    0     0  34088      0 --:--:-- --:--:-- --:--:-- 34164
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** We're running for the first time
 *** Backing up files (this will take a few minutes)
 *** Backing up firmware
 *** Backing up modules 4.19.50-v7l+
PARTSIZE:268435968
#############################################################
WARNING: 'rpi-update' updates to pre-releases of the linux
kernel tree and Videocore firmware.

'rpi-update' should only be used if there is a specific
reason to do so - for example, a request by a Raspberry Pi
engineer.

DO NOT use 'rpi-update' as part of a regular update process.

##############################################################
Would you like to proceed? (y/N)
 *** Downloading specific firmware revision (this will take a few minutes)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   168    0   168    0     0    343      0 --:--:-- --:--:-- --:--:--   343
100 89.7M  100 89.7M    0     0  4079k      0  0:00:22  0:00:22 --:--:-- 2182k
 *** Updating firmware
 *** Updating kernel modules
 *** depmod 4.19.57-v7l+
 *** depmod 4.19.57-v7+
 *** depmod 4.19.57+
 *** Updating VideoCore libraries
 *** Using HardFP libraries
 *** Updating SDK
 *** Running ldconfig
 *** Storing current firmware revision
 *** Deleting downloaded files
 *** Syncing changes to disk
 *** If no errors appeared, your firmware was successfully updated to 7918aa035dd6529f32d242775dd0e3ca6c5bf3d3
 *** A reboot is needed to activate the new firmware
------------------------------------------------------------ reboot ----------------------------------------------
[email protected]:~ $ sudo vcgencmd version
Jul  5 2019 19:02:38
Copyright (c) 2012 Broadcom
version 38c92dbc862a28c07403ce80df2d168034efb3e0 (clean) (release) (start)
"It's working!" :) https://youtu.be/VkYBC3Wetus

About after 10min this show up in dmesg:

Code: Select all

[  668.066999] ------------[ cut here ]------------
[  668.067083] WARNING: CPU: 1 PID: 471 at drivers/gpu/drm/vc4/vc4_firmware_kms.c:899 vc4_crtc_atomic_flush+0x98/0x9c [vc4]
[  668.067092] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc vc4 v3d drm_kms_helper gpu_sched drm drm_panel_orientation_quirks snd_soc_core snd_compress snd_pcm_dmaengine syscopyarea sysfillrect sysimgblt fb_sys_fops raspberrypi_hwmon hwmon snd_bcm2835(C) snd_pcm joydev snd_timer snd evdev brcmfmac brcmutil sha256_generic cfg80211 rfkill bcm2835_codec(C) v4l2_mem2mem bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) argon_mem uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
[  668.067621] CPU: 1 PID: 471 Comm: Xorg Tainted: G         C        4.19.57-v7l+ #1244
[  668.067629] Hardware name: BCM2835
[  668.067662] [<c0212c8c>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24)
[  668.067682] [<c020d49c>] (show_stack) from [<c0976220>] (dump_stack+0xd4/0x118)
[  668.067703] [<c0976220>] (dump_stack) from [<c0222270>] (__warn+0x104/0x11c)
[  668.067720] [<c0222270>] (__warn) from [<c02223c0>] (warn_slowpath_null+0x50/0x58)
[  668.067782] [<c02223c0>] (warn_slowpath_null) from [<bf900a08>] (vc4_crtc_atomic_flush+0x98/0x9c [vc4])
[  668.067936] [<bf900a08>] (vc4_crtc_atomic_flush [vc4]) from [<bf8a681c>] (drm_atomic_helper_commit_planes+0x1a4/0x298 [drm_kms_helper])
[  668.068073] [<bf8a681c>] (drm_atomic_helper_commit_planes [drm_kms_helper]) from [<bf902144>] (vc4_atomic_complete_commit+0x60/0x33c [vc4])
[  668.068171] [<bf902144>] (vc4_atomic_complete_commit [vc4]) from [<bf902500>] (vc4_atomic_commit+0xe0/0x194 [vc4])
[  668.068400] [<bf902500>] (vc4_atomic_commit [vc4]) from [<bf782410>] (drm_atomic_commit+0x5c/0x60 [drm])
[  668.068757] [<bf782410>] (drm_atomic_commit [drm]) from [<bf784508>] (drm_mode_atomic_ioctl+0x98c/0xb78 [drm])
[  668.069097] [<bf784508>] (drm_mode_atomic_ioctl [drm]) from [<bf76fbc4>] (drm_ioctl_kernel+0xb4/0xf0 [drm])
[  668.069427] [<bf76fbc4>] (drm_ioctl_kernel [drm]) from [<bf76fff8>] (drm_ioctl+0x230/0x3cc [drm])
[  668.069604] [<bf76fff8>] (drm_ioctl [drm]) from [<c03c3edc>] (do_vfs_ioctl+0xbc/0x804)
[  668.069625] [<c03c3edc>] (do_vfs_ioctl) from [<c03c4668>] (ksys_ioctl+0x44/0x6c)
[  668.069643] [<c03c4668>] (ksys_ioctl) from [<c03c46a8>] (sys_ioctl+0x18/0x1c)
[  668.069661] [<c03c46a8>] (sys_ioctl) from [<c0201000>] (ret_fast_syscall+0x0/0x28)
[  668.069670] Exception stack(0xdca99fa8 to 0xdca99ff0)
[  668.069682] 9fa0:                   0109a298 be96b898 0000000c c03864bc be96b898 00000000
[  668.069694] 9fc0: 0109a298 be96b898 c03864bc 00000036 00e602d0 01062d70 00fe4d78 0000004b
[  668.069704] 9fe0: b6d8308c be96b864 b6d6a594 b69f651c
[  668.069714] ---[ end trace f19f69009954cfba ]---
[  668.305173] ------------[ cut here ]------------
[  668.305372] WARNING: CPU: 0 PID: 0 at drivers/gpu/drm/drm_vblank.c:1026 drm_vblank_put+0xf0/0x100 [drm]
[  668.305380] Modules linked in: rfcomm bnep hci_uart btbcm serdev bluetooth ecdh_generic fuse 8021q garp stp llc vc4 v3d drm_kms_helper gpu_sched drm drm_panel_orientation_quirks snd_soc_core snd_compress snd_pcm_dmaengine syscopyarea sysfillrect sysimgblt fb_sys_fops raspberrypi_hwmon hwmon snd_bcm2835(C) snd_pcm joydev snd_timer snd evdev brcmfmac brcmutil sha256_generic cfg80211 rfkill bcm2835_codec(C) v4l2_mem2mem bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) videobuf2_dma_contig v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) argon_mem uio_pdrv_genirq uio fixed i2c_dev ip_tables x_tables ipv6
[  668.305805] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        WC        4.19.57-v7l+ #1244
[  668.305813] Hardware name: BCM2835
[  668.305846] [<c0212c8c>] (unwind_backtrace) from [<c020d49c>] (show_stack+0x20/0x24)
[  668.305866] [<c020d49c>] (show_stack) from [<c0976220>] (dump_stack+0xd4/0x118)
[  668.305886] [<c0976220>] (dump_stack) from [<c0222270>] (__warn+0x104/0x11c)
[  668.305902] [<c0222270>] (__warn) from [<c02223c0>] (warn_slowpath_null+0x50/0x58)
[  668.306081] [<c02223c0>] (warn_slowpath_null) from [<bf79020c>] (drm_vblank_put+0xf0/0x100 [drm])
[  668.306417] [<bf79020c>] (drm_vblank_put [drm]) from [<bf790240>] (drm_crtc_vblank_put+0x24/0x28 [drm])
[  668.306639] [<bf790240>] (drm_crtc_vblank_put [drm]) from [<bf900654>] (vc4_crtc_handle_page_flip+0x50/0x60 [vc4])
[  668.306743] [<bf900654>] (vc4_crtc_handle_page_flip [vc4]) from [<bf901f90>] (vc4_crtc_irq_handler+0x110/0x144 [vc4])
[  668.306802] [<bf901f90>] (vc4_crtc_irq_handler [vc4]) from [<c0281594>] (__handle_irq_event_percpu+0xc0/0x22c)
[  668.306819] [<c0281594>] (__handle_irq_event_percpu) from [<c028173c>] (handle_irq_event_percpu+0x3c/0x8c)
[  668.306833] [<c028173c>] (handle_irq_event_percpu) from [<c02817e0>] (handle_irq_event+0x54/0x78)
[  668.306849] [<c02817e0>] (handle_irq_event) from [<c0285638>] (handle_fasteoi_irq+0xb4/0x194)
[  668.306866] [<c0285638>] (handle_fasteoi_irq) from [<c0280604>] (generic_handle_irq+0x34/0x44)
[  668.306884] [<c0280604>] (generic_handle_irq) from [<c0280d40>] (__handle_domain_irq+0x6c/0xc4)
[  668.306902] [<c0280d40>] (__handle_domain_irq) from [<c0202244>] (gic_handle_irq+0x4c/0x88)
[  668.306917] [<c0202244>] (gic_handle_irq) from [<c02019bc>] (__irq_svc+0x5c/0x7c)
[  668.306926] Exception stack(0xc1001ed8 to 0xc1001f20)
[  668.306936] 1ec0:                                                       c0209a84 00000000
[  668.306948] 1ee0: 40000093 40000093 c1004dbc c1000000 c1004e04 00000001 c10957ca c10a4a00
[  668.306960] 1f00: c0e67a38 c1001f34 c10051c4 c1001f28 00000000 c0209a88 40000013 ffffffff
[  668.306978] [<c02019bc>] (__irq_svc) from [<c0209a88>] (arch_cpu_idle+0x34/0x4c)
[  668.306996] [<c0209a88>] (arch_cpu_idle) from [<c09933e4>] (default_idle_call+0x34/0x48)
[  668.307015] [<c09933e4>] (default_idle_call) from [<c0254228>] (do_idle+0xec/0x17c)
[  668.307033] [<c0254228>] (do_idle) from [<c0254578>] (cpu_startup_entry+0x28/0x2c)
[  668.307049] [<c0254578>] (cpu_startup_entry) from [<c098cac0>] (rest_init+0xbc/0xc0)
[  668.307065] [<c098cac0>] (rest_init) from [<c0e00fe4>] (start_kernel+0x4b8/0x4e8)
[  668.307076] ---[ end trace f19f69009954cfbb ]---
Certainly the problem od dual screen seems to be solved in next kernel release (4.19.57), but there something need a bit work.

Great job RFP Dev team :!: :!: :D

[!close]

BoydLabBuck
Posts: 6
Joined: Fri Feb 01, 2019 10:15 pm

Re: Raspberry Pi 4B - two Full HD monitors

Sat Jul 06, 2019 3:21 pm

sudo rpi-update did the trick for me as well! Now running two unique displays.

Return to “Troubleshooting”