Discussion:
[darktable-user] GPU select - open CL DT windows
I. Ivanov
2018-10-25 22:12:06 UTC
Permalink
Hi Guys,

I am experimenting on a new windows machine. Win 10 - DT 2.4.4

GPU  Intel UHD Graphics 630 and NVIDIA Quadro P1000

I have read and tried
https://www.darktable.org/usermanual/en/darktable_and_opencl_multiple_devices.html

However - no matter what I do - it looks like DT *always* defaults and
heavily utilizes the Intel Graphics 630.

The result is - no benefit at all when using open CL. In fact - using
CPU is about 30% faster (if my tests were correct) than using Intel GPU.

Meanwhile Nvidia is present but does nothing. 1-5% utilization.

This "darktable -d opencl" does not do anything on windows - simply blank.

So I identified the cards with "darktable-cltest.exe"

Setting device preferences - I tried both with the name of the cards and
also by number - 0 or 1.

Sadly - regardless what I did - I was unable to force DT to use Nvidia.

Can anybody help with this please?

Regards,

B
Michael Kefeder
2018-10-25 22:27:00 UTC
Permalink
Hi

I have the same issue on mac, I use
opencl_device_priority=1,!0/!0,!1/1,!0/1,!0
and important: opencl_scheduling_profile=default else the priority seems to
be ignored. With these it never tries to use the Intel GPU (0 on my
machine).

hth
mike
Post by I. Ivanov
Hi Guys,
I am experimenting on a new windows machine. Win 10 - DT 2.4.4
GPU Intel UHD Graphics 630 and NVIDIA Quadro P1000
I have read and tried
https://www.darktable.org/usermanual/en/darktable_and_opencl_multiple_devices.html
However - no matter what I do - it looks like DT *always* defaults and
heavily utilizes the Intel Graphics 630.
The result is - no benefit at all when using open CL. In fact - using
CPU is about 30% faster (if my tests were correct) than using Intel GPU.
Meanwhile Nvidia is present but does nothing. 1-5% utilization.
This "darktable -d opencl" does not do anything on windows - simply blank.
So I identified the cards with "darktable-cltest.exe"
Setting device preferences - I tried both with the name of the cards and
also by number - 0 or 1.
Sadly - regardless what I did - I was unable to force DT to use Nvidia.
Can anybody help with this please?
Regards,
B
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to
I. Ivanov
2018-10-25 22:48:44 UTC
Permalink
Post by Michael Kefeder
Hi
I have the same issue on mac, I use
opencl_device_priority=1,!0/!0,!1/1,!0/1,!0
and important: opencl_scheduling_profile=default else the priority
seems to be ignored. With these it never tries to use the Intel GPU (0
on my machine).
Thank you! This works!

One question - is there a reason why not
opencl_device_priority=1,!0/_1,!0_/1,!0/1,!0

Looks like you are forcing explicitly 1 and forbidding explicitly 0 but
the second group you are forbidding both. Is this beneficial? why?
Post by Michael Kefeder
hth
 mike
Thank you,

B
Post by Michael Kefeder
Hi Guys,
I am experimenting on a new windows machine. Win 10 - DT 2.4.4
GPU  Intel UHD Graphics 630 and NVIDIA Quadro P1000
I have read and tried
https://www.darktable.org/usermanual/en/darktable_and_opencl_multiple_devices.html
However - no matter what I do - it looks like DT *always* defaults and
heavily utilizes the Intel Graphics 630.
The result is - no benefit at all when using open CL. In fact - using
CPU is about 30% faster (if my tests were correct) than using Intel GPU.
Meanwhile Nvidia is present but does nothing. 1-5% utilization.
This "darktable -d opencl" does not do anything on windows - simply blank.
So I identified the cards with "darktable-cltest.exe"
Setting device preferences - I tried both with the name of the cards and
also by number - 0 or 1.
Sadly - regardless what I did - I was unable to force DT to use Nvidia.
Can anybody help with this please?
Regards,
B
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to
____________________________________________________________________________
darktable user mailing list to unsubscribe send a mail to
Michael Kefeder
2018-10-25 23:02:20 UTC
Permalink
According to the docs the previews (second section) are built in parallel
to other actions. So lets suppose you are in darkroom mode doing stuff it
would compete for the same resource (the dedicated gpu) with the previews
still being made parallel. therefore I force both gpus to be unused which
makes the CPU do the previews freeing my GPU to help with the stuff where I
need the speed.

I hope I do the docs justice, that's how I interpreted it and also saw when
running benchmarks/tests - I could be mistaken. In the docs example however
they also disable the gpu in the second section, so I am fairly sure this
is how it's best.
Post by I. Ivanov
Post by Michael Kefeder
Hi
I have the same issue on mac, I use
opencl_device_priority=1,!0/!0,!1/1,!0/1,!0
and important: opencl_scheduling_profile=default else the priority
seems to be ignored. With these it never tries to use the Intel GPU (0
on my machine).
Thank you! This works!
One question - is there a reason why not
opencl_device_priority=1,!0/_1,!0_/1,!0/1,!0
Looks like you are forcing explicitly 1 and forbidding explicitly 0 but
the second group you are forbidding both. Is this beneficial? why?
Post by Michael Kefeder
hth
mike
Thank you,
B
Post by Michael Kefeder
Hi Guys,
I am experimenting on a new windows machine. Win 10 - DT 2.4.4
GPU Intel UHD Graphics 630 and NVIDIA Quadro P1000
I have read and tried
https://www.darktable.org/usermanual/en/darktable_and_opencl_multiple_devices.html
Post by Michael Kefeder
However - no matter what I do - it looks like DT *always* defaults and
heavily utilizes the Intel Graphics 630.
The result is - no benefit at all when using open CL. In fact - using
CPU is about 30% faster (if my tests were correct) than using Intel GPU.
Meanwhile Nvidia is present but does nothing. 1-5% utilization.
This "darktable -d opencl" does not do anything on windows - simply blank.
So I identified the cards with "darktable-cltest.exe"
Setting device preferences - I tried both with the name of the cards and
also by number - 0 or 1.
Sadly - regardless what I did - I was unable to force DT to use Nvidia.
Can anybody help with this please?
Regards,
B
____________________________________________________________________________
Post by Michael Kefeder
darktable user mailing list
to unsubscribe send a mail to
____________________________________________________________________________
Post by Michael Kefeder
darktable user mailing list to unsubscribe send a mail to
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to
I. Ivanov
2018-10-25 23:09:48 UTC
Permalink
Post by Michael Kefeder
According to the docs the previews (second section) are built in
parallel to other actions. So lets suppose you are in darkroom mode
doing stuff it would compete for the same resource (the dedicated gpu)
with the previews still being made parallel. therefore I force both
gpus to be unused which makes the CPU do the previews freeing my GPU
to help with the stuff where I need the speed.
I hope I do the docs justice, that's how I interpreted it and also saw
when running benchmarks/tests - I could be mistaken. In the docs
example however they also disable the gpu in the second section, so I
am fairly sure this is how it's best.
I appreciate your help! Forcing to Nvidia vs Intel accelerated
significantly the speed for me.

Regards,

B
Post by Michael Kefeder
Post by Michael Kefeder
Hi
I have the same issue on mac, I use
opencl_device_priority=1,!0/!0,!1/1,!0/1,!0
and important: opencl_scheduling_profile=default else the priority
seems to be ignored. With these it never tries to use the Intel
GPU (0
Post by Michael Kefeder
on my machine).
Thank you! This works!
One question - is there a reason why not
opencl_device_priority=1,!0/_1,!0_/1,!0/1,!0
Looks like you are forcing explicitly 1 and forbidding explicitly 0 but
the second group you are forbidding both. Is this beneficial? why?
Post by Michael Kefeder
hth
 mike
Thank you,
B
Post by Michael Kefeder
Am Fr., 26. Okt. 2018 um 00:13 Uhr schrieb I. Ivanov
     Hi Guys,
     I am experimenting on a new windows machine. Win 10 - DT 2.4.4
     GPU  Intel UHD Graphics 630 and NVIDIA Quadro P1000
     I have read and tried
https://www.darktable.org/usermanual/en/darktable_and_opencl_multiple_devices.html
Post by Michael Kefeder
     However - no matter what I do - it looks like DT *always*
defaults
Post by Michael Kefeder
     and
     heavily utilizes the Intel Graphics 630.
     The result is - no benefit at all when using open CL. In
fact - using
Post by Michael Kefeder
     CPU is about 30% faster (if my tests were correct) than using
     Intel GPU.
     Meanwhile Nvidia is present but does nothing. 1-5% utilization.
     This "darktable -d opencl" does not do anything on windows -
     simply blank.
     So I identified the cards with "darktable-cltest.exe"
     Setting device preferences - I tried both with the name of the
     cards and
     also by number - 0 or 1.
     Sadly - regardless what I did - I was unable to force DT to use
     Nvidia.
     Can anybody help with this please?
     Regards,
     B
 ____________________________________________________________________________
Post by Michael Kefeder
     darktable user mailing list
     to unsubscribe send a mail to
____________________________________________________________________________
Post by Michael Kefeder
darktable user mailing list to unsubscribe send a mail to
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to
____________________________________________________________________________
darktable user mailing list to unsubscribe send a mail to
Loading...