-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Export] Dt freezes and progress bar doesn't come to an end #15939
Comments
Please use the template to provide all the info. GPU? Opencl? Can you provide a -d common output? |
opencl on nvidia 3060
|
Today's freeze: dt wasn't in first plane in the desktop, gthumb was in first plane -> the freeze in dt produced a freeze in the whole desktop, only the mouse was active, everything else was freezed. Killing dt (from a non-desktop terminal) resolved the freeze. |
Your availability memory is larger than your total memory. How much actual memory do you have? I see a snap folder in the paths above. Why? Is the -d common from when it happen? Does it happen without opencl? |
16 GB, and 16 GB swap the 245 GB that it shows seems a bug. dt is set to use unrestricted resources (processing tab)
in
if you are asking if I usually run dt with -d desktop, then no
I should use dt for a while disabling opencl, it gets slow. Freezes happen randomly. |
set it to small and see if it works. If it does, then try default. I have 32 GB of memory and a 8GB Nvidia 3070 and my resources are set at default. If I try large, I have problems. |
I think the system showing more memory than what is really available can be a problem. You posted a darktable -d common but it doesnot appear to be one when the issue happen. Posting a -d common log from when the issue happens is the main way to identify the source of your issue. So far this Issue report has very minimal information. |
@jenshannoschwalm I would like your thoughts on this. For 4.6.1 I think this value for unrestricted is too large (16384): darktable/src/common/darktable.c Line 1427 in 18c7ddb
It leads to a very large and incorrect available memory (15339 * 16382 /1024) = 245346. I think a value of 1024 (or maybe slightly less at 1000) might be better. For 4.8 Looking deeper into this area, I wonder if we should move the Which then made me wonder why even look at darktable/src/common/darktable.c Line 461 in 18c7ddb
|
Using unrestricted is mostly bad, it's only purpose is to allow extremely large image to be processed. But it requires a working memory swapping. EDIT we should probably rethink this as most distributions or windows at least don't offer such large swap space. Likely double of available physical memory would be a safe choice. We don't get that correct for flatpack apps for sure. EDIT: this has been something i don't know to fix properly yet. We have a number of reports related to out-of-memory killed darktable. I would be very good if someone could find a safe way to get amount of memory for flatpacks (using cgroup settings) Looking for currently-available mem would mean to check that at runtime whenever we need memory and that would be performance ineffective. That could also lead to fighting between darktable subsystems, mipmap cache, thumb generation ... My personal view would be to disable unrestricted completely. |
Or, don't offer it as a choice in the settings but leave it for expert mode (i.e. edit the darktablerc file). |
@gi-man one more point that is certainly wrong for unrestricted mode is 90% of opencl mem. Assuming a common 4GB card would just take 400 for headroom which is certainly on the too low side. |
changed from unrestricted to large doesn't solve the dt freeze as described at the principle. |
The correct setting for you system is probably small, but it might run on default. It won't run on large or unrestricted. |
Well, I'm wondering: why does dt propose me wrong values? if it's a matter of the ram size, it should permit choosing only between correct values. |
|
Actually dt crashes with large too |
Your post are not helpful. Is this with master? Where is the log? I'm going to unsubscribe. |
@paolobenve i would appreciate a fresh test with todays git master. Please try with resources set to default. You should start Before starting your darktable session from the console as above, could you do |
|
I tried with master, I couldn't get any crash. I used test copies of the images. The crashes are random, I don't risk to use master in my daily work |
I got a general desktop freeze with current 4.6.x with resurces large, but I couldn't see anything at the end of the log. perhaps dt writes out of its memory and that freezes the desktop? |
I am not sure if you know what patterns to look after :-) I am interested in signs of some modules behaving in strange ways for example. So either share that log or let's forget about it as i can't get information of value... |
Closing this for now as there is no provided data to investigate ... feel free to reopen :-) |
I cannot :-( perhaps I need a permission which I haven't. I could grab the output with the freeze:
And here is the DT-OUT.txt It's a work session quite large, I think two days, each day about one hour. At the first export no freeze. Hoy freeze. |
I reopened dt and immediately repeated the last export with the same images, and I didn't get the freeze |
dt 4.6.0 self compiled, ubuntu 22.04
When I export various images, the export progress bar never comes to an end, like you can see in the screenshot:
... and dt freezes. You must kill it and rerun it in order to keep working
Note 1: the exporting ends up correctly
Note 2: the bugs doesn't happen always, I'm trying to understan what triggers it.
The text was updated successfully, but these errors were encountered: