Hi occasionally when editing dark pixels will show up over my image. I was wondering if anyone had any insights into this
Thanks
Hi occasionally when editing dark pixels will show up over my image. I was wondering if anyone had any insights into this
Thanks
Hi & welcome to the forum.
Are you using openCL? If yes, try turning it off in the preferences and restarting.
Try some trial and error and see what module creates the artifact…are you for example using say rgb color balance and pushing one of the brilliance sliders hard… or I know surface blur will go into some black regions with higher settings…and as noted it could be opencl settings impacting resources or memory…
If you can share an image and the sidecar that show this effect you will get a quicker answer…
Turning this off seems to fix it. But does this mean that I am not longer using my GPU to help with the processing of darktable? I’ve got a pretty decent GPU, AMD 6700 with 10Gb of VRAM. It would be a dissapointing if that is the case.
That is correct. You can make sure your drivers are up to date, then re-enable openCL in the preferences and see if the problem persists.
What settings are you using for OpenCl and resources…
Drivers are up to date. Re-enabling openCL causes the strange pixels to reappear.
These are the setting’s I have on for proccessing.
And a tangental question, with openCL active how much would I expect my GPU to be used? When I look at the my computer’s resource utlization, CPU usage will jump into the 90%'s while my GPU usage remains sub 10%.
My computer is running an AMD Ryzen 5 7600 with 32 Gb of RAM and a AMD Radeon RX 6700 that has 10 GB VRAM
What OS?
If windows, are you going to the amd website to download the latest drivers?
Does that CPU have an integrated GPU…I’m off to bed sorry no time to check but if so there are some commands that you might need to toggle…maybe DT is not using your main GPU when or as much as it should in the processing steps. I think it is supposed to if you choose very fast but if you look at the OpenCL section of the manual you can edit your darktablerc config file to specify directly more use of your fast GPU via priority or exclusively selecting that GPU…
https://docs.darktable.org/usermanual/4.8/en/special-topics/opencl/multiple-devices/
I think @kofa has detailed this or at least participated in a couple of posts here where people are working through this sort of thing…
You can also run the performance log and see how your editing is processed.
I’ll check back tomorrow if you are still stuck …
I am on Windows 10. I have the AMD software on my computer that tells me drivers are up-to-date.
Thanks for the help. I’ll look at this tomorrow as well
This looks similar to what you have …
You could try the last suggestion …depending on your OS you could delete the kernel folders and let DT create new fresh ones…this has sorted the odd issue in the past but it might still be something more…
Some discussions around these sorts of issues and the settings here too…
Using very fast GPU should direct all work to the GPU.
Try running from the command-line with -d common -d opencl
, and share the results here.
The log file is placed in C:\Users\<userName>\AppData\Local\Microsoft\Windows\INetCache\darktable
, but that’s a hidden folder, I think, so you’ll have to adjust Explorer’s settings, or type/paste the path (with your user name in it) directly into Explorer to open it (see I can't get Darktable to work anymore - #4 by kofa).
Regarding darktable resources: they are set to default, but your machine has decent specs, you could try large instead.
If you have the ‘Microsoft OpenCL Compatibility’ (Kit or Pack? I don’t remember) installed, try removing it (though it usually leads to immediate crashes, not processing errors). Ah, found it: Darktable not opening - #6 by kofa.
This should be the log.
darktable-log.txt (1.9 MB)
I am no expert but looking at that log it looks like your second opencl device ie device 1 which I think is your dedicated GPU is not being used…
Somebody more astute will likely be able to say but that could be part of your issue if you are using the integrated gpu as it seems to me these often are at the root of opencl problems in DT… but that’s just my take and I am by no means able to say this is the issue…
You could switch to default setting in preferences and then tweak that scheduling line as noted in the manual to just use your dedicated GPU…try to force it on…if that fails then there must be some driver issue is all I can think…
Ok, I’m struggling to understand how to change the gpu priority. Is “opencl_device_priority” a value that I can change somewhere or does it need to be done in the terminal?
It’s a line you edit in darktablerc file in your config directory
Thanks for the help everyone. Everything seems to be working now that proccesses are directed to my main GPU and not the integrated graphics of my CPU
Sorry I have been so busy not to be more helpful…I just threw some stuff at you…so glad that you got some improvement…
The interesting point for me is: Are your issues gone after you are using the dedicated card exclusivly?