Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RFC: Don't offer OpenCL "use all GPU memory" #18308

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

jenshannoschwalm
Copy link
Collaborator

The "use all GPU memory" preferences option is not helping for darktable OpenCL stability at all and won't give a significant performance gain in the vast majority of settings. Quite a number of dt failing issues on pixls.us forum are directly related to this.

It should only be used in situations with more than one OpenCL device to allow specific tuning for the non-desktop devices.

So let's get rid of this option if there is only one device.

BTW, we can still modify the preferences setting per level ...

The "use all GPU memory" preferences option is not helping for darktable OpenCL stability at all
and won't give a significant performance gain in the vast majority of settings.
Quite a number of dt failing issues on pixls.us forum are directly related to this.

It should only be used in situations with more than one OpenCL device to allow specific tuning for the
non-desktop devices.

So let's get rid of this option if there is only one device.

BTW, we can still modify the preferences setting per level ...
@jenshannoschwalm jenshannoschwalm added the OpenCL Related to darktable OpenCL code label Jan 27, 2025
@TurboGit TurboGit added this to the 5.2 milestone Jan 27, 2025
Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to me, this option has proved to cause troubles indeed. Thanks.

@TurboGit TurboGit merged commit 526cd08 into darktable-org:master Jan 27, 2025
6 checks passed
@jenshannoschwalm jenshannoschwalm deleted the opencl_resource branch January 28, 2025 04:40
kofa73 added a commit to kofa73/dtdocs that referenced this pull request Jan 29, 2025
@elstoc elstoc added the documentation-complete needed documentation is merged in dtdocs label Mar 10, 2025
elstoc pushed a commit to darktable-org/dtdocs that referenced this pull request Mar 10, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation-complete needed documentation is merged in dtdocs OpenCL Related to darktable OpenCL code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants