View Bug Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000328 | DCP-o-matic | Features | public | 2014-03-30 12:45 | 2024-01-03 12:54 |
Reporter | Theo Kooijmans | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | ||
Platform | 64 bit | OS | Windows | OS Version | 7 |
Summary | 0000328: Use Nvidia CUDA to speedup render times | ||||
Description | Is it possible to use the Nvidia CUDA technology to speedup render times? Now rendering takes place on the CPU core, the NVidia GTX card has hunderds of cores to do this... | ||||
Tags | No tags attached. | ||||
Branch | |||||
Estimated weeks required | |||||
Estimated work required | Major | ||||
|
There is some work being done by a guy on the openjpeg mailing list to accelerate that library with CUDA. If he succeeds it will work in DCP-o-matic too... |
|
Hm, it seems it is not happening as open source in the end: https://groups.google.com/d/msg/openjpeg/A_OSmrEoNkM/x7hGc6L3BgAJ and https://groups.google.com/d/msg/openjpeg/A_OSmrEoNkM/mwM7JI0XBQAJ Any possibility of using this: http://apps.man.poznan.pl/trac/jpeg2k ? Thye claim they are much faster then OpenJPEG. Also, at the announcement of the latest OpenJPEG version ( http://www.openjpeg.org/2016/09/28/OpenJPEG-2.1.2-released ), they claim some performance improvemets are around hte corner: "Note that meanwhile, in the master branch, an important improvement has been merged, namely T1 optimizations and multithreading support (contribution from Even Rouault … Thanks a lot !). A (much) faster OpenJPEG is on track … Stay tuned for v2.2.0." - Would that be relevant for performance of DOM? It already uses my four cores 100 %. |
|
DOM already contains some optimizations that are not part of the official OpenJPEG line. http://dcpomatic.com/release-notes.php?v=2.7.1 Technically, it would be no problem to add GPU support to DOM. However, Carl doesn't want to add proprietary or commercial code to the project. Also, GPU support should be compatible with the multi-platform development approach of DCP-o-matic. Keep in mind, Cinema servers do not play 'any' JPEG2000 codestream, but only a special restricted subtype. Not every highspeed J2C codec is able to keep the codestream within these limits. To deviate from this route means a risc of crashing servers. So, Carl is definitely keeping an eye on GPU support, but he is for good reasons also careful about it. DOMs J2C codestream robustness has never been questioned as long as I remember following this project, and that is a very valuable asset for a free/open source software project.
|
|
As far as I know the stuff that OpenJPEG are now including is basically already in DoM. DoM multi-threads encoding itself, and it has a set of similar T1 optimizations that I offered to the project years ago. I am not an expert on the innards of J2K nor CUDA, so this is a difficult task. I have done some work on the poznan.pl code but it is not, so far as I can see, suitable for cinema work out of the box, so it needs some modifications. |
|
@carl: poznan-jpeg2k test script is run/test. dumpj2k shows numerous differences. |
|
I'm curious (guess that's why they named me George, ha!), but on the macOS/OSX side of life is utilizing the "Metal" gpu api (https://developer.apple.com/metal/) of any use? At least on the mac side... |
|
@carl: poznan notes/queries
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-03-30 12:45 | Theo Kooijmans | New Bug | |
2014-03-31 12:12 | carl | Note Added: 0000313 | |
2014-03-31 12:12 | carl | Status | new => acknowledged |
2015-06-12 11:49 | carl | Summary | Use Nvidia CUDA to speedup rendertimes => Use Nvidia CUDA to speedup render times |
2015-06-12 11:51 | carl | Target Version | => 2.x |
2015-06-12 12:19 | carl | Estimated work required | => Major |
2015-06-12 12:20 | carl | Severity | major => feature |
2017-02-18 12:49 | tomashnyk@gmail.com | Note Added: 0001616 | |
2017-02-21 13:23 | Carsten | Note Added: 0001617 | |
2017-02-22 13:48 | carl | Note Added: 0001620 | |
2019-02-13 21:31 | carl | Note Added: 0003083 | |
2019-02-13 23:46 | carl | Note Edited: 0003083 | |
2019-09-19 23:58 | carl | Relationship added | related to 0001606 |
2019-09-22 02:21 | g2only | Note Added: 0003423 | |
2020-08-23 22:40 | carl | Note Added: 0003906 | |
2020-08-23 22:41 | carl | Relationship replaced | has duplicate 0001606 |
2020-08-23 22:41 | carl | Relationship added | related to 0001778 |
2024-01-03 12:54 | carl | Relationship added | related to 0002586 |