arjun.a
range data
5aefcf4
raw
history blame
14.3 kB
Ticket Name: RTOS/TDA2: HDMI input and output FPS capability with TDA2xx
Query Text:
Part Number: TDA2 Tool/software: TI-RTOS Hello There, For HDMI input, what fps it supports?? In Chains_common_vision.c file I have changed to 60 fps i.e. no frame skip for 1080p resolution and this works fine. pOutprms->frameSkipMask = 0x0; Now I want to increase from 60 fps to more. So is it possible to capture from HDMI more than 60 fps through vision sdk?? If yes, what need to do that?? Regards, Kajal
Responses:
Hi Kajal, Do you want to change HDMI fps or complete usecase fps? For complete usecase, you need to first change fps in the capture, make sure usecase runs fine and then you could change in HDMI. btw, what fps you are looking for? HDMI follows CEA861 standard.. So your fps requirement should be supported in CEA standard. Regards, Brijesh
Hello Brijesh, My usecase is running at 60 fps . Now I want run the same usecase at 80 fps to 220fps. For complete usecase, you need to first change fps in the capture, make sure usecase runs fine and then you could change in HDMI. >> I have changed setting in capture llink i.e. pOutprms->frameSkipMask = 0x0; and this works fine! i.e. usecase runs at 60 fps I have below doubts, 1. How to change HDMI fps ?? 2. What is mean by HDMI fps and usecase fps ?? Please correct my understanding if i'm wrong. Note:- I have optimized algorithm, so expecting more fps.( before optmization usecase was running at 60 fps) Regards, Kajal
Hi Kajal, At what resolution, you have configured HDMI? If it is 1080p or 720p, it is already configured for 60fps output. First your entire chain should be able to run at required fps, 80 to 220, then you could change HDMI settings for the required resolution/fps.. Regards, Briejsh
First your entire chain should be able to run at required fps, 80 to 220, >>How to know this?? Regards, Kajal
Press "p" on the console, the FPS for each link is displayed. regards, Sujith
What is your usecase? What all modules are involved in the usecase? Check if all intermediate modules can support 80 to 220 fps .. Rgds, Brijesh
Hello Brijesh, Usecse is, capture + alg_plugin( EVE1) + display From start to end every module is running st 60 fps. alg_plugin's latency is avg 4500us. My doubt is, If capture link ( Driver/Notify Cb = 60.0 fps) is only giving 60 fps as input to next link...then how come other modules will run at 80 to 220 fps.. Below are logs for this usecase, [IPU1-0] 64.495455 s: [ CAPTURE ] Link Statistics, [IPU1-0] 64.495516 s: ****************************** [IPU1-0] 64.495577 s: [IPU1-0] 64.495607 s: Elapsed time = 32162 msec [IPU1-0] 64.495729 s: [IPU1-0] 64.495790 s: New data Recv = 60.0 fps [IPU1-0] 64.495851 s: Get Full Buf Cb = 60.3 fps [IPU1-0] 64.495943 s: Put Empty Buf Cb = 60.3 fps [IPU1-0] 64.496034 s: Driver/Notify Cb = 60.0 fps [IPU1-0] 64.496095 s: [IPU1-0] 64.496156 s: Input Statistics, [IPU1-0] 64.496217 s: [IPU1-0] 64.496248 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 64.496339 s: | FPS | FPS | FPS | FPS [IPU1-0] 64.496431 s: -------------------------------------------------- [IPU1-0] 64.496522 s: 0 | 60. 3 0. 0 0. 0 60. 3 [IPU1-0] 64.496705 s: [IPU1-0] 64.496736 s: Output Statistics, [IPU1-0] 64.496797 s: [IPU1-0] 64.496858 s: CH | Out | Out | Out Drop | Out User Drop [IPU1-0] 64.497193 s: | ID | FPS | FPS | FPS [IPU1-0] 64.497285 s: --------------------------------------------- [IPU1-0] 64.497376 s: 0 | 0 60. 3 0. 0 0. 0 [IPU1-0] 64.497498 s: [IPU1-0] 64.497529 s: [ CAPTURE ] LATENCY, [IPU1-0] 64.497742 s: ******************** [IPU1-0] 64.497834 s: [IPU1-0] 64.497986 s: [IPU1-0] 64.498017 s: ### CPU [IPU1-0], LinkID [ 0], [IPU1-0] 64.498108 s: [IPU1-0] 64.498169 s: [ IPC_OUT_0 ] Link Statistics, [IPU1-0] 64.498261 s: ****************************** [IPU1-0] 64.498322 s: [IPU1-0] 64.498352 s: Elapsed time = 32165 msec [IPU1-0] 64.498444 s: [IPU1-0] 64.498505 s: New data Recv = 60.6 fps [IPU1-0] 64.498566 s: Release data Recv = 60.3 fps [IPU1-0] 64.498688 s: Driver/Notify Cb = 160.1 fps [IPU1-0] 64.498810 s: [IPU1-0] 64.498840 s: Input Statistics, [IPU1-0] 64.498901 s: [IPU1-0] 64.498932 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 64.499023 s: | FPS | FPS | FPS | FPS [IPU1-0] 64.499115 s: -------------------------------------------------- [IPU1-0] 64.499206 s: 0 | 60. 6 0. 0 0. 0 60. 6 [IPU1-0] 64.499359 s: [IPU1-0] 64.499389 s: Output Statistics, [IPU1-0] 64.499450 s: [IPU1-0] 64.499511 s: CH | Out | Out | Out Drop | Out User Drop [IPU1-0] 64.499572 s: | ID | FPS | FPS | FPS [IPU1-0] 64.499908 s: --------------------------------------------- [IPU1-0] 64.500030 s: 0 | 0 60. 6 0. 0 0. 0 [IPU1-0] 64.500152 s: [IPU1-0] 64.500213 s: [ IPC_OUT_0 ] LATENCY, [IPU1-0] 64.500274 s: ******************** [IPU1-0] 64.500335 s: Local Link Latency : Avg = 7 us, Min = 0 us, Max = 61 us, [IPU1-0] 64.500457 s: Source to Link Latency : Avg = 80 us, Min = 61 us, Max = 244 us, [IPU1-0] 64.500732 s: [IPU1-0] 65.000793 s: [IPU1-0] 65.001128 s: ### CPU [ EVE1], LinkID [ 10], [IPU1-0] 65.001220 s: [IPU1-0] 65.001250 s: [ IPC_IN_0 ] Link Statistics, [IPU1-0] 65.001311 s: ****************************** [IPU1-0] 65.001372 s: [IPU1-0] 65.001433 s: Elapsed time = 32668 msec [IPU1-0] 65.001494 s: [IPU1-0] 65.001525 s: Get Full Buf Cb = 60.5 fps [IPU1-0] 65.001616 s: Put Empty Buf Cb = 60.5 fps [IPU1-0] 65.001708 s: Driver/Notify Cb = 60.2 fps [IPU1-0] 65.001860 s: [IPU1-0] 65.001891 s: Input Statistics, [IPU1-0] 65.001952 s: [IPU1-0] 65.001982 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 65.002074 s: | FPS | FPS | FPS | FPS [IPU1-0] 65.002135 s: -------------------------------------------------- [IPU1-0] 65.002226 s: 0 | 60. 5 0. 0 0. 0 60. 5 [IPU1-0] 65.002348 s: [IPU1-0] 65.002409 s: Output Statistics, [IPU1-0] 65.002440 s: [IPU1-0] 65.002501 s: CH | Out | Out | Out Drop | Out User Drop [IPU1-0] 65.002562 s: | ID | FPS | FPS | FPS [IPU1-0] 65.002623 s: --------------------------------------------- [IPU1-0] 65.002714 s: 0 | 0 60. 5 0. 0 0. 0 [IPU1-0] 65.002867 s: [IPU1-0] 65.002897 s: [ IPC_IN_0 ] LATENCY, [IPU1-0] 65.002958 s: ******************** [IPU1-0] 65.003019 s: Local Link Latency : Avg = 36 us, Min = 30 us, Max = 153 us, [IPU1-0] 65.003111 s: Source to Link Latency : Avg = 413 us, Min = 366 us, Max = 701 us, [IPU1-0] 65.003233 s: [IPU1-0] 65.003355 s: [IPU1-0] 65.003385 s: ### CPU [ EVE1], LinkID [ 49], [IPU1-0] 65.003477 s: [IPU1-0] 65.003507 s: [ ALG_EVE ] Link Statistics, [IPU1-0] 65.003568 s: ****************************** [IPU1-0] 65.003629 s: [IPU1-0] 65.003690 s: Elapsed time = 32670 msec [IPU1-0] 65.003782 s: [IPU1-0] 65.003812 s: New data Recv = 60.2 fps [IPU1-0] 65.003904 s: [IPU1-0] 65.003934 s: Input Statistics, [IPU1-0] 65.003995 s: [IPU1-0] 65.004026 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 65.004087 s: | FPS | FPS | FPS | FPS [IPU1-0] 65.004178 s: -------------------------------------------------- [IPU1-0] 65.004270 s: 0 | 60. 5 0. 0 0. 0 60. 5 [IPU1-0] 65.004392 s: [IPU1-0] 65.004422 s: Output Statistics, [IPU1-0] 65.004483 s: [IPU1-0] 65.004514 s: CH | Out | Out | Out Drop | Out User Drop [IPU1-0] 65.004575 s: | ID | FPS | FPS | FPS [IPU1-0] 65.004666 s: --------------------------------------------- [IPU1-0] 65.004941 s: 0 | 0 60. 5 0. 0 0. 0 [IPU1-0] 65.005063 s: [IPU1-0] 65.005093 s: [ ALG_EVE ] LATENCY, [IPU1-0] 65.005154 s: ******************** [IPU1-0] 65.005215 s: Local Link Latency : Avg = 4511 us, Min = 4422 us, Max = 4758 us, [IPU1-0] 65.005337 s: Source to Link Latency : Avg = 5115 us, Min = 5002 us, Max = 5642 us, [IPU1-0] 65.005459 s: [IPU1-0] 65.005551 s: [IPU1-0] 65.005612 s: ### CPU [ EVE1], LinkID [ 0], [IPU1-0] 65.005703 s: [IPU1-0] 65.005764 s: [ IPC_OUT_0 ] Link Statistics, [IPU1-0] 65.005825 s: ****************************** [IPU1-0] 65.005886 s: [IPU1-0] 65.005917 s: Elapsed time = 32667 msec [IPU1-0] 65.005978 s: [IPU1-0] 65.006039 s: New data Recv = 60.6 fps [IPU1-0] 65.006100 s: Release data Recv = 59.96 fps [IPU1-0] 65.006191 s: Driver/Notify Cb = 69.94 fps [IPU1-0] 65.006252 s: [IPU1-0] 65.006283 s: Input Statistics, [IPU1-0] 65.006344 s: [IPU1-0] 65.006374 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 65.006466 s: | FPS | FPS | FPS | FPS [IPU1-0] 65.006527 s: -------------------------------------------------- [IPU1-0] 65.006618 s: 0 | 60. 6 0. 0 0. 0 60. 6 [IPU1-0] 65.006832 s: [IPU1-0] 65.006862 s: Output Statistics, [IPU1-0] 65.006923 s: [IPU1-0] 65.006954 s: CH | Out | Out | Out Drop | Out User Drop [IPU1-0] 65.007015 s: | ID | FPS | FPS | FPS [IPU1-0] 65.007106 s: --------------------------------------------- [IPU1-0] 65.007167 s: 0 | 0 60. 6 0. 0 0. 0 [IPU1-0] 65.007289 s: [IPU1-0] 65.007320 s: [ IPC_OUT_0 ] LATENCY, [IPU1-0] 65.007381 s: ******************** [IPU1-0] 65.007442 s: Local Link Latency : Avg = 31 us, Min = 0 us, Max = 122 us, [IPU1-0] 65.007564 s: Source to Link Latency : Avg = 5417 us, Min = 5277 us, Max = 6069 us, [IPU1-0] 65.007686 s: [IPU1-0] 65.507777 s: [IPU1-0] 65.507869 s: ### CPU [IPU1-0], LinkID [ 10], [IPU1-0] 65.507930 s: [IPU1-0] 65.507991 s: [ IPC_IN_0 ] Link Statistics, [IPU1-0] 65.508052 s: ****************************** [IPU1-0] 65.508113 s: [IPU1-0] 65.508143 s: Elapsed time = 33169 msec [IPU1-0] 65.508204 s: [IPU1-0] 65.508265 s: Get Full Buf Cb = 60.5 fps [IPU1-0] 65.508326 s: Put Empty Buf Cb = 59.96 fps [IPU1-0] 65.508418 s: Driver/Notify Cb = 60.2 fps [IPU1-0] 65.508479 s: [IPU1-0] 65.508509 s: Input Statistics, [IPU1-0] 65.508570 s: [IPU1-0] 65.508601 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 65.508723 s: | FPS | FPS | FPS | FPS [IPU1-0] 65.508845 s: -------------------------------------------------- [IPU1-0] 65.508936 s: 0 | 60. 5 0. 0 0. 0 60. 5 [IPU1-0] 65.509058 s: [IPU1-0] 65.509119 s: Output Statistics, [IPU1-0] 65.509150 s: [IPU1-0] 65.509211 s: CH | Out | Out | Out Drop | Out User Drop [IPU1-0] 65.509272 s: | ID | FPS | FPS | FPS [IPU1-0] 65.509363 s: --------------------------------------------- [IPU1-0] 65.509424 s: 0 | 0 60. 5 0. 0 0. 0 [IPU1-0] 65.509546 s: [IPU1-0] 65.509577 s: [ IPC_IN_0 ] LATENCY, [IPU1-0] 65.509638 s: ******************** [IPU1-0] 65.509882 s: Local Link Latency : Avg = 20 us, Min = 0 us, Max = 122 us, [IPU1-0] 65.510004 s: Source to Link Latency : Avg = 5631 us, Min = 5490 us, Max = 6283 us, [IPU1-0] 65.510126 s: [IPU1-0] 65.510217 s: [IPU1-0] 65.510278 s: ### CPU [IPU1-0], LinkID [ 67], [IPU1-0] 65.510339 s: [IPU1-0] 65.510370 s: [ DISPLAY ] Link Statistics, [IPU1-0] 65.510461 s: ****************************** [IPU1-0] 65.510522 s: [IPU1-0] 65.510553 s: Elapsed time = 33171 msec [IPU1-0] 65.510614 s: [IPU1-0] 65.510644 s: New data Recv = 60.2 fps [IPU1-0] 65.510766 s: Driver/Notify Cb = 59.99 fps [IPU1-0] 65.510858 s: [IPU1-0] 65.510888 s: Input Statistics, [IPU1-0] 65.510949 s: [IPU1-0] 65.510980 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 65.511071 s: | FPS | FPS | FPS | FPS [IPU1-0] 65.511132 s: -------------------------------------------------- [IPU1-0] 65.511224 s: 0 | 60. 5 0. 0 0. 0 60. 5 [IPU1-0] 65.511346 s: [IPU1-0] 65.511376 s: [ DISPLAY ] LATENCY, [IPU1-0] 65.511437 s: ******************** [IPU1-0] 65.511498 s: Local Link Latency : Avg = 28 us, Min = 0 us, Max = 183 us, [IPU1-0] 65.511620 s: Source to Link Latency : Avg = 5744 us, Min = 5582 us, Max = 6374 us, [IPU1-0] 65.511742 s: [IPU1-0] 65.512169 s: CPU [ IPU1-0], LinkID [ 23], Link Statistics not available ! [IPU1-0] 65.512352 s: [IPU1-0] 65.512383 s: ### CPU [IPU1-0], LinkID [ 68], [IPU1-0] 65.512474 s: [IPU1-0] 65.512505 s: [ DISPLAY ] Link Statistics, [IPU1-0] 65.512566 s: ****************************** [IPU1-0] 65.512627 s: [IPU1-0] 65.512749 s: Elapsed time = 33186 msec [IPU1-0] 65.512840 s: [IPU1-0] 65.512871 s: Driver/Notify Cb = 59.99 fps [IPU1-0] 65.512962 s: [IPU1-0] 65.512993 s: Input Statistics, [IPU1-0] 65.513298 s: [IPU1-0] 65.513359 s: CH | In Recv | In Drop | In User Drop | In Process [IPU1-0] 65.513450 s: | FPS | FPS | FPS | FPS [IPU1-0] 65.513542 s: -------------------------------------------------- [IPU1-0] 65.513633 s: 0 | 0. 3 0. 0 0. 0 0. 3 [IPU1-0] 65.513908 s: [IPU1-0] 65.513969 s: [ DISPLAY ] LATENCY, [IPU1-0] 65.514030 s: ******************** [IPU1-0] 65.514091 s: Local Link Latency : Avg = 30 us, Min = 30 us, Max = 30 us, [IPU1-0] 65.514243 s: Source to Link Latency : Avg = 107882 us, Min = 107882 us, Max = 107882 us, [IPU1-0] 65.514365 s: [IPU1-0] 66.013755 s: Regards, Kajal
That's exactly what i am saying. if your source is not running at higher fps, your chain will also not run at such higher fps. Rgds, Brijesh
Yes Brijesh, so my question is how to change that src fps to higher fps. Regards, Kajal
Kajal, Here src is sensor or capture device. Please check if your sensor or capture device support more fps and change configuration of sensor/capture device accordingly. Regards, Brijesh
Hello Brijesh, As I mentioned in above posts our capture src is HDMI cable (HDTV 1.4V Cable) and it support upto 144Hz for 4k videos (google says). But capture link is giving only 60 fps. Then How to change configuration of this capture src ?? Regards, Kajal
Kajal, From where are you capturing? is it some DVD player? or camera? Does this DVD player or camera support more than 60fps? This is what i meant by capture src. Once you confirm that it supports, then you need to change EDID settings, decoder settings.. etc to get more than 60fps.. Capture link will be able to capture, no change required in capture link.. Rgds, Brijesh
I am connecting desktop with HDMI cable and giving that input to TDA2x.. Regards, Kajal
Hi Kajal, If your purpose is to demonstrate the algorithm performance, I think you can use some artificial data to emulate camera input, eg. nullsrc link is a good choice. Regards, Simon
Hello Simon, Thanks for your suggestion, Can I get a link from where I can download 120 fps ( more than 60 fps ) sample videos. Brijesh, Input to TDA2xx is taken from desktop/monitor using HDMI cable. How do I check weather input from desktop is more than 60? How do I change EDID setting to get more than 60 fps?? Regards, kajal
Kajal, You could check the fps settings in the monitor/desktop settings.. Rgds, Brijesh