Bug report #21121
Hillshade Layer Style wrong if OpenCL acceleration is enabled
|Affected QGIS version:||3.5(master)||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||28939|
Hello. I noticed that with certain DEM (not all), QGIS 3.4.4 generates a display problem in the "hillshade" style.
Only in the layer style, because the GDAL geo-process works perfectly.
#2 Updated by Alessandro Pasotti about 2 years ago
- Status changed from Open to Feedback
- Assignee set to Alessandro Pasotti
- Operating System changed from Windows 10 64 bit v. 1809 to Any
- Priority changed from High to Normal
- Affected QGIS version changed from 3.4.4 to 3.5(master)
I think it's a know issue and there is not much we can do, did you try to adjust the "Resampling" parameters in the renderer configuration?
#6 Updated by luca bellani about 2 years ago
I have reviewed other DEMs that gave me problems, and as can be seen in the comparative image, the problem is presented in QGIS 3, not in QGIS 2. I have already completely manipulated the resampling options, but it is not solved.
It's funny that it's a bug, but only in the new version of QGIS.
Annex also another DEM, so that they can prove it.
Thanks for the support.
#10 Updated by Alessandro Pasotti about 2 years ago
Luca, can you please make a quick test with OpenCL activated and tell me if it works with the sampling bilinear option or if it does not?
If it does not work, can you please have a look to the QGIS messages (small icon at the bottom right) in the OpenCL section?
Also, please paste a picture of the OpenCL tab in your settings or copy-paste the information about your OpenCL device.
#11 Updated by luca bellani about 2 years ago
I did the tests. When you activate OpenCl, even if you change the type of resampling, it is displayed incorrectly.
In the message window, I do not see the OpenCl tab, I do not know if I have something wrong installed. Annex images.
#12 Updated by Alessandro Pasotti about 2 years ago
- Status changed from Open to In Progress
- Category changed from Symbology to Rasters
- Pull Request or Patch supplied changed from No to Yes
I'd like you to test if this patch solves your issue (with OpenCL ativated).