Forum

Author Topic: Checker grid like lines in depth map generation.  (Read 5695 times)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #15 on: February 11, 2020, 08:19:26 PM »
Hello BinaryEclipse,

We were not able to reproduce this issue, but are observing some suspicious behavior on the same GPU. I'll send you some testing instructions via PM in a couple of minutes which you can check. If with these instructions you will be able to get proper results, then the reason is very likely related to hardware/driver.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mak11

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #16 on: February 11, 2020, 08:32:11 PM »
Alexey,

OpenCL support on the RDNA GPUs (5700XT) is known to be really bad (AMD is taking its sweet time to fix this unfortunately) & with the Adrenalin 2020 drivers messing up OpenCL on Vega 2 GPUs (Radeon VII) it is looking like getting in touch with AMD may be the best way to try to fix these issues .

Mak

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #17 on: February 11, 2020, 08:45:20 PM »
Hello Mak,

Hopefully, with the tests we'll be able to confirm our assumption and then provide the related information to AMD.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Mak11

  • Sr. Member
  • ****
  • Posts: 371
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #18 on: February 11, 2020, 09:12:35 PM »
Hello Mak,

Hopefully, with the tests we'll be able to confirm our assumption and then provide the related information to AMD.

Yup. As a matter of fact I'm suspecting that the OpenCL/Compute changes introduced in the Adrenaline 2020 drivers aimed at the rDNA GPUs (previous drivers were simply horrible on the OpenCL front for those cards and Adrenaline 2020 brought some performance improvements there) is what has probably "broken" OpenCL on the Vega 2 cars (Radeon VII/Pro).

Mak

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #19 on: February 12, 2020, 11:00:17 AM »
Alexey, I've run the mesh generation with depth maps on the version you sent, with and without the tweak. I don't get any lines after running each twice, but the runs without the tweak generate more "erratic" meshes and appear to be not as smooth.


Without the tweak, run twice:
« Last Edit: February 12, 2020, 11:11:44 AM by BinaryEclipse »

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #20 on: February 12, 2020, 11:05:22 AM »
Logs with the tweak, run twice:
« Last Edit: February 12, 2020, 11:11:26 AM by BinaryEclipse »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #21 on: February 12, 2020, 02:10:44 PM »
Hello BinaryEclipse,

Can you please confirm that you have tried to set up the tweak to the string value provided in PM and have re-started the application before running the processing? And that "without" tweak run corresponds to the same tweak with the value set to "space" symbol - also after application re-start?
Best regards,
Alexey Pasumansky,
Agisoft LLC

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #22 on: February 12, 2020, 11:23:22 PM »
Yes I restarted and verified the values before running each time. I'll run it again just to be sure. "no tweak" is the one with a space as the value.
« Last Edit: February 13, 2020, 02:50:57 AM by BinaryEclipse »

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #23 on: February 13, 2020, 12:18:33 AM »
Fresh run logs attached, still no lines, run twice each.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14004
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #24 on: February 15, 2020, 08:05:29 PM »
Thanks for additional info, BinaryEclipse,

If the behavior of GPU-based processing results on XT5700 is quite random, I can suggest to continue using the provided tweak (however, it will increase the processing time), but if the processing artifacts stop appearing (with some driver updates, for example), you can remove the tweak and work in common mode.
Best regards,
Alexey Pasumansky,
Agisoft LLC

BinaryEclipse

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Checker grid like lines in depth map generation.
« Reply #25 on: February 16, 2020, 01:01:26 AM »
Thanks Alexey. It's usually not a huge deal, they get worse with worse alignment or might not show on the model randomly. Smaller cases can be smoothed out which I usually do anyway before refining. 1.6.2 seems to fix the specific issue of lines.