Posts: 83
Joined: Dec 2015
Reputation:
1
I don't have a 4k display, therefore I can't tell anything to that configuration. Only that 4k decoding is not supported by A20.
But the configuration fb0_framebuffer_num = 2 is correct, you need 2 buffers for double buffering.
The memory allocation for CMA is important, but there is no change required to what we already discussed in this thread (min 128MB for CMA).
Posts: 32
Joined: Apr 2017
Reputation:
0
matrzh
Junior Member
Posts: 32
I was being stupid. It just iterates through the modes and uses the 1920x1080 below. I thought it tried the 3840x2160 from double framebuffer size, not thinking much (that it would be 4 times the 1920x1080...).
Anyway. I will fiddle around a little. Since I will be away for 10 days, it will be some time before I let you know if I progress
Posts: 32
Joined: Apr 2017
Reputation:
0
matrzh
Junior Member
Posts: 32
I decided to get back to this and give it another go.
- I noticed that there is code for CMake provided all over the latest repositories. Should this be used to compile (how?) or is it still ok to use autoconfigure and the config command lines on the first page of this thread (this is what I did)
- Is there a way to test the ffmpeg decoding in an isolated way, e.g. specifying a command with an mpeg file as an argument? This would be easier to debug. Trying to load kodi into the gdb. kodi is a shell script that is executing kodi.bin at some point. If I load kodi.bin into gdb, it simply is not working.
Posts: 40
Joined: Jul 2017
Reputation:
0
2017-07-28, 11:37
(This post was last modified: 2017-07-28, 13:38 by pdrobek.)
Problem with makefile solved i guess