linux icon indicating copy to clipboard operation
linux copied to clipboard

rpivid log spam in kernel ring buffer

Open andrum993 opened this issue 7 months ago • 4 comments

Describe the bug

Yesterday evening I watched an H.265 video using Kodi, on Raspberry Pi OS (fully up to date). Today I noticed that the kernel ring buffer is full of log spam from rpivid. Video playback was absolutely fine. Can these messages be changed to debug only, to get rid of the log spam?

andrew@tarmachan:~ $ dmesg -e
[May27 19:38] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000009] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.011766] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000007] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000003] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.051173] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000007] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.054399] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000006] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.013309] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000006] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.012185] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000005] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
...
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.051314] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000008] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB AUX ent 3, timestamp=29950000, index=10
[  +0.054264] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000006] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.000534] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
...
[  +0.000002] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[  +0.051069] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
[  +0.000015] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
[  +0.000003] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
[  +0.000001] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
[May27 20:20] rpi-hevc-dec 1000800000.codec: phase1_cb: Post wait: 0x8
[  +0.002061] rpi-hevc-dec 1000800000.codec: phase1_thread: Coeff realloc (600000) OK

Steps to reproduce the behaviour

Play an H.265 video using Kodi on Raspberry Pi OS running on a Raspberry Pi which has H.265 hardware decode built in (i.e. Pi 4 and Pi 5 family). Not all H.265 videos produce this much log spam, but all the H.265 videos which I have played produce at least a few messages. For some reason the one last night resulted in a lot of messages.

Device (s)

Raspberry Pi 5

System

System Information
------------------

Raspberry Pi 5 Model B Rev 1.0
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"

Raspberry Pi reference 2023-12-11
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 2acf7afcba7d11500313a7b93bb55a2aae20b2d6, stage2

Linux tarmachan 6.12.25+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux
Revision	: d04170
Serial		: 00afddee8e47ff82
Model		: Raspberry Pi 5 Model B Rev 1.0
Throttled flag  : throttled=0x0
Camera          : vc_gencmd_read_response returned -1 error=1 error_msg="Command not registered"

Videocore information
---------------------

2025/05/08 15:13:17 
Copyright (c) 2012 Broadcom
version 69471177 (release) (embedded)

vc_gencmd_read_response returned -1
error=1 error_msg="Command not registered"

Filesystem information
----------------------
Filesystem                    1K-blocks       Used Available Use% Mounted on
udev                            4082960          0   4082960   0% /dev
tmpfs                            825728       8064    817664   1% /run
/dev/nvme0n1p2                245679712   15191364 217995804   7% /
tmpfs                           4128608        112   4128496   1% /dev/shm
tmpfs                              5120         48      5072   1% /run/lock
/dev/nvme0n1p1                   522232      84340    437892  17% /boot/firmware
zdata                         281937920       1024 281936896   1% /zdata
zdata/local Pi stuff          281937920       1024 281936896   1% /zdata/local Pi stuff
zdata/VMs                     338627584   56690688 281936896  17% /zdata/VMs
zdata/Videos                 1392565248 1110628352 281936896  80% /zdata/Videos
zdata/Music                   324284416   42347520 281936896  14% /zdata/Music
zdata/Software Library        341054464   59117568 281936896  18% /zdata/Software Library
zdata/learning                282115072     178176 281936896   1% /zdata/learning
zdata/data                    303263744   21326848 281936896   8% /zdata/data
zdata/circuitpython           281938944       2048 281936896   1% /zdata/circuitpython
zdata/ossian-backups          573332480  291395584 281936896  51% /zdata/ossian-backups
zdata/clonezilla-images       291888128    9951232 281936896   4% /zdata/clonezilla-images
zdata/pi-backups              281937920       1024 281936896   1% /zdata/pi-backups
zdata/newtempmon              281938944       2048 281936896   1% /zdata/newtempmon
zdata/pi-backups-2            281937920       1024 281936896   1% /zdata/pi-backups-2
zdata/pi-backups/tarmachan    285360128    3423232 281936896   2% /zdata/pi-backups/tarmachan
zdata/pi-backups-2/lomond     284652544    2715648 281936896   1% /zdata/pi-backups-2/lomond
zdata/pi-backups-2/tarmachan  284848128    2911232 281936896   2% /zdata/pi-backups-2/tarmachan
zdata/pi-backups/lomond       284853248    2916352 281936896   2% /zdata/pi-backups/lomond
tmpfs                            825712          0    825712   0% /run/user/1000

Filename				Type		Size		Used		Priority
/var/swap                               file		4194288		30720		-2

Package version information
---------------------------
raspberrypi-ui-mods:
  Installed: (none)
raspberrypi-sys-mods:
  Installed: 20250423
openbox:
  Installed: (none)
lxpanel:
  Installed: (none)
pcmanfm:
  Installed: (none)
rpd-plym-splash:
  Installed: (none)

Networking Information
----------------------

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask x.x.x.x  broadcast x.x.x.x
        ether m.m.m.m  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 112  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet x.x.x.x  netmask x.x.x.x
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wg0: flags=209<UP,POINTOPOINT,RUNNING,NOARP>  mtu 1420
        inet x.x.x.x  netmask x.x.x.x  destination x.x.x.x
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


USB Information
---------------

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/2p, 480M

Display Information
-------------------

Running (F)KMS, console

/sys/class/drm/card1-HDMI-A-1
AP///////wBYswA3AAAAAAEYAQOAEAl4Cmg3pFRImiUPSkwgAAABAQEBAQEBAQEBAQEBAQEBAR2A
GHEcFiBYLCUAEAkAAACeAR0AclHQHiBuKFUAEAkAAAAeAAAA/AAzMldfTENEX1RWCiAgAAAA/QAx
PQ8uCAAKICAgICAgAXcCAytxUAEChQYRFBUDBxIWHxATBCAmCQcHFQdQgwEAAGoDDAAQAIAeAAAA
jArQiiDgLRAQPpYABAMAAAAYjAoAvFIAHjC4KFVAEAkAAAAYAR0AvFLAHjC4KFVAEAkAAAAeAR0A
vFLQHiC4KFVAEAkAAAAeAAAAAAAAAAAAAAAAxw==

/sys/class/drm/card1-HDMI-A-2

/sys/class/drm/card1-Writeback-1

/sys/class/drm/card1-Writeback-2


Connector 0 (33) HDMI-A-1 (connected)
  Encoder 0 (32) TMDS
    Crtc 2 (92) [email protected] 74.250 1920/88/44/148/+ 1080/4/10/31/+ 60 (60.00) P|D 
      Plane 4 (105) fb-id: 681 (crtcs: 1 2 3) 0,0 1920x1080 -> 0,0 1920x1080 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 P030 XR30 AR30 AB30 XB30 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
        FB 681 1920x1080 XR30
Connector 1 (42) HDMI-A-2 (disconnected)
  Encoder 1 (41) TMDS

Connector 0 (33) HDMI-A-1 (connected)
   0 [email protected]  74.250 1920/88/44/148/+   1080/4/10/31/+     60 (60.00) P|D   
   1 [email protected]  148.500 1920/88/44/148/+   1080/4/5/36/+      60 (60.00) D     16:9
   2 [email protected]  148.352 1920/88/44/148/+   1080/4/5/36/+      60 (59.94) D     16:9
   3 [email protected]  74.250 1920/88/44/148/+   1080/4/10/31/+     60 (60.00) D     16:9
   4 [email protected]  74.176 1920/88/44/148/+   1080/4/10/31/+     60 (59.94) D     16:9
   5 [email protected]  148.500 1920/528/44/148/+  1080/4/5/36/+      50 (50.00) D     16:9
   6 [email protected]  74.250 1920/528/44/148/+  1080/4/10/31/+     50 (50.00) D     16:9
   7 [email protected]   74.250 1920/638/44/148/+  1080/4/5/36/+      24 (24.00) D     16:9
   8 [email protected]   74.176 1920/638/44/148/+  1080/4/5/36/+      24 (23.98) D     16:9
   9 [email protected]    74.250 1280/440/40/220/+  960/5/5/20/+       38 (37.88) D     
  10 [email protected]    27.000 1280/440/40/220/-  768/5/5/20/-       17 (17.09) D     
  11 [email protected]    74.250 1280/110/40/220/+  720/5/5/20/+       60 (60.00) D     
  12 [email protected]    74.250 1280/110/40/220/+  720/5/5/20/+       60 (60.00) D     16:9
  13 [email protected]    74.176 1280/110/40/220/+  720/5/5/20/+       60 (59.94) D     16:9
  14 [email protected]    74.250 1280/440/40/220/+  720/5/5/20/+       50 (50.00) D     
  15 [email protected]    74.250 1280/440/40/220/+  720/5/5/20/+       50 (50.00) D     16:9
  16 [email protected]     27.000 720/12/64/68/-     576/5/5/39/-       50 (50.00) D     4:3
  17 [email protected]     27.000 720/12/64/68/-     576/5/5/39/-       50 (50.00) D     16:9
  18 [email protected]    13.500 720/12/63/69/-     576/4/6/39/-       50 (50.00) D     2x|4:3
  19 [email protected]    13.500 720/12/63/69/-     576/4/6/39/-       50 (50.00) D     2x|16:9
  20 [email protected]     27.027 720/16/62/60/-     480/9/6/30/-       60 (60.00) D     4:3
  21 [email protected]     27.027 720/16/62/60/-     480/9/6/30/-       60 (60.00) D     16:9
  22 [email protected]     27.000 720/16/62/60/-     480/9/6/30/-       60 (59.94) D     
  23 [email protected]     27.000 720/16/62/60/-     480/9/6/30/-       60 (59.94) D     4:3
  24 [email protected]     27.000 720/16/62/60/-     480/9/6/30/-       60 (59.94) D     16:9
  25 [email protected]    13.514 720/19/62/57/-     480/8/6/31/-       60 (60.00) D     2x|4:3
  26 [email protected]    13.514 720/19/62/57/-     480/8/6/31/-       60 (60.00) D     2x|16:9
  27 [email protected]    13.500 720/19/62/57/-     480/8/6/31/-       60 (59.94) D     2x|4:3
  28 [email protected]    13.500 720/19/62/57/-     480/8/6/31/-       60 (59.94) D     2x|16:9
  29 [email protected]     25.200 640/16/96/48/-     480/10/2/33/-      60 (60.00) D     4:3
  30 [email protected]     25.175 640/16/96/48/-     480/10/2/33/-      60 (59.94) D     
  31 [email protected]     25.175 640/16/96/48/-     480/10/2/33/-      60 (59.94) D     4:3

HDMI0:             HDMI_HOTPLUG = 0x00000001
HDMI1:             HDMI_HOTPLUG = 0x00000000

/sys/kernel/debug/dri/1/state:
plane[46]: plane-0
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[65]: plane-1
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[81]: plane-2
	crtc=(null)
	fb=0
	crtc-pos=1920x1080+0+0
	src-pos=1920.000000x1080.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[93]: plane-3
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[105]: plane-4
	crtc=crtc-2
	fb=681
		allocated by = kodi.bin
		refcount=2
		format=XR30 little-endian (0x30335258)
		modifier=0x0
		size=1920x1080
		layers:
			size[0]=1920x1080
			pitch[0]=7680
			offset[0]=0
			obj[0]:
				name=0
				refcount=3
				start=000404f4
				size=8306688
				imported=no
				dma_addr=0x0000000a7e000000
				vaddr=000000008d636e55
	crtc-pos=1920x1080+0+0
	src-pos=1920.000000x1080.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=0
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[116]: plane-5
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=2
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[127]: plane-6
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=3
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[138]: plane-7
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=4
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[149]: plane-8
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=5
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[160]: plane-9
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=6
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[171]: plane-10
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=7
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[182]: plane-11
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=8
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[193]: plane-12
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=9
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[204]: plane-13
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=a
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[215]: plane-14
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=b
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[226]: plane-15
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=c
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[237]: plane-16
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=d
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[248]: plane-17
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=e
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[259]: plane-18
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=f
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[270]: plane-19
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=10
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[281]: plane-20
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[292]: plane-21
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=2
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[303]: plane-22
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=3
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[314]: plane-23
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=4
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[325]: plane-24
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=5
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[336]: plane-25
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=6
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[347]: plane-26
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=7
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[358]: plane-27
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=8
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[369]: plane-28
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=9
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[380]: plane-29
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=a
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[391]: plane-30
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=b
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[402]: plane-31
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=c
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[413]: plane-32
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=d
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[424]: plane-33
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=e
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[435]: plane-34
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=f
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[446]: plane-35
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=10
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[457]: plane-36
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=11
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[468]: plane-37
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=12
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[479]: plane-38
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=13
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[490]: plane-39
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=14
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[501]: plane-40
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=15
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[512]: plane-41
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=16
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[523]: plane-42
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=17
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[534]: plane-43
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=18
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[545]: plane-44
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=19
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[556]: plane-45
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1a
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[567]: plane-46
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1b
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[578]: plane-47
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1c
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[589]: plane-48
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1d
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[600]: plane-49
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1e
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[611]: plane-50
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=1f
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[622]: plane-51
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=20
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[633]: plane-52
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=11
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[644]: plane-53
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=11
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[655]: plane-54
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=11
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
plane[666]: plane-55
	crtc=(null)
	fb=0
	crtc-pos=0x0+0+0
	src-pos=0.000000x0.000000+0.000000+0.000000
	rotation=1
	normalized-zpos=11
	color-encoding=ITU-R BT.709 YCbCr
	color-range=YCbCr limited range
	color_mgmt_changed=0
crtc[57]: mop
	enable=0
	active=0
	self_refresh_active=0
	planes_changed=0
	mode_changed=0
	active_changed=0
	connectors_changed=0
	color_mgmt_changed=0
	plane_mask=0
	connector_mask=0
	encoder_mask=0
	mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
crtc[76]: moplet
	enable=0
	active=0
	self_refresh_active=0
	planes_changed=0
	mode_changed=0
	active_changed=0
	connectors_changed=0
	color_mgmt_changed=0
	plane_mask=0
	connector_mask=0
	encoder_mask=0
	mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
crtc[92]: crtc-2
	enable=1
	active=1
	self_refresh_active=0
	planes_changed=1
	mode_changed=0
	active_changed=0
	connectors_changed=0
	color_mgmt_changed=0
	plane_mask=10
	connector_mask=1
	encoder_mask=1
	mode: "1920x1080i": 60 74250 1920 2008 2052 2200 1080 1084 1094 1125 0x48 0x15
crtc[104]: crtc-3
	enable=0
	active=0
	self_refresh_active=0
	planes_changed=0
	mode_changed=0
	active_changed=0
	connectors_changed=0
	color_mgmt_changed=0
	plane_mask=0
	connector_mask=0
	encoder_mask=0
	mode: "": 0 0 0 0 0 0 0 0 0 0 0x0 0x0
connector[33]: HDMI-A-1
	crtc=crtc-2
	self_refresh_aware=0
	max_requested_bpc=8
	colorspace=Default
	broadcast_rgb=Automatic
	is_limited_range=y
	output_bpc=8
	output_format=RGB
	tmds_char_rate=74250000
connector[42]: HDMI-A-2
	crtc=(null)
	self_refresh_aware=0
	max_requested_bpc=8
	colorspace=Default
	broadcast_rgb=Automatic
	is_limited_range=n
	output_bpc=0
	output_format=RGB
	tmds_char_rate=0
connector[63]: Writeback-1
	crtc=(null)
	self_refresh_aware=0
	max_requested_bpc=0
	colorspace=Default
connector[79]: Writeback-2
	crtc=(null)
	self_refresh_aware=0
	max_requested_bpc=0
	colorspace=Default
HVS State
	Core Clock Rate: 72800000
	Channel 0
		in use=1
		load=72800000
	Channel 1
		in use=0
		load=0
	Channel 2
		in use=0
		load=0



Audio Information
-------------------

**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi0 [vc4-hdmi-0], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: vc4hdmi1 [vc4-hdmi-1], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

null
    Discard all samples (playback) or generate zero samples (capture)
default
    Default Audio Device
sysdefault
    Default Audio Device
hw:CARD=vc4hdmi0,DEV=0
    vc4-hdmi-0, MAI PCM i2s-hifi-0
    Direct hardware device without any conversions
plughw:CARD=vc4hdmi0,DEV=0
    vc4-hdmi-0, MAI PCM i2s-hifi-0
    Hardware device with all software conversions
default:CARD=vc4hdmi0
    vc4-hdmi-0, MAI PCM i2s-hifi-0
    Default Audio Device
sysdefault:CARD=vc4hdmi0
    vc4-hdmi-0, MAI PCM i2s-hifi-0
    Default Audio Device
hdmi:CARD=vc4hdmi0,DEV=0
    vc4-hdmi-0, MAI PCM i2s-hifi-0
    HDMI Audio Output
dmix:CARD=vc4hdmi0,DEV=0
    vc4-hdmi-0, MAI PCM i2s-hifi-0
    Direct sample mixing device
hw:CARD=vc4hdmi1,DEV=0
    vc4-hdmi-1, MAI PCM i2s-hifi-0
    Direct hardware device without any conversions
plughw:CARD=vc4hdmi1,DEV=0
    vc4-hdmi-1, MAI PCM i2s-hifi-0
    Hardware device with all software conversions
default:CARD=vc4hdmi1
    vc4-hdmi-1, MAI PCM i2s-hifi-0
    Default Audio Device
sysdefault:CARD=vc4hdmi1
    vc4-hdmi-1, MAI PCM i2s-hifi-0
    Default Audio Device
hdmi:CARD=vc4hdmi1,DEV=0
    vc4-hdmi-1, MAI PCM i2s-hifi-0
    HDMI Audio Output
dmix:CARD=vc4hdmi1,DEV=0
    vc4-hdmi-1, MAI PCM i2s-hifi-0
    Direct sample mixing device


pactl not installed

config.txt
----------

arm_64bit=1
arm_boost=1
arm_freq=2400
arm_freq_min=1500
arm_peri_high=1
audio_pwm_mode=2
auto_initramfs=1
avs_temp=40028
camera_auto_detect=-1
core_freq=910
core_freq_min=500
disable_commandline_tags=2
disable_fw_kms_setup=1
disable_l2cache=1
disable_overscan=1
display_default_lcd=-1
display_hdmi_rotate=-1
display_lcd_rotate=-1
dvfs=4
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_depth=16
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq_min=500
hdmi_enable_4kp60=1
hevc_freq=910
hevc_freq_min=500
ignore_lcd=-1
init_uart_clock=0x2dc6c00
initial_turbo=60
isp_freq=910
isp_freq_min=500
mask_gpu_interrupt1=16418
max_framebuffers=2
over_voltage_avs=0x26fd4
pause_burst_frames=1
pciex4_reset=1
pmic_turbo_threshold=600
program_serial_random=1
total_mem=8192
usb_max_current_enable=1
v3d_freq=960
v3d_freq_min=500
vpred=9197
vpred_max=9197
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
device_tree=-
overlay_prefix=overlays/
hdmi_cvt:0=
hdmi_cvt:1=
hdmi_edid_filename:0=
hdmi_edid_filename:1=
hdmi_timings:0=
hdmi_timings:1=

