I tried to fill out CGG with Cuda and did a quick test. The results are in the attached pdf. If you have any requests or suggestions, let me know.
So glad you were able to get Cuda working as it helps to verify that it can work somewhere besides on our computer ! I will have to get GG to clarify nvenc usage but if you look at the terminal window error messages when you do NOT have cuda installed and try to render using h264/5_nvenc.mp4 you see this error message: [h264_nvenc @ 0x7ffeec0db1c0] *Cannot load libcuda*.so.1 so it must be required by Nvidia somehow. The following is so true but if there is anyone in a university setting doing fluid dynamics problems, it could prove useful: "the use of Cuda is not going to improve the playing and rendering of video in Cinelerra except in the case where you use a specific Cuda-enabled plugin that is computationally intense – sadly, most of what Cin does, Cuda will not help." I will incorporate your suggested changes into the manual -- that is, for example, what you stated wrote: "I propose to modify the manual indicating that the default flag is set to "auto"; while if we want to compile with cuda we must add the "--with-cuda" flag. I also propose to change "setenv ..." to "env ...". OK, I will change this -- it is the render time that is the gain; disk space is inexpensive these days: "I suggest changing the preset to high or similar. Also the rendering time does not vary much when set to much higher quality (qp=20) even if the file gets much bigger." That is as far as I got into your pdf file -- stopped at Cuda Plugins which Bill will have to help figure out. Also, I will ask him about Mandelbrot because I think there may be some "trick" to it. Hopefully, I will have time to digest the rest later today. Thanks, gg/Phyllis On Fri, Feb 21, 2020 at 6:22 AM Andrea paz <[email protected]> wrote:
I tried to fill out CGG with Cuda and did a quick test. The results are in the attached pdf. If you have any requests or suggestions, let me know. -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
A little more feedback: It looks like you have to compile ffmpeg with the additional option --enable-cuda-sdk on the configure command line to get the F_scale_cuda and F_yadif_cuda and that could be what gg did. I need to know for sure from him so I can remove them from the manual or annotate it better. He is working on one of the 16 thirdparty library updates for the last 10 days and so is trying to really concentrate on that. But when he finishes, I have a lot of questions for him. On Fri, Feb 21, 2020 at 6:22 AM Andrea paz <[email protected]> wrote:
I tried to fill out CGG with Cuda and did a quick test. The results are in the attached pdf. If you have any requests or suggestions, let me know. -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
Andrea, about this in your cuda.pdf document: "nstead Mandelbrot works without fps drops but no animations, just a still image of the fractal. Instead F_Mandelbrot works well with its animation in development over time" The way that gg showed me how to use the MandelbrotCuda (which should probably be added to the manual as it is not obvious): 1) add the Mandelbrot Cuda video effect to the timeline 2) you must enable Drag in the plugin popup menu 3) drag the mouse with the RMB down and you will see the fractal change 4) enable "Generate keyframes while tweaking" and move to another spot on the timeline and RMB drag again 5) so now when you play the video from the beginning because you have keyframes, the fractal will be animated between keyframes. On Fri, Feb 21, 2020 at 6:22 AM Andrea paz <[email protected]> wrote:
I tried to fill out CGG with Cuda and did a quick test. The results are in the attached pdf. If you have any requests or suggestions, let me know. -- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin
participants (2)
-
Andrea paz -
Phyllis Smith