View: 7903|Reply: 10

Linux distributions with working 4K video decoding

[Copy link]

2

threads

4

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2017-7-18 11:49:28 | Show all floors |Read mode
Are there any OS builds available that offer working 4K HDMI video support?(Ability to play a 4K video on a 4K display over HDMI, at ~ 30 fps)

What I have tried with OpenELEC has not been successful.

Are there any recommendations?

0

threads

45

posts

625

credits

Senior member

Rank: 4

credits
625
Published in 2017-7-18 22:07:11 | Show all floors
Try Armbian Desktop with built-in mpv player. It should be possible. I made it to work before with self built mpv, ffmpeg, libvdpau-sunxi, codecs and other stuff. And (most of) supported 4K videos was played with h/w acceleration. Maybe it will work the same in Armbian, without touching anything. If not, you can build everything from scratch too.

2

threads

52

posts

565

credits

Senior member

Rank: 4

credits
565
Published in 2017-7-18 23:25:50 | Show all floors
Edited by pmpp at 2017-7-18 16:28

Did you try h3droid ?  We'd love to hear about 4K physical display playback ... ( H3Droid is not only android, under the hood it is also armbian )
These aren't the Droids you're looking for. . .You look for H3Droid !

2

threads

4

posts

38

credits

Novice

Rank: 1

credits
38
 Author| Published in 2017-7-24 12:00:46 | Show all floors
RagnerBG replied at 2017-7-18 22:07
Try Armbian Desktop with built-in mpv player. It should be possible. I made it to work before with s ...

Thanks - I have the Armbian desktop running at 4K, but opening the video files fails or causes glitches.

Is there any other configuration necessary?

0

threads

45

posts

625

credits

Senior member

Rank: 4

credits
625
Published in 2017-7-26 02:08:11 | Show all floors
Edited by RagnerBG at 2017-7-26 02:10
hooby3d replied at 2017-7-24 12:00
Thanks - I have the Armbian desktop running at 4K, but opening the video files fails or causes gli ...

It should work. What board do you have? The one's with 512Mb RAM, like Opi One/Zero. doesn't have enough video memory for 4K video decoding. In this case you can try in Armbian build envirounment, to increase ION reserved memory to at least 192Mb, or to 256Mb like it is on boards with 1Gb RAM (but this may cause OS crashes if you reserve too much and it is all usable in some case) and make your own build image. If the problem is not in RAM, maybe it is in built-in mpv player. You can try to self build it from source. This is the way i used to do it (but it can be outdated allready, i don't have time and desire to test again):
  1. git clone https://github.com/mpv-player/mpv-build.git
  2. cd mpv-build
  3. ./update
  4. rm -f mpv-build-deps_*_*.deb
  5. mk-build-deps -s sudo -i
  6. echo --enable-nonfree >> ffmpeg_options
  7. echo --enable-gpl >> ffmpeg_options
  8. echo --enable-version3 >> ffmpeg_options
  9. echo --enable-vdpau >> ffmpeg_options
  10. echo --enable-libass >> ffmpeg_options
  11. echo --enable-libfdk-aac >> ffmpeg_options
  12. echo --enable-libfreetype >> ffmpeg_options
  13. echo --enable-libmp3lame >> ffmpeg_options
  14. echo --enable-libopus >> ffmpeg_options
  15. echo --enable-libtheora >> ffmpeg_options
  16. echo --enable-libvorbis >> ffmpeg_options
  17. echo --enable-libvpx >> ffmpeg_options
  18. echo --enable-libpulse >> ffmpeg_options
  19. echo --enable-libv4l2 >> ffmpeg_options
  20. echo --enable-libx264 >> ffmpeg_options
  21. echo --enable-libx265 >> ffmpeg_options
  22. echo --enable-libmpv-shared > mpv_options
  23. ./rebuild -j4
  24. sudo ./install
  25. sudo ldconfig
  26. cd ..
  27. mpv
Copy code
Then i used this config:
  1. sudo nano /etc/mpv/mpv.conf - Ubuntu Xenial / sudo nano /usr/local/etc/mpv/mpv.conf - Debian Jessie:
  2. vo=vdpau
  3. hwdec=vdpau
  4. framedrop=vo
  5. hwdec-codecs=all
  6. sub-codepage=enca:bg / sub-codepage=cp1251 / subcp=enca:bg #use one of these for subs and replace with your contry code here.
Copy code
I think, with this config, 4k video worked. If still doesn't, maybe you need to repuild some other stuff too - codecs, libvdpau-sunxi, mali driver, but i wouldn' t touch the last two if not needed.

2

threads

4

posts

38

credits

Novice

Rank: 1

credits
38
 Author| Published in 2017-7-27 11:03:20 | Show all floors
Thank you - I am actually testing on a board with 512 MB RAM (OPi One).
Can the ION reserved memory be set at runtime or through a config file?

0

threads

45

posts

625

credits

Senior member

Rank: 4

credits
625
Published in 2017-7-27 21:57:16 | Show all floors
hooby3d replied at 2017-7-27 11:03
Thank you - I am actually testing on a board with 512 MB RAM (OPi One).
Can the ION reserved memory  ...

No, it's not like on A10/20, where you can reserve video memory through config file. It has to be done in kernel building. This is what you need to read - Building Armbian. You have to edit compile.sh and set - KERNEL_CONFIGURE = yes. Then in edit prompt, that will show up, you have to locate ION section. It was somewhere in Drivers and edit this parameter:
  1. CONFIG_ION_SUNXI_RESERVE_LIST="160M@0,256M@0,130M@1,200M@1"
Copy code
Change the first parameter - 160M, to something bigger - 192M, 224M, 256M, etc. Or you can manually edit kernel config file. It is located in -  build/config/kernel/linux-sun8i-default.config for H3. Look for the above option in this file and edit it directly there. But in this case you probably have to set FORCE_CHECKOUT = no (maybe in first option too, if it doesn't work), in compile.sh . Armbian guys are sensitive in touching their sources , they provide some userpatches option instead, which is too complicated and uncertain for me. But you can try it too, if you know what to do. After you tweak kernel for necesscary ION value, you can build the whole new image, or use the quick way and build only kernel, then apply .deb file in working Armbian and reboot. system.log will show you what is the actual ION reserved memory.

  

2

threads

36

posts

156

credits

Registered member

Rank: 2

credits
156
Published in 2022-7-12 14:18:23 | Show all floors
xerox printer setup ,xerox printer customer support number ,xerox printer customer service number ,xerox printer customer care number
panasonic customer service 24 hours ,panasonic help ,panasonic contact ,panasonic contact number
toshiba customer service number, toshiba satellite support, toshiba help, toshiba tech support number
canon printer helpline, canon printer helpline number, canon printer phone number, canon printer service,
kodak printer customer support number ,kodak helpline number ,kodak toll free number ,kodak support phone number
sharp contact ,sharp number ,sharp contact number ,sharp customer support
hewlett packard customer service phone number, hewlett packard customer support, hewlett packard tech support, hewlett packard technical support,
printer customer service phone number, printer tech support, printer tech support number, printer tech support phone number,
epson scanner support, epson printer customer support, contact epson support, epson phone support
contact hp printer support, hp printer phone support, hp support printer, hp printer service center, hp wireless printer support,
panasonic customer service phone number
xerox number
xerox customer service number



high blood pressure diet menu ,  healthy heart diet ,  best food for heart ,  foods to avoid with heart disease
weight management ,  weight management programs ,  
diet for diabetes ,  diabetic diet plan for weight loss ,  
best foods to gain weight ,  gain weight fast ,  increase weight ,  best diet for weight gain
nutritionist near me , best nutritionist near me , dietitian in delhi , best dietitian in delhi , top dietician in india
best dietician
therapeutic diet
[url=https://teckgeekz.com/]best digital marketing

2

threads

36

posts

156

credits

Registered member

Rank: 2

credits
156
Published in 2022-7-12 14:20:32 | Show all floors
[url=https://teckgeekz.com/]best digital marketing

2

threads

36

posts

156

credits

Registered member

Rank: 2

credits
156
Published in 2022-7-12 14:21:01 | Show all floors
avast total support, www support avast com, avast customer service telephone number, avast antivirus customer service phone number,
roku tv customer support, roku tv customer service number, call roku support, roku contact phone number,
instagram help email, instagram chat, instagram contact number, instagram help number,
netflix support, netflix contact number, netflix customer service phone number, call netflix,
google home support, google home help, google home customer service, google home wifi setup
dell helpline, dell customer support number, dell number, dell help desk, call
[url=https://www.contactcallsupport.com/brother-printer-support/]brother printer customer support
, brother contact, brother customer service number, brother customer service phone number,
,snapchat customer service ,snapchat phone number ,snapchat support number ,snapchat customer service number


chrome blocked download,
chrome enterprise download,
chrome latest version download,
chrome web store download,

microsoft edge window 7,
edge windows 10,
microsoft edge not opening,
microsoft edge will not open,

att network down,
is att down in my area,
is att service down,
at&t service down,

linksys router firmware update
linksys router troubleshooting
linksys router extender
connection to linksys router

dlink login,
dlink router setup,
dlink support,
dlink setup,

cisco support router,
support cisco router,
how to setup cisco router,
cisco router setup username and password,

qsee installation,
q see camera install,
q see cameras support,
q see software downloads,



[url=https://teckgeekz.com/]best digital marketing
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list