View Bug Details

IDProjectCategoryView StatusLast Update
0001431DCP-o-matic[All Projects] Featurespublic2019-03-26 01:42
ReportercarlAssigned To 
PriorityhighSeverityminorReproducibilityhave not tried
Status acknowledgedResolutionopen 
Product Version 
Target Version2.16.0Fixed in Version 
Summary0001431: Investigate opengl canvas for rendering preview/player.


TagsNo tags attached.
Estimated work requiredUnknown



2019-01-20 00:59

administrator   ~0002910

Last edited: 2019-01-26 00:44

View 2 revisions

Basically functional in opengl branch.

Other stuff;

  1. can OpenGL do the final scale and colourspace conversion (LUT) rather than the CPU?
  2. does it work on not-Linux?
  3. #if 0 stuff in that branch (mostly swaroop)
  4. vsync?


2019-03-04 01:19

administrator   ~0003116

Works on OSX, not Windows; seems to be because glTexImage2D has limitations on the size (either too big or not a power of 2).


2019-03-04 23:46

administrator   ~0003121

Would be interesting to make GLView take a PlayerVideo (rather than an Image) and do the scaling and compositing using GL.


2019-03-26 01:19

manager   ~0003190

Last edited: 2019-03-26 01:42

View 4 revisions

Is there a chance we get a better player performance for many cores/high resolutions in 2.14? It seems there is a serious bottleneck in the current implementation. I rarely work on high res displays, but it seems there is something weird happening.
I have seen some of the current player logs, but can't read much out of it ('delayed'). I was hoping to get an idea about:

  • how much time it takes to decode a J2K frame
  • how much time it takes to scale it to display resolution
  • how much time it takes for the color conversion
  • how much time it takes to actually draw the image to the screen
    I would think that, except maybe for the final display, all of these operations can run multithreaded per frame.

I somehow suspect the final display writing as the bottleneck (as it appears the issue is somehow correlated to higher res displays), but maybe I am on a completely wrong track here. Maybe there is something going on with a higher number of threads/cores.

Bug History

Date Modified Username Field Change
2018-12-13 22:15 carl New Bug
2019-01-11 00:57 carl Target Version 2.14.0 => 2.16.0
2019-01-20 00:59 carl Note Added: 0002910
2019-01-26 00:44 carl Note Edited: 0002910 View Revisions
2019-03-04 01:19 carl Note Added: 0003116
2019-03-04 23:46 carl Note Added: 0003121
2019-03-26 00:17 carl Priority normal => high
2019-03-26 00:17 carl Status new => acknowledged
2019-03-26 01:19 Carsten Note Added: 0003190
2019-03-26 01:36 Carsten Note Edited: 0003190 View Revisions
2019-03-26 01:37 Carsten Note Edited: 0003190 View Revisions
2019-03-26 01:42 Carsten Note Edited: 0003190 View Revisions