How Do You Know if C1P7 is Using OpenCL?
I have my Preferences set to Auto. My graphics card meets the minimum spec, but how do I know if it actually being used? I have monitored the GPU processor and GPU RAM use to see what it is doing. I see about 400 MB of RAM use, but insignificant processor use. When I try to load the system down with adjustments, I can max out all my main CPU processor cores, but not hardly a peep out of the GPU use graph. Perhaps I am not doing the right actions to use the GPU?
0
-
You should see a significant amount of GPU use. At my card (GTX 460) the GPU is at around 50 %, when processing pictures.
For test I processed a bunch of unaltered pictures two times, once with OpenCL turned off and the second time with OpenCL turned on. With OpenCL turned on, the processing was three times faster then with it turned off.0 -
[quote="Ron AKA" wrote:
but how do I know if it actually being used?
You can show in LogFiles.0 -
Hi Ron,
You can see it in several ways from the UI:
1st method:
- Go to 100%
- On a reset picture, drag one of the Exposure Tool sliders. If the Viewer image pixelates, OpenCL is Off
2nd method
- Reset the image
- Enable Focus Mask
- Drag a slider from the Exposure Tool.
- If the Focus Mask disappears while actively dragging the slider, OpenCL is On.0 -
[quote="Christian Gruner" wrote:
You can see it in several ways from the UI:
1st method:
- Go to 100%
- On a reset picture, drag one of the Exposure Tool sliders. If the Viewer image pixelates, OpenCL is Off
2nd method
- Reset the image
- Enable Focus Mask
- Drag a slider from the Exposure Tool.
- If the Focus Mask disappears while actively dragging the slider, OpenCL is On.
OK, thanks. In the first test I can't see the viewer image pixelate. In the second test the focus mask does disappear when you drag a slider in the exposure tool. This would suggest OpenCL is On.
The puzzling part is that in Microsoft Process Explorer, when I do these tests, like dragging sliders, I can load up the CPU, occasionally to max, but the GPU barely registers a blip. GPU memory does creep up. Went up to 700 MB or so in these tests. I tried exporting 8 images to TIFF files, and memory went up again to about 800 MB, but the export did not register even a blip on GPU use.
Perhaps it needs a very long and intensive GPU task for it to register on the Process Explorer graph...0 -
[quote="hobie" wrote:
You should see a significant amount of GPU use. At my card (GTX 460) the GPU is at around 50 %, when processing pictures.
For test I processed a bunch of unaltered pictures two times, once with OpenCL turned off and the second time with OpenCL turned on. With OpenCL turned on, the processing was three times faster then with it turned off.
OK, I will have to try that.0 -
The polling interval of the GPU sniffer need to very frequent indeed. The imageprocessing itself using the GPU is very short, as the GPU are really fast performing this task.
Readings might vary by what sniffer/monitor util you are using. I've had good results with GPU-Z using a 0.1s logging interval. It's not perfect, but it gives a good impression.0 -
[quote="Christian Gruner" wrote:
The polling interval of the GPU sniffer need to very frequent indeed. The imageprocessing itself using the GPU is very short, as the GPU are really fast performing this task. Readings might vary by what sniffer/monitor util you are using. I've had good results with GPU-Z using a 0.1s logging interval. It's not perfect, but it gives a good impression.
I opened GPU-Z and set it to 0.1 sec update. It provides some interesting views, and I am not too sure what to make of them. In any case the GPU does seem to be alive and frequently spikes to about 92%, but for very brief periods of time. Can't associate a real pattern of load vs use. Slider adjustments do probably produce very short peaks. When I applied some adjustments to 8 images, it seemed to sit rock solid at 0%, almost like it had turned itself off. Memory Usage (Dynamic) seems to keep creeping into the 900 MB range, which is getting close to max on the card. Then for reasons I couldn't associate with any action it went back down to 175 MB. Perhaps it clears itself out when use gets too high?
Will have to leave GPU-Z running to see if there is any pattern to things. Thanks for the tip.0 -
From a user standpoint all the user should feel is a solid performance increase especially in processing and adjusting.
OpenCL is not used everywhere in the application, so for some operation you will not see OpenCL activity.0 -
Here was my method.
I took 40 Canon 5D MkII raw files, made some adjustments then processed them to jpg with CL turned off, time to finish, 2 minutes 30 seconds.
Second round, Open CL on auto, time to finish, 47 seconds.
Now that's working.
JOHN0 -
I'm sorry but is it really so hard to look up in the log?
Windows/Users/robert/AppData/Local/CaptureOne/Logs/ImgCoreOCL.log
2014-03-01 11:51:39.223> Logging is now active.
2014-03-01 11:51:39.223> OpenCL initialization...
2014-03-01 11:51:39.397> OpenCL : found platform Intel(R) OpenCL, OpenCL Version : OpenCL 1.2
2014-03-01 11:51:39.397> OpenCL : found platform NVIDIA CUDA, OpenCL Version : OpenCL 1.1 CUDA 6.0.1
2014-03-01 11:51:39.397> OpenCL Device : GeForce GTX 770
2014-03-01 11:51:39.397> OpenCL Driver Version : 331.82
2014-03-01 11:51:39.397> OpenCL Compute Units : 8
2014-03-01 11:51:39.543> Shutting down
2014-03-01 11:51:39.544> OpenCL allocations : 1254916 bytes0 -
The log in this form won't help you to establish whether or not OpenCL is used on a particular image.
Please keep a sober tone in this forum.0 -
[quote="John7" wrote:
Here was my method.
I took 40 Canon 5D MkII raw files, made some adjustments then processed them to jpg with CL turned off, time to finish, 2 minutes 30 seconds. Second round, Open CL on auto, time to finish, 47 seconds.
John, thanks for the suggestion. I tried the same on my computer, except I set it for 16 bit TIFF format files instead. I was starting with 20 MB RAW files, and the TIFF files turned out to all be identical at 117 MB. The results I got was 5 minutes and 48 seconds with OpenCL set to Never. With it set to Auto the time reduced to one minute and 37 seconds, or about 3.5 times faster. I make your ratio to be about 3X, so pretty similar results. The ratio likely depends on how fast your CPU is compared to the GPU. A slow CPU combined with a fast GPU would result in a larger improvement. With the OpenCL set to never the GPU did nothing and the CPU was probably averaging about 96% or so. Pretty much maxed out.
This time I monitored the GPU with GPU-Z set to 0.1 second update time as suggested earlier by Christian. It showed the GPU was loaded to about 65% and about 700 MB of the 1 GB or GPU RAM was being used. Microsoft Process Explorer on the other hand showed the memory use but essentially no GPU use. Obviously that is in error, and probably was the root source of my doubt that the GPU was really doing anything. Clearly it is, and I also see it picked up about 10 deg. C in temp during the test. I always take that as one of the most conclusive tests that it really is working hard!
RobiWan, I saw your posts suggesting looking at the log files. Yes, I had seen that log info in the crash reports that I have seen too many of. I should have been clearer. I was looking for actual evidence that the GPU was doing what it was being asked to do. Didn't doubt that it was being asked. As I noted earlier the root cause of my concern looks like is due to inaccuracy of Process Explorer.0 -
[quote="Christian Gruner" wrote:
Please keep a sober tone in this forum.
It was not my intention to offend anyone. I think experiments with mouse Slide or similar inconclusive for.0
Post is closed for comments.
Comments
13 comments