Skip to content

Bug-blank screen after rotate to right/left by using vc4-kms-v3d-pi4 #4068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jamwu opened this issue Jan 12, 2021 · 13 comments
Closed

Bug-blank screen after rotate to right/left by using vc4-kms-v3d-pi4 #4068

jamwu opened this issue Jan 12, 2021 · 13 comments

Comments

@jamwu
Copy link

jamwu commented Jan 12, 2021

Describe the bug
Blank screen after rotate to right/left by using vc4-kms-v3d-pi4

To reproduce
All these steps base on a clean os-2020-12-02-raspios-buster-armhf.

  1. comment dtoverlay=vc4-fkms-v3d and add dtoverlay=vc4-kms-v3d-pi4 to /boot/config.txt and save.
  2. reboot.
  3. after this boot, the screen shows ok(because without rotate yet). Rotate your screen(what i used is an HDMI screen) to right/left and save, now the screen was rotated to the right and shows ok.
  4. reboot again. You will see the problem.

Expected behaviour
The os will save the screen rotation. When boot, automatically rotate to the last rotation.

Actual behaviour
Can see the rainbow screen and the splash screen (no rotated, stay normal), when booting. But after that, just a black screen, nothing!! And the screen itself shows the "check cable connection" message.
The pi boot ok can connect with ssh.

System

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux
pi@raspberrypi:~ $ cat /etc/rpi-issue
Raspberry Pi reference 2020-12-02
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, cce27bd6f44a3b2e83855645986b3e21f771e852, stage4
pi@raspberrypi:~ $ vcgencmd version
Nov 25 2020 17:10:27
Copyright (c) 2012 Broadcom
version 2e6292a5304b95ecfd700fc5ab2b793402056332 (clean) (release) (start)

