Firefly开源社区
标题:
Ubuntu18.04 GPU加速
[打印本页]
作者:
fire4529
时间:
2021-3-29 18:02
标题:
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
QQ图片20210331115920.jpg
(254.59 KB, 下载次数: 1048)
下载附件
2021-3-31 11:59 上传
作者:
fire4529
时间:
2021-3-29 18:21
https://aijishu.com/a/1060000000082887
rk3399pro要gpu加速要像这篇文章说的这样搞吗
作者:
fire4529
时间:
2021-3-31 14:36
[gst-launch-1.0 filesrc location=/usr/local/test.mp4 ! qtdemux ! queue ! h264parse ! mppvideodec ! videoconvert ! "video/x-raw,format=NV12, width=1920,height=1080" ! rkximagesink]
firefly@firefly:~$ /usr/local/bin/h264enc.sh
Rga built version:06fc7c4
Rga built version:06fc7c4
Setting pipeline to PAUSED ...
mpp[16584]: mpp_info: mpp version: 3fedc6cd author: zouxf 2020-10-23 Merge remote-tracking branch 'firefly-linux/firefly'
Pipeline is PREROLLING ...
mpp[16584]: mpp_rt: NOT found ion allocator
mpp[16584]: mpp_rt: found drm allocator
mpp[16584]: 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[16584]: hal_h264d_api: hal_h264d_init hard mode error, value=0
mpp[16584]: hal_h264d_api: Assertion 0 failed at hal_h264d_init:154
mpp[16584]: mpp_device: mpp_device_init failed to find device for coding 7 type 0
Caught SIGSEGV
#0 0x0000007f8059ee28 in __GI___poll (fds=0x55acb16450, nfds=547615327112, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:41
#1 0x0000007f806abf58 in () at /usr/lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x00000055ac8622d0 in ()
Spinning. Please run 'gdb gst-launch-1.0 16584' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.
作者:
yangyang812
时间:
2021-7-2 09:35
哥们,GPU加速怎么样啊,我用rk3399,也想做GPU加速,想 重新弄内核。
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/)
Powered by Discuz! X3.1