cmdline.txt
-----------
reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory numa_policy=interleave  numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=D8:3A:DD:7D:7D:61 vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000  console=tty1 console=ttyAMA10,115200 root=PARTUUID=2a4a0632-02 rootfstype=ext4 fsck.repair=yes rootwait ipv6.disable=1 drm.edid_firmware=edid/lr_tv.dat video=HDMI-A-1:D vc4.force_hotplug=1

pin configuration
-----------------

 0: ip    pu | hi // ID_SDA/GPIO0 = input
 1: ip    pu | hi // ID_SCL/GPIO1 = input
 2: a3    pu | hi // GPIO2 = SDA1
 3: a3    pu | hi // GPIO3 = SCL1
 4: no    pu | -- // GPIO4 = none
 5: no    pu | -- // GPIO5 = none
 6: no    pu | -- // GPIO6 = none
 7: no    pu | -- // GPIO7 = none
 8: no    pu | -- // GPIO8 = none
 9: no    pd | -- // GPIO9 = none
10: no    pd | -- // GPIO10 = none
11: no    pd | -- // GPIO11 = none
12: no    pd | -- // GPIO12 = none
13: no    pd | -- // GPIO13 = none
14: a4    pn | hi // GPIO14 = TXD0
15: a4    pu | hi // GPIO15 = RXD0
16: no    pd | -- // GPIO16 = none
17: no    pd | -- // GPIO17 = none
18: a2    pn | lo // GPIO18 = I2S0_SCLK
19: a2    pn | lo // GPIO19 = I2S0_WS
20: a2    pn | lo // GPIO20 = I2S0_SDI0
21: a2    pn | lo // GPIO21 = I2S0_SDO0
22: no    pd | -- // GPIO22 = none
23: no    pd | -- // GPIO23 = none
24: no    pd | -- // GPIO24 = none
25: no    pd | -- // GPIO25 = none
26: no    pd | -- // GPIO26 = none
27: no    pd | -- // GPIO27 = none
28: op dh pd | hi // PCIE_RP1_WAKE/GPIO28 = output
29: no    pu | hi // FAN_TACH/GPIO29 = none
30: no    pu | -- // HOST_SDA/GPIO30 = none
31: no    pu | -- // HOST_SCL/GPIO31 = none
32: op dh pd | hi // ETH_RST_N/GPIO32 = output
33: no    pd | lo // GPIO33 = none
34: op dl pd | lo // CD0_IO0_MICCLK/GPIO34 = output
35: no    pd | lo // CD0_IO0_MICDAT0/GPIO35 = none
36: no    pd | lo // RP1_PCIE_CLKREQ_N/GPIO36 = none
37: no    pd | lo // GPIO37 = none
38: no    pd | hi // CD0_SDA/GPIO38 = none
39: no    pd | hi // CD0_SCL/GPIO39 = none
40: no    pd | hi // CD1_SDA/GPIO40 = none
41: no    pd | hi // CD1_SCL/GPIO41 = none
42: a2    pd | hi // USB_VBUS_EN/GPIO42 = VBUS_EN1
43: a2    pu | hi // USB_OC_N/GPIO43 = VBUS_OC1
44: op dh pd | hi // RP1_STAT_LED/GPIO44 = output
45: a0    pd | hi // FAN_PWM/GPIO45 = PWM1_CHAN3
46: op dl pd | lo // CD1_IO0_MICCLK/GPIO46 = output
47: no    pd | lo // 2712_WAKE/GPIO47 = none
48: no    pd | lo // CD1_IO1_MICDAT1/GPIO48 = none
49: op dh pd | hi // EN_MAX_USB_CUR/GPIO49 = output
50: no    pd | -- // GPIO50 = none
51: no    pd | -- // GPIO51 = none
52: no    pu | -- // GPIO52 = none
53: no    pu | hi // GPIO53 = none
100: ip    pd | lo // GPIO0 = input
101: op dh pu | hi // 2712_BOOT_CS_N/GPIO1 = output
102: a6    pn | hi // 2712_BOOT_MISO/GPIO2 = VC_SPI0_MISO
103: a5    pn | hi // 2712_BOOT_MOSI/GPIO3 = VC_SPI0_MOSI
104: a6    pn | lo // 2712_BOOT_SCLK/GPIO4 = VC_SPI0_SCLK
105: ip    pd | lo // GPIO5 = input
106: ip    pd | lo // GPIO6 = input
107: ip    pd | lo // GPIO7 = input
108: ip    pd | lo // GPIO8 = input
109: ip    pd | lo // GPIO9 = input
110: ip    pd | lo // GPIO10 = input
111: ip    pd | lo // GPIO11 = input
112: ip    pd | lo // GPIO12 = input
113: ip    pd | lo // GPIO13 = input
114: a1    pd | hi // PCIE_SDA/GPIO14 = SPI_S_MOSI_OR_BSC_S_SDA
115: a1    pd | hi // PCIE_SCL/GPIO15 = SPI_S_SCK_OR_BSC_S_SCL
116: ip    pd | lo // GPIO16 = input
117: ip    pd | lo // GPIO17 = input
118: ip    pd | lo // GPIO18 = input
119: ip    pd | lo // GPIO19 = input
120: ip    pu | hi // PWR_GPIO/GPIO20 = input
121: ip    pd | lo // 2712_G21_FS/GPIO21 = input
122: ip    pd | lo // GPIO22 = input
123: ip    pd | lo // GPIO23 = input
124: a3    pn | hi // BT_RTS/GPIO24 = UART_RTS_0
125: a4    pu | hi // BT_CTS/GPIO25 = UART_CTS_0
126: a4    pn | hi // BT_TXD/GPIO26 = UART_TXD_0
127: a4    pu | hi // BT_RXD/GPIO27 = UART_RXD_0
128: op dl pd | lo // WL_ON/GPIO28 = output
129: ip    pd | lo // BT_ON/GPIO29 = input
130: ip    pd | lo // WIFI_SDIO_CLK/GPIO30 = input
131: ip    pd | lo // WIFI_SDIO_CMD/GPIO31 = input
132: ip    pd | lo // WIFI_SDIO_D0/GPIO32 = input
133: ip    pd | lo // WIFI_SDIO_D1/GPIO33 = input
134: ip    pd | lo // WIFI_SDIO_D2/GPIO34 = input
135: ip    pd | lo // WIFI_SDIO_D3/GPIO35 = input
200: ip    pd | hi // RP1_SDA/AON_GPIO0 = input
201: ip    pd | hi // RP1_SCL/AON_GPIO1 = input
202: op dh pd | hi // RP1_RUN/AON_GPIO2 = output
203: op dl pd | lo // SD_IOVDD_SEL/AON_GPIO3 = output
204: op dl pd | lo // SD_PWR_ON/AON_GPIO4 = output
205: a6    pu | hi // SD_CDET_N/AON_GPIO5 = SD_CARD_PRES_G
206: ip    pd | hi // SD_FLG_N/AON_GPIO6 = input
207: ip    pd | lo // AON_GPIO7 = input
208: ip    pd | lo // 2712_WAKE/AON_GPIO8 = input
209: op dh pd | hi // 2712_STAT_LED/AON_GPIO9 = output
210: ip    pd | lo // AON_GPIO10 = input
211: ip    pd | lo // AON_GPIO11 = input
212: ip    pd | lo // PMIC_INT/AON_GPIO12 = input
213: a3    pu | hi // UART_TX_FS/AON_GPIO13 = VC_TXD0
214: a3    pu | hi // UART_RX_FS/AON_GPIO14 = VC_RXD0
215: ip    pd | lo // AON_GPIO15 = input
216: ip    pu | hi // AON_GPIO16 = input
232: a1    -- | hi // HDMI0_SCL/AON_SGPIO0 = HDMI_TX0_BSC_SCL
233: a1    -- | lo // HDMI0_SDA/AON_SGPIO1 = HDMI_TX0_BSC_SDA
234: a1    -- | hi // HDMI1_SCL/AON_SGPIO2 = HDMI_TX1_BSC_SCL
235: a1    -- | hi // HDMI1_SDA/AON_SGPIO3 = HDMI_TX1_BSC_SDA
236: a2    -- | hi // PMIC_SCL/AON_SGPIO4 = BSC_M2_SCL
237: a2    -- | hi // PMIC_SDA/AON_SGPIO5 = BSC_M2_SDA

vcdbg log messages
------------------

005965.553: *** Restart logging
005980.053: Initial voltage 800000 temp 38929
006180.641: avs_2712: AVS pred 9197 919700 temp 40028
006184.242: vpred 919 mV +0
006192.916: FB framebuffer_swap 1
006212.296: Select resolution HDMI0/2 hotplug 0 max_mode 2
006216.349: Select resolution HDMI1/2 hotplug 0 max_mode 2
007296.882: initramfs (initramfs_2712) loaded to 0x2dc23000 (size 0x13dcbaf)
007311.948: dtb_file 'bcm2712-rpi-5-b.dtb'
007467.652: Loaded overlay 'vc4-kms-v3d-pi5'
007470.586: dtparam: rtc_bbat_vchg=3000000
007598.940: Loaded overlay 'disable-wifi-pi5'
007624.171: Loaded overlay 'disable-bt-pi5'
007656.831: Loaded overlay 'iqaudio-dacplus'
007659.664: dtparam: uart0=on
007772.867: Read command line from file 'cmdline.txt':
007779.369: 'console=tty1 console=serial0,115200 root=PARTUUID=2a4a0632-02 rootfstype=ext4 fsck.repair=yes rootwait ipv6.disable=1 drm.edid_firmware=edid/lr_tv.dat video=HDMI-A-1:D vc4.force_hotplug=1'
007976.576: RPM 5913, max RPM 5913
009732.619: Device tree loaded to 0x2dc0f700 (size 0x138c8)
009803.351: Starting OS 9803 ms
009808.873: 00000040: -> 00000480
009810.727: 00000030: -> 00100080
009815.440: 00000034: -> 00100080
009820.152: 00000038: -> 00100080
009824.865: 0000003c: -> 00100080
009934.439: sdram: sdram refresh 2081->4162 (2)
069884.331: initial_turbo of 60 deactivated
761053.925: sdram: sdram refresh 2081->8324 (1)
762065.156: sdram: sdram refresh 2081->4162 (2)
763069.921: sdram: sdram refresh 2081->8324 (1)
3215028.833: sdram: sdram refresh 2081->4162 (2)
3217145.870: sdram: sdram refresh 2081->8324 (1)
3222255.618: sdram: sdram refresh 2081->4162 (2)
1569667.478: sdram: sdram refresh 2081->8324 (1)
3143827.837: sdram: sdram refresh 2081->4162 (2)
3193020.917: sdram: sdram refresh 2081->8324 (1)
3380704.270: sdram: sdram refresh 2081->4162 (2)
3382726.710: sdram: sdram refresh 2081->8324 (1)
3385747.524: sdram: sdram refresh 2081->4162 (2)
3390891.721: sdram: sdram refresh 2081->8324 (1)
3407021.243: sdram: sdram refresh 2081->4162 (2)
3442993.567: sdram: sdram refresh 2081->8324 (1)
3457316.085: sdram: sdram refresh 2081->4162 (2)
3727707.124: sdram: sdram refresh 2081->8324 (1)
3728718.353: sdram: sdram refresh 2081->4162 (2)
3729775.501: sdram: sdram refresh 2081->8324 (1)
759640.966: sdram: sdram refresh 2081->4162 (2)
3879850.137: sdram: sdram refresh 2081->8324 (1)
535312.797: sdram: sdram refresh 2081->4162 (2)
536324.049: sdram: sdram refresh 2081->8324 (1)
539445.815: sdram: sdram refresh 2081->4162 (2)
540457.083: sdram: sdram refresh 2081->8324 (1)
542473.005: sdram: sdram refresh 2081->4162 (2)
697300.983: sdram: sdram refresh 2081->8324 (1)
698305.780: sdram: sdram refresh 2081->4162 (2)
770131.945: sdram: sdram refresh 2081->8324 (1)
1491194.925: sdram: sdram refresh 2081->4162 (2)
1496275.088: sdram: sdram refresh 2081->8324 (1)
1499359.938: sdram: sdram refresh 2081->4162 (2)
1750153.088: sdram: sdram refresh 2081->8324 (1)
1784021.027: sdram: sdram refresh 2081->4162 (2)
1789158.819: sdram: sdram refresh 2081->8324 (1)
1793190.827: sdram: sdram refresh 2081->4162 (2)
1837946.897: sdram: sdram refresh 2081->8324 (1)
1838958.163: sdram: sdram refresh 2081->4162 (2)
1843091.126: sdram: sdram refresh 2081->8324 (1)
1860426.977: sdram: sdram refresh 2081->4162 (2)
1883809.803: sdram: sdram refresh 2081->8324 (1)
1947395.338: sdram: sdram refresh 2081->4162 (2)
1999530.934: sdram: sdram refresh 2081->8324 (1)
2248141.945: sdram: sdram refresh 2081->4162 (2)
2250222.240: sdram: sdram refresh 2081->8324 (1)
2253344.062: sdram: sdram refresh 2081->4162 (2)
2392039.138: sdram: sdram refresh 2081->8324 (1)
1451696.860: sdram: sdram refresh 2081->4162 (2)
2938539.875: sdram: sdram refresh 2081->8324 (1)
3106678.164: sdram: sdram refresh 2081->4162 (2)
3110810.274: sdram: sdram refresh 2081->8324 (1)
3117863.075: sdram: sdram refresh 2081->4162 (2)
3118871.574: sdram: sdram refresh 2081->8324 (1)
3119879.081: sdram: sdram refresh 2081->4162 (2)
3121895.083: sdram: sdram refresh 2081->8324 (1)
3124922.286: sdram: sdram refresh 2081->4162 (2)
3317745.343: sdram: sdram refresh 2081->8324 (1)
3370762.497: sdram: sdram refresh 2081->4162 (2)
3376002.347: sdram: sdram refresh 2081->8324 (1)
3377013.612: sdram: sdram refresh 2081->4162 (2)
3223559.576: sdram: sdram refresh 2081->8324 (1)
4091045.275: sdram: sdram refresh 2081->4162 (2)