Logs

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.79-v7l+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP Mon Nov 23 13:27:40 GMT 2020
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 2304 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s49804 r8192 d23924 u81920
[    0.000000] pcpu-alloc: s49804 r8192 d23924 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1010432
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:9C:62:BC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=39204adc-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x17cc0000-0x1bcc0000] (64MB)
[    0.000000] Memory: 3655604K/4050944K available (10240K kernel code, 739K rwdata, 2816K rodata, 2048K init, 854K bss, 133196K reserved, 262144K cma-reserved, 3264512K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 31111 entries in 61 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x344/0x518 with crng_init=0
[    0.000009] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000024] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000103] bcm2835: system timer (irq = 17)
[    0.000755] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000771] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000789] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000802] Switching to timer-based delay loop, resolution 18ns
[    0.001050] Console: colour dummy device 80x30
[    0.001083] printk: console [tty1] enabled
[    0.001136] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.001159] pid_max: default: 32768 minimum: 301
[    0.001310] LSM: Security Framework initializing
[    0.001510] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001534] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002937] Disabling memory control group subsystem
[    0.003061] CPU: Testing write buffer coherency: ok
[    0.003594] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004531] Setting up static identity map for 0x200000 - 0x20003c
[    0.004738] rcu: Hierarchical SRCU implementation.
[    0.005445] smp: Bringing up secondary CPUs ...
[    0.006689] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008057] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009358] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009518] smp: Brought up 1 node, 4 CPUs
[    0.009536] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.009548] CPU: All CPU(s) started in HYP mode.
[    0.009561] CPU: Virtualization extensions available.
[    0.010425] devtmpfs: initialized
[    0.024599] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.024877] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.024908] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032054] pinctrl core: initialized pinctrl subsystem
[    0.033107] NET: Registered protocol family 16
[    0.037171] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.037774] audit: initializing netlink subsys (disabled)
[    0.038028] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.039219] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.039233] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.039579] Serial: AMBA PL011 UART driver
[    0.043843] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.060834] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-11-25 17:10, variant start
[    0.070848] raspberrypi-firmware soc:firmware: Firmware hash is 2e6292a5304b95ecfd700fc5ab2b793402056332
[    0.133160] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.138531] vgaarb: loaded
[    0.139035] SCSI subsystem initialized
[    0.139252] usbcore: registered new interface driver usbfs
[    0.139325] usbcore: registered new interface driver hub
[    0.139451] usbcore: registered new device driver usb
[    0.139842] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[    0.141923] clocksource: Switched to clocksource arch_sys_counter
[    0.903673] VFS: Disk quotas dquot_6.6.0
[    0.903771] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.903937] FS-Cache: Loaded
[    0.904155] CacheFiles: Loaded
[    0.905193] simple-framebuffer 3e3cf000.framebuffer: framebuffer at 0x3e3cf000, 0x7f8000 bytes, mapped to 0x(ptrval)
[    0.905212] simple-framebuffer 3e3cf000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    0.905740] Console: switching to colour frame buffer device 240x67
[    0.916335] simple-framebuffer 3e3cf000.framebuffer: fb0: simplefb registered!
[    0.926860] thermal_sys: Registered thermal governor 'step_wise'
[    0.927234] NET: Registered protocol family 2
[    0.928005] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.928037] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.928094] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.928161] TCP: Hash tables configured (established 8192 bind 8192)
[    0.928320] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.928353] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.928609] NET: Registered protocol family 1
[    0.929380] RPC: Registered named UNIX socket transport module.
[    0.929395] RPC: Registered udp transport module.
[    0.929408] RPC: Registered tcp transport module.
[    0.929420] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.929443] PCI: CLS 0 bytes, default 64
[    0.931553] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.934012] Initialise system trusted keyrings
[    0.934277] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    0.945387] FS-Cache: Netfs 'nfs' registered for caching
[    0.946154] NFS: Registering the id_resolver key type
[    0.946189] Key type id_resolver registered
[    0.946203] Key type id_legacy registered
[    0.946227] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.947392] Key type asymmetric registered
[    0.947406] Asymmetric key parser 'x509' registered
[    0.947596] bounce: pool size: 64 pages
[    0.947641] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.947879] io scheduler mq-deadline registered
[    0.947893] io scheduler kyber registered
[    0.952405] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.952428] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.952503] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    0.952573] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0000000000
[    1.014038] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    1.014381] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.014400] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.014421] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    1.014482] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.014758] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.018070] PCI: bus0: Fast back to back transfers disabled
[    1.018312] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.018460] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.018894] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.022227] PCI: bus1: Fast back to back transfers disabled
[    1.022289] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.022314] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.022397] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.022421] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.022764] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.023016] pcieport 0000:00:00.0: PME: Signaling with IRQ 61
[    1.023415] pcieport 0000:00:00.0: AER: enabled with IRQ 61
[    1.023758] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    1.032151] iproc-rng200 fe104000.rng: hwrng registered
[    1.032563] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.033293] vc-sm: Videocore shared memory driver
[    1.033930] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.046506] brd: module loaded
[    1.059340] loop: module loaded
[    1.060949] Loading iSCSI transport class v2.0-870.
[    1.063155] libphy: Fixed MDIO Bus: probed
[    1.063876] bcmgenet fd580000.ethernet: failed to get enet clock
[    1.063895] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.063918] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    1.063940] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    1.063968] bcmgenet: Skipping UMAC reset
[    1.081973] libphy: bcmgenet MII bus: probed
[    1.172037] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.173134] usbcore: registered new interface driver r8152
[    1.173204] usbcore: registered new interface driver lan78xx
[    1.173263] usbcore: registered new interface driver smsc95xx
[    1.173746] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.173782] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.176228] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000003000000890
[    1.177574] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.177592] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.177608] usb usb1: Product: xHCI Host Controller
[    1.177623] usb usb1: Manufacturer: Linux 5.4.79-v7l+ xhci-hcd
[    1.177638] usb usb1: SerialNumber: 0000:01:00.0
[    1.178270] hub 1-0:1.0: USB hub found
[    1.178366] hub 1-0:1.0: 1 port detected
[    1.178947] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.178973] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.178998] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.179530] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.179546] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.179562] usb usb2: Product: xHCI Host Controller
[    1.179577] usb usb2: Manufacturer: Linux 5.4.79-v7l+ xhci-hcd
[    1.179591] usb usb2: SerialNumber: 0000:01:00.0
[    1.180196] hub 2-0:1.0: USB hub found
[    1.180267] hub 2-0:1.0: 4 ports detected
[    1.181866] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.182276] dwc_otg: FIQ enabled
[    1.182289] dwc_otg: NAK holdoff enabled
[    1.182302] dwc_otg: FIQ split-transaction FSM enabled
[    1.182318] Module dwc_common_port init
[    1.182806] usbcore: registered new interface driver uas
[    1.182931] usbcore: registered new interface driver usb-storage
[    1.183137] mousedev: PS/2 mouse device common for all mice
[    1.185311] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.189073] sdhci: Secure Digital Host Controller Interface driver
[    1.189086] sdhci: Copyright(c) Pierre Ossman
[    1.189765] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.190468] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.194560] ledtrig-cpu: registered to indicate activity on CPUs
[    1.194868] hidraw: raw HID events driver (C) Jiri Kosina
[    1.195053] usbcore: registered new interface driver usbhid
[    1.195065] usbhid: USB HID core driver
[    1.196204] vchiq: vchiq_init_state: slot_zero = (ptrval)
[    1.198280] [vc_sm_connected_init]: start
[    1.541995] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.724593] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.724611] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.724627] usb 1-1: Product: USB2.0 Hub
[    1.726524] hub 1-1:1.0: USB hub found
[    1.726839] hub 1-1:1.0: 4 ports detected
[    2.151651] [vc_sm_connected_init]: end - returning 0
[    2.154114] Initializing XFRM netlink socket
[    2.154154] NET: Registered protocol family 17
[    2.154266] Key type dns_resolver registered
[    2.154710] Registering SWP/SWPB emulation handler
[    2.155064] registered taskstats version 1
[    2.155083] Loading compiled-in X.509 certificates
[    2.155630] Key type ._fscrypt registered
[    2.155644] Key type .fscrypt registered
[    2.166954] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    2.167034] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 30, base_baud = 0) is a PL011 rev2
[    2.173367] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.174364] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    2.174380] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    2.227224] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.228895] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.230577] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.233583] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.235263] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.241980] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    2.244992] of_cfs_init
[    2.245254] of_cfs_init: OK
[    2.246441] Waiting for root device PARTUUID=39204adc-02...
[    2.265909] random: fast init done
[    2.308911] mmc1: new high speed SDIO card at address 0001
[    2.347546] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    2.348530] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    2.351743]  mmcblk0: p1 p2
[    2.371120] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.371135] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.536840] EXT4-fs (mmcblk0p2): recovery complete
[    2.548554] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.548656] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.550417] devtmpfs: mounted
[    2.559393] Freeing unused kernel memory: 2048K
[    2.559689] Run /sbin/init as init process
[    2.959159] systemd[1]: System time before build time, advancing clock.
[    3.061566] NET: Registered protocol family 10
[    3.062972] Segment Routing with IPv6
[    3.088981] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    3.090326] systemd[1]: Detected architecture arm.
[    3.147948] systemd[1]: Set hostname to <raspberrypi>.
[    3.854460] random: systemd: uninitialized urandom read (16 bytes read)
[    3.867434] random: systemd: uninitialized urandom read (16 bytes read)
[    3.870903] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.871215] random: systemd: uninitialized urandom read (16 bytes read)
[    3.872317] systemd[1]: Listening on udev Control Socket.
[    3.873535] systemd[1]: Created slice User and Session Slice.
[    3.873984] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    3.874423] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.875056] systemd[1]: Listening on udev Kernel Socket.
[    3.875739] systemd[1]: Listening on Syslog Socket.
[    4.041514] i2c /dev entries driver
[    4.546573] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.637742] systemd-journald[120]: Received request to flush runtime journal from PID 1
[    5.218805] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    5.219298] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    5.219733] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    5.220134] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    5.271231] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.274333] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.274361] [vc_sm_connected_init]: start
[    5.279079] [vc_sm_connected_init]: installed successfully
[    5.281145] mc: Linux media interface: v0.10
[    5.348649] videodev: Linux video capture interface: v2.00
[    5.361129] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.392459] bcm2835_audio bcm2835_audio: card created with 8 channels
[    5.404165] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.408432] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.414450] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.419160] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    5.422747] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.429070] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    5.437171] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.472761] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.472807] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.475472] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.477957] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.482093] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.482137] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.482665] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.484629] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.484661] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.484685] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.484730] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.484750] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.486988] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.491255] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.491302] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    5.812435] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    5.861275] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.980969] vc4_hdmi fef00700.hdmi: Unknown register ID 47
[    5.991964] debugfs: Directory 'fef00700.hdmi' with parent 'vc4-hdmi' already present!
[    6.000686] vc4_hdmi fef00700.hdmi: vc4-hdmi-hifi <-> fef00700.hdmi mapping ok
[    6.012379] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[    6.012604] vc4_hdmi fef05700.hdmi: Unknown register ID 47
[    6.019950] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.026284] debugfs: Directory 'fef05700.hdmi' with parent 'vc4-hdmi1' already present!
[    6.038510] vc4_hdmi fef05700.hdmi: vc4-hdmi-hifi <-> fef05700.hdmi mapping ok
[    6.041388] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[    6.041759] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[    6.046785] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    6.047205] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.047573] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.047901] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.048186] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.048559] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.049495] checking generic (3e3cf000 7f8000) vs hw (0 ffffffffffffffff)
[    6.049511] fb0: switching to vc4drmfb from simple
[    6.067568] Console: switching to colour dummy device 80x30
[    6.072457] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.072473] [drm] Driver supports precise vblank timestamp query.
[    6.076250] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    6.126141] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.139955] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.141057] usbcore: registered new interface driver brcmfmac
[    6.169137] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    6.242549] Console: switching to colour frame buffer device 240x67
[    6.242599] vc4-drm gpu: fb0: vc4drmfb frame buffer device
[    6.415969] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.428762] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[    7.672059] Under-voltage detected! (0x00050005)
[   17.112059] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   17.996751] random: crng init done
[   17.996771] random: 7 urandom warning(s) missed due to ratelimiting
[   18.024798] uart-pl011 fe201000.serial: no DMA platform data
[   18.183865] 8021q: 802.1Q VLAN Support v1.8
[   18.582993] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[   18.808041] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[   19.231070] bcmgenet: Skipping UMAC reset
[   19.235290] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[   19.235673] bcmgenet fd580000.ethernet eth0: Link is Down
[   20.212124] warning: process `colord-sane' used the deprecated sysctl system call with 8.1.2.
[   24.174924] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   24.784910] Bluetooth: Core ver 2.22
[   24.784992] NET: Registered protocol family 31
[   24.785005] Bluetooth: HCI device and connection manager initialized
[   24.785030] Bluetooth: HCI socket layer initialized
[   24.785048] Bluetooth: L2CAP socket layer initialized
[   24.785082] Bluetooth: SCO socket layer initialized
[   24.795430] Bluetooth: HCI UART driver ver 2.3
[   24.795447] Bluetooth: HCI UART protocol H4 registered
[   24.795529] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   24.795880] Bluetooth: HCI UART protocol Broadcom registered
[   25.094888] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   25.094902] Bluetooth: BNEP filters: protocol multicast
[   25.094928] Bluetooth: BNEP socket layer initialized
[   27.352054] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   37.592047] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[   45.112001] Voltage normalised (0x00000000)
[   47.832061] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[   58.072058] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   68.312053] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   78.552046] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[   88.793144] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[   99.034043] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  109.274394] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  119.514727] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  129.754836] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  139.994892] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  150.234936] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  160.474946] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  170.714953] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  180.954619] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  182.394515] Under-voltage detected! (0x00050005)
[  186.554158] Voltage normalised (0x00000000)
[  191.193789] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  201.433118] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  211.672618] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  213.592547] Under-voltage detected! (0x00050005)
[  217.752324] Voltage normalised (0x00000000)
[  221.912188] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  232.151886] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  242.391611] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  252.631375] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  262.871176] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  273.111022] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  283.350837] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  293.590650] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  303.830513] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  305.134036] broken atomic modeset userspace detected, disabling atomic
[  315.991272] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  317.591400] rpi_firmware_get_throttled: 3 callbacks suppressed
[  317.591408] Under-voltage detected! (0x00050005)
[  326.231925] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  332.152228] Under-voltage detected! (0x00050005)
[  336.472464] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  346.712910] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  356.953344] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  367.193651] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  377.433926] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  387.674170] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  392.474234] Under-voltage detected! (0x00050005)
[  396.634273] rpi_firmware_get_throttled: 5 callbacks suppressed
[  396.634280] Voltage normalised (0x00000000)
[  397.914358] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  408.154544] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  418.394659] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  428.634794] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  438.874881] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  449.114956] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  456.954941] Voltage normalised (0x00000000)
[  459.355002] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  470.235074] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  480.475107] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  490.715150] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  500.955167] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  511.195188] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  517.275147] Voltage normalised (0x00000000)
[  521.435204] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  531.675209] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  541.915219] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  552.155228] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  562.395235] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  573.275885] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  583.516443] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  593.756965] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  603.997464] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  614.237921] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  624.478370] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[  625.438394] rpi_firmware_get_throttled: 3 callbacks suppressed
[  625.438401] Under-voltage detected! (0x00050005)
[  634.718794] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  635.838853] Under-voltage detected! (0x00050005)
[  636.380765] fuse: init (API version 7.31)
[  638.482740] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.483858] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.485693] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.609428] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.611090] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.615901] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.616521] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[  638.667281] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.668295] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.670409] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.796083] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.797762] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.802910] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.803563] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[  638.920440] Bluetooth: RFCOMM TTY layer initialized
[  638.920473] Bluetooth: RFCOMM socket layer initialized
[  638.920507] Bluetooth: RFCOMM ver 1.11
[  647.519245] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  657.759585] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[  667.999894] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[  669.119964] Under-voltage detected! (0x00050005)
[  721.121288] rpi_firmware_get_throttled: 5 callbacks suppressed
[  721.121296] Voltage normalised (0x00000000)
[  735.681583] Voltage normalised (0x00000000)
[  750.241873] Voltage normalised (0x00000000)
[  927.044123] rpi_firmware_get_throttled: 12 callbacks suppressed
[  927.044131] Under-voltage detected! (0x00050005)
[  941.604225] Under-voltage detected! (0x00050005)
[  956.164375] Under-voltage detected! (0x00050005)
[ 1035.206171] rpi_firmware_get_throttled: 14 callbacks suppressed
[ 1035.206180] Voltage normalised (0x00000000)
[ 1066.405949] Voltage normalised (0x00000000)
[ 1097.605879] Voltage normalised (0x00000000)
[ 1101.286075] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[ 1111.526330] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[ 1121.766610] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[ 1132.006901] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[ 1142.247182] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[ 1152.487458] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:59:plane-2] flip_done timed out
[ 1162.727720] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:188:plane-23] flip_done timed out
[ 1243.209578] rpi_firmware_get_throttled: 8 callbacks suppressed
[ 1243.209585] Under-voltage detected! (0x00050005)
[ 1284.810374] Under-voltage detected! (0x00050005)
[ 1318.091007] Under-voltage detected! (0x00050005)

xrandr

pi@raspberrypi:~ $ DISPLAY=:0 xrandr
Screen 0: minimum 320 x 200, current 1080 x 1920, maximum 7680 x 7680
HDMI-1 connected primary 1080x1920+0+0 right (normal left inverted right x axis y axis) 435mm x 239mm
   1920x1080     60.00*+
   1680x1050     59.88
   1280x1024     75.02    60.02
   1440x900      74.98    59.90
   1280x960      60.00
   1280x720      60.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    72.81    66.67    59.94
   720x400       70.08
HDMI-2 disconnected (normal left inverted right x axis y axis)

confige.txt

pi@raspberrypi:~ $ cat /boot/config.txt |grep -Ev '^$|#'
dtparam=audio=on
[pi4]
max_framebuffers=2
[all]
dtoverlay=vc4-kms-v3d-pi4
@6by9
Copy link
Contributor

6by9 commented Jan 12, 2021

You have

[  182.394515] Under-voltage detected! (0x00050005)
[  186.554158] Voltage normalised (0x00000000)

multiple times warnings in your logs. You need a better power supply.

On undervoltage or overheat conditions the firmware tries to add warning icons to the screen. This is incompatible with vc4-kms-v3d (you don't need the -pi4 extension any more).
You need to add
avoid_warnings=1
to config.txt to disable this, but better to fix the underlying issue of a dodgy power supply.

@popcornmix @pelwell Thoughts on automatically setting avoid_warnings=1 if vc4-kms-v3d is loaded?
I haven't checked to ensure that it only disables the warning icons and not the other monitoring.

@pelwell
Copy link
Contributor

pelwell commented Jan 12, 2021

@6by9 are you saying that the warnings are actively harmful in this case or just unnecessary?

@popcornmix
Copy link
Collaborator

The code does:

   int on = number && !C(avoid_warnings) && !intctrl_is_interrupt_masked(INTERRUPT_VIDEOSCALER);

which certainly intends to disable visible warnings with kms.

@pelwell
Copy link
Contributor

pelwell commented Jan 12, 2021

For the record, avoid_warnings=1 will also disable the flashing of the PWR LED, but it doesn't stop the measurement or the CPU throttling.

@6by9
Copy link
Contributor

6by9 commented Jan 12, 2021

are you saying that the warnings are actively harmful in this case or just unnecessary?

Memory had said harmful. The firmware goes and updates the dlists to try and add the overlay, but it's not in charge of the HVS.

@popcornmix Thanks - I'd totally missed the INTERRUPT_VIDEOSCALER masking. That should stop it.
Ah, a commit by you in 2016 (d2b73a2e). I think it's still in some of the docs.

@jamwu
Copy link
Author

jamwu commented Jan 12, 2021

On undervoltage or overheat conditions the firmware tries to add warning icons to the screen. This is incompatible with vc4-kms-v3d (you don't need the -pi4 extension any more).
You need to add
avoid_warnings=1
to config.txt to disable this, but better to fix the underlying issue of a dodgy power supply.

@6by9 Yes,my power supply maybe not good enough.I will try a better one. But...It doesn't seem logical.If it is the power supply problem, why only rotate to right/left(90°/270°) cause this issue?normal/inverted(0°/180°) are ok, don't have this problem, with the same power supply.

@6by9
Copy link
Contributor

6by9 commented Jan 12, 2021

H&V flips can be done for near zero cost whilst composing in the HVS.
Transpose is done as a second pass through GL

@jamwu
Copy link
Author

jamwu commented Jan 13, 2021

@6by9
After i change to another power supply. Without under-voltage warning. But the result is the same. Even i add

avoid_warnings=1

and using vc4-kms-v3d instead of vc4-kms-v3d-pi4.
Still black screen after the splash screen.

Here is the log.
dmesg

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.79-v7l+ (dom@buildbot) (gcc version 8.4.0 (Ubuntu/Linaro 8.4.0-3ubuntu1)) #1373 SMP Mon Nov 23 13:27:40 GMT 2020
[    0.000000] CPU: ARMv7 Processor [410fd083] revision 3 (ARMv7), cr=30c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Raspberry Pi 4 Model B Rev 1.2
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000001ec00000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 1012736
[    0.000000]   DMA zone: 2304 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 196608 pages, LIFO batch:63
[    0.000000]   HighMem zone: 816128 pages, LIFO batch:63
[    0.000000] percpu: Embedded 20 pages/cpu s49804 r8192 d23924 u81920
[    0.000000] pcpu-alloc: s49804 r8192 d23924 u81920 alloc=20*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1010432
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x1080M@60 smsc95xx.macaddr=DC:A6:32:9C:62:BC vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=39204adc-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x17cc0000-0x1bcc0000] (64MB)
[    0.000000] Memory: 3655604K/4050944K available (10240K kernel code, 739K rwdata, 2816K rodata, 2048K init, 854K bss, 133196K reserved, 262144K cma-reserved, 3264512K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 31111 entries in 61 pages
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x344/0x518 with crng_init=0
[    0.000007] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483647500ns
[    0.000023] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275 ns
[    0.000104] bcm2835: system timer (irq = 17)
[    0.000754] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[    0.000770] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[    0.000786] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[    0.000799] Switching to timer-based delay loop, resolution 18ns
[    0.001047] Console: colour dummy device 80x30
[    0.001084] printk: console [tty1] enabled
[    0.001138] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=540000)
[    0.001160] pid_max: default: 32768 minimum: 301
[    0.001311] LSM: Security Framework initializing
[    0.001510] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001533] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002943] Disabling memory control group subsystem
[    0.003068] CPU: Testing write buffer coherency: ok
[    0.003599] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004530] Setting up static identity map for 0x200000 - 0x20003c
[    0.004739] rcu: Hierarchical SRCU implementation.
[    0.005434] smp: Bringing up secondary CPUs ...
[    0.006680] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.008055] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.009361] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.009522] smp: Brought up 1 node, 4 CPUs
[    0.009538] SMP: Total of 4 processors activated (432.00 BogoMIPS).
[    0.009552] CPU: All CPU(s) started in HYP mode.
[    0.009565] CPU: Virtualization extensions available.
[    0.010425] devtmpfs: initialized
[    0.024635] VFP support v0.3: implementor 41 architecture 3 part 40 variant 8 rev 0
[    0.024904] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.024933] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.032075] pinctrl core: initialized pinctrl subsystem
[    0.033130] NET: Registered protocol family 16
[    0.037203] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.037808] audit: initializing netlink subsys (disabled)
[    0.038063] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.039253] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.039269] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.039612] Serial: AMBA PL011 UART driver
[    0.043893] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[    0.060830] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-11-25 17:10, variant start
[    0.070846] raspberrypi-firmware soc:firmware: Firmware hash is 2e6292a5304b95ecfd700fc5ab2b793402056332
[    0.132993] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[    0.138358] vgaarb: loaded
[    0.138862] SCSI subsystem initialized
[    0.139079] usbcore: registered new interface driver usbfs
[    0.139151] usbcore: registered new interface driver hub
[    0.139276] usbcore: registered new device driver usb
[    0.139667] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[    0.141638] clocksource: Switched to clocksource arch_sys_counter
[    0.902996] VFS: Disk quotas dquot_6.6.0
[    0.903094] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.903261] FS-Cache: Loaded
[    0.903477] CacheFiles: Loaded
[    0.904519] simple-framebuffer 3e3cf000.framebuffer: framebuffer at 0x3e3cf000, 0x7f8000 bytes, mapped to 0x(ptrval)
[    0.904539] simple-framebuffer 3e3cf000.framebuffer: format=a8r8g8b8, mode=1920x1080x32, linelength=7680
[    0.905062] Console: switching to colour frame buffer device 240x67
[    0.915658] simple-framebuffer 3e3cf000.framebuffer: fb0: simplefb registered!
[    0.926050] thermal_sys: Registered thermal governor 'step_wise'
[    0.926425] NET: Registered protocol family 2
[    0.927201] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.927231] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.927291] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.927365] TCP: Hash tables configured (established 8192 bind 8192)
[    0.927537] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.927573] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.927834] NET: Registered protocol family 1
[    0.928596] RPC: Registered named UNIX socket transport module.
[    0.928610] RPC: Registered udp transport module.
[    0.928623] RPC: Registered tcp transport module.
[    0.928636] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.928657] PCI: CLS 0 bytes, default 64
[    0.930748] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.933180] Initialise system trusted keyrings
[    0.933434] workingset: timestamp_bits=14 max_order=20 bucket_order=6
[    0.944518] FS-Cache: Netfs 'nfs' registered for caching
[    0.945289] NFS: Registering the id_resolver key type
[    0.945326] Key type id_resolver registered
[    0.945341] Key type id_legacy registered
[    0.945364] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.946524] Key type asymmetric registered
[    0.946538] Asymmetric key parser 'x509' registered
[    0.946727] bounce: pool size: 64 pages
[    0.946770] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.946999] io scheduler mq-deadline registered
[    0.947013] io scheduler kyber registered
[    0.952217] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[    0.952241] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[    0.952315] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[    0.952386] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0000000000
[    1.013753] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[    1.014083] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[    1.014101] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.014121] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[    1.014179] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[    1.014449] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.017790] PCI: bus0: Fast back to back transfers disabled
[    1.018034] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[    1.018182] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[    1.018616] pci 0000:01:00.0: PME# supported from D0 D3cold
[    1.021951] PCI: bus1: Fast back to back transfers disabled
[    1.022013] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[    1.022038] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[    1.022120] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.022145] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[    1.022489] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[    1.022741] pcieport 0000:00:00.0: PME: Signaling with IRQ 61
[    1.023141] pcieport 0000:00:00.0: AER: enabled with IRQ 61
[    1.023477] pci 0000:01:00.0: enabling device (0140 -> 0142)
[    1.031838] iproc-rng200 fe104000.rng: hwrng registered
[    1.032249] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[    1.032973] vc-sm: Videocore shared memory driver
[    1.033609] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[    1.046164] brd: module loaded
[    1.058960] loop: module loaded
[    1.060567] Loading iSCSI transport class v2.0-870.
[    1.062788] libphy: Fixed MDIO Bus: probed
[    1.063502] bcmgenet fd580000.ethernet: failed to get enet clock
[    1.063521] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[    1.063544] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[    1.063566] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[    1.063594] bcmgenet: Skipping UMAC reset
[    1.081724] libphy: bcmgenet MII bus: probed
[    1.171750] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[    1.172831] usbcore: registered new interface driver r8152
[    1.172898] usbcore: registered new interface driver lan78xx
[    1.172957] usbcore: registered new interface driver smsc95xx
[    1.173400] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.173438] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[    1.175896] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000003000000890
[    1.177236] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    1.177253] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.177270] usb usb1: Product: xHCI Host Controller
[    1.177285] usb usb1: Manufacturer: Linux 5.4.79-v7l+ xhci-hcd
[    1.177300] usb usb1: SerialNumber: 0000:01:00.0
[    1.177951] hub 1-0:1.0: USB hub found
[    1.178049] hub 1-0:1.0: 1 port detected
[    1.178628] xhci_hcd 0000:01:00.0: xHCI Host Controller
[    1.178654] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[    1.178678] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[    1.179209] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    1.179225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.179241] usb usb2: Product: xHCI Host Controller
[    1.179256] usb usb2: Manufacturer: Linux 5.4.79-v7l+ xhci-hcd
[    1.179271] usb usb2: SerialNumber: 0000:01:00.0
[    1.179876] hub 2-0:1.0: USB hub found
[    1.179956] hub 2-0:1.0: 4 ports detected
[    1.181542] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.181951] dwc_otg: FIQ enabled
[    1.181964] dwc_otg: NAK holdoff enabled
[    1.181976] dwc_otg: FIQ split-transaction FSM enabled
[    1.181993] Module dwc_common_port init
[    1.182472] usbcore: registered new interface driver uas
[    1.182597] usbcore: registered new interface driver usb-storage
[    1.182805] mousedev: PS/2 mouse device common for all mice
[    1.184964] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[    1.188730] sdhci: Secure Digital Host Controller Interface driver
[    1.188743] sdhci: Copyright(c) Pierre Ossman
[    1.189427] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[    1.190131] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.194203] ledtrig-cpu: registered to indicate activity on CPUs
[    1.194518] hidraw: raw HID events driver (C) Jiri Kosina
[    1.194712] usbcore: registered new interface driver usbhid
[    1.194724] usbhid: USB HID core driver
[    1.195854] vchiq: vchiq_init_state: slot_zero = (ptrval)
[    1.197850] [vc_sm_connected_init]: start
[    1.541713] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    1.724251] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[    1.724269] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.724285] usb 1-1: Product: USB2.0 Hub
[    1.726183] hub 1-1:1.0: USB hub found
[    1.726498] hub 1-1:1.0: 4 ports detected
[    2.201791] [vc_sm_connected_init]: end - returning 0
[    2.204143] Initializing XFRM netlink socket
[    2.204183] NET: Registered protocol family 17
[    2.204297] Key type dns_resolver registered
[    2.204744] Registering SWP/SWPB emulation handler
[    2.205095] registered taskstats version 1
[    2.205115] Loading compiled-in X.509 certificates
[    2.205675] Key type ._fscrypt registered
[    2.205688] Key type .fscrypt registered
[    2.216913] uart-pl011 fe201000.serial: cts_event_workaround enabled
[    2.216997] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 30, base_baud = 0) is a PL011 rev2
[    2.223314] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[    2.224313] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[    2.224329] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[    2.275124] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.276799] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.278469] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.281471] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.283145] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.290520] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[    2.293594] of_cfs_init
[    2.293868] of_cfs_init: OK
[    2.295046] Waiting for root device PARTUUID=39204adc-02...
[    2.313800] random: fast init done
[    2.351916] mmc1: new high speed SDIO card at address 0001
[    2.395462] mmc0: new ultra high speed DDR50 SDHC card at address aaaa
[    2.396464] mmcblk0: mmc0:aaaa SC32G 29.7 GiB
[    2.399602]  mmcblk0: p1 p2
[    2.420835] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    2.420853] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.725677] EXT4-fs (mmcblk0p2): recovery complete
[    2.727680] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.727758] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.729675] devtmpfs: mounted
[    2.738532] Freeing unused kernel memory: 2048K
[    2.738828] Run /sbin/init as init process
[    3.137862] systemd[1]: System time before build time, advancing clock.
[    3.240508] NET: Registered protocol family 10
[    3.242038] Segment Routing with IPv6
[    3.268231] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    3.269573] systemd[1]: Detected architecture arm.
[    3.317200] systemd[1]: Set hostname to <raspberrypi>.
[    4.026799] random: systemd: uninitialized urandom read (16 bytes read)
[    4.040077] random: systemd: uninitialized urandom read (16 bytes read)
[    4.041201] systemd[1]: Listening on Journal Socket.
[    4.047503] random: systemd: uninitialized urandom read (16 bytes read)
[    4.055496] systemd[1]: Starting Set the console keyboard layout...
[    4.057405] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    4.059163] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    4.066441] systemd[1]: Starting Restore / save the current clock...
[    4.067332] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    4.068634] systemd[1]: Listening on Journal Socket (/dev/log).
[    4.215275] i2c /dev entries driver
[    4.647433] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    4.761375] systemd-journald[119]: Received request to flush runtime journal from PID 1
[    5.341121] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[    5.343803] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[    5.344697] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[    5.349049] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[    5.435902] mc: Linux media interface: v0.10
[    5.436609] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[    5.438832] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[    5.438857] [vc_sm_connected_init]: start
[    5.443509] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[    5.465732] [vc_sm_connected_init]: installed successfully
[    5.474272] bcm2835_audio bcm2835_audio: card created with 8 channels
[    5.544898] brcmstb-i2c fef04500.i2c:  @97500hz registered in polling mode
[    5.547994] brcmstb-i2c fef09500.i2c:  @97500hz registered in polling mode
[    5.586937] videodev: Linux video capture interface: v2.00
[    5.635286] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.635291] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[    5.642909] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[    5.647280] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[    5.648626] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[    5.678263] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[    5.678315] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[    5.678621] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[    5.698168] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[    5.698221] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[    5.701879] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[    5.703185] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[    5.703678] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[    5.703715] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[    5.703747] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[    5.703769] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[    5.703793] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[    5.704070] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[    5.705373] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[    5.705423] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[    5.985969] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.069925] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[    6.086401] vc4_hdmi fef00700.hdmi: Unknown register ID 47
[    6.129981] debugfs: Directory 'fef00700.hdmi' with parent 'vc4-hdmi' already present!
[    6.131028] vc4_hdmi fef00700.hdmi: vc4-hdmi-hifi <-> fef00700.hdmi mapping ok
[    6.131461] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.134702] vc4-drm gpu: bound fef00700.hdmi (ops vc4_hdmi_ops [vc4])
[    6.135021] vc4_hdmi fef05700.hdmi: Unknown register ID 47
[    6.145558] debugfs: Directory 'fef05700.hdmi' with parent 'vc4-hdmi1' already present!
[    6.148193] vc4_hdmi fef05700.hdmi: vc4-hdmi-hifi <-> fef05700.hdmi mapping ok
[    6.149158] vc4-drm gpu: bound fef05700.hdmi (ops vc4_hdmi_ops [vc4])
[    6.149526] vc4-drm gpu: bound fe004000.txp (ops vc4_txp_ops [vc4])
[    6.149810] vc4-drm gpu: bound fe400000.hvs (ops vc4_hvs_ops [vc4])
[    6.150148] vc4-drm gpu: bound fe206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.150471] vc4-drm gpu: bound fe207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.150773] vc4-drm gpu: bound fe20a000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.151046] vc4-drm gpu: bound fe216000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.151384] vc4-drm gpu: bound fec12000.pixelvalve (ops vc4_crtc_ops [vc4])
[    6.152430] checking generic (3e3cf000 7f8000) vs hw (0 ffffffffffffffff)
[    6.152448] fb0: switching to vc4drmfb from simple
[    6.162359] Console: switching to colour dummy device 80x30
[    6.162632] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    6.162646] [drm] Driver supports precise vblank timestamp query.
[    6.163902] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[    6.209272] brcmfmac: F1 signature read @0x18000000=0x15264345
[    6.231946] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.232954] usbcore: registered new interface driver brcmfmac
[    6.256406] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[    6.319921] Console: switching to colour frame buffer device 240x67
[    6.319968] vc4-drm gpu: fb0: vc4drmfb frame buffer device
[    6.497192] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    6.509836] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar 23 2020 02:19:54 version 7.45.206 (r725000 CY) FWID 01-88ee44ea
[    8.354484] random: crng init done
[    8.354502] random: 7 urandom warning(s) missed due to ratelimiting
[    8.442398] 8021q: 802.1Q VLAN Support v1.8
[    8.586603] uart-pl011 fe201000.serial: no DMA platform data
[    8.890548] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[    8.891939] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
[    9.199497] bcmgenet: Skipping UMAC reset
[    9.201179] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[    9.201381] bcmgenet fd580000.ethernet eth0: Link is Down
[   10.892260] broken atomic modeset userspace detected, disabling atomic
[   14.352283] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   15.393468] Bluetooth: Core ver 2.22
[   15.393564] NET: Registered protocol family 31
[   15.393578] Bluetooth: HCI device and connection manager initialized
[   15.393604] Bluetooth: HCI socket layer initialized
[   15.393624] Bluetooth: L2CAP socket layer initialized
[   15.393659] Bluetooth: SCO socket layer initialized
[   15.405403] Bluetooth: HCI UART driver ver 2.3
[   15.405421] Bluetooth: HCI UART protocol H4 registered
[   15.405517] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   15.407991] Bluetooth: HCI UART protocol Broadcom registered
[   15.566524] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   15.566532] Bluetooth: BNEP filters: protocol multicast
[   15.566551] Bluetooth: BNEP socket layer initialized
[   22.231762] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   32.471796] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   42.711721] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CONNECTOR:32:HDMI-A-1] flip_done timed out
[   52.951766] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:65:crtc-2] flip_done timed out
[   54.099889] fuse: init (API version 7.31)
[   55.659476] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.660250] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.661553] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.736923] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.737640] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.739958] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.740245] vc4_hdmi fef00700.hdmi: ASoC: can't open interface fef00700.hdmi: -19
[   55.764722] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.765235] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.766051] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.821992] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.822888] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.825006] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.825296] vc4_hdmi fef05700.hdmi: ASoC: can't open interface fef05700.hdmi: -19
[   55.886815] Bluetooth: RFCOMM TTY layer initialized
[   55.886837] Bluetooth: RFCOMM socket layer initialized
[   55.886858] Bluetooth: RFCOMM ver 1.11

@jamwu
Copy link
Author

jamwu commented Jan 13, 2021

e80bee4b4fbc8c1151d0a3bf63db508a.mp4

It's easier to understand what's going on through this video.

To reproduce
All these steps base on a clean os-2020-12-02-raspios-buster-armhf.

  1. comment dtoverlay=vc4-fkms-v3d and add dtoverlay=vc4-kms-v3d-pi4vc4-kms-v3d to /boot/config.txt and save.
  2. reboot.
  3. after this boot, the screen shows ok(because without rotate yet). Rotate your screen(what i used is an HDMI screen) to right/left and save, now the screen was rotated to the right and shows ok.
  4. reboot again. You will see the problem.

Maybe you should give it a try.@6by9

@6by9
Copy link
Contributor

6by9 commented Jan 13, 2021

I've just noticed that you're trying vc4-kms-v3d for Pi4 on the 5.4 kernel branch. That branch has an early version of the driver which is known to have issues, which is why the option is not enabled via raspi-config.
The main development for vc4-kms-v3d is on the 5.10 branch, and is available via rpi-update (normal warnings of not doing this on a critical Pi and backing up first).

@jamwu
Copy link
Author

jamwu commented Jan 13, 2021

The main development for vc4-kms-v3d is on the 5.10 branch, and is available via rpi-update (normal warnings of not doing this on a critical Pi and backing up first).

Yes, you are right! After update to 5.10.6. This problem solved!

@pelwell
Copy link
Contributor

pelwell commented Jan 13, 2021

This is when you close the issue.

@pelwell pelwell closed this as completed Jan 13, 2021
@colesnicov
Copy link

Hi @jamwu. Please, which model RPI have you used here?

I try to turn the drm layer of 90 degrees on my RPI 2B without 'X' and I do not give that. I wrote about it here raysan5/raylib#3958 If you would like to look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants