Announcement

Collapse
No announcement yet.

AMD Open-Source Driver For Vulkan "AMDVLK" Is Now Available

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

  • AMD Open-Source Driver For Vulkan "AMDVLK" Is Now Available

    Phoronix: AMD Open-Source Driver For Vulkan "AMDVLK" Is Now Available

    Last week I reported on AMD finally preparing their open-source Vulkan driver that many Linux enthusiasts have been looking forward to since the Vulkan 1.0 debut nearly two years ago. As of this morning, the source-code to this official AMD Vulkan driver is now publicly available. AMD Linux fans and developers can rejoice this weekend building out this "AMDVLK" Vulkan driver and its new Platform Abstraction Layer (PAL).

    http://www.phoronix.com/vr.php?view=25713

  • #2
    Great news, cloning it now

    And compiling....

    Just to note the stuff that's in { } should be either used or omitted - so

    Code:
    repo init -u https://github.com/GPUOpen-Drivers/AMDVLK.git -b master{dev}
    Should be either

    Code:
    repo init -u https://github.com/GPUOpen-Drivers/AMDVLK.git -b master
    or

    Code:
    repo init -u https://github.com/GPUOpen-Drivers/AMDVLK.git -b dev
    And needed this patch to get it to compile https://pastebin.com/Pthsf5bg
    Last edited by FireBurn; 12-22-2017, 07:55 AM.

    Comment


    • #3
      Hmm seems right now in the AMDVLK repository are just the ICD JSON files. So presumably more code will be pushed out soon, 6AM EST is the time I was told and for embargo expiration. The PAL code is in its repo.
      Michael Larabel
      http://www.michaellarabel.com/

      Comment


      • #4
        There's some confusion with the repo manifest perhaps. It's referencing itself now: https://github.com/GPUOpen-Drivers/A...er/default.xml
        Perhaps someone pushed the manifest git to where the driver sourcecode should be. :-)

        So this should work with the upstream kernel then? That's new, right? Given that you set
        MaxNumCmdStreamsPerSubmit,4

        Comment


        • #5
          Originally posted by ernstp View Post
          There's some confusion with the repo manifest perhaps. It's referencing itself now: https://github.com/GPUOpen-Drivers/A...er/default.xml
          Perhaps someone pushed the manifest git to where the driver sourcecode should be. :-)

          So this should work with the upstream kernel then? That's new, right? Given that you set
          MaxNumCmdStreamsPerSubmit,4
          Yes it should work with upstream AMDGPU Linux kernel DRM AFAIK, will be doing tests shortly.
          Michael Larabel
          http://www.michaellarabel.com/

          Comment


          • #6
            I think the vulkan driver from amdgpu-pro hasn't been working for a while with vanilla linux and required some stuff from the hybrid driver, but it wasn't really documented what. Maybe for the open source release they changed it?

            Anyway, neither gcc 7.2.1 nor clang 6svn will compile it (invalid constexpressions in src/pal/src/util/math.cpp) so I'll just wait until that is fixed...

            Comment


            • #7
              Originally posted by haagch View Post
              I think the vulkan driver from amdgpu-pro hasn't been working for a while with vanilla linux and required some stuff from the hybrid driver, but it wasn't really documented what. Maybe for the open source release they changed it?
              Likely so, none of my communication with AMD has indicated AMDVLK will need any kernel changes and there isn't any kernel repo as part of GPUOpen-Drivers.
              Michael Larabel
              http://www.michaellarabel.com/

              Comment


              • #8
                I don't need RADV or AMDVLK.
                I will make my own open source Vulkan driver and it will have blackjack and hookers. In fact forget the Vulkan driver

                Comment


                • #9
                  This PAL sounds like Gallium 2.0.

                  Comment


                  • #10
                    Originally posted by FireBurn View Post
                    And needed this patch to get it to compile https://pastebin.com/Pthsf5bg
                    This seems like an issue with the C++ standard (C++11 vs. C++14, perhaps). Could you file an Issue on the GitHub project? Thanks!

                    Comment

                    Working...
                    X