Announcement

Collapse
No announcement yet.

AMD Releases Open-Source UVD Video Support

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

  • #21
    How the hell am I supposed to get real work done now? This is *must test* stuff.
    How ever it works, awesome work guys!

    Comment


    • #22
      I had a rather disbelieving post that either got lost or removed...

      Originally posted by bridgman View Post
      I've been helping out where I can, but Tim Writer has been driving this for most of the last year.

      There's a *big* list of technical and legal folks who helped with this one... I guess we should have hidden an easter egg in the code somewhere with all their names, but it's hard to hide things like that in open source
      ..,but glad to be wrong!

      Congrats on this. I know you've been pestered by many of us so it must be great to have something to show for all the efforts.
      Thanks Bridgman and Tim Writer, and to all who helped with this!

      So, is ruvd going to merge with radeonsi at some point?
      Last edited by liam; 02 April 2013, 11:42 PM.

      Comment


      • #23
        Originally posted by duby229 View Post
        rs880 does support opengl. It's not a powerhouse, but it does function.

        EDIT: OH YEAH!! I'll be checking this code out ASAP. Can't wait to finally get some video decode goodness. I have a rs880 based 4200 and a NI based 6850
        I think those integrated chips were generally based on last gen 3d/compute hardware (r600) with next-gen uvd/display hardware (r700). So you probably aren't ever going to get OpenCL support on that chip, but UVD and OpenGL should be working.

        Comment


        • #24
          Originally posted by smitty3268 View Post
          I think those integrated chips were generally based on last gen 3d/compute hardware (r600) with next-gen uvd/display hardware (r700). So you probably aren't ever going to get OpenCL support on that chip, but UVD and OpenGL should be working.
          It was described to me as having radeon 3000 class 3d engine and radeon 4000 class modesetting engine. I still don't use opencl. I havent found any mainstream desktop applications that utilize it. As soon as some must have app that uses opencl gets made then I'll need it. Until then opencl seems to be some myth. OpenGL works fine though, and I'll be testing video decode with this new code very soon.

          Comment


          • #25
            Originally posted by sloggerKhan View Post
            In fact, it would make AMD worth serious consideration for Linux HTPCs if it works well...
            Agreed. There's a decent market here.

            Comment


            • #26
              Originally posted by RussianNeuroMancer View Post
              Isn't they already working on OpenCL?
              This is the target detection support added to testing April 1, 2013 for the AMD GPGPU in LLVM.

              Under: /llvm/tools/clang/test/Driver:

              r600-mcpu.cl

              // Check that -mcpu works for all supported GPUs

              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=r600 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv610 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv620 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv630 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv635 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rs780 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rs880 %s -o - 2>&1 | FileCheck --check-prefix=R600-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv670 %s -o - 2>&1 | FileCheck --check-prefix=RV670-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv710 %s -o - 2>&1 | FileCheck --check-prefix=RV710-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv730 %s -o - 2>&1 | FileCheck --check-prefix=RV730-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv740 %s -o - 2>&1 | FileCheck --check-prefix=RV770-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=rv770 %s -o - 2>&1 | FileCheck --check-prefix=RV770-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=palm %s -o - 2>&1 | FileCheck --check-prefix=CEDAR-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=cedar %s -o - 2>&1 | FileCheck --check-prefix=CEDAR-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=sumo %s -o - 2>&1 | FileCheck --check-prefix=REDWOOD-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=sumo2 %s -o - 2>&1 | FileCheck --check-prefix=REDWOOD-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=redwood %s -o - 2>&1 | FileCheck --check-prefix=REDWOOD-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=juniper %s -o - 2>&1 | FileCheck --check-prefix=JUNIPER-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=juniper %s -o - 2>&1 | FileCheck --check-prefix=JUNIPER-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=hemlock %s -o - 2>&1 | FileCheck --check-prefix=CYPRESS-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=cypress %s -o - 2>&1 | FileCheck --check-prefix=CYPRESS-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=barts %s -o - 2>&1 | FileCheck --check-prefix=BARTS-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=turks %s -o - 2>&1 | FileCheck --check-prefix=TURKS-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=caicos %s -o - 2>&1 | FileCheck --check-prefix=CAICOS-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=cayman %s -o - 2>&1 | FileCheck --check-prefix=CAYMAN-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=aruba %s -o - 2>&1 | FileCheck --check-prefix=CAYMAN-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=tahiti %s -o - 2>&1 | FileCheck --check-prefix=TAHITI-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=pitcairn %s -o - 2>&1 | FileCheck --check-prefix=PITCAIRN-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=verde %s -o - 2>&1 | FileCheck --check-prefix=VERDE-CHECK %s
              // RUN: %clang -### -target r600 -x cl -S -emit-llvm -mcpu=oland %s -o - 2>&1 | FileCheck --check-prefix=OLAND-CHECK %s

              // R600-CHECK: "-target-cpu" "r600"
              // RV670-CHECK: "-target-cpu" "rv670"
              // RV710-CHECK: "-target-cpu" "rv710"
              // RV730-CHECK: "-target-cpu" "rv730"
              // RV770-CHECK: "-target-cpu" "rv770"
              // CEDAR-CHECK: "-target-cpu" "cedar"
              // REDOWOOD-CHECK: "-target-cpu" "redwood"
              // JUNIPER-CHECK: "-target-cpu" "juniper"
              // CYPRESS-CHECK: "-target-cpu" "cypress"
              // BARTS-CHECK: "-target-cpu" "barts"
              // TURKS-CHECK: "-target-cpu" "turks"
              // CAICOS-CHECK: "-target-cpu" "caicos"
              // CAYMAN-CHECK: "-target-cpu" "cayman"
              // TAHITI-CHECK: "-target-cpu" "tahiti"
              // PITCAIRN-CHECK: "-target-cpu" "pitcairn"
              // VERDE-CHECK: "-target-cpu" "verde"
              // OLAND-CHECK: "-target-cpu" "oland"

              Comment


              • #27
                Originally posted by sloggerKhan View Post
                This is great news!

                I wonder if there's any chance of their binary blob also coming to support VDPAU?

                Can't wait for benchmarks (hopefully accompanied by some objective looks at playback quality, IE tearing issues, etc.). This could actually make it worth using the open source driver instead of the proprietary one if it works well enough...

                In fact, it would make AMD worth serious consideration for Linux HTPCs if it works well...
                Originally posted by johnc
                Agreed. There's a decent market here.
                Not quite. Have you seem Anandtech's recent review on Haswell's GT2 and GT3 gpu cores? They can reportedly comfortably compete with an Nvidia 650M. With graphics power and nearly full FOSS support, who would choose an AMD setup over an Intel one for HTPCs?

                Comment


                • #28
                  Originally posted by duby229 View Post
                  rs880 does support opengl. It's not a powerhouse, but it does function.

                  EDIT: OH YEAH!! I'll be checking this code out ASAP. Can't wait to finally get some video decode goodness. I have a rs880 based 4200 and a NI based 6850
                  The patch had this to say:
                  "The R6xx and RS780/RS880 chipset generations are currently not supported, but might be added in the future."

                  And I didn't see anyone doubting RS880 OpenGL support, just OpenCL support.

                  Comment


                  • #29
                    Originally posted by Ibidem View Post
                    The patch had this to say:
                    "The R6xx and RS780/RS880 chipset generations are currently not supported, but might be added in the future."

                    And I didn't see anyone doubting RS880 OpenGL support, just OpenCL support.
                    That was in response to post #18. OpenGL does in fact work on that chip. But good to know that rs880 isnt supported by the video decode yet. Thanks for pointing that out. I still have the 6850 that I can test on so all is good in the world.

                    Comment


                    • #30
                      Originally posted by liam View Post
                      So, is ruvd going to merge with radeonsi at some point?
                      Not sure exactly what you are asking. ruvd contains the common UVD code that's shared by r600 and radeonsi.

                      Comment

                      Working...
                      X