Hello,
I'm running PTGui Pro 13.9 on Ubuntu 22.04 (headless server, batch processing launched via command line with -batch using a virtual display Xvfb on :99). GPU is an NVIDIA RTX 5060 (8 GB VRAM), with 128 GB system RAM.
Workflow: I process batches of ~25 panoramas at once, each made of 30 HDR source images (Olympus E-M1 Mark II ORF files, 10 positions × 3 exposures).
Problem: When processing a large batch, after a certain number of panoramas (variable, around the 4th–10th), one panorama fails with this error:
"The RAW files of this camera (E-M1MarkII) are currently not supported by the RAW converter in PTGui. To use these images, convert them to 16-bit TIFF files..."
The key points that make this confusing:
I found a related thread ("Crashing in batch mode") where you recommended disabling GPU acceleration. I tried limiting MaxVideoRamUsage (tested 5389 and 4000 MB) but failures still occur on random images — lowering the limit just changes which panorama fails.
Questions:
Thank you for any guidance.
Subject: Re: RAW decoding fails intermittently in batch mode
Hi Joost,
Thank you for the quick reply.
That's very interesting — I assumed it was GPU-related because I found a clear correlation: with OpenCL disabled (EnableOpenCL=0), the error never occurs. With GPU acceleration enabled, the error appears intermittently in batch mode (on a different image each time, after processing a few panoramas). The exact same project, with the same RAW files, processes without any error once OpenCL is off.
I know you say the RAW converter doesn't use the GPU, so I can't explain why disabling it fixes the problem — but the correlation is very consistent in my setup. Perhaps it's an indirect effect (timing/concurrency), since without the GPU everything runs slower and more sequentially.
Some context on my setup, in case it's relevant:
I'll prepare one of the projects that triggers the error and send you a download link so you can try to reproduce it. I'll include the ORF files and the .pts.
Kind regards,
David
I'd be happy to send you one of the projects that triggers the error so you can try to reproduce it (I'll include the ORF files and the .pts). Since I'd rather not make the project public, could you let me know which email address I can send the download link to privately?
Kind regards,
David
Hi Joost,
I've been doing more systematic testing on the intermittent RAW decoding error and I now have much clearer data that I think will help reproduce it. Summary of what I found today:
Setup
PTGui -batch *.pts)The error
On random panoramas the batch reports:
"Error loading file ... .ORF — The RAW files of this camera (E-M1MarkII) are currently not supported by the RAW converter in PTGui. To use these images, convert them to 16-bit TIFF in a RAW converter..."
Key findings
HDS20399, leading to (2) duplicates). I renamed every file to a unique scheme (SERIAL--originalname.ORF) so there are no duplicates and no collisions. The error still occurs on perfectly clean, uniquely-named files (e.g. BHUA32584--HDS30394.ORF, BHUA32584--HDS30492.ORF).EnableOpenCL=0 and EnableOpenCLForPreviews=0) and ran the full ~4-hour batch on CPU only. The error still appeared on random files. So it is independent of GPU/OpenCL — consistent with your note that the RAW converter doesn't use the GPU.My read: this looks like an intermittent race/contention condition in the RAW decoder when many files are processed in sequence in a long batch, rather than anything specific to the files, the names, the GPU, or memory.
I have a fully reproducible case: a batch of clean, uniquely-named ORF files where a few fail randomly each run. I'd rather not post the actual project files publicly — could you share a private address where I can send you a reproducible project (the .pts files plus the ORFs) so you can investigate? The clean filenames make it a clean test case.
As a workaround I'm now pre-converting the ORF files to TIFF before stitching, which avoids the RAW decoder entirely, but I'd love to help you track down the underlying bug.
Thanks for your help.
You received this message because you are subscribed to a topic in the Google Groups "PTGui Support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ptgui/mT022Gytr6I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ptgui+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ptgui/040239b6-7a2a-42ee-a48f-9e9b5aafaa3f%40ptgui.com.