Skip to content
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

[t31x] при включенном OSD некорректные значения fps #122

Closed
oaidar opened this issue May 26, 2023 · 0 comments

Comments

@oaidar
Copy link
Member

oaidar commented May 26, 2023

  • OpenIPC version: 2.3.05.25
  • Commit: 565d5d95
  • Branch: master

После включенном OSD отображаются некорректные значения fps.

До включения osd:

ffmpeg -rtsp_transport tcp -i "rtsp://admin:12345@192.168.0.129" -vcodec copy -t 60 -y "without_osd.mp4"

image

С OSD:

ffmpeg -rtsp_transport tcp -i "rtsp://admin:12345@192.168.0.129" -vcodec copy -t 60 -y "with_osd.mp4"

image

root@openipc-t31:~# cat /etc/majestic.yaml 
system:
  webAdmin: enabled
  buffer: 1024
image:
  mirror: false
  flip: false
  rotate: none
  contrast: 50
  hue: 50
  saturation: 50
  luminance: 50
osd:
  enabled: true
  template: "%a %e %B %Y %H:%M:%S %Z"
nightMode:
  enabled: false
records:
  enabled: false
  path: /mnt/mmc/%Y/%m/%d/%H.mp4
  maxUsage: 95
video0:
  enabled: true
video1:
  enabled: false
jpeg:
  enabled: true
mjpeg:
  size: 640x360
  fps: 5
  bitrate: 1024
audio:
  enabled: false
  volume: auto
  srate: 8000
rtsp:
  enabled: true
  port: 554
hls:
  enabled: false
youtube:
  enabled: false
motionDetect:
  enabled: false
  visualize: true
  debug: true
ipeye:
  enabled: false
watchdog:
  enabled: true
  timeout: 10
root@openipc-t31:~# logread 
May 25 23:31:18 openipc-t31 syslog.info syslogd started: BusyBox v1.33.2
May 25 23:31:18 openipc-t31 kern.notice kernel: klogd started: BusyBox v1.33.2 (2023-05-25 23:20:01 UTC)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Initializing cgroup subsys cpu
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Initializing cgroup subsys cpuacct
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.000000] Linux version 3.10.14__isvp_swan_1.0__ (runner@fv-az1032-96) (gcc version 8.4.0 (Buildroot -gff5aa3b6-dirty) ) #2 PREEMPT Thu May 25 23:28:34 UTC 2023
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] bootconsole [early0] enabled
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] CPU0 RESET ERROR PC:8001D508
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] [<8001d508>] jz_wait_irqoff+0x68/0xa8
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] CPU0 revision is: 00d00100 (Ingenic Xburst)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] FPU revision is: 00b70000
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000] cgu_get_rate, parent = 1392000000, rate = 0, m = 129, n = 255, reg val = 0x081000ff
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000] cgu_get_rate, parent = 1392000000, rate = 0, m = 129, n = 255, reg val = 0x081000ff
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] CCLK:1392MHz L2CLK:696Mhz H0CLK:200MHz H2CLK:200Mhz PCLK:100Mhz
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Determined physical RAM map:
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000]  memory: 00538000 @ 00010000 (usable)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000]  memory: 00038000 @ 00548000 (usable after init)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] User-defined physical RAM map:
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000]  memory: 04000000 @ 00000000 (usable)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] Zone ranges:
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] Movable zone start for each node
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] Early memory node ranges
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 80546040, node_mem_map 81000000
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000]   Normal zone: 128 pages used for memmap
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] Primary instruction cache 32kB, 8-way, VIPT, linesize 32 bytes.
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] pls check processor_id[0x00d00100],sc_jz not support!
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] MIPS secondary cache 128kB, 8-way, linesize 32 bytes.
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16256
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.000000] Kernel command line: mem=64M rmem=64M@0x4000000 console=ttyS1,115200n8 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=jz_sfc:256k(boot),64k(env),3072k(kernel),10240k(rootfs),-(rootfs_data)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Memory: 58896k/65536k available (3995k kernel code, 6640k reserved, 1346k data, 224k init, 0k highmem)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] Preemptible hierarchical RCU implementation.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000000] NR_IRQS:358
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.000000] clockevents_config_and_register success.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.000014] Calibrating delay loop... 1391.00 BogoMIPS (lpj=6955008)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.087831] pid_max: default: 32768 minimum: 301
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.092688] Mount-cache hash table entries: 512
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.097594] Initializing cgroup subsys debug
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.101850] Initializing cgroup subsys freezer
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.107248] devtmpfs: initialized
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.111998] regulator-dummy: no parameters
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.116371] NET: Registered protocol family 16
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.123870] Skipping MSC1_PB GPIO setup
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.127752] Skipping WYZE GPIO setup
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.131297] Skipping WYZE GPIO setup
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.135494] set gpio strength: 32-2
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.135503] set gpio strength: 33-2set gpio strength: 34-2
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.135512] set gpio strength: 35-2set gpio strength: 36-2
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.135520] set gpio strength: 37-2set gpio pull: 59-90
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.153173] bio: create slab <bio-0> at 0
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.162968] jz-dma jz-dma: JZ SoC DMA initialized
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.169244] usbcore: registered new interface driver usbfs
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.174898] usbcore: registered new interface driver hub
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.180728] usbcore: registered new device driver usb
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.186274]  (null): set:249  hold:250 dev=100000000 h=500 l=500
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.193976] Switching to clocksource jz_clocksource
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.201233] dwc2 otg probe start
May 25 23:31:18 openipc-t31 kern.info sysctl: * Applying /etc/sysctl.conf ...
May 25 23:31:18 openipc-t31 kern.warn kernel: [    0.201261] jz-dwc2 jz-dwc2: cgu clk gate get error
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.206244] DWC IN OTG MODE
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.209944] dwc2 dwc2: Keep PHY ON
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.213313] dwc2 dwc2: Using Buffer DMA mode
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.217641] dwc2 dwc2: Core Release: 3.00a
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.221921] dwc2 dwc2: DesignWare USB2.0 High-Speed Host Controller
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.228214] dwc2 dwc2: new USB bus registered, assigned bus number 1
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.235657] hub 1-0:1.0: USB hub found
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.239471] hub 1-0:1.0: 1 port detected
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.243472] dwc2 dwc2: DWC2 Host Initialized
May 25 23:31:18 openipc-t31 kern.debug kernel: [    0.247755] dwc2 otg probe success
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.247994] NET: Registered protocol family 2
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.252857] TCP established hash table entries: 512 (order: 0, 4096 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.259872] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.266244] TCP: Hash tables configured (established 512 bind 512)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.272616] TCP: reno registered
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.275810] UDP hash table entries: 256 (order: 0, 4096 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.281774] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.288273] NET: Registered protocol family 1
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.292873] RPC: Registered named UNIX socket transport module.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.298801] RPC: Registered udp transport module.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.303616] RPC: Registered tcp transport module.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.308336] RPC: Registered tcp NFSv4.1 backchannel transport module.
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.315456] freq_udelay_jiffys[0].max_num = 10
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.319950] cpufreq 	udelay 	loops_per_jiffy	
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.324305] dwc2 dwc2: ID PIN CHANGED!
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.328132] 12000	 59956	 59956	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.331385] 24000	 119913	 119913	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.334803] 60000	 299784	 299784	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.338246] 120000	 599569	 599569	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.341859] 200000	 999282	 999282	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.345310] 300000	 1498924	 1498924	
May 25 23:31:18 openipc-t31 kern.info sysctl: kernel.printk = 3 3 1 3
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.349118] 600000	 2997848	 2997848	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.352747] 792000	 3957159	 3957159	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.356455] 1008000	 5036385	 5036385	
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.360285] 1200000	 5995696	 5995696	
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.373722] squashfs: version 4.0 (2009/01/31) Phillip Lougher
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.380848] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.386899] msgmni has been set to 115
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.391948] io scheduler noop registered
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.395877] io scheduler cfq registered (default)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.407425] jz-uart.1: ttyS1 at MMIO 0x10031000 (irq = 58) is a uart1
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.415048] console [ttyS1] enabled, bootconsole disabled
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.434717] brd: module loaded
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.442268] loop: module loaded
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.445738] logger: created 256K log 'log_main'
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.452576] jz TCU driver register completed
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.457917] the id code = a14018, the flash name is FM25Q128A
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.464089] JZ SFC Controller for SFC channel 0 driver register
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.470356] 5 cmdlinepart partitions found on MTD device jz_sfc
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.476464] Creating 5 MTD partitions on "jz_sfc":
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.481457] 0x000000000000-0x000000040000 : "boot"
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.487412] 0x000000040000-0x000000050000 : "env"
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.493386] 0x000000050000-0x000000350000 : "kernel"
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.499684] 0x000000350000-0x000000d50000 : "rootfs"
May 25 23:31:18 openipc-t31 kern.notice kernel: [    0.505831] 0x000000d50000-0x000001000000 : "rootfs_data"
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.512495] SPI NOR MTD LOAD OK
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.515960] Bus Mode Reg after reset: 0x00020101, cnt=0
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.525032] libphy: jz_mii_bus: probed
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.529307] =======>gmacdev = 0x821e7000<================
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.534882] =========>gmacdev->MacBase = 0xb34b0000 DmaBase = 0xb34b1000
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.541897] Bus Mode Reg after reset: 0x00020101, cnt=0
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.549068] jz_mac jz_mac.0: JZ on-chip Ethernet MAC driver, Version 1.0
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.556216] STA : @@@@@@ rtusb init rt2870 --->
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.561092] usbcore: registered new interface driver rt2870
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.566850] i2c /dev entries driver
May 25 23:31:18 openipc-t31 kern.warn kernel: [    0.571724] jzmmc_v1.2 jzmmc_v1.2.0: vmmc regulator missing
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.577811] jzmmc_v1.2 jzmmc_v1.2.0: register success!
May 25 23:31:18 openipc-t31 kern.warn kernel: [    0.583228] jzmmc_v1.2 jzmmc_v1.2.1: vmmc regulator missing
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.589227] jzmmc_v1.2 jzmmc_v1.2.1: register success!
May 25 23:31:18 openipc-t31 kern.err sysctl: sysctl: error: 'net.core.bpf_jit_enable' is an unknown key
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.594984] ipip: IPv4 over IPv4 tunneling driver
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.600526] TCP: cubic registered
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.604973] NET: Registered protocol family 10
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.610405] NET: Registered protocol family 17
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.616228] input: gpio-keys as /devices/platform/gpio-keys/input/input0
May 25 23:31:18 openipc-t31 kern.err kernel: [    0.623652] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.634197] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.645211] devtmpfs: mounted
May 25 23:31:18 openipc-t31 kern.info kernel: [    0.648582] Freeing unused kernel memory: 224K (80548000 - 80580000)
May 25 23:31:18 openipc-t31 kern.notice kernel: [    1.049574] jffs2: notice: (451) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
May 25 23:31:18 openipc-t31 user.err kernel: [    1.361585] [resetd] GPIO undefined in /usr/sbin/resetd
May 25 23:31:18 openipc-t31 kern.err kernel: [    1.579284] Bus Mode Reg after reset: 0x00020101, cnt=0
May 25 23:31:21 openipc-t31 kern.info kernel: [    4.539103] libphy: 0:00 - Link is Up - 100/Full
May 25 23:31:22 openipc-t31 authpriv.info dropbear[569]: Running in background
May 25 23:31:22 openipc-t31 cron.info crond[588]: crond (busybox 1.33.2) started, log level 8
May 25 23:31:22 openipc-t31 daemon.info ingenic: Get data from environment and set SENSOR as sc5235
May 25 23:31:22 openipc-t31 kern.emerg kernel: [    5.552938] @@@@ avpu driver ok(version H20220528a) @@@@@
May 25 23:31:22 openipc-t31 kern.emerg kernel: [    5.760501] @@@@ tx-isp-probe ok(version H20221206a), compiler date=Dec  6 2022 @@@@@
May 25 23:31:22 openipc-t31 kern.debug kernel: [    5.812376] request spk en gpio 63 ok!
May 25 23:31:22 openipc-t31 kern.emerg kernel: [    5.812389] jz_codec_register: probe() successful!
May 25 23:31:22 openipc-t31 kern.debug kernel: [    5.812470] cgu_set_rate, parent = 1392000000, rate = 2048000, n = 10875, reg val = 0x01002a7b
May 25 23:31:22 openipc-t31 kern.debug kernel: [    5.812479] cgu_enable,cgu_i2s_spk reg val = 0x21002a7b
May 25 23:31:22 openipc-t31 kern.debug kernel: [    5.812496] cgu_set_rate, parent = 1392000000, rate = 2048000, n = 10875, reg val = 0x01002a7b
May 25 23:31:22 openipc-t31 kern.debug kernel: [    5.812504] cgu_enable,cgu_i2s_mic reg val = 0x21002a7b
May 25 23:31:23 openipc-t31 kern.info kernel: [    6.219188] dma dma0chan24: Channel 24 have been requested.(phy id 7,type 0x06 desc a2777000)
May 25 23:31:23 openipc-t31 kern.info kernel: [    6.219477] dma dma0chan25: Channel 25 have been requested.(phy id 6,type 0x06 desc a07a3000)
May 25 23:31:23 openipc-t31 kern.info kernel: [    6.219794] dma dma0chan26: Channel 26 have been requested.(phy id 5,type 0x04 desc a07e5000)
May 25 23:31:23 openipc-t31 kern.emerg kernel: [    6.244123] Ingenic GPIO claim module (c) OpenIPC.org
May 26 04:29:36 openipc-t31 daemon.info ingenic: Loading video system has started...
May 26 04:29:36 openipc-t31 daemon.info : starting pid 758, tty '/dev/console': '/sbin/getty -L console 0 vt100 '
May 26 04:29:37 openipc-t31 user.info majestic[760]: Majestic Lite for Ingenic, version master+e9f6ce9, built on 2023-05-13
May 26 04:29:37 openipc-t31 user.info majestic[760]: Using /etc/majestic.yaml as main configuration
May 26 04:29:37 openipc-t31 user.debug majestic[760]: Detected jz Watchdog
May 26 04:29:37 openipc-t31 user.debug majestic[760]: Watchdog timeout set to 10 seconds
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.225900] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.225918] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.225927] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226105] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226117] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.226126] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226302] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226311] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.226319] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226494] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226503] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.226511] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226686] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226697] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.226705] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226880] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.226891] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.226899] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.227084] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.227094] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.227102] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.227277] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.227286] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.227294] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.227468] i2c i2c-0: i2c_jz_irq 441, I2C transfer error, ABORT interrupt
May 26 04:29:37 openipc-t31 kern.err kernel: [    7.227480] i2c i2c-0: --I2C txabrt:
May 26 04:29:37 openipc-t31 kern.info kernel: [    7.227488] i2c i2c-0: --I2C TXABRT[0]=I2C_TXABRT_ABRT_7B_ADDR_NOACK
May 26 04:29:37 openipc-t31 user.info majestic[760]: Using /etc/sensor/sc5235.yaml as sensor config
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.306660] wait stable.[289][cgu_cim]
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.306675] ------------> linear is ok <-------------
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.306684] probe ok ------->sc5235
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.359568] -----sc5235_detect: 998 ret = 0, v = 0x52
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.360180] -----sc5235_detect: 1006 ret = 0, v = 0x35
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.360186] sc5235 chip found @ 0x30 (i2c0)
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.360192] sensor driver version H20220914a
May 26 04:29:37 openipc-t31 kern.emerg kernel: [    7.645415] sc5235 stream on
May 26 04:29:37 openipc-t31 user.info majestic[760]: HTTP server started on :::80
May 26 04:29:37 openipc-t31 user.info majestic[760]: RTSP server started on port 554
May 26 04:29:37 openipc-t31 user.info majestic[760]: NETIP server started on port 34567
root@openipc-t31:~# cat /proc/jz/isp/isp-m0 
****************** ISP INFO **********************
Software Version : H20221206a
SENSOR NAME : sc5235
SENSOR OUTPUT WIDTH : 2560
SENSOR OUTPUT HEIGHT : 1920
ISP OUTPUT FPS : 15 / 1
SENSOR OUTPUT RAW PATTERN : BGGR
ISP Top Value : 0xb5740249
ISP Runing Mode : Day
ISP Custom Mode : Disable
ISP WDR Mode : Disable
SENSOR Integration Time : 799 lines
SENSOR Max Integration Time : 2662 lines
SENSOR analog gain : 11
MAX SENSOR analog gain : 127
SENSOR digital gain : 0
MAX SENSOR digital gain : 0
ISP digital gain : 0
MAX ISP digital gain : 74
ISP Tgain DB : 0
ISP EV value: 1037
ISP EV value log2: 656634
ISP EV value us: 20010
ISP EV min int: 3
ISP EV min again: 1024
ISP WB weighted rgain: 383
ISP WB weighted bgain: 528
ISP WB color temperature: 4175
ISP AWB Start rgain 225: bgain 301
Saturation : 127
Saturation : 127
Sharpness : 128
Contrast : 127
Brightness : 127
Antiflicker : 0
Mirror: Disable, Flip: Disable
Antiflicker nodes: 6: step : 399. 799. 1198. 1597. 1996. 2396. 
debug : ch0 done 1972,ip done 1973,0,0,0,0,0,0
debug1 : 0,0,900
@oaidar oaidar changed the title [t31] при включенном OSD некорректные значения fps [t31x] при включенном OSD некорректные значения fps May 26, 2023
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

2 participants