Jump to content

whitefox

Members
  • Posts

    15
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @amazingfate Hi, Thank you very much for your work. I'm having trouble installing a ppa. Err:18 https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu kinetic Release 404 Not Found [IP: 2620:2d:4000:1::3e 443] Reading package lists... Done E: The repository 'https://ppa.launchpadcontent.net/liujianfeng1994/rockchip-multimedia/ubuntu kinetic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Share a link to the repository with Makefile , for a self-build kodi with mpp. https://github.com/amazingfate/armbian-compile-action/blob/main/action.yml It is also not clear what prevents you from pouring your patches for the kernel into the main armbian branch? I noticed some of your patches https://github.com/armbian/build/pull/4540
  2. @Pedro LucasYes, I tried this "solution" did not work for me. root@orangepi-rk3399:~# ethtool -s eth0 autoneg on speed 1000 duplex full root@orangepi-rk3399:~# ethtool -K eth0 tso off root@orangepi-rk3399:~# ethtool -K eth0 gso off root@orangepi-rk3399:~# ethtool -k eth0 | grep -e [tg]so tx-gso-robust: off [fixed] tx-gso-partial: off [fixed] tx-gso-list: off [fixed] root@orangepi-rk3399:~# speedtest Speedtest by Ookla Server: DOM.RU - Yekaterinburg (id: 5844) ISP: Dom.ru Idle Latency: 1.96 ms (jitter: 0.16ms, low: 1.77ms, high: 2.14ms) Download: 625.19 Mbps (data used: 654.8 MB) 25.84 ms (jitter: 36.44ms, low: 1.08ms, high: 457.34ms) Upload: 1.69 Mbps (data used: 2.7 MB) 1.54 ms (jitter: 2.90ms, low: 1.15ms, high: 417.26ms) Packet Loss: 5.4% Result URL: https://www.speedtest.net/result/c/c12b33b6-1196-42d7-8d77-75180d8e1aac
  3. I have a similar problem with packet loss on orange pi rk3399 when connected on 1Gbps/Full Armbianmonitor: http://ix.io/4ia5 [ 10.377653] rk_gmac-dwmac fe300000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=84) [ 10.386477] rk_gmac-dwmac fe300000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 10.396512] rk_gmac-dwmac fe300000.ethernet eth0: No Safety Features support found [ 10.396545] rk_gmac-dwmac fe300000.ethernet eth0: PTP not supported by HW [ 10.397193] rk_gmac-dwmac fe300000.ethernet eth0: configuring for phy/rgmii link mode [ 10.557743] aufs 5.15.41-20220620 [ 11.825681] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 11.831210] Bridge firewalling registered [ 12.194629] Initializing XFRM netlink socket [ 12.666036] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 12.666114] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready root@orangepi-rk3399:~# speedtest Speedtest by Ookla Server: DOM.RU - Yekaterinburg (id: 5844) ISP: Dom.ru Idle Latency: 2.01 ms (jitter: 0.09ms, low: 1.96ms, high: 2.13ms) Download: 629.96 Mbps (data used: 888.3 MB) 66.92 ms (jitter: 50.00ms, low: 1.11ms, high: 875.41ms) Upload: 1.36 Mbps (data used: 2.5 MB) 1.58 ms (jitter: 5.65ms, low: 1.22ms, high: 210.62ms) Packet Loss: 8.3% Result URL: https://www.speedtest.net/result/c/70477fc4-89f0-4b2a-b9a7-4248e25af9d7 After switching to 100 Mbps packet loss disappears: ethtool -s eth0 autoneg on speed 100 duplex full [ 614.706367] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down [ 616.829581] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx root@orangepi-rk3399:~# speedtest Speedtest by Ookla Server: DOM.RU - Yekaterinburg (id: 5844) ISP: Dom.ru Idle Latency: 2.03 ms (jitter: 0.12ms, low: 1.86ms, high: 2.15ms) Download: 93.89 Mbps (data used: 42.3 MB) 2.90 ms (jitter: 0.32ms, low: 2.03ms, high: 4.10ms) Upload: 93.80 Mbps (data used: 43.5 MB) 3.89 ms (jitter: 0.60ms, low: 2.46ms, high: 8.08ms) Packet Loss: 0.0% Result URL: https://www.speedtest.net/result/c/03847e3f-6400-457f-bd6b-067b59b9c243
  4. @IgorHello, I always use the same power supply with PD and maybe after updating the linux-u-boot-rock-5b-legacy package or after connecting the nvme disk PD stopped working Linux rock-5b 5.10.72-rockchip-rk3588 #trunk.0102 SMP Sat Nov 5 07:56:18 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux dpkg -l| grep -e rock -e rk3588 ii armbian-bsp-cli-rock-5b 22.11.0-trunk.0134 arm64 Armbian board support files for rock-5b ii armbian-bsp-desktop-rock-5b 22.11.0-trunk arm64 Armbian Board Specific Packages for desktop users using arm64 rock-5b machines ii linux-dtb-legacy-rockchip-rk3588 22.11.0-trunk.0102 arm64 Armbian Linux DTB, version 5.10.72-rockchip-rk3588 legacy ii linux-headers-legacy-rockchip-rk3588 22.11.0-trunk.0102 arm64 Linux kernel headers for 5.10.72-rockchip-rk3588 on arm64 legacy ii linux-image-legacy-rockchip-rk3588 22.11.0-trunk.0102 arm64 Linux kernel, armbian version 5.10.72-rockchip-rk3588 legacy ii linux-u-boot-rock-5b-legacy 22.11.0-trunk.0134 arm64 Uboot loader 2017.09 tcpm_source_psy_4_0022-i2c-4-22 Adapter: rk3x-i2c in0: 5.00 V (min = +5.00 V, max = +5.00 V) curr1: 0.00 A (max = +0.00 A) 3.235464] pd := on [ 3.235474] pending state change SNK_WAIT_CAPABILITIES -> SNK_SOFT_RESET @ 310 ms [rev3 NONE_AMS] [ 3.545502] state change SNK_WAIT_CAPABILITIES -> SNK_SOFT_RESET [delayed 310 ms] [ 3.545509] AMS SOFT_RESET_AMS start [ 3.545513] state change SNK_SOFT_RESET -> AMS_START [rev3 SOFT_RESET_AMS] [ 3.545516] state change AMS_START -> SOFT_RESET_SEND [rev3 SOFT_RESET_AMS] [ 3.545520] PD TX, header: 0x8d [ 3.547664] sending PD message header: 8d [ 3.547672] sending PD message len: 0 [ 3.549591] IRQ: 0x41, a: 0x00, b: 0x00, status0: 0xc1 [ 3.549601] IRQ: BC_LVL, handler pending [ 3.551465] IRQ: 0x41, a: 0x00, b: 0x00, status0: 0x81 [ 3.551469] IRQ: BC_LVL, handler pending [ 3.553269] IRQ: 0x41, a: 0x00, b: 0x00, status0: 0x81 [ 3.553272] IRQ: BC_LVL, handler pending [ 3.555058] IRQ: 0x41, a: 0x10, b: 0x00, status0: 0x81 [ 3.555062] IRQ: BC_LVL, handler pending [ 3.555064] IRQ: PD retry failed [ 3.555067] PD TX complete, status: 2 [ 3.555077] state change SOFT_RESET_SEND -> HARD_RESET_SEND [rev3 SOFT_RESET_AMS] [ 3.555083] AMS SOFT_RESET_AMS finished [ 3.555085] AMS HARD_RESET start [ 3.555087] PD TX, type: 0x5 [ 3.557966] IRQ: 0x41, a: 0x08, b: 0x00, status0: 0x81 [ 3.557968] IRQ: BC_LVL, handler pending [ 3.557969] IRQ: PD hardreset sent [ 3.558731] PD TX complete, status: 0 [ 3.558735] state change HARD_RESET_SEND -> HARD_RESET_START [rev3 HARD_RESET] [ 3.563289] pd := off I tried to track changes in the package linux-u-boot-rock-5b-legacy linux-u-boot-rock-5b-legacy: Installed: 22.11.0-trunk.0134 Candidate: 22.11.0-trunk.0134 Version table: *** 22.11.0-trunk.0134 500 500 http://beta.armbian.com kinetic/main arm64 Packages 100 /var/lib/dpkg/status 22.11.0-trunk.0133 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0132 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0131 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0130 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0129 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0128 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0127 500 500 http://beta.armbian.com kinetic/main arm64 Packages 22.11.0-trunk.0126 500 500 http://beta.armbian.com kinetic/main arm64 Packages But did not find any commits or build tags from 22.11.0-trunk.0134 https://github.com/armbian/build
  5. @amazingfateHello, I burned the armbian image to an SD disk and inserted it into rock5b, booted successfully, set up the video as above in the comments, docker and repositories and would like to transfer the root partition to the eMMC disk, but so far it does not work. Usually nand-sata-install is enough, but after copying the root of the radlen on eMMC rock5b it does not load (blue LED is on) I also tried Write U-Boot images to SPI root@rock-5b:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mtdblock0 31:0 0 16M 0 disk mmcblk1 179:0 0 14.5G 0 disk └─mmcblk1p1 179:1 0 14.3G 0 part mmcblk1boot0 179:32 0 4M 1 disk mmcblk1boot1 179:64 0 4M 1 disk mmcblk0 179:96 0 29.7G 0 disk ├─mmcblk0p1 179:97 0 256M 0 part /boot └─mmcblk0p2 179:98 0 29.2G 0 part /var/log.hdd / zram0 254:0 0 7.7G 0 disk [SWAP] zram1 254:1 0 50M 0 disk /var/log root@rock-5b:~# mount | grep /boot /dev/mmcblk0p1 on /boot type ext4 (rw,relatime,errors=remount-ro,commit=600) At the same time, I have another rock5b board and the image from radxa and there were no problems with loading from eMMC, I copied it according to the instructions: sudo xzcat rock-5b-ubuntu-focal-server-arm64-20221118-1434-gpt.img.xz | dd of=/dev/mmcblk1 bs=1M It seems necessary to add rockchip-rk3588 to the FIRSTSECTOR=32768 selection root@rock-5b:~# grep -A 1 -B 1 3588 /usr/sbin/nand-sata-install case ${LINUXFAMILY} in rk3328|rk3399|rk35xx|rockchip64|rockpis|station*|media|rockchip-rk3588) FIRSTSECTOR=32768 root@rock-5b:~# fdisk -l /dev/mmcblk1 Disk /dev/mmcblk1: 14.45 GiB, 15518924800 bytes, 30310400 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: E59818E7-7EBB-4A74-B733-23CCC88A05FD Device Start End Sectors Size Type /dev/mmcblk1p1 32768 29982719 29949952 14.3G Linux filesystem root@rock-5b:~# dd if=/usr/lib/linux-u-boot-legacy-rock-5b_22.11.0-trunk.0126_arm64/idbloader.img of=/dev/mmcblk1 seek=64 556+0 records in 556+0 records out 284672 bytes (285 kB, 278 KiB) copied, 0.0747147 s, 3.8 MB/s root@rock-5b:~# dd if=/usr/lib/linux-u-boot-legacy-rock-5b_22.11.0-trunk.0126_arm64/u-boot.itb of=/dev/mmcblk1 seek=16384 2647+0 records in 2647+0 records out 1355264 bytes (1.4 MB, 1.3 MiB) copied, 0.23995 s, 5.6 MB/s
  6. I have a similar question. Did you find a solution to this problem? One core is constantly at 50% on a orangepi-rk3399 board. I turned off the buggy module for now modprobe -r brcmfmac echo "blacklist brcmfmac" >> /etc/modprobe.d/blacklist.conf more detal root@orangepi-rk3399:~# uname -a Linux orangepi-rk3399 5.15.49-rockchip64 #trunk SMP PREEMPT Wed Jun 22 22:41:59 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux # strings /lib/firmware/brcm/brcmfmac43456-sdio.bin | tail -n 1 43455c5-roml/43455_sdio-pno-aoe-pktfilter-bcm_ftrs-ak-bcol-clm_4335_ss-sr-mchan-pktctx-lpc-pwropt-txbf-wl11u-wapi-txpwr-wepso-gscan-linkstat-pwrstats-proxd-ndoe-mfp-tdls-dhcpd-idauth-idsup-neeze-akiss-dfsctl-apcs-tka-wpf-gtr-noplmt-ak_disassoc-b5gctl-sdiorxenhance Version: 7.45.96.61 (be7af2d@shgit) (r745790) CRC: 279731d4 Date: Tue 2020-02-11 11:55:51 CST Ucode Ver: 1043.20721 FWID: 01-a41d86bd I found solution
  7. whitefox

    RK3399 Orange Pi

    After installing the current kernel, I noticed that the processor became very hot when idle launched top 214 root 0 -20 0 0 0 R 48.8 0.0 1:46.14 kworker/u13:0-brcmf_wq/mmc0:0001:1 cat /proc/214/status Name: kworker/u13:0+brcmf_wq/mmc0:0001:1 Umask: 0000 State: D (disk sleep) Tgid: 214 Ngid: 0 Pid: 214 PPid: 2 TracerPid: 0 Uid: 0 0 0 0 Gid: 0 0 0 0 FDSize: 64 Groups: NStgid: 214 NSpid: 214 NSpgid: 0 NSsid: 0 Threads: 1 SigQ: 0/14866 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: ffffffffffffffff SigCgt: 0000000000000000 CapInh: 0000000000000000 CapPrm: 000001ffffffffff CapEff: 000001ffffffffff CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: vulnerable SpeculationIndirectBranch: unknown Cpus_allowed: 3f Cpus_allowed_list: 0-5 Mems_allowed: 1 Mems_allowed_list: 0 voluntary_ctxt_switches: 11448782 nonvoluntary_ctxt_switches: 4691 What could be the problem of constant CPU consumption while idle? @Igor How to disable this module? update Now it's clear why
  8. whitefox

    RK3399 Orange Pi

    Thanks. I build current image total size is 45.84M speedup is 1.00 [ .... ] Updating initramfs... [ update-initramfs -uv -k 5.15.49-rockchip64 ] [ o.k. ] Updated initramfs. [ for details see: /root/build/output/debug/install.log ] [ .... ] Re-enabling [ initramfs-tools hook for kernel ] [ o.k. ] Unmounting [ /root/build/.tmp/mount-478cc97c-5aea-436e-a8f9-72514acb9f5b/ ] [ o.k. ] Free SD cache [ 11% ] [ o.k. ] Mount point [ 92% ] [ o.k. ] Writing U-boot bootloader [ /dev/loop5 ] [ o.k. ] SHA256 calculating [ Armbian_22.08.0-trunk_Orangepi-rk3399_jammy_current_5.15.49_minimal.img ] [ warn ] GPG signing skipped - no GPG_PASS [ Armbian_22.08.0-trunk_Orangepi-rk3399_jammy_current_5.15.49_minimal.img ] [ o.k. ] Done building [ /root/build/.tmp/image-478cc97c-5aea-436e-a8f9-72514acb9f5b/Armbian_22.08.0-trunk_Orangepi-rk3399_jammy_current_5.15.49_minimal.img ] [ o.k. ] Runtime [ 296 min ] [ o.k. ] Repeat Build Options [ ./compile.sh BOARD=orangepi-rk3399 BRANCH=current RELEASE=jammy BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_ONLY=no KERNEL_CONFIGURE=no COMPRESS_OUTPUTIMAGE=sha,gpg,img ]
  9. whitefox

    RK3399 Orange Pi

    You can share instructions on how you build fresh kernels for orange pi rk3399 @martinayotte Maybe something from these kernels is like https://github.com/radxa/debos-radxa/releases with minimal patches? I lived on the official kernel for quite a long time with loading via eMMC, but something went wrong and I want to try a fresh kernel I also ask you to give a link to a fresh image of ubuntu. It is also not clear that the images from orange pi4 are suitable for the orange pi rk3399 board ? https://www.armbian.com/orange-pi-4/ PS. I don't need bluetooth and wifi
  10. I don’t think this is a good idea as it will probably break someone's LCD There is also a chance of managing such settings through dts file
  11. I read carefully user manual and found it #Dont supports imultaneous HDMI and Screen for HDMI IN Using HDMI IN with HDMI port CONFIG_VIDEO_TC358749XBG=y #CONFIG_ROCKCHIP_DW_MIPI_DSI=y #CONFIG_DRM_PANEL_SIMPLE=y I did so and went to rebuild kernel image git clone --depth 1 https://github.com/armbian/build cd build ./compile.sh # in dialog menu # U-boot and kernel packages -> Show a kernel configuration menu before compilation # then in kernel configuration menu use save config -> edit via vi -> laod config ___ ____ _ ____ _ ____________ ___ ___ / _ \| _ \(_) | _ \| |/ /___ /___ // _ \ / _ \ | | | | |_) | | | |_) | ' / |_ \ |_ \ (_) | (_) | | |_| | __/| | | _ <| . \ ___) |__) \__, |\__, | \___/|_| |_| |_| \_\_|\_\____/____/ /_/ /_/ Welcome to Armbian Focal with Linux 4.4.213-rk3399 System load: 0.19 0.14 0.06 Up time: 1 min Memory usage: 3 % of 3809MB IP: 192.168.1.90 CPU temp: 55°C Usage of /: 19% of 15G Last login: Sat Aug 8 18:47:55 2020 from 192.168.1.85 root@orangepi-rk3399:~# v4l2-ctl --list-devices rkisp10_selfpath (platform:rkisp10-000): /dev/video0 /dev/video1 /dev/video2 /dev/video3 root@orangepi-rk3399:~# root@orangepi-rk3399:~# ffmpeg -f v4l2 -list_formats all -i /dev/video0 ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-10ubuntu2) configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/aarch64-linux-gnu --incdir=/usr/include/aarch64-linux-gnu --arch=arm64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared libavutil 56. 31.100 / 56. 31.100 libavcodec 58. 54.100 / 58. 54.100 libavformat 58. 29.100 / 58. 29.100 libavdevice 58. 8.100 / 58. 8.100 libavfilter 7. 57.100 / 7. 57.100 libavresample 4. 0. 0 / 4. 0. 0 libswscale 5. 5.100 / 5. 5.100 libswresample 3. 5.100 / 3. 5.100 libpostproc 55. 5.100 / 55. 5.100 [video4linux2,v4l2 @ 0x5594189760] Raw : yuyv422 : YUYV 4:2:2 : [video4linux2,v4l2 @ 0x5594189760] Raw : yuyv422 : YUYV 4:2:2 : [video4linux2,v4l2 @ 0x5594189760] Raw : uyvy422 : UYVY 4:2:2 : [video4linux2,v4l2 @ 0x5594189760] Raw : yuv422p : Planar YVU 4:2:2 : [video4linux2,v4l2 @ 0x5594189760] Raw : Unsupported : Y/CbCr 4:2:2 : [video4linux2,v4l2 @ 0x5594189760] Raw : yuv420p : Planar YUV 4:2:0 : [video4linux2,v4l2 @ 0x5594189760] Raw : yuv420p : Planar YUV 4:2:0 : [video4linux2,v4l2 @ 0x5594189760] Raw : yuv420p : Planar YVU 4:2:0 : [video4linux2,v4l2 @ 0x5594189760] Raw : nv12 : Y/CbCr 4:2:0 : [video4linux2,v4l2 @ 0x5594189760] Raw : Unsupported : Y/CrCb 4:2:0 : [video4linux2,v4l2 @ 0x5594189760] Raw : gray : 8-bit Greyscale : [video4linux2,v4l2 @ 0x5594189760] Raw : Unsupported : 16-bit A/XYUV 4-4-4-4 : [video4linux2,v4l2 @ 0x5594189760] Raw : Unsupported : Y/CbCr 4:4:4 : [video4linux2,v4l2 @ 0x5594189760] Compressed: mjpeg : JFIF JPEG : [video4linux2,v4l2 @ 0x5594189760] Raw : rgb565le : 16-bit RGB 5-6-5 : [video4linux2,v4l2 @ 0x5594189760] Raw : bayer_grbg8 : 8-bit Bayer GRGR/BGBG : /dev/video0: Immediate exit requested root@orangepi-rk3399:~# Profit ! but it's too early to rejoice ffmpeg and gstreamer not runing Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Device '/dev/video0' failed during initialization Additional debug info: gstv4l2object.c(3782): gst_v4l2_object_set_format_full (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Call to S_FMT failed for NV12 @ 1920x1080: Bad address Execution ended after 0:00:00.117020985 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline .. Parsing a group of options: input url /dev/video0. Applying option hwaccel (use HW accelerated decoding) with argument vaapi. Applying option f (force format) with argument v4l2. Applying option pix_fmt (set pixel format) with argument nv12. Applying option s (set frame size (WxH or abbreviation)) with argument 1920x1080. Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30. Successfully parsed a group of options. Opening an input file: /dev/video0. [video4linux2,v4l2 @ 0x5595907930] fd:3 capabilities:84200001 [video4linux2,v4l2 @ 0x5595907930] Current input_channel: 0, input_name: tc358749xbg, input_std: 0 /dev/video0: Bad address
  12. maybe at the camera signal 1080p50 root@linaro-alip:/home/linaro# ffmpeg -f v4l2 -pix_fmt nv12 -framerate 25 -s 1280x720 -framerate 25 -re -i /dev/video0 -pix_fmt yuv420p -vsync 2 -c:v libx264 -preset ultrafast -profile:v baseline -r 25 -g 50 -sc_threshold 0 -threads 0 -an -bsf:v h264_mp4toannexb -f mpegts "udp://192.168.1.85:10000?pkt_size=1316" ffmpeg version 3.2.15-0+deb9u1 Copyright (c) 2000-2020 the FFmpeg developers [video4linux2,v4l2 @ 0xab784270] The driver does not permit changing the time per frame [video4linux2,v4l2 @ 0xab784270] Time per frame unknown Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, bitrate: N/A Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 1280x720, 1000k tbr, 1000k tbn, 1000k tbc [libx264 @ 0xab787250] using cpu capabilities: ARMv6 NEON [libx264 @ 0xab787250] profile Constrained Baseline, level 3.1 Output #0, mpegts, to 'udp://192.168.1.85:10000?pkt_size=1316': Metadata: encoder : Lavf57.56.101 Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 25 fps, 90k tbn, 25 tbc Metadata: encoder : Lavc57.64.101 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Press [q] to stop, [?] for help frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) where can i get normal support hdmi-in ? See https://medium.com/@poddingue/stream-for-cheap-rk3399-and-ffmpeg-part-i-149f330bd127 https://trac.ffmpeg.org/wiki/Capture/Webcam#Linux
  13. Hi, I try use image http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=3844 this only one image works HDMI input for HDMI output PC ffmpeg -f v4l2 -list_formats all -i /dev/video0 [video4linux2,v4l2 @ 0xab89b120] Raw : yuyv422 : YUYV 4:2:2 : [video4linux2,v4l2 @ 0xab89b120] Raw : yuyv422 : YUYV 4:2:2 : [video4linux2,v4l2 @ 0xab89b120] Raw : uyvy422 : UYVY 4:2:2 : [video4linux2,v4l2 @ 0xab89b120] Raw : yuv422p : Planar YVU 4:2:2 : [video4linux2,v4l2 @ 0xab89b120] Raw : Unsupported : Y/CbCr 4:2:2 : [video4linux2,v4l2 @ 0xab89b120] Raw : yuv420p : Planar YUV 4:2:0 : [video4linux2,v4l2 @ 0xab89b120] Raw : yuv420p : Planar YUV 4:2:0 : [video4linux2,v4l2 @ 0xab89b120] Raw : yuv420p : Planar YVU 4:2:0 : [video4linux2,v4l2 @ 0xab89b120] Raw : nv12 : Y/CbCr 4:2:0 : [video4linux2,v4l2 @ 0xab89b120] Raw : Unsupported : Y/CrCb 4:2:0 : [video4linux2,v4l2 @ 0xab89b120] Raw : gray : 8-bit Greyscale : [video4linux2,v4l2 @ 0xab89b120] Raw : Unsupported : 16-bit A/XYUV 4-4-4-4 : [video4linux2,v4l2 @ 0xab89b120] Raw : Unsupported : Y/CbCr 4:4:4 : [video4linux2,v4l2 @ 0xab89b120] Compressed: mjpeg : JFIF JPEG : [video4linux2,v4l2 @ 0xab89b120] Raw : rgb565le : 16-bit RGB 5-6-5 : [video4linux2,v4l2 @ 0xab89b120] Raw : bayer_grbg8 : 8-bit Bayer GRGR/BGBG : also tried images 1. OrangePi_rk3399_ubuntu_bionic_desktop_linux4.4.179_v1.3 from https://drive.google.com/drive/folders/17t3rWNuvG5i72UgrwfgEuevrEFS9Txo4 2. Armbian_20.05.4_Orangepi-rk3399_focal_current_5.4.46 from https://dl.armbian.com/orangepi-rk3399/archive/ and try encoding to h264 use preset ultrafast 720p work without h264_rkmpp ffmpeg -f v4l2 -pix_fmt nv12 -framerate 25 -s 1280x720 -framerate 25 -re -i /dev/video0 -pix_fmt yuv420p -vsync 2 -c:v libx264 -preset ultrafast -profile:v baseline -r 25 -g 50 -sc_threshold 0 -threads 0 -an -bsf:v h264_mp4toannexb -f mpegts "udp://192.168.1.85:10000?pkt_size=1316» https://yadi.sk/i/68YnUz6nDLhK6g 1080p after 15 seconds board rebooted ffmpeg -f v4l2 -pix_fmt nv12 -framerate 25 -s 1920x1080 -framerate 25 -re -i /dev/video0 -pix_fmt yuv420p -vsync 2 -c:v libx264 -preset ultrafast -profile:v baseline -r 25 -g 50 -sc_threshold 0 -threads 0 -an -bsf:v h264_mp4toannexb -f mpegts "udp://192.168.1.85:10000?pkt_size=1316" Then a try install ffmpeg with h264_rkmpp how I did it from armbian kernel But from this kernel rockcip_mpp not compiled need kernel headers video/rk_vpu_service [ 5%] Building C object mpp/hal/dummy/CMakeFiles/hal_dummy.dir/hal_dummy_dec_api.c.o /tmp/rockchip_mpp/mpp/hal/worker/mpp_device/mpp_device.c:24:34: fatal error: video/rk_vpu_service.h: No such file or directory #include <video/rk_vpu_service.h> ^ compilation terminated. mpp/hal/worker/mpp_device/CMakeFiles/mpp_device.dir/build.make:62: recipe for target 'mpp/hal/worker/mpp_device/CMakeFiles/mpp_device.dir/mpp_device.c.o' failed make[2]: *** [mpp/hal/worker/mpp_device/CMakeFiles/mpp_device.dir/mpp_device.c.o] Error 1 CMakeFiles/Makefile2:3081: recipe for target 'mpp/hal/worker/mpp_device/CMakeFiles/mpp_device.dir/all' failed make[1]: *** [mpp/hal/worker/mpp_device/CMakeFiles/mpp_device.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 5%] Building C object mpp/hal/dummy/CMakeFiles/hal_dummy.dir/hal_dummy_enc_api.c.o [ 16%] Built target osal Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 Then I try connect my Nikon D5300 to hdmi in ffmpeg is not responding and board not responding root@linaro-alip:/home/linaro# ffmpeg -f v4l2 -pix_fmt nv12 -framerate 25 -s 1280x720 -framerate 25 -re -i /dev/video0 -pix_fmt yuv420p -vsync 2 -c:v libx264 -preset ultrafast -profile:v baseline -r 25 -g 50 -sc_threshold 0 -threads 0 -an -bsf:v h264_mp4toannexb -f mpegts "udp://192.168.1.85:10000?pkt_size=1316" ffmpeg version 3.2.15-0+deb9u1 Copyright (c) 2000-2020 the FFmpeg developers [video4linux2,v4l2 @ 0xab784270] The driver does not permit changing the time per frame [video4linux2,v4l2 @ 0xab784270] Time per frame unknown Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, bitrate: N/A Stream #0:0: Video: rawvideo (NV12 / 0x3231564E), nv12, 1280x720, 1000k tbr, 1000k tbn, 1000k tbc [libx264 @ 0xab787250] using cpu capabilities: ARMv6 NEON [libx264 @ 0xab787250] profile Constrained Baseline, level 3.1 Output #0, mpegts, to 'udp://192.168.1.85:10000?pkt_size=1316': Metadata: encoder : Lavf57.56.101 Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720, q=-1--1, 25 fps, 90k tbn, 25 tbc Metadata: encoder : Lavc57.64.101 libx264 Side data: cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Press [q] to stop, [?] for help frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A speed= 0x video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used) where can i get normal support hdmi-in ? See https://medium.com/@poddingue/stream-for-cheap-rk3399-and-ffmpeg-part-i-149f330bd127 https://trac.ffmpeg.org/wiki/Capture/Webcam#Linux
  14. _ ____ __ __ __ _ _ / \ | _ \| \/ | / /_ | || | / _ \ | |_) | |\/| |_____| '_ \| || |_ / ___ \| _ <| | | |_____| (_) |__ _| /_/ \_\_| \_\_| |_| \___/ |_| Welcome to Armbian Focal with Linux 5.7.0-rc2-arm-64 No end-user support: built from trunk & unsupported (focal) userspace! System load: 2.50 0.64 0.22 Up time: 0 min Memory usage: 17 % of 3797MB IP: 169.254.13.15 192.168.1.167 CPU temp: 69°C Usage of /: 18% of 29G storage/: 1% of 117G [ General system configuration (beta): armbian-config ] 294 updates can be installed immediately. 101 of these updates are security updates. To see these additional updates run: apt list --upgradable Last login: Tue Apr 28 13:19:17 2020 from 192.168.1.214 root@orangepi-arm-64:~# uname -a Linux orangepi-arm-64 5.7.0-rc2-arm-64 #20.05.3 SMP PREEMPT Sat Apr 25 13:17:40 MSK 2020 aarch64 aarch64 aarch64 GNU/Linux Hello, i run armbian on orange pi rk3399 , bun I don`t know how take ffmpeg accelerated and other ls -l /dev/vpu* /dev/rk* /dev/vpu* ls: cannot access '/dev/vpu*': No such file or directory ls: cannot access '/dev/rk*': No such file or directory ls: cannot access '/dev/vpu*': No such file or directory [ 33.917] (--) Log file renamed from "/var/log/Xorg.pid-1938.log" to "/var/log/Xorg.0.log" [ 33.921] X.Org X Server 1.20.8 X Protocol Version 11, Revision 0 [ 33.921] Build Operating System: Linux 4.4.0-177-generic aarch64 Ubuntu [ 33.921] Current Operating System: Linux orangepi-arm-64 5.7.0-rc2-arm-64 #20.05.3 SMP PREEMPT Sat Apr 25 13:17:40 MSK 2020 aarch64 [ 33.921] Kernel command line: root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 [ 33.921] Build Date: 06 April 2020 09:39:29AM [ 33.921] xorg-server 2:1.20.8-2ubuntu2 (For technical support please see http://www.ubuntu.com/support) [ 33.921] Current version of pixman: 0.38.4 [ 33.921] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 33.921] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 33.921] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 7 15:17:24 2020 [ 33.929] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 33.929] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 33.940] (==) No Layout section. Using the first Screen section. [ 33.941] (==) No screen section available. Using defaults. [ 33.941] (**) |-->Screen "Default Screen Section" (0) [ 33.941] (**) | |-->Monitor "<default monitor>" [ 33.949] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 33.949] (**) | |-->Device "Default Device" [ 33.949] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 33.949] (**) Option "AutoAddGPU" "off" [ 33.949] (**) Option "Debug" "dmabuf_capable" [ 33.949] (==) Automatically adding devices [ 33.949] (==) Automatically enabling devices [ 33.949] (**) Not automatically adding GPU devices [ 33.949] (==) Automatically binding GPU devices [ 33.949] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 33.982] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 33.982] Entry deleted from font path. [ 33.982] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 33.982] Entry deleted from font path. [ 33.982] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 33.982] Entry deleted from font path. [ 33.987] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 33.987] Entry deleted from font path. [ 33.987] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 33.987] Entry deleted from font path. [ 33.987] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/Type1, built-ins [ 33.987] (==) ModulePath set to "/usr/lib/xorg/modules" [ 33.987] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 33.987] (II) Loader magic: 0xaaaab21f4010 [ 33.987] (II) Module ABI versions: [ 33.987] X.Org ANSI C Emulation: 0.4 [ 33.987] X.Org Video Driver: 24.1 [ 33.987] X.Org XInput driver : 24.1 [ 33.987] X.Org Server Extension : 10.0 [ 33.989] (++) using VT number 2 [ 33.993] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32 [ 33.995] (II) xfree86: Adding drm device (/dev/dri/card0) [ 33.996] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 12 paused 0 [ 33.997] (II) xfree86: Adding drm device (/dev/dri/card1) [ 33.999] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 13 paused 0 [ 34.000] (II) no primary bus or device found [ 34.000] falling back to /sys/devices/platform/display-subsystem/drm/card0 [ 34.000] (II) LoadModule: "glx" [ 34.006] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 34.164] (II) Module glx: vendor="X.Org Foundation" [ 34.164] compiled for 1.20.8, module version = 1.0.0 [ 34.164] ABI class: X.Org Server Extension, version 10.0 [ 34.164] (II) LoadModule: "modesetting" [ 34.171] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 34.183] (II) Module modesetting: vendor="X.Org Foundation" [ 34.183] compiled for 1.20.8, module version = 1.20.8 [ 34.183] Module class: X.Org Video Driver [ 34.184] ABI class: X.Org Video Driver, version 24.1 [ 34.184] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 34.185] (II) modeset(0): using drv /dev/dri/card0 [ 34.186] (II) modeset(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 34.187] (==) modeset(0): Depth 24, (==) framebuffer bpp 32 [ 34.187] (**) modeset(0): Option "AccelMethod" "none" [ 34.187] (==) modeset(0): RGB weight 888 [ 34.187] (==) modeset(0): Default visual is TrueColor [ 34.187] (**) modeset(0): glamor disabled [ 34.187] (II) modeset(0): ShadowFB: preferred NO, enabled NO [ 34.187] (II) modeset(0): Output HDMI-1 has no monitor section [ 34.187] (II) modeset(0): EDID for output HDMI-1 [ 34.187] (II) modeset(0): Output HDMI-1 disconnected [ 34.187] (WW) modeset(0): No outputs definitely connected, trying again... [ 34.187] (II) modeset(0): Output HDMI-1 disconnected [ 34.187] (WW) modeset(0): Unable to find connected outputs - setting 1024x768 initial framebuffer [ 34.187] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0) [ 34.187] (==) modeset(0): DPI set to (96, 96) [ 34.187] (II) Loading sub module "fb" [ 34.187] (II) LoadModule: "fb" [ 34.194] (II) Loading /usr/lib/xorg/modules/libfb.so [ 34.201] (II) Module fb: vendor="X.Org Foundation" [ 34.201] compiled for 1.20.8, module version = 1.0.0 [ 34.201] ABI class: X.Org ANSI C Emulation, version 0.4 [ 34.223] (==) modeset(0): Backing store enabled [ 34.223] (==) modeset(0): Silken mouse enabled [ 34.231] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc. [ 34.232] (==) modeset(0): DPMS enabled [ 34.232] (II) Initializing extension Generic Event Extension [ 34.232] (II) Initializing extension SHAPE [ 34.233] (II) Initializing extension MIT-SHM [ 34.234] (II) Initializing extension XInputExtension [ 34.237] (II) Initializing extension XTEST [ 34.238] (II) Initializing extension BIG-REQUESTS [ 34.239] (II) Initializing extension SYNC [ 34.239] (II) Initializing extension XKEYBOARD [ 34.240] (II) Initializing extension XC-MISC [ 34.240] (II) Initializing extension SECURITY [ 34.241] (II) Initializing extension XFIXES [ 34.242] (II) Initializing extension RENDER [ 34.242] (II) Initializing extension RANDR [ 34.243] (II) Initializing extension COMPOSITE [ 34.244] (II) Initializing extension DAMAGE [ 34.245] (II) Initializing extension MIT-SCREEN-SAVER [ 34.246] (II) Initializing extension DOUBLE-BUFFER [ 34.246] (II) Initializing extension RECORD [ 34.247] (II) Initializing extension DPMS [ 34.247] (II) Initializing extension Present [ 34.248] (II) Initializing extension DRI3 [ 34.248] (II) Initializing extension X-Resource [ 34.248] (II) Initializing extension XVideo [ 34.249] (II) Initializing extension XVideo-MotionCompensation [ 34.249] (II) Initializing extension SELinux [ 34.249] (II) SELinux: Disabled on system [ 34.249] (II) Initializing extension GLX [ 34.250] (II) AIGLX: Screen 0 is not DRI2 capable [ 37.380] (II) IGLX: Loaded and initialized swrast [ 37.380] (II) GLX: Initialized DRISWRAST GL provider for screen 0 [ 37.380] (II) Initializing extension XFree86-VidModeExtension [ 37.381] (II) Initializing extension XFree86-DGA [ 37.381] (II) Initializing extension XFree86-DRI [ 37.390] (II) Initializing extension DRI2 [ 37.391] (II) modeset(0): Damage tracking initialized [ 37.638] (II) config/udev: Adding input device adc-keys (/dev/input/event1) [ 37.638] (**) adc-keys: Applying InputClass "libinput keyboard catchall" [ 37.638] (II) LoadModule: "libinput" [ 37.638] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 37.666] (II) Module libinput: vendor="X.Org Foundation" [ 37.666] compiled for 1.20.4, module version = 0.29.0 [ 37.666] Module class: X.Org XInput Driver [ 37.666] ABI class: X.Org XInput driver, version 24.1 [ 37.666] (II) Using input driver 'libinput' for 'adc-keys' [ 37.671] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 22 paused 0 [ 37.671] (**) adc-keys: always reports core events [ 37.671] (**) Option "Device" "/dev/input/event1" [ 37.671] (**) Option "_source" "server/udev" [ 37.695] (II) event1 - adc-keys: is tagged by udev as: Keyboard [ 37.695] (II) event1 - adc-keys: device is a keyboard [ 37.696] (II) event1 - adc-keys: device removed [ 37.696] (**) Option "config_info" "udev:/sys/devices/platform/adc-keys/input/input1/event1" [ 37.696] (II) XINPUT: Adding extended input device "adc-keys" (type: KEYBOARD, id 6) [ 37.696] (**) Option "xkb_model" "pc105" [ 37.696] (**) Option "xkb_layout" "us" [ 37.700] (II) event1 - adc-keys: is tagged by udev as: Keyboard [ 37.700] (II) event1 - adc-keys: device is a keyboard [ 37.703] (II) config/udev: Adding input device gpio-keys (/dev/input/event0) [ 37.703] (**) gpio-keys: Applying InputClass "libinput keyboard catchall" [ 37.703] (II) Using input driver 'libinput' for 'gpio-keys' [ 37.707] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 25 paused 0 [ 37.708] (**) gpio-keys: always reports core events [ 37.708] (**) Option "Device" "/dev/input/event0" [ 37.708] (**) Option "_source" "server/udev" [ 37.711] (II) event0 - gpio-keys: is tagged by udev as: Keyboard [ 37.711] (II) event0 - gpio-keys: device is a keyboard [ 37.711] (II) event0 - gpio-keys: device removed [ 37.711] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys/input/input0/event0" [ 37.711] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 7) [ 37.711] (**) Option "xkb_model" "pc105" [ 37.711] (**) Option "xkb_layout" "us" [ 37.715] (II) event0 - gpio-keys: is tagged by udev as: Keyboard [ 37.715] (II) event0 - gpio-keys: device is a keyboard
×
×
  • Create New...