Lightroom for desktop: Spherical panorama creation hangs

  • 1
  • Problem
  • Updated 2 weeks ago
  • In Progress
  • (Edited)
Hello all,

I'm
trying out the new Adobe Photoshop Lightroom, coming from Lightroom 6.
One of the features that is critical for me is the stitching of spherical panoramas. Lightroom 6 is decent, but often creates a visible seam or other smaller mistakes, and I hope that the latest Lightroom is better. Unfortunately, Lightroom CC seems to hang after a while. Creating the preview works fine. When actually rendering the full panorama it uses 100% CPU as expected, but later it reduces to 18% CPU, and a few minutes later it's down to no CPU usage at all. The user interface is still responsive, it's only the merging itself that hangs in limbo.


Has anyone experienced this? Is there a solution? I have unticked "use graphics processor" in the p, but it didn't change anything in the behaviour. The merging process just stops mid-way.

I'm stitching 26 DNG files shot by a DJI Mavic 2 Pro drone. Below you can see where the "Performing Merge" step hangs.





This is my system info:

Lightroom version: 2.3 [ 20190502-0902-47ed471 ] (May  3 2019)Operating system: Windows 10OS Version: 10.0 [17763]Application architecture: x64System architecture: x64Logical processor count: 8Processor speed: 4,0 GHzBuilt-in memory: 32650,5 MBReal memory available to Lightroom: 32650,5 MBReal memory used by Lightroom: 334,5 MB (1,0%)Virtual memory used by Lightroom: 418,2 MBMemory cache size: 189,7 MBInternal Camera Raw version: 11.3 [ 197 ]Maximum thread count used by Camera Raw: 5Camera Raw SIMD optimization: SSE2,AVX,AVX2Camera Raw virtual memory: 22MB / 16325MB (0%)Camera Raw real memory: 22MB / 32650MB (0%)System DPI setting: 120 DPIDesktop composition enabled: YesDisplays: 1) 2560x1440Input types: Multitouch: No, Integrated touch: No, Integrated pen: No, External touch: No, External pen: No, Keyboard: NoGraphics Processor Info: DirectX: NVIDIA GeForce GTX 970 (26.21.14.3086)Application folder: C:\Program Files\Adobe\Adobe Lightroom CCSettings Folder: C:\Users\Sybren\AppData\Roaming\Adobe\Lightroom CC
Photo of Sybren Stüvel

Sybren Stüvel

  • 16 Posts
  • 2 Reply Likes

Posted 1 month ago

  • 1
Photo of Tomas

Tomas

  • 3 Posts
  • 0 Reply Likes
I have suffered the same problem in a iMac . After several chats with Adobe technicians and Apple techs too, following their instructions I uninstalled several times the Adobe software, I formatted my iMac, and even I sent the iMac to Apple in order to install a former version of the IOS . No clear root cause and solution was found .It seemed to be some incompatibility among version of Adobe and windows or Apple operating system.
After several weeks of tryouts without success
What I am doing is try to avoid the use of many pictures ( no more than 6-7) to generate a Pano.
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Eek, that doesn't bode well. To be honest, I'm not going to pay for Lightroom CC at all if it means I have to considerably lower the image quality.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15434 Posts
  • 2277 Reply Likes
Does Lightroom 6 merge these files for you?
Photo of Tomas

Tomas

  • 3 Posts
  • 0 Reply Likes
I did it always with the latest version of LR, not with LR6
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
For me the merging works in LR6, albeit with a seam between the left and right side of the equirectangular image (just in color, not in positioning of the images).
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5533 Posts
  • 1164 Reply Likes
Would you be willing to share via Dropbox or similar a set of DNGs which fail to merge so that we can test with them?
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Here are some DNG files to test with: https://stack.stuvel.eu/s/EJVNymZ3PbUaZX2

Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5533 Posts
  • 1164 Reply Likes
Got them. You can pull them down now.

My Pano merge with your files was successful on Mac 10.14.4

What video card do you have in your Windows machine?
(Edited)
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
It's an NVidia GeForce GTX 970. For more system info please see the system info I pasted in my original post. The forum put everything in one continuous line for some reason, it didn't do that when I created the post, but it's still somewhat readable.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5533 Posts
  • 1164 Reply Likes
I was also successful at merging the Panorama on my Windows machine with your DNG files. 

First stop would be to go to NVidia's site and make certain you are using their current driver version for your GTX970 (the card I am using also).  The Windows merge did take longer than the Mac merge did. Are you certain you are giving it enough time?
Photo of Tomas

Tomas

  • 3 Posts
  • 0 Reply Likes
Here are one of my shortest HDR+Pano, where I had problems. Run first HDR+Pano in LR and later , without closing LR, edit the DNG file in PS
https://wetransfer.com/downloads/38887666309f3a1cf2c78f2203eb048020190605150416/e4f444ef5869a397c13f42739b143f5520190605150416/c8d108
Now is running well, (??)
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5533 Posts
  • 1164 Reply Likes
@Sybren

We'd like you to do the following:

  1. Close Lightroom
  2. Open Lightroom
  3. Attempt to generate the panorama.
  4. When it stalls, create a diagnostic log (Preferences>Account and hold down [Alt] Key.
  5. Send that log to us. 
Thanks!
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Here is the log: https://stack.stuvel.eu/s/FpQZv7DmOicicQO
I'm assuming that I'm giving Lightroom enough time, because it stops using CPU. There is no reason to stop using CPU while stitching a panorama photo.

I've also ensured that I'm using the latest NVidia drivers, and rebooted multiple times, all to no avail.
(Edited)
Photo of Kjetil Drarvik

Kjetil Drarvik, Employee

  • 20 Posts
  • 5 Reply Likes
@Sybren

Apologies if this has been covered already and I didn't see it, but are you able to merge a subset of the images, say 2, successfully? If so, that would seem to indicate some sort of resource issue being the root problem with the bigger source image set.
(Edited)
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
@Kjetil good idea. I can stitch one group of the first 14 photos together just fine, and it's pretty fast too. However, the other 12 photos don't want to stitch together, then Lightroom hangs again. Splitting the last group of 12 into 6+6 and merging each group works. Of course the projections are wrong, so I can't merge the three results together; this isn't a solution, but it does give a better picture of what's going wrong.
Photo of Kjetil Drarvik

Kjetil Drarvik, Employee

  • 20 Posts
  • 5 Reply Likes
Your diagnostic log suggests that you aren't running out of memory or main volume disk space, but I'd suggest watching them manually while the merge is going on, just to be sure that they at no point become constraints. (My MacBook Pro merged the full set, but it caused a fair amount of usability issues along the way.)
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
I made a mistake -- the last 6 photos don't stitch. It hangs there.
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Splitting the last 6 into 3+3 does work, though. Strange.
Photo of Kjetil Drarvik

Kjetil Drarvik, Employee

  • 20 Posts
  • 5 Reply Likes
Interesting. Almost as if there is a problem with one of the image files on disk that your Lightroom instance is using. I assume you got the 26 originals that you provided to us off the memory card? Or did you export them from Lightroom? If the former, maybe try re-importing the images from the card, for another data point.
Photo of Kjetil Drarvik

Kjetil Drarvik, Employee

  • 20 Posts
  • 5 Reply Likes
Oops, I didn't see your 3+3 message before I posted my last one. Disregard :-)
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
The DNG files are originals from the drone (DJI Mavic 2 Pro), nothing second-hand.
Photo of Kjetil Drarvik

Kjetil Drarvik, Employee

  • 20 Posts
  • 5 Reply Likes
Can you list the file names of the 6 that will not merge, just so I'm sure which ones are the 'last 6'?
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Good point -- Lightroom didn't have the ordering I expected. It's those: https://stack.stuvel.eu/s/DPqu8PQCyXIOo2S (7-12)
Photo of Kjetil Drarvik

Kjetil Drarvik, Employee

  • 20 Posts
  • 5 Reply Likes
We can reproduce the problem as you describe it, and we are looking into how to address it. Thanks!
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Can you give any indication of an ETA of the fix?
Photo of Sybren Stüvel

Sybren Stüvel

  • 13 Posts
  • 2 Reply Likes
Can you give any ETA of being able to give an indication of an ETA of the fix?

Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5595 Posts
  • 1184 Reply Likes
Sybren,

I've had off-forum conversations with Kjetl Drarvik from the Lightroom Desktop team as well as Josh Bury from the Camera Raw team. In our testing, we are not able to verify the issue. On some of our systems (Mac and Windows), the image stitches as expected. On other systems, it appears to hang as if it is failing to stitch but does eventually complete if given enough time. This initially caused Kjetl to believe that he was seeing a failure-but given time the merge completes and completes correctly. 

At this point we are not prepared to designate this as a bug but rather suspect it is simply slow performance in the Projection phase of the Panorama process. 

I'd like to ask you to retest with your files but to allow the Merge process to run for a much longer period of time. It may look like it is hanging but we believe it will eventually complete.  Can you confirm this on your end?
(Edited)
Photo of Sybren Stüvel

Sybren Stüvel

  • 16 Posts
  • 2 Reply Likes
I cannot confirm on my end. CPU usage of Lightroom drops to 0%, nothing happens. I've let it sit for 5.5 hours and it doesn't progress any further. And this is on quite a beefy machine (see specs in my original post).

If the processor load would be a constant 10-15% I would find it warranted to wait longer. It would just be a badly paralellised algorithm, but in time it would finish. However, with no noticable CPU usage, my only conclusion can be that it hangs.

Update: I didn't cancel the process when I posted the above. I've let Lightroom sit for another 2 hours, but still no progress was made. Will let it run overnight and report tomorrow.
(Edited)
Photo of Sybren Stüvel

Sybren Stüvel

  • 16 Posts
  • 2 Reply Likes
I've let it run overnight for a total runtime of 13 hours. Lightroom still didn't progress.
Photo of Sybren Stüvel

Sybren Stüvel

  • 16 Posts
  • 2 Reply Likes
@Rikk Does my re-test change anything in your perception of this issue?
Photo of Victoria Bampton - Lightroom Queen

Victoria Bampton - Lightroom Queen, Champion

  • 4937 Posts
  • 1918 Reply Likes
There may be a delay in Rikk replying as Adobe US is on shutdown this week.
Photo of Rikk Flohr

Rikk Flohr, Official Rep

  • 5550 Posts
  • 1168 Reply Likes
Sybren, 

 I have passed on your results to the engineers.