dmesg log
---------

[877850.788494] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
snip
[880403.904186] rpi-hevc-dec 1000800000.codec: phase1_thread: Coeff realloc (600000) OK

EEPROM
------

BOOTLOADER: up to date
   CURRENT: Thu  8 May 14:13:17 UTC 2025 (1746713597)
    LATEST: Thu  8 May 14:13:17 UTC 2025 (1746713597)
   RELEASE: latest (/usr/lib/firmware/raspberrypi/bootloader-2712/latest)
            Use raspi-config to change the release.

Logs

No response

Additional context

No response

andrum993 avatar May 28 '25 16:05 andrum993

Ping @jc-kynesim

popcornmix avatar May 28 '25 17:05 popcornmix

Its a fair comment. Those messages have been helpful when wondering why things are going wrong (and missing DPB entries normally shows something unhappy with the stream / decode process) but they could reasonably be put under a light debug switch. I'll look into it.

jc-kynesim avatar May 29 '25 08:05 jc-kynesim

Its a fair comment. Those messages have been helpful when wondering why things are going wrong (and missing DPB entries normally shows something unhappy with the stream / decode process) but they could reasonably be put under a light debug switch. I'll look into it.

Thanks. I don't have a problem with the occasional message, but for this particular video the entire message buffer was filled with these extraneous messages.

(Having said that, I don't think it is 100% correct to be logging these messages by default when video playback looks completely fine to the end user).

andrum993 avatar May 29 '25 10:05 andrum993

The kernel module cannot tell that the pici looks fine. It can tell that a frame it has been asked to use as a reference frame doesn't exist and that this will potentially cause corruption. Reasons it might not be visible include: (a) the frame is in the list but actually never used (the s/w cannot detect this) (b) when a frame is missing the s/w picks a nearby frame to use as a substitute and this will often produce output that is very close to what is required. On the other hand if corruption is seen it can be very handy to have a log of possible causes.

Either way I'll see what I can do to hide these unless the user asks for them

jc-kynesim avatar May 29 '25 10:05 jc-kynesim

Just had another look at this. It seems these messages are the result of my using the fast forward feature in Kodi. Example:

<4>[542105.211895] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
<4>[542105.211920] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
<4>[542105.211924] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
<4>[542105.211928] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0
<4>[542107.511763] rpi-hevc-dec 1000800000.codec: Missing DPB ent 0, timestamp=0
<4>[542107.511791] rpi-hevc-dec 1000800000.codec: Missing DPB ent 1, timestamp=0
<4>[542107.511794] rpi-hevc-dec 1000800000.codec: Missing DPB ent 2, timestamp=0
<4>[542107.511797] rpi-hevc-dec 1000800000.codec: Missing DPB ent 3, timestamp=0

These messages are getting logged at log level 4 - warning - which seems a bit excessive for something that is not actually a problem with the running software, but rather a potential problem with a video file. What about perhaps changing the log level to 6 (informational), or 7 (debug), and also rate limiting it using printk_ratelimit() ? The default rate limit is 10 messages in 5 seconds, which should be enough to keep the ring buffer from getting completely filled up.

andrum993 avatar Jul 08 '25 22:07 andrum993

Sorry - should have commented sooner. Those messages will be behind a "debug" parameter. The fix is in the driver version we are attempting to upstream but hasn't percolated down to the current release version yet. It will happen but it doesn't have a very high priority.

jc-kynesim avatar Jul 09 '25 08:07 jc-kynesim

Ah, OK. No problem. Can you provide a link to the upstream version with the fix, assuming it's public?

andrum993 avatar Jul 09 '25 10:07 andrum993

Not a useful one at the moment! Whilst we do have a branch that holds the upstream effort (not yet merged - state of the argument) it is in the mainline tree and so lacks all other downstream drivers. Also downstream wants some extra bits to keep backward compatibility (upstream has a new method of describing sand which isn't well supported elsewhere yet). If you want a kernel without those debug lines right now then I suggest that you just comment them out. The backport into the PiOS kernel will happen, it just hasn't happened yet.

jc-kynesim avatar Jul 09 '25 11:07 jc-kynesim

Found it: https://lore.kernel.org/linux-media/[email protected]/

andrum993 avatar Jul 09 '25 12:07 andrum993

If you wanted my dev branch for it, then it's https://github.com/6by9/linux/tree/mainline_2712_hevc_dec_v4

I will look to do a backport, but it's likely to be a fixup patch on the current rpi-6.12.y rather than a revert and reapply. If we can get it merged properly before the last kernel release of the year, then it will just be in the next LTS kernel (we can hope).

6by9 avatar Jul 09 '25 12:07 6by9

If you wanted my dev branch for it, then it's https://github.com/6by9/linux/tree/mainline_2712_hevc_dec_v4

I will look to do a backport, but it's likely to be a fixup patch on the current rpi-6.12.y rather than a revert and reapply. If we can get it merged properly before the last kernel release of the year, then it will just be in the next LTS kernel (we can hope).

I'm not looking for a backport - I just wanted to see what the fix looked like, which I have now done.

andrum993 avatar Jul 09 '25 12:07 andrum993