Ubuntu18.04 GPU加速
本帖最后由 fire4529 于 2021-3-31 12:00 编辑请问如果要用gpu加速 相关的内核怎么整
用AIO-RK3399PRO-JD4-UBUNTU18.04-GPT-20190724-1038.img这个烧写的系统
另外:
在Ubuntu18.04下,用gst-launch-1.0,提示缺少库libMali_wayland.so
我找了下有libmali.so,但是没有这个库,找了下资料发现有个libmali的GitHub:
https://github.com/rockchip-linu ... b/aarch64-linux-gnu
我下载了进行安装
libmali-midgard-t86x-r18p0-wayland_1.9-1_arm64.deb
跑示例/usr/local/bin/h264enc.sh
https://aijishu.com/a/1060000000082887
rk3399pro要gpu加速要像这篇文章说的这样搞吗
firefly@firefly:~$ /usr/local/bin/h264enc.sh
Rga built version:06fc7c4
Rga built version:06fc7c4
Setting pipeline to PAUSED ...
mpp: mpp_info: mpp version: 3fedc6cd author: zouxf 2020-10-23 Merge remote-tracking branch 'firefly-linux/firefly'
Pipeline is PREROLLING ...
mpp: mpp_rt: NOT found ion allocator
mpp: mpp_rt: found drm allocator
mpp: hal_h264d_api: Assertion vcodec_type & ((1 << VPU_CLIENT_RKVDEC) | (1 << VPU_CLIENT_VDPU1) | (1 << VPU_CLIENT_VDPU2)) failed at hal_h264d_init:104
mpp: hal_h264d_api: hal_h264d_init hard mode error, value=0
mpp: hal_h264d_api: Assertion 0 failed at hal_h264d_init:154
mpp: mpp_device: mpp_device_init failed to find device for coding 7 type 0
Caught SIGSEGV
#00x0000007f8059ee28 in __GI___poll (fds=0x55acb16450, nfds=547615327112, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#10x0000007f806abf58 in() at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#20x00000055ac8622d0 in()
Spinning.Please run 'gdb gst-launch-1.0 16584' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
哥们,GPU加速怎么样啊,我用rk3399,也想做GPU加速,想 重新弄内核。
页:
[1]