drapas Posted September 20, 2018 Share Posted September 20, 2018 Hello, I`m used armbian build script (from ) and got image without module tv. Why it missed module tv (video/sunxi/disp2/tv)? There it bug or legacy kernel doesn't support cvbs output? How can i add this module to image? Link to comment Share on other sites More sharing options...
Igor Posted September 20, 2018 Share Posted September 20, 2018 TV support is built into the kernel. You need to enable it in FEX file. https://github.com/armbian/build/blob/master/config/kernel/linux-sun8i-default.config#L2798 Link to comment Share on other sites More sharing options...
drapas Posted September 20, 2018 Author Share Posted September 20, 2018 1 hour ago, Igor said: TV support is built into the kernel. You need to enable it in FEX file. https://github.com/armbian/build/blob/master/config/kernel/linux-sun8i-default.config#L2798 Thanks for quickly answer. But when i used this settings in FEX file: [disp_init] disp_mode = 1 screen1_output_type = 2 screen1_output_mode = 11 [tv_para] tv_used = 1 tv output not work. I was thinking that i need tv module, but i didn't find it in system. What yet I should config to enable TV output? Link to comment Share on other sites More sharing options...
Igor Posted September 20, 2018 Share Posted September 20, 2018 36 minutes ago, drapas said: What yet I should config to enable TV output? Don't know. Never tried. Link to comment Share on other sites More sharing options...
drapas Posted September 28, 2018 Author Share Posted September 28, 2018 This settings is correct: [disp_init] disp_mode = 0 screen0_output_type = 2 screen0_output_mode = 11 [tv_para] tv_used = 1 There were two throubles. 1. My CVBS cable and jack on board have different pinout, changing pin i resolved this problem. 2. Also, mpv use dev/fb0 by default and it doesn`t work with disp_mode = 1 (set fb1 to tv out) But so far, i got new unexpected behavior. I use mpv to play 4K movie encoded by H.265 (8 bit, 30fps, 3840x2160) and get errors after 5 seconds: Segmentation fault It play FullHd movies encoded by H.265 well, but 4K with error. Why it happen? Link to comment Share on other sites More sharing options...
Igor Posted September 28, 2018 Share Posted September 28, 2018 1 hour ago, drapas said: Why it happen? Try with reserveing more memory. Add extraargs=cma=256M to /boot/armbianEnv.txt ... also try higher values. Link to comment Share on other sites More sharing options...
drapas Posted October 1, 2018 Author Share Posted October 1, 2018 On 9/28/2018 at 7:32 PM, Igor said: Try with reserveing more memory. Add extraargs=cma=256M to /boot/armbianEnv.txt ... also try higher values. Seems it parameter are ignored. In my 'syslog' reserved memory size not depends on it, all time 256M cma: CMA: reserved 256MiB at 50000000 I guess, that ION memory manager set 256M reserving... Also i tried rebuild image with: CONFIG_ION_SUNXI_RESERVE_LIST="256M@0,384M@0,130M@1,200M@1" Unfortunately, still same behavior. Link to comment Share on other sites More sharing options...
Igor Posted October 1, 2018 Share Posted October 1, 2018 Change this: https://github.com/armbian/build/blob/master/config/kernel/linux-sun8i-default.config#L1221 Link to comment Share on other sites More sharing options...
drapas Posted October 1, 2018 Author Share Posted October 1, 2018 3 hours ago, Igor said: Change this: https://github.com/armbian/build/blob/master/config/kernel/linux-sun8i-default.config#L1221 Same with CONFIG_CMA_SIZE_MBYTES=384... Also i tried mpv 0.29.0 version, it doesn`t work either... have you any clues? Who tested 4K (HEVC) on H3 Allwinner? It must work? Link to comment Share on other sites More sharing options...
Recommended Posts