Announcement

Collapse
No announcement yet.

Mesa 23.3 Lands Support For Rusticl On Zink To Have OpenCL Atop Vulkan Drivers

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mesa 23.3 Lands Support For Rusticl On Zink To Have OpenCL Atop Vulkan Drivers

    Phoronix: Mesa 23.3 Lands Support For Rusticl On Zink To Have OpenCL Atop Vulkan Drivers

    Merged for this quarter's Mesa 23.3 release is the ability to have the Rusticl Rust-written OpenCL driver running atop Zink, the Gallium3D driver known for OpenGL-on-Vulkan. With Rusticl on Zink this now means getting this OpenCL 3.0 driver working atop Vulkan hardware drivers...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Wait a minute.
    If Rusticl works on top of Zink, then Compute Shaders work on top of Zink.

    Which basically means that Zink is the de-facto multi-platform, multi-vendor Compute Language provider.

    Comment


    • #3
      Rusticl doesn't even work on my Polaris. Clinfo shows exactly zero devices.

      Comment


      • #4
        Turtle all the way down! Bring on the turtles I say, bring on the turtles...

        Comment


        • #5
          Originally posted by artivision View Post
          Rusticl doesn't even work on my Polaris. Clinfo shows exactly zero devices.
          I think RustiCL isn't enabled by default on any platform yet. Try setting RUSTICL_ENABLE=radeonsi to enable it. (I think on Intel you also need to set RUSTICL_ENABLE=iris too for example

          Comment


          • #6
            Originally posted by artivision View Post
            Rusticl doesn't even work on my Polaris. Clinfo shows exactly zero devices.
            It's hidden behind an environmental variable.
            ## VGA ##
            AMD: X1950XTX, HD3870, HD5870
            Intel: GMA45, HD3000 (Core i5 2500K)

            Comment


            • #7
              (removed double-post because Phoronix forums are acting up)
              Last edited by reba; 14 October 2023, 10:29 AM.

              Comment


              • #8
                Here (Debian sid) both Clover and rusticl are detected, regardless if environmental flag set or not, just their order is reversed:

                Code:
                $ unset RUSTICL_ENABLE
                $ clinfo | head -n 23
                === CL_PROGRAM_BUILD_LOG ===
                fatal error: cannot open file '/usr/lib/clc/gfx909-amdgcn-mesa-mesa3d.bc': No such file or directory
                Number of platforms                               2
                  Platform Name                                   Clover
                  Platform Vendor                                 Mesa
                  Platform Version                                OpenCL 1.1 Mesa 23.2.1-1
                  Platform Profile                                FULL_PROFILE
                  Platform Extensions                             cl_khr_icd
                  Platform Extensions function suffix             MESA
                
                  Platform Name                                   rusticl
                  Platform Vendor                                 Mesa/X.org
                  Platform Version                                OpenCL 3.0
                  Platform Profile                                FULL_PROFILE
                  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_create_command_queue cl_khr_extended_versioning cl_khr_icd cl_khr_il_program cl_khr_spirv_no_integer_wrap_decoration
                  Platform Extensions with Version                cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                                  cl_khr_extended_versioning                                       0x400000 (1.0.0)
                                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                                  cl_khr_spirv_no_integer_wrap_decoration                          0x400000 (1.0.0)
                  Platform Numeric Version                        0xc00000 (3.0.0)
                  Platform Extensions function suffix             MESA
                  Platform Host timer resolution                  1ns
                
                $ export RUSTICL_ENABLE=radeonsi
                $ clinfo | head -n 23
                Number of platforms                               2
                  Platform Name                                   rusticl
                  Platform Vendor                                 Mesa/X.org
                  Platform Version                                OpenCL 3.0
                  Platform Profile                                FULL_PROFILE
                  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_create_command_queue cl_khr_extended_versioning cl_khr_icd cl_khr_il_program cl_khr_spirv_no_integer_wrap_decoration
                  Platform Extensions with Version                cl_khr_byte_addressable_store                                    0x400000 (1.0.0)
                                                                  cl_khr_create_command_queue                                      0x400000 (1.0.0)
                                                                  cl_khr_extended_versioning                                       0x400000 (1.0.0)
                                                                  cl_khr_icd                                                       0x400000 (1.0.0)
                                                                  cl_khr_il_program                                                0x400000 (1.0.0)
                                                                  cl_khr_spirv_no_integer_wrap_decoration                          0x400000 (1.0.0)
                  Platform Numeric Version                        0xc00000 (3.0.0)
                  Platform Extensions function suffix             MESA
                  Platform Host timer resolution                  1ns
                
                  Platform Name                                   Clover
                  Platform Vendor                                 Mesa
                  Platform Version                                OpenCL 1.1 Mesa 23.2.1-1
                  Platform Profile                                FULL_PROFILE
                  Platform Extensions                             cl_khr_icd
                  Platform Extensions function suffix             MESA
                Last edited by reba; 14 October 2023, 10:31 AM.

                Comment


                • #9
                  Rusticle in Zink with Vulkan

                  Sounds like a Clue guess

                  Comment


                  • #10
                    Zin(c)k coated Steel does not Rust-icl

                    Comment

                    Working...
                    X