-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 time - what to do #18136
Comments
Your GPU driver being i915 suggests you're using the intel ingetrated GPU. You haven't provided enough log to say what GPU is bening used, and your log message also indicates activity on the GPU. Have you tried disabling OpenCL to see if that improves anything? |
with this line, i start the application with the AMD gpu driver exporting 51 images right now, it's much faster after disabling every other OpenCL option than the RUSTICL. But i think it's still slow. `darktable 5.0.0 Compile options: See https://www.darktable.org/resources/ for detailed documentation.
|
kevin@ideapad330:~$ vblank_mode=0 RUSTICL_ENABLE=rusticl DRI_PRIME=1 LIBVA_DRIVER_NAME=radeonsi glxinfo | grep OpenGL |
1.2328 [opencl_init] no devices found for Mesa/X.org (vendor) - rusticl (name) [opencl_init] found 0 device This doesn't look good if you want to use rusticl. The 'RUSTICL_ENABLE=rusticl' in your command line is bogus, it will overwrite the correct setting at the beginning of the line. Just remove it and try again. To verify your settings, use "clinfo" at the end of your above command line instead of "darktable". You should see informational output about the OpenCL devices in your setup. Besides that, when I tried rusticl 11 months ago, it was not that fast on my RX 5600XT. Which is why I'm using ROCm for OpenCL. Quoting my post on pixls.us:
|
so now my starting line is
and i got faster export times, but still ~9 sec. for one image. |
Describe the bug
exporting a handful of images (really not much), it takes ages. i recently exported 50 sony a7 mk2 images and it took about 30+ minutes.
Steps to reproduce
raw chromatic aberrations
lens correction
chromatic aberration
shadows and highlights
demosaic
base curve 'sony alpha like"
this is my preset called "personal defaults", maybe two chromatic aberrations is one no longer needed or obsolete
Expected behavior
export was way faster on my older notebook
Logfile | Screenshot | Screencast
every image export looks exactly like this
640.0299 [dt_dev_load_raw] loading the image. took 0.188 secs (0.677 CPU) 640.1728 [export] creating pixelpipe took 0.125 secs (0.156 CPU) 640.1742 [dev_pixelpipe] took 0.000 secs (0.000 CPU) initing base buffer [export] 640.2422 [dev_pixelpipe] took 0.068 secs (0.010 CPU) [export] processed
rawprepare' on GPU, blended on GPU640.2835 [dev_pixelpipe] took 0.041 secs (0.010 CPU) [export] processed
temperature' on GPU, blended on GPU 640.3645 [dev_pixelpipe] took 0.081 secs (0.024 CPU) [export] processed
highlights' on GPU, blended on GPU640.9004 [dev_pixelpipe] took 0.536 secs (2.119 CPU) [export] processed
cacorrect' on CPU, blended on CPU 642.4044 [dev_pixelpipe] took 1.504 secs (11.006 CPU) [export] processed
demosaic' on CPU, blended on CPU643.7066 [dev_pixelpipe] took 1.302 secs (2.275 CPU) [export] processed
lens' on GPU, blended on GPU 646.4515 [dev_pixelpipe] took 2.745 secs (14.207 CPU) [export] processed
cacorrectrgb' on CPU, blended on CPU646.8414 [dev_pixelpipe] took 0.390 secs (0.031 CPU) [export] processed
exposure' on GPU, blended on GPU 647.0055 [dev_pixelpipe] took 0.164 secs (0.052 CPU) [export] processed
colorin' on GPU, blended on GPU647.1679 [dt_ioppr_transform_image_colorspace_cl] IOP_CS_LAB-->IOP_CS_RGB took 0.162 secs (0.002 GPU) [basecurve]
647.4216 [dev_pixelpipe] took 0.416 secs (0.082 CPU) [export] processed
basecurve' on GPU, blended on GPU 647.5873 [dt_ioppr_transform_image_colorspace_cl] IOP_CS_RGB-->IOP_CS_LAB took 0.161 secs (0.000 GPU) [shadhi] 660.5432 [dev_pixelpipe] took 13.122 secs (0.125 CPU) [export] processed
shadhi' on GPU, blended on GPU660.7301 [dev_pixelpipe] took 0.187 secs (0.064 CPU) [export] processed
colorout' on GPU, blended on GPU 661.0032 [dev_pixelpipe] took 0.273 secs (1.197 CPU) [export] processed
gamma' on CPU, blended on CPU661.0032 [opencl_profiling] profiling device 0 ('Intel(R) OpenCL Graphics Intel(R) UHD Graphics 620'):
661.0032 [opencl_profiling] spent 0.2028 seconds in [Write Image (from host to device)]
661.0032 [opencl_profiling] spent 0.0193 seconds in rawprepare_1f
661.0032 [opencl_profiling] spent 0.0235 seconds in whitebalance_1f
661.0032 [opencl_profiling] spent 0.0137 seconds in highlights_initmask
661.0033 [opencl_profiling] spent 0.0088 seconds in highlights_dilatemask
661.0033 [opencl_profiling] spent 0.1988 seconds in [Write Buffer (from host to device)]
661.0033 [opencl_profiling] spent 0.0062 seconds in highlights_chroma
661.0033 [opencl_profiling] spent 0.0000 seconds in [Read Buffer (from device to host)]
661.0033 [opencl_profiling] spent 0.0232 seconds in highlights_opposed
661.0033 [opencl_profiling] spent 0.2043 seconds in [Read Image (from device to host)]
661.0033 [opencl_profiling] spent 0.1695 seconds in lens_vignette
661.0033 [opencl_profiling] spent 0.2416 seconds in lens_distort_bicubic
661.0033 [opencl_profiling] spent 0.0919 seconds in exposure
661.0033 [opencl_profiling] spent 0.0909 seconds in colorin_unbound
661.0033 [opencl_profiling] spent 0.2689 seconds in [Copy Image (on device)]
661.0033 [opencl_profiling] spent 0.0896 seconds in colorspaces_transform_lab_to_rgb_matrix
661.0033 [opencl_profiling] spent 0.0922 seconds in basecurve_lut
661.0033 [opencl_profiling] spent 0.0893 seconds in colorspaces_transform_rgb_matrix_to_lab
661.0033 [opencl_profiling] spent 0.0000 seconds in zero
661.0033 [opencl_profiling] spent 12.3956 seconds in splat
661.0033 [opencl_profiling] spent 0.0000 seconds in [Copy Buffer to Buffer (on device)]
661.0033 [opencl_profiling] spent 0.0001 seconds in blur_line
661.0033 [opencl_profiling] spent 0.0000 seconds in blur_line_z
661.0034 [opencl_profiling] spent 0.0888 seconds in slice
661.0034 [opencl_profiling] spent 0.1231 seconds in shadows_highlights_mix
661.0034 [opencl_profiling] spent 0.1155 seconds in colorout
661.0034 [opencl_profiling] spent 14.5577 seconds totally in command queue (with 0 events missing)
661.0034 [dev_process_export] pixel pipeline processing took 20.831 secs (31.206 CPU)
662.3904 [export_job] exported to
/home/kevin/...
Commit
No response
Where did you obtain darktable from?
downloaded from www.darktable.org
darktable version
5.0.0
What OS are you using?
Linux
What is the version of your OS?
ubuntu 24.04.1
Describe your system?
OS: Ubuntu 24.04.1 LTS x86_64
Host: 81DE Lenovo ideapad 330-15IKB
Kernel: 6.8.0-51-generic
Shell: bash 5.2.21
Resolution: 1920x1080
CPU: Intel i7-8550U (8) @ 4.000GHz
GPU: Intel UHD Graphics 620
GPU: AMD ATI Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile
Memory: 4169MiB / 19908MiB
GPU Driver: i915
CPU Usage: 47%
^^from neofetch
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
using a script to start darktable with some parameters, i think is needed to use OpenCL and RUSTICL
export RUSTICL_ENABLE=radeonsi
vblank_mode=0 RUSTICL_ENABLE=rusticl DRI_PRIME=1 LIBVA_DRIVER_NAME=radeonsi darktable
The text was updated successfully, but these errors were encountered: