View: 8398|Reply: 5

Orange Pi RK3399 GPU

[Copy link]

1

threads

3

posts

37

credits

Novice

Rank: 1

credits
37
Published in 2019-3-26 21:54:34 | Show all floors |Read mode
Edited by fedot92 at 2019-3-26 22:25

Hello. After long attempts, I was able to configure almost everything I needed on my Orange Pi RK3399. Now I'm trying to use multimedia capabilities - kodi & chromecast & dlna - everything works, but kodi loads CPU very much, I assume that the GPU does not work correctly. My knowledge is not enough to understand what the problem is.
For the test, I use glmark2, its answers:


--------------------------------------------------------------------------------------------------------------

** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 6.0, 128 bits)
    GL_VERSION:    3.0 Mesa 18.0.5
~~
~
   glmark2 Score: 24

Please help me enable ARM Mali-T860 MP4 on my board. Sorry for my English. I use translator.
/dev/mali0   - is visible

Sorry for my English. I use translator.


Sorry for my English. I use translator.




13

threads

93

posts

711

credits

Senior member

Rank: 4

credits
711
Published in 2019-7-26 03:52:12 | Show all floors
I could be wrong, but I think gstreamer is the RockChip-enhanced version using the hardware.
I don't know how to port that to other softs like ffmpeg.
I found some scripts, packages and tools for RK3399 boards from other manufacturers, but I just made a big mess out of them.

1

threads

3

posts

37

credits

Novice

Rank: 1

credits
37
 Author| Published in 2019-3-31 01:51:56 | Show all floors
Very sad that the manufacturer does not care about the buyer. The official manual does not help to reveal the full functional of the device. I would very much like the developer to take into account the needs of buyers with insufficient skills. At least more documentation ...

4

threads

96

posts

931

credits

Senior member

Rank: 4

credits
931
Published in 2019-3-31 15:21:23 | Show all floors
You get what you pay for I guess...

1

threads

3

posts

37

credits

Novice

Rank: 1

credits
37
 Author| Published in 2019-4-2 19:58:42 | Show all floors
I agree, ~100$ for a device with such characteristics is not very expensive. But the documentation ... sad..

13

threads

93

posts

711

credits

Senior member

Rank: 4

credits
711
Published in 2019-11-18 17:47:32 | Show all floors
It looks like the latest version of Rockchip's gstreamer has hardware h.264 encoding (but it often crashes the board for me).
For ffmpeg, it's not yet available, but you have access to hardware decoding
  1. ffmpeg -benchmark -loglevel 48 -vcodec h264_rkmpp -i bbb_sunflower_1080p_30fps_normal.mp4 -map 0:v:0 -f null -
Copy code

I'm trying to pipe ffmpeg and gst-launch, but this crashes the board.
  1. ffmpeg  -f v4l2 -pix_fmt nv12 -s 1920x1080 -r 30 -i /dev/video0 -c:v rawvideo -f rawvideo - | gst-launch-1.0 fdsrc ! 'video/x-raw,format=nv12,width=1920,height=1080,framerate=30/1'! mpph264enc ! filesink location=test1.mp4
Copy code
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list