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
opencl_device_priority does not allow special characters in device name #5317
Comments
Tried escaping the brackets without success:
|
Hm. The code says So try Note: This isn't a very good config to use in general because this also forces dt to wait if something else is using the Intel, which means generating thumbnails might block the export thread, and things sit around waiting for the GPU to come free instead of just falling back to CPU until GPU becomes free. At least you can find out if it works as intended though, then tweak it afterwards. (And I've just realised that good testing practice needs to include adding that "+" whilst you're doing the formal testing...) |
Ahhh it looks like it explicitly strips out what it refers to as "invalid characters." The list of valid characters does NOT include |
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
Actually i think the issue is somewhere in determining device canonical name... For example: my card name is |
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
Since #9230 we now have way to output canonical name and find if it's not working as it's supposed to. This needs an investigation. |
This issue did not get any activity in the past 30 days and will be closed in 365 days if no update occurs. Please check if the master branch has fixed it and report again or close the issue. |
This issue did not get any activity in the past year and thus has been closed. Please check if the newest release or master branch has it fixed. Please, create a new issue if the issue is not fixed. |
Using an optimus laptop with two graphic cards:
Arch Linux 5.6.15-arch1-1
community/darktable 2:3.0.2-5
In order to finetune which card to use for which pixelpipe I followed these instructions:
https://www.darktable.org/usermanual/en/darktable_and_opencl_multiple_devices.html
It is recommended to use device names instead of device numbers. Therefore my setting would look like this:
opencl_device_priority=!Intel(R) Gen9 HD Graphics NEO,*/!GeForce RTX 2060,*/GeForce RTX 2060,*/GeForce RTX 2060,*
However this does not seem to work. It looks like the brackets within the name of the Intel device break the logic. To test this, I have changed the logic for the export, trying to force the Intel to render the Export pixelpipe explicitely excluding the Nvidia:
opencl_device_priority=!Intel(R) Gen9 HD Graphics NEO,*/!GeForce RTX 2060,*/Intel(R) Gen9 HD Graphics NEO,!GeForce RTX 2060/GeForce RTX 2060,*
For completion these are my opencl related settings in darktablerc:
Also: It looks like the opencl_device_priority is only taken into account as long as opencl_scheduling_profile is set to default.
Best,
Stephan
The text was updated successfully, but these errors were encountered: