Announcement

Collapse
No announcement yet.

Radeon UVD Support Merged Into Mesa

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

  • Radeon UVD Support Merged Into Mesa

    Phoronix: Radeon UVD Support Merged Into Mesa

    After having gone through five public code revisions, AMD has finally committed their open-source Unified Video Decoder (UVD) support for accelerated video decoding over VDPAU into the Mesa Git repository...

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

  • #2
    For anyone who wants to try to build it themselves, I believe that you need the following:

    Kernel Code:
    git://people.freedesktop.org/~agd5f/linux branch: drm-next-3.10-wip

    Firmware:
    You'll need the appropriate ${generation}_uvd.bin file from http://people.freedesktop.org/~agd5f/radeon_ucode/ installed in /lib/firmware/radeon (or wherever you keep your kernel firmware).

    Mesa:
    Git mesa/master build with the --enable-vdpau --enable-gallium-drivers=r600 --with-dri-drivers=radeon

    Note that I haven't actually built this myself yet, but those are the components that I think you'll need. In another week or two we'll have kernel 3.9 released, which means that the drm-next branch that Dave Airlie maintains should have the UVD code around then... and that will be the point that Ubuntu's kernel ppa should provide a build of this code (I run Mint + Ubuntu on my machines). If there are libdrm changes that are also required, those haven't yet been pushed... but I'm not really sure if there are any libdrm changes required.

    Comment


    • #3
      This is very good news! I'm glad to see that AMD finally pulled it through and opened UVD up. Big pros there! Next thing for them to improve is rock solid stable power/fan management since i really don't want my fans to blow at full speed or (the dynpm option) to have a flickering screen with every frequency change.. If they manage to get that fixed then i might actually put my AMD card back in my pc (switched to nvidia recently) and start using my desktop with r600g

      Comment


      • #4
        @Veerappan

        --dri-drivers=radeon means enabling the R100 classic driver

        Comment


        • #5
          Gotta ask this again:

          I have a Radeon HD 3650 PCI-ex video card. This UVD changes addition doesn't affect me?

          Also, Radeon feature matrix states that this card should support OpenGL 3.3, but I've found on AMD website it only supports up to OpenGL 3.2. Please someone clarify this to me.

          Comment


          • #6
            Originally posted by pejakm View Post
            Gotta ask this again:

            I have a Radeon HD 3650 PCI-ex video card. This UVD changes addition doesn't affect me?

            Also, Radeon feature matrix states that this card should support OpenGL 3.3, but I've found on AMD website it only supports up to OpenGL 3.2. Please someone clarify this to me.
            Means AMD only supports up to OpenGL 3.2 on that hardware, but the hardware may be capable of atleast partial OpenGL 3.3 support if not full 3.3 and AMD Just said "Mmmmm....No."

            IDK about your specific card and UVD support. I'm gonna guess that it has UVD1 (but thats a blind guess based on its age) which the new UVD changes dont affect / dont affect completely for xyz reason. If its UVD1+ or even UVD2 then you get affected by this.

            Comment


            • #7
              So, my card might be cpable of OpenGL 3.3 with open source drivers?

              And, this is an UVD1 card, so no luck for me.

              Comment


              • #8
                Originally posted by curaga View Post
                @Veerappan

                --dri-drivers=radeon means enabling the R100 classic driver
                Meh... That build setup has worked for me for a while now.... for some reason, I must've been under the impression that using that option enabled certain shared portions of the r600/r300/si code... But that impression was wrong.

                In other news, the R100 driver builds just fine when you're also building R600g w/ the llvm back-end, glamor, and opencl

                Comment


                • #9
                  Originally posted by pejakm View Post
                  So, my card might be cpable of OpenGL 3.3 with open source drivers?
                  Eventually, yes, but not right now.

                  And, this is an UVD1 card, so no luck for me.
                  Not right now, but I believe that they are planning to release UVD1 support eventually too.

                  Comment


                  • #10
                    Originally posted by pejakm View Post
                    So, my card might be cpable of OpenGL 3.3 with open source drivers?

                    And, this is an UVD1 card, so no luck for me.
                    correct on both accounts.

                    Comment


                    • #11
                      Originally posted by Ericg View Post
                      correct on both accounts.
                      Is there any known timescale (weeks, months, years) when we can expect support for UVD1? Or is my integrated HD 3200 UVD+?
                      Last edited by Vim_User; 04-11-2013, 07:12 PM.

                      Comment


                      • #12
                        Originally posted by Vim_User View Post
                        Is there any known timescale (weeks, months, years) when we can expect support for UVD1? Or is my integrated HD 3200 UVD+?
                        Ask Christian (deathsimple) or Bridgman (bridgman)

                        Comment


                        • #13
                          Originally posted by Vim_User View Post
                          Is there any known timescale (weeks, months, years) when we can expect support for UVD1? Or is my integrated HD 3200 UVD+?
                          I would love to have that support for my RS780M/RS780MN Mobility Radeon HD 3200 Graphics as well.
                          Maybe it would make flash and youtube videos to work better.
                          But i do appreciate the code that was dropped and with better power management my next GPU will be AMD again.

                          Comment


                          • #14
                            Originally posted by Vim_User View Post
                            Is there any known timescale (weeks, months, years) when we can expect support for UVD1? Or is my integrated HD 3200 UVD+?
                            I don't think there is any commitment to do so yet, they've merely said that it could potentially be done. Eventually.

                            I'd expect it to not happen for a while, until a lot of other stuff queued up has been done.

                            They've also said that the older UVD hardware had a lot of bugs that they'd have to figure out how to work around, so it's not just a simple process.

                            Comment


                            • #15
                              A few firmwares short of a bundle?

                              Originally posted by Veerappan View Post
                              Firmware:
                              You'll need the appropriate ${generation}_uvd.bin file from http://people.freedesktop.org/~agd5f/radeon_ucode/ installed in /lib/firmware/radeon (or wherever you keep your kernel firmware).
                              This can't be all the firmware because I have RV770_*.bin with my Fedora 18 installation. However, even all of the existing RV770_*.bin files are missing from that repository, let alone any new RV770_uvd.bin.

                              Comment

                              Working...
                              X