Page 1 of 2 12 LastLast
Results 1 to 10 of 80

Thread: Radeon UVD Support Merged Into Mesa

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    15,429

    Default 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. #2
    Join Date
    Nov 2008
    Location
    Madison, WI, USA
    Posts
    881

    Default

    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.

  3. #3
    Join Date
    Oct 2007
    Posts
    297

    Default

    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

  4. #4
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,284

    Default

    @Veerappan

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

  5. #5
    Join Date
    Feb 2010
    Location
    Srpska Republic, Bosnia&Herzegovina
    Posts
    109

    Default

    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.

  6. #6
    Join Date
    Aug 2012
    Location
    Pennsylvania, United States
    Posts
    1,921

    Default

    Quote 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.

  7. #7
    Join Date
    Nov 2008
    Posts
    77

    Default

    Quote Originally Posted by pejakm View Post
    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.
    Quote Originally Posted by Ericg View Post
    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."
    Actually OpenGL 3.3 is a bit of a special case. It was released simultaneously with OpenGL 4.0, and includes everything from 4.0 that did *not* require new hardware. In other words: OpenGL 3.3 was explicitly designed so that all hardware that can do 3.2 also can do 3.3. Both AMD and NVidia did release drivers updates that added 3.3 support to all 3.2 capable hardware, but anything written before the 3.3 standard was released will only say 3.2, so that is most likely the reason for the outdated information you found.

  8. #8
    Join Date
    Nov 2008
    Location
    Madison, WI, USA
    Posts
    881

    Default

    Quote 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

  9. #9
    Join Date
    Jul 2007
    Posts
    448

    Unhappy A few firmwares short of a bundle?

    Quote 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.

  10. #10
    Join Date
    Oct 2008
    Location
    Germany
    Posts
    74

    Default

    Quote Originally Posted by chrisr View Post
    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.
    We removed the RV770 firmware image from the download side and the related RV770 code from the patches, because they currently doesn't work.

    The RS780, RS880 and RV770 chipset generations have some differences in their UVD block which needs to be handled first before we can release any code for them. R6xx have similar (but still different) issues.

    I think I'm on a good way of solving that, but can't promise anything.

    Cheers,
    Christian.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •