ptgui crash on ubuntu linux

60 views
Skip to first unread message

Rainer Eisch

unread,
Dec 10, 2025, 11:11:52 AM12/10/25
to pt...@googlegroups.com
I am working with quite big Panoramas. In Windows I have no problems.
But as Ubuntu is my main OSI would like to work entirely in Linux. But I
am facing some memory issues which cause ptgui to crash. This happens on
the same machine (workstation) like the windows version (dualboot). In
ptgui under options I defined a folder for temporary files. This folder
is on a SSD Raid with full permissions. But ptgui reports a failure
message "operation not supported (0x5f)
I can reproduce the same error on my laptop (ptgui pro testversion),
here I defined an external ssd drive for temporary files. also this
drive has read write permissions.
How I can solve this problem?

PTGui Support

unread,
Dec 10, 2025, 12:03:00 PM12/10/25
to pt...@googlegroups.com
Hi Rainer,

It probably means that the filesystem does not support something that
PTGui tries to do. PTGui needs to memory map (mmap) files in your
temporary directory, perhaps this is not supported for some reason.

Could you try formatting your disk as ext4 and see if that helps?

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

Rainer Eisch

unread,
Dec 11, 2025, 3:21:19 AM12/11/25
to 'PTGui Support' via PTGui Support
Hi Joost,

formatting in ext43 is not possible (in the moment). It is a dual-boot
system and the disk for the temp files will be used also for Photoshop
in Windows. Is there another way to solve the problem?

regards
Rainer

Am 10.12.25 um 18:02 schrieb 'PTGui Support' via PTGui Support:

PTGui Support

unread,
Dec 11, 2025, 4:50:18 AM12/11/25
to pt...@googlegroups.com
Hi Rainer,

I'm afraid not; for storing temporary data PTGui will need a filesystem
capable of memory mapped files.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

Rainer Eisch

unread,
Dec 12, 2025, 6:31:51 AM12/12/25
to 'PTGui Support' via PTGui Support
Hi Joost,

In order to work with ptgui, I created an ext4 partition (758GB) on my
SSD Raid. The partition has full read and write permissions. However, I
still have the problem that ptgui crashes without an error message when
the RAM and swap space are full. It appears as if ptgui is not using the
working partition.
Is there a log file? If so, where is it located?
How can I solve this problem?

rainer

Am 11.12.25 um 10:50 schrieb 'PTGui Support' via PTGui Support:
Bildschirmfoto vom 2025-12-12 12-16-25.png
Bildschirmfoto vom 2025-12-12 12-23-07.png

PTGui Support

unread,
Dec 12, 2025, 7:19:47 AM12/12/25
to pt...@googlegroups.com
Hi Rainer,

What is the error message exactly?
Also could you check dmesg, and check if the OOM killer is the culprit?

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

PTGui Support

unread,
Dec 12, 2025, 7:47:14 AM12/12/25
to pt...@googlegroups.com
BTW it's normal that you don't see any files in /media/ptgui_tmp. PTGui
creates a temporary file but immediately unlinks it. This is so that no
stale temporary files remain if PTGui crashes.

if you do:
df /media/ptgui_tmp

the free space should decrease once more temporary files are generated.
Could you check if this is the case?

What do you have in Options - Advanced - Max RAM? Could you try setting
this to half your available ram (65000 MB)?

Also it might help if you add some more swap space (say 64 GB). On linux
the out-of-memory killer can be aggressive under memory pressure. I
assume PTGui is killed by the OOM killer, but please confirm this by
checking dmesg.

Kind regards,

Joost Nieuwenhuijse
www.ptgui.com

Rainer Eisch

unread,
Dec 12, 2025, 12:02:06 PM12/12/25
to 'PTGui Support' via PTGui Support
Hi Joost

First Test with ptgui Settings Ram to Automatic (installed 128815 MB) -
I think Automatic is the default after a fresh Installation.
ptgui crashed with this setting with no Error Window or message

# dmesg
[ 1186.721638] [   8761]  1000  8761 36405374 32081726  9841051 16150 
22224525 272830464     5312             0 PTGui
[ 1186.721643]
oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0-1,global_oom,task_memcg=/user.slice/user-1000.slice/us...@1000.service/app.slice/app-gnome-newhouse\x2dptgui-8761.scope,task=PTGui,pid=8761,uid=1000
[ 1186.722089] Out of memory: Killed process 8761 (PTGui)
total-vm:145621496kB, anon-rss:39364204kB, file-rss:64600kB,
shmem-rss:88898100kB, UID:1000 pgtables:266436kB oom_score_adj:0
[ 1190.210279] oom_reaper: reaped process 8761 (PTGui), now
anon-rss:0kB, file-rss:0kB, shmem-rss:0kB


But when I reduce the Ram Settings to 65000 as mentioned. ptgui works
normal and does not crash. So this helps for me, but probably you have
to make some changes, because the defalt setting (Automatic Ram) seems
to be the problem.

Thanks a lot for the help, this brings me closer to my goal of saying
goodbye to Windows :)

If this is important for you, my System is:
Ubuntu 22.04 LTS
Intel Xeon
Nvidia RTX A4000

Rainer

Am 12.12.25 um 13:46 schrieb 'PTGui Support' via PTGui Support:
Reply all
Reply to author
Forward
0 new messages