Darktable doesn't recognize Intel Graphics 620's OpenCL (beignet) in Fedora 27











up vote
4
down vote

favorite
1












I am writing this question since I had no problem in years of using OpenCL with nVidia graphics in fedora and testing Darktable with it. But now in Fedora 27 I am trying to use Darktable with Intel Graphics opencl capability but when I do darktable -d opencl I get this response as it doesn't recognize:



Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (6, 7, 5)


and when I do clifo it winds three devices. I thought it should find only two, my CPU and my GPU. My CPU is Intel Core i7-7500U and that's it.



I have installed these packages: ocl-icd, opencl-filesystem, opencl-utils-devel and beignet. I think these cover all the necessary dependencies.



The question is: Is it possible to use Darktable's opencl capability with this GPU or not? and how can I do it using beignet and Fedora 27?










share|improve this question


























    up vote
    4
    down vote

    favorite
    1












    I am writing this question since I had no problem in years of using OpenCL with nVidia graphics in fedora and testing Darktable with it. But now in Fedora 27 I am trying to use Darktable with Intel Graphics opencl capability but when I do darktable -d opencl I get this response as it doesn't recognize:



    Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (6, 7, 5)


    and when I do clifo it winds three devices. I thought it should find only two, my CPU and my GPU. My CPU is Intel Core i7-7500U and that's it.



    I have installed these packages: ocl-icd, opencl-filesystem, opencl-utils-devel and beignet. I think these cover all the necessary dependencies.



    The question is: Is it possible to use Darktable's opencl capability with this GPU or not? and how can I do it using beignet and Fedora 27?










    share|improve this question
























      up vote
      4
      down vote

      favorite
      1









      up vote
      4
      down vote

      favorite
      1






      1





      I am writing this question since I had no problem in years of using OpenCL with nVidia graphics in fedora and testing Darktable with it. But now in Fedora 27 I am trying to use Darktable with Intel Graphics opencl capability but when I do darktable -d opencl I get this response as it doesn't recognize:



      Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (6, 7, 5)


      and when I do clifo it winds three devices. I thought it should find only two, my CPU and my GPU. My CPU is Intel Core i7-7500U and that's it.



      I have installed these packages: ocl-icd, opencl-filesystem, opencl-utils-devel and beignet. I think these cover all the necessary dependencies.



      The question is: Is it possible to use Darktable's opencl capability with this GPU or not? and how can I do it using beignet and Fedora 27?










      share|improve this question













      I am writing this question since I had no problem in years of using OpenCL with nVidia graphics in fedora and testing Darktable with it. But now in Fedora 27 I am trying to use Darktable with Intel Graphics opencl capability but when I do darktable -d opencl I get this response as it doesn't recognize:



      Beignet: self-test failed: (3, 7, 5) + (5, 7, 3) returned (6, 7, 5)


      and when I do clifo it winds three devices. I thought it should find only two, my CPU and my GPU. My CPU is Intel Core i7-7500U and that's it.



      I have installed these packages: ocl-icd, opencl-filesystem, opencl-utils-devel and beignet. I think these cover all the necessary dependencies.



      The question is: Is it possible to use Darktable's opencl capability with this GPU or not? and how can I do it using beignet and Fedora 27?







      fedora intel-graphics






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 3 at 22:32









      M.Rez

      1336




      1336






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          This is a known bug with __local memory on beignet, see if this workaround works for you:



          export OCL_IGNORE_SELF_TEST=1 





          share|improve this answer





















          • Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
            – M.Rez
            Jan 25 at 16:16




















          up vote
          0
          down vote













          Beignet is blacklisted in darktable. You could try to remove it from the list and recompile darktable and see if it works: https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h Line 27.
          Darktable devs have disabled Beignet because they see not much gain in using intel cards with opencl. You can read more about it here: https://www.darktable.org/2012/03/darktable-and-opencl/






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414656%2fdarktable-doesnt-recognize-intel-graphics-620s-opencl-beignet-in-fedora-27%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            This is a known bug with __local memory on beignet, see if this workaround works for you:



            export OCL_IGNORE_SELF_TEST=1 





            share|improve this answer





















            • Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
              – M.Rez
              Jan 25 at 16:16

















            up vote
            0
            down vote













            This is a known bug with __local memory on beignet, see if this workaround works for you:



            export OCL_IGNORE_SELF_TEST=1 





            share|improve this answer





















            • Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
              – M.Rez
              Jan 25 at 16:16















            up vote
            0
            down vote










            up vote
            0
            down vote









            This is a known bug with __local memory on beignet, see if this workaround works for you:



            export OCL_IGNORE_SELF_TEST=1 





            share|improve this answer












            This is a known bug with __local memory on beignet, see if this workaround works for you:



            export OCL_IGNORE_SELF_TEST=1 






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 25 at 12:23









            AoeAoe

            356147




            356147












            • Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
              – M.Rez
              Jan 25 at 16:16




















            • Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
              – M.Rez
              Jan 25 at 16:16


















            Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
            – M.Rez
            Jan 25 at 16:16






            Thanks for the response, but unfortunately It doesn't fix the problem. Although it seems like the solution, I get the response which says: Intel(R) HD Graphics Kabylake ULT GT2' because the driver `OpenCL 2.0 beignet 1.3' is blacklisted.
            – M.Rez
            Jan 25 at 16:16














            up vote
            0
            down vote













            Beignet is blacklisted in darktable. You could try to remove it from the list and recompile darktable and see if it works: https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h Line 27.
            Darktable devs have disabled Beignet because they see not much gain in using intel cards with opencl. You can read more about it here: https://www.darktable.org/2012/03/darktable-and-opencl/






            share|improve this answer



























              up vote
              0
              down vote













              Beignet is blacklisted in darktable. You could try to remove it from the list and recompile darktable and see if it works: https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h Line 27.
              Darktable devs have disabled Beignet because they see not much gain in using intel cards with opencl. You can read more about it here: https://www.darktable.org/2012/03/darktable-and-opencl/






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                Beignet is blacklisted in darktable. You could try to remove it from the list and recompile darktable and see if it works: https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h Line 27.
                Darktable devs have disabled Beignet because they see not much gain in using intel cards with opencl. You can read more about it here: https://www.darktable.org/2012/03/darktable-and-opencl/






                share|improve this answer














                Beignet is blacklisted in darktable. You could try to remove it from the list and recompile darktable and see if it works: https://github.com/darktable-org/darktable/blob/master/src/common/opencl_drivers_blacklist.h Line 27.
                Darktable devs have disabled Beignet because they see not much gain in using intel cards with opencl. You can read more about it here: https://www.darktable.org/2012/03/darktable-and-opencl/







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 28 at 10:42









                Jeff Schaller

                37.3k1052121




                37.3k1052121










                answered Nov 28 at 9:40









                Jackd

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414656%2fdarktable-doesnt-recognize-intel-graphics-620s-opencl-beignet-in-fedora-27%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    List directoties down one level, excluding some named directories and files

                    list processes belonging to a network namespace

                    list systemd RuntimeDirectory mounts