Jump to content

Module tv in legacy image for nanopim1plus


drapas

Recommended Posts

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

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

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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines