-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
haze removal OpenCL fails at export #3339
Comments
Haze removal does export differently depending on export size #2845 |
@aurelienpierre Just to narrow the source of the the bug: Have you tried to choose different options for pixel interpolator under core options. To my understanding it should affect high-quality resampling. |
I am unable to reproduce the reported issue. Exports (at full scale) look fine with and without high-quality resampling. Changing pixel interpolator option has not effect either. My configuration:
[dt_codepaths_init] will be using HIGHLY EXPERIMENTAL plain OpenMP SIMD codepath. |
I think you'll only see this when not exporting at full size? |
Exporting the images with a width of 1024 pixels (at the scale used in the bug report by @aurelienpierre ) I am still unable to reproduce the faulty exports, which have been reported for exporting via OpenCL enabled and high-quality resampling. I can, however, reproduce the small effect of high-quality resampling on the output result, which has bee reported by @junkyardsparkle . This can be observed with OpenCL enabled as well as with OpenCL disabled. |
The high quality resampling processes the full-scale image, then rescales last in the pipe. The other option rescales first, and process the pipe then. Exporting at full scale is the same with both options (no rescaling at all). It is expected for convolutions that the result might be different, but not that much. The results above are obtained with Lanczos3 interpolator. I have tried to reproduce the bug today, I can't. Another black magic thing… Sorry for the noise. |
Not sure this is relevant, but there are some references to a mysterious 'doctor' module in the provided history... ;-) |
Describe the bug
With OpenCL enabled on Nvidia and exporting with high-quality resampling, the output of haze removal doesn't match the CPU export, the darkroom preview and the OpenCL export without high quality resampling.
I have tried to remove
-cl-finite-math-only
incommon/opencl.c:404
, it's the same.To Reproduce
Steps to reproduce the behavior:
DSC00128.ARW.zip
Screenshots
darkroom preview:
![Capture d’écran du 2019-11-09 00-24-09](https://user-images.githubusercontent.com/2779157/68517440-e68c0d00-0287-11ea-91b1-6ff51cfb2cfb.png)
valid export (OpenCL without high-quality resampling):
![DSC00128_02](https://user-images.githubusercontent.com/2779157/68517481-0b808000-0288-11ea-97e3-1b9fbc4df69a.jpg)
valid export (CPU with high-quality resampling):
![DSC00128_02](https://user-images.githubusercontent.com/2779157/68517630-aa0ce100-0288-11ea-80c0-ea030d4def4a.jpg)
faulty export (OpenCL with high-quality resampling):
![DSC00128_04](https://user-images.githubusercontent.com/2779157/68517568-61552800-0288-11ea-9d32-e120e0697fa9.jpg)
Platform (please complete the following information):
Additional context
@rabauke
The text was updated successfully, but these errors were encountered: