

jerryg
-
Content Count
11 -
Joined
-
Last visited
About jerryg
-
Rank
Member
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Sorry about that. I was imprecise. Tested HDMI sound this morning and it works perfectly. The 3.5mm jack is completely missing though. Not even listed in the alsamixer UI. As mentioned previously, this is not an issue. I will try the nvme install this week-end. -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Got ver 20.02.0-rc1 20200129 on my NanoPc-T4. Things work great: wired ethernet, wifi (with martinayotte's fix), bluetooth, nvme No sound from the native soundcard, but not an issue since I have a USB module for that. Thanks! -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Having issues with the NVMe drive with this unified boot process (the FriendlyDesktop image for the NanoPC T4 is able to see the drive, so it is not a hardware issue). I wrote the u-boot-rk3399-tv.img to the SD card, but I am getting: jerryg@arm:~$ dmesg | grep pcie [ 20.489985] rockchip-pcie f8000000.pcie: no vpcie12v regulator found [ 26.398329] rockchip-pcie f8000000.pcie: no vpcie12v regulator found [ 26.925369] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout! [ 26.926462] rockchip-pcie: probe of f8000000.pcie failed with error -110 Googling for similar issues -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Interestingly, @Kwiboo's ffmpeg v4l2-request-hwaccel-4.0.4 branch seems to be all about using these new v4l2 features. I will try using that tomorrow. Need to compile his ffmpeg and mpv branches though... -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
I was actually looking at both encoding and decoding. For decoding, the kernel state can be found here: https://github.com/torvalds/linux/blob/v5.5-rc2/drivers/staging/media/hantro/rk3399_vpu_hw.c#L64 Notice the .fourcc is: V4L2_PIX_FMT_MPEG2_SLICE While GStreamer will expect V4L2_PIX_FMT_MPEG2 (notice the missing _SLICE) Here: https://github.com/GStreamer/gst-plugins-good/blob/66351255f7491a066ac69c49bf6f3bff6d35cd88/sys/v4l2/gstv4l2object.c#L1413 I see similar differences for H264 and VP8 decoding. My guess at this point is that the hantro_vpu driv -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Yes, but it seems the hantro_vpu module is a little too barebones at this point in time. Gstreamer will auto-detect what is available, and so far in kernel 5.5-rc2, we only have JPEG encoding supported. Stay tuned for further modules appearing as support improves. jerryg@arm:~$ gst-inspect-1.0 --plugin /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so Plugin Details: Name video4linux2 Description elements for Video 4 Linux Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so Version 1. -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Well, `mpv --vo=gpu --hwdec=yes --hwdec-codecs=all -v` shows no HW decoding for a MPEG2 video, so there might still be something missing: Same for a VP8 video. I will have to see if I can get gstreamer to go further. -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
The support for the Hantro G1 VPU is implemented via video4linux2 (See Collabora's efforts: https://www.collabora.com/news-and-blog/news-and-events/linux-kernel-5.4.html) I don't think vdpau will help. With kernel 5.5, native mpv playback of mpeg-2/VP8/VP9 seems to work well at 24fps, but skips frames at 60fps trying to output thru x11. The OpenGL ES playback is slower (--vo=gpu --gpu-api=opengl --opengl-es=yes), so there might still be work to be done to hand decoded frames to the GPU. I will run a few more tests using youtube-dl. -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
jerryg replied to balbes150's topic in TV Boxes's Support Armbian TV
Thanks @balbes150, the 5.5 eoan works correctly on my nanopc-t4. @NicoD: Fastest way to get bleeding edge Mesa on Ubuntu is to use Oibaf's PPA: https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers -
Built latest dev branch on Vagrant. No bluetooth The hci_uart module is running, but it is not talking to any hci module. The dmesg output seems to be missing lines along: [ 6.957330] Bluetooth: hci0: BCM: chip id 101 [ 6.957644] Bluetooth: hci0: BCM: features 0x2f [ 6.961779] Bluetooth: hci0: BCM4354A2 [ 6.961788] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0000 [ 7.965063] Bluetooth: hci0: BCM4356A2 (001.003.015) build 0266 Maybe not that exact chip since the DTS in latest kernel talks about a bcm43438. Did I miss something in my
-
Firefly RK3399 support efforts (potential csc board?)
jerryg replied to hjc's topic in Rockchip 3399
Thanks @hjc I was able to boot Xenial desktop on my T4 from a Vagrant build.