In Case You Wondered, RADV Doesn't Work On AMD CDNA Instinct Accelerators

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • phoronix
    Administrator
    • Jan 2007
    • 67385

    In Case You Wondered, RADV Doesn't Work On AMD CDNA Instinct Accelerators

    Phoronix: In Case You Wondered, RADV Doesn't Work On AMD CDNA Instinct Accelerators

    Samuel Pitoiset of Valve's Linux graphics driver team landed some changes on Thursday to the open-source RADV driver within Mesa around GPU checks for the hardware supported by this popular AMD Vulkan driver on Linux systems...

    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
  • Anux
    Senior Member
    • Nov 2021
    • 1960

    #2
    I hope that doesn't become a problem for the linux support when they switch to UDNA (CDNA successor) next gen.

    Comment

    • geerge
      Senior Member
      • Aug 2023
      • 362

      #3
      I know it's a thing to flip flop between integrated and separate consumer/pro lines every decade or so. They seem to be going back to integrated too soon, it's been less than 6 years since RDNA was released. RDNA seems to have been a success, compared to the polaris/vega days the design has been way more focused on consumer applications. I'm guessing CDNA is much further ahead on AI/ML, so they're aiming to bolt the best of both together in some unholy monstrosity?

      Comment

      • schmidtbag
        Senior Member
        • Dec 2010
        • 6618

        #4
        Originally posted by Anux View Post
        I hope that doesn't become a problem for the linux support when they switch to UDNA (CDNA successor) next gen.
        This situation is why I suspected UDNA wasn't going to be derived from CDNA, since getting graphics processing optimized on UDNA would take more effort than getting compute optimized on RDNA. Though, I get the impression UDNA will be based on CDNA.

        Anyway, part of me wonders if this is just a day's worth of tinkering in the source code to make it work.

        Comment

        • Anux
          Senior Member
          • Nov 2021
          • 1960

          #5
          Originally posted by geerge View Post
          RDNA seems to have been a success
          You think? In the crypto boom they just sold more cards because Nvidia couldn't saturate the market.
          The 5000 series was a little better received but AMDs market share dropped to 10 % with RDNA, before they were between 20 to 30% and even back then they had their moments when they realized that they just can't get enough money out of their high end GPUs. That was why polaris had no highend and they changed the strategy to make more specialized RDNA catered to gaming to enter back into the high end GPU business. Didn't work out that well and now they only have low end again and want to switch back to the obviously slightly better strategy from before. Was there another switch I didn't notice?
          I'm guessing CDNA is much further ahead on AI/ML, so they're aiming to bolt the best of both together in some unholy monstrosity?
          Much like Vega64 and any Nvidia high end card, yes.

          Originally posted by schmidtbag View Post
          This situation is why I suspected UDNA wasn't going to be derived from CDNA, since getting graphics processing optimized on UDNA would take more effort than getting compute optimized on RDNA. Though, I get the impression UDNA will be based on CDNA.
          AMD officials said so in public (that it'll be a CDNA successor). But obviously CDNA as it is would be useless as a gaming card, I see 3 plausible scenarios:
          1. CDNA gets extended with RDNA bits to make it a gaming card too.
          2. RDNA gets CDNA capabilities
          3. A completely new arch inspired by both
          Since CDNA is essentially evolved GCN stripped of gaming features it should be "fairly simple" to go the route backwards.
          But if they haven't developed a gaming driver for CDNA then 5 years are not easily fixed.
          Last edited by Anux; 17 January 2025, 09:56 AM.

          Comment

          • agd5f
            AMD Graphics Driver Developer
            • Dec 2007
            • 3939

            #6
            CDNA has no GFX pipeline at all. It's not possible to run GFX applications on it. It's compute only. I suppose you could in theory write a vulkan driver which only supports compute and transfer queues.

            Comment

            • cb88
              Senior Member
              • Jan 2009
              • 1347

              #7
              Originally posted by agd5f View Post
              CDNA has no GFX pipeline at all. It's not possible to run GFX applications on it. It's compute only. I suppose you could in theory write a vulkan driver which only supports compute and transfer queues.
              Correct myself and urban legend as well if I am wrong but CDNA 1.0 is still capable of implementing vulkan (compute at least) since it has image instructions while CDNA 2+ cannot as it lacks these right? AFAIK CNDA 2+ is missing more stuff from the ISA than CDNA 1 is granted neither have GFX hardware.

              Comment

              • agd5f
                AMD Graphics Driver Developer
                • Dec 2007
                • 3939

                #8
                Originally posted by cb88 View Post

                Correct myself and urban legend as well if I am wrong but CDNA 1.0 is still capable of implementing vulkan (compute at least) since it has image instructions while CDNA 2+ cannot as it lacks these right? AFAIK CNDA 2+ is missing more stuff from the ISA than CDNA 1 is granted neither have GFX hardware.
                I don't recall off hand. You can check the ISAs here:
                A repository of AMD Instruction Set Architecture (ISA) and Micro Engine Scheduler (MES) firmware documentation

                Comment

                • cb88
                  Senior Member
                  • Jan 2009
                  • 1347

                  #9
                  Originally posted by agd5f View Post

                  I don't recall off hand. You can check the ISAs here:
                  A repository of AMD Instruction Set Architecture (ISA) and Micro Engine Scheduler (MES) firmware documentation
                  Perphaps whoever I was talking to about that was talking out their butt or there is some less obvious reason but CDNA 1 / 2 both look pretty similar there I dont see any obvious omission from the next few pages either.

                  9.2.1. Image Instructions
                  This section describes the image instruction set, and the microcode fields available to those
                  instructions.
                  Table 40. Image Instructions
                  MIMG Description
                  SAMPLE_* Read and filter data from a image object.
                  IMAGE_LOAD_<op> Read data from an image object using one of the following: image_load,
                  image_load_mip, image_load_{pck, pck_sgn, mip_pck, mip_pck_sgn}.
                  IMAGE_STORE
                  IMAGE_STORE_MIP
                  Store data to an image object. Store data to a specific mipmap level.
                  IMAGE_ATOMIC_<op> Image atomic operation, which is one of the following: swap, cmpswap, add, sub,
                  rsub, {u,s}{min,max}, and, or, xor, inc, dec, fcmpswap, fmin, fmax.

                  Comment

                  • DiamondAngle
                    Junior Member
                    • Oct 2017
                    • 46

                    #10
                    Its mi300 that lacks IMAGE_* i dont think you need those fundamentally to implement vulkan compute but it makes it a bit easier

                    Comment

                    Working...
                    X