View Bug Details

IDProjectCategoryView StatusLast Update
0001778DCP-o-maticFeaturespublic2024-01-03 12:55
Reportercarl Assigned Tocarl  
PrioritylowSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001778: Explore use of fastvideo SDK
Description

[]

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work requiredMajor

Relationships

related to 0000328 acknowledged Use Nvidia CUDA to speedup render times 

Activities

carl

2020-07-17 22:22

administrator   ~0003859

fastvideo branch

carl

2020-08-11 00:39

administrator   ~0003895

./waf && LD_LIBRARY_PATH=$HOME/src/fastvideo/fastvideo-sdk-0.15.6.3-debian/fastvideo_sdk/lib run/tests --run_test=fastvideo*

carl

2020-08-12 23:58

administrator   ~0003896

Last edited: 2020-08-21 01:13

Playback looks reasonably promising on K1200 (geekbench CUDA benchmark 9051); hacky branch reduces CPU from about 600% to about 120%.

Tests with a9a4cfe for encoding

sintel gpu 24:01; quality a lot worse - typical FV file sizes 5% of CPU.
sintel cpu 37:26
21314 frames

i.e. about 54% faster

With quality = maxQuality = 0.8; similar runtime; typical FV sizes 10% of CPU.
With quality = maxQuality = 1.0; 25:24; typical FV sizes 50% of CPU; visual quality in the same ball park.

quality 1.0 - 21314 frames in 1524 seconds - 14.0 FPS
CPU only - 21314 frames in 2246 seconds - 9.5 FPS

i.e. approx 4.5fps increase with this card (some optimisations yet to investigate).

carl

2020-08-13 22:50

administrator   ~0003897

Last edited: 2021-11-25 21:05

  • pricing/licencing model (including how to handle refunds; can I ship the libraries in the installer to have watermarks removed with a key?)
  • how to handle optimisation of GPU threads, batch sizes, CPU threads etc.
  • is the bitstream compatible (Bv2.1?)
  • Windows: looks like we have to build with the Microsoft compilers.
  • can the GPU also do the RGB to XYZ conversion?
  • does the barrier actually help?
  • how to distribute on Linux, wrt nvidia libraries/drivers

carl

2021-11-21 22:59

administrator   ~0004658

Last edited: 2021-11-22 15:15

fastvideo2 branch working OK; will add a spreadsheet with some timings. With a random sintel test the verifier picks up two errors:

  • "A picture frame has an invalid JPEG2000 codestream (invalid coding style 4)" - though I now can't find any reference for why libdcp thinks this is bad.
  • At least one frame of the video asset ... is over the limit of 250Mbit/s.

carl

2021-11-21 23:00

administrator   ~0004659

Last edited: 2021-11-22 00:02

Seeing ~ 88fps on i7-77000/GTX 980 Ti

carl

2024-01-03 12:55

administrator   ~0006186

No plans to pursue this for now, for political reasons.

Bug History

Date Modified Username Field Change
2020-07-11 23:57 carl New Bug
2020-07-17 22:22 carl Note Added: 0003859
2020-08-11 00:39 carl Note Added: 0003895
2020-08-12 23:58 carl Note Added: 0003896
2020-08-13 22:50 carl Note Added: 0003897
2020-08-21 00:04 carl Note Edited: 0003896
2020-08-21 00:04 carl Note Edited: 0003896
2020-08-21 00:17 carl Note Edited: 0003896
2020-08-21 00:24 carl Note Edited: 0003896
2020-08-21 00:25 carl Note Edited: 0003896
2020-08-21 00:28 carl Note Edited: 0003896
2020-08-21 00:29 carl Note Edited: 0003897
2020-08-21 00:29 carl Note Edited: 0003896
2020-08-21 01:10 carl Note Edited: 0003896
2020-08-21 01:13 carl Note Edited: 0003896
2020-08-21 01:14 carl Note Edited: 0003897
2020-08-21 01:14 carl Note Edited: 0003897
2020-08-21 01:14 carl Note Edited: 0003897
2020-08-23 22:41 carl Relationship added related to 0000328
2020-09-16 22:03 carl Estimated work required => Major
2020-09-16 22:03 carl Status new => acknowledged
2020-11-29 23:22 carl Target Version 2.16.0 => 2.18.0
2021-11-21 22:59 carl Note Added: 0004658
2021-11-21 23:00 carl Note Added: 0004659
2021-11-21 23:10 carl Note Edited: 0004658
2021-11-21 23:24 carl Note Edited: 0004659
2021-11-21 23:25 carl Note Edited: 0003897
2021-11-21 23:27 carl Note Edited: 0003897
2021-11-21 23:36 carl Note Edited: 0003897
2021-11-21 23:37 carl Note Edited: 0003897
2021-11-21 23:57 carl Note Edited: 0003897
2021-11-22 00:02 carl Note Edited: 0004659
2021-11-22 06:45 carl Note Edited: 0003897
2021-11-22 15:15 carl Note Edited: 0004658
2021-11-25 00:00 carl Note Edited: 0003897
2021-11-25 21:05 carl Note Edited: 0003897
2022-01-21 22:54 carl Assigned To => carl
2022-01-21 22:54 carl Status acknowledged => in progress
2022-03-14 21:36 carl Priority immediate => low
2022-03-14 21:36 carl Status in progress => acknowledged
2022-03-14 21:36 carl Target Version 2.18.0 =>
2024-01-03 12:55 carl Status acknowledged => closed
2024-01-03 12:55 carl Resolution open => fixed
2024-01-03 12:55 carl Note Added: 0006186