AMD显卡用户有福啦~~~radeon开源驱动硬解代码已经面世

Totem,mplayer,sopcast,realplayer,bmp
回复
flwwater
帖子: 507
注册时间: 2010-10-31 9:15
系统: kubuntu 18.04
送出感谢: 1 次
接收感谢: 13 次

AMD显卡用户有福啦~~~radeon开源驱动硬解代码已经面世

#1

帖子 flwwater » 2013-04-03 8:41

Today AMD will be publishing open-source driver code that exposes their Unified Video Decoder (UVD) engine on modern Radeon HD graphics cards. This will finally allow open-source graphics drivers to take advantage of hardware-accelerated video decoding.
今天,AMD linux显卡驱动负责人将会释出调用GPU UVD模块硬解的代码。支持HD4000 - HD7000系列的显卡。

For many years, AMD Linux users have wanted open-source UVD/video-acceleration support to go along with their open-source OpenGL driver. However, it never came until now -- many years after UVD first arrived back in the ATI days. The official reasoning for years was that it's complicated to get any public documentation or open-source code since documenting UVD/UVD2 in the public domain could potentially compromise the Digital Rights Management abilities of their Catalyst driver on other operating systems. Obviously it's in AMD's best business interest to cater towards the much larger Windows market where Digital Rights Management for protected video content is critical, so it's been a sticky and drawn out situation getting open-source UVD support.

AMD has said they were working on some open-source UVD solution for many months, but it was complicated getting legal clearance and frankly many Linux desktop users lost hope of seeing hardware-accelerated video playback outside of the Catalyst blob (in March of last year is when we shared that UVD was going through code review). Thus it was a very huge and welcome surprise when receiving an advance and exclusive notice from AMD a few hours ago. Alex Deucher of AMD shared with Phoronix that tomorrow (3 April, or possibly in the late hours tonight), there will be a code drop of open-source UVD Linux support.

Alex has graciously allowed Phoronix to share this information early with our readers, many of whom will be really excited now that there's finally support for offloading the video playback process to the GPU.

This UVD support will come for the Radeon HD 4000 "R700" graphics cards through the Radeon HD 7000 "Southern Islands" graphics cards. This is effectively UVD2 hardware and newer. There was the original UVD decoder found with the Radeon HD 2000 GPUs and UVD+ to come with the Radeon HD 3000 series, but this support is targetting UVD2 and beyond. The latest generation is UVD3 that was introduced with the Radeon HD 6000 series. UVD3 brought in DivX and Xvid along with Blu-ray 3D and 120Hz Stereo 3D.

This open-source AMD UVD support will allow for accelerated playback of H.264, VC-1, and MPEG variants on the HD 4000 through HD 7000 series GPUs. Interestingly, and to much pleasure, the UVD support is being exposed over VDPAU.

此开源代码支持加速H.264, VC-1, and MPEG , 并且是通过VDPAU来硬解的。

VDPAU, a.k.a. the Video Decode and Presentation API for Unix, was introduced by NVIDIA many years ago for bringing PureVideo support to their Linux driver. After that, AMD introduced XvBA (X-Video Bitstream Acceleration) for an API to expose UVD with the Catalyst driver under Linux. More multimedia Linux software has supported VDPAU than XvBA. XvBA adoption is almost non-existent with just a few video programs supporting the AMD API. There's also VA-API that is backed by Intel and also supported much better by Linux multimedia software than XvBA.

AMD using VDPAU to expose UVD with their open-source Linux graphics driver is a great win for Linux desktop users. There's also been the VDPAU Gallium3D state tracker, which is likely why AMD went with this using this as their video API in order to reduce their workload.

On top of the current AMD Radeon Linux graphics driver code, the UVD support requires changes to their Radeon Direct Rendering Manager driver within the Linux kernel and Mesa. The Linux kernel changes are part of this code drop and should be merged to mainline for the Linux 3.10 kernel. Alex Deucher says the Mesa changes to the Radeon Gallium3D drivers will be immediately merged to master (rather than some code branch) and thus will be part of Mesa 9.1 / Mesa 10.0 when released in several months.

Overall, this is a great day in the open-source AMD history. It's been several months without any exciting open-source AMD news (namely since the introduction of the RadeonSI driver for the HD 7000 series GPUs), but now there's finally the long-awaited open-source video playback support! Great job to all of the developers involved in bringing this much sought after support.

There's no word on any public UVD documentation being released at this time. Hopefully next though will be proper open-source Radeon driver power management, another much sought after feature by Radeon Linux desktop users with no "out of the box" dynamic re-clocking support by default.



附上AMD linux group上传的最新代码地址:
http://lists.freedesktop.org/archives/m ... 37049.html
上次由 flwwater 在 2013-04-03 16:34,总共编辑 1 次。
百度网盘 2048G容量 大放送!
百度网盘资源论坛一键保存资源!
jtshs256
论坛版主
帖子: 22322
注册时间: 2010-07-19 21:41
系统: OS X
送出感谢: 2 次
接收感谢: 27 次

Re: AMD显卡用户有福啦~~~radeon开源驱动硬解功能已经面世

#2

帖子 jtshs256 » 2013-04-03 8:49

标题党…多支持了一个系列而已…
几年前都有了
NO DO NO DIE
http://a/%%30%30
flwwater
帖子: 507
注册时间: 2010-10-31 9:15
系统: kubuntu 18.04
送出感谢: 1 次
接收感谢: 13 次

Re: AMD显卡用户有福啦~~~radeon开源驱动硬解功能已经面世

#3

帖子 flwwater » 2013-04-03 9:05

jtshs256 写了:标题党…多支持了一个系列而已…
几年前都有了

radeon开源驱动几年前就支持硬解了 ???
百度网盘 2048G容量 大放送!
百度网盘资源论坛一键保存资源!
flwwater
帖子: 507
注册时间: 2010-10-31 9:15
系统: kubuntu 18.04
送出感谢: 1 次
接收感谢: 13 次

Re: AMD显卡用户有福啦~~~radeon开源驱动硬解功能已经面世

#4

帖子 flwwater » 2013-04-03 9:07

flwwater 写了:
jtshs256 写了:标题党…多支持了一个系列而已…
几年前都有了

radeon开源驱动几年前就支持硬解了 ???
几年前是什么产品? HD4000刚出来吧,支持哪个系列的硬解?
貌似即使到今天HD4000以下的还没有被官方支持,目前仅支持UVD2以上的显卡。未来可能会有对HD2600之类的支持。
百度网盘 2048G容量 大放送!
百度网盘资源论坛一键保存资源!
flwwater
帖子: 507
注册时间: 2010-10-31 9:15
系统: kubuntu 18.04
送出感谢: 1 次
接收感谢: 13 次

Re: AMD显卡用户有福啦~~~radeon开源驱动硬解功能已经面世

#5

帖子 flwwater » 2013-04-03 9:12

几个月后出来的mesa10 , 刚装好系统用chrome之类的看网页视频,CPU占用率不到10%,开箱即用的啊!!! 你的说几年前的那个啥 的支持不 ?
百度网盘 2048G容量 大放送!
百度网盘资源论坛一键保存资源!
flwwater
帖子: 507
注册时间: 2010-10-31 9:15
系统: kubuntu 18.04
送出感谢: 1 次
接收感谢: 13 次

Re: AMD显卡用户有福啦~~~radeon开源驱动硬解代码已经面世

#6

帖子 flwwater » 2013-04-03 16:35

flwwater 写了:Today AMD will be publishing open-source driver code that exposes their Unified Video Decoder (UVD) engine on modern Radeon HD graphics cards. This will finally allow open-source graphics drivers to take advantage of hardware-accelerated video decoding.
今天,AMD linux显卡驱动负责人释出调用GPU UVD模块硬解的代码。支持HD4000 - HD7000系列的显卡。会合并入下一版mesa,DRM驱动会进入linux kernel 3.10

For many years, AMD Linux users have wanted open-source UVD/video-acceleration support to go along with their open-source OpenGL driver. However, it never came until now -- many years after UVD first arrived back in the ATI days. The official reasoning for years was that it's complicated to get any public documentation or open-source code since documenting UVD/UVD2 in the public domain could potentially compromise the Digital Rights Management abilities of their Catalyst driver on other operating systems. Obviously it's in AMD's best business interest to cater towards the much larger Windows market where Digital Rights Management for protected video content is critical, so it's been a sticky and drawn out situation getting open-source UVD support.

AMD has said they were working on some open-source UVD solution for many months, but it was complicated getting legal clearance and frankly many Linux desktop users lost hope of seeing hardware-accelerated video playback outside of the Catalyst blob (in March of last year is when we shared that UVD was going through code review). Thus it was a very huge and welcome surprise when receiving an advance and exclusive notice from AMD a few hours ago. Alex Deucher of AMD shared with Phoronix that tomorrow (3 April, or possibly in the late hours tonight), there will be a code drop of open-source UVD Linux support.

Alex has graciously allowed Phoronix to share this information early with our readers, many of whom will be really excited now that there's finally support for offloading the video playback process to the GPU.

This UVD support will come for the Radeon HD 4000 "R700" graphics cards through the Radeon HD 7000 "Southern Islands" graphics cards. This is effectively UVD2 hardware and newer. There was the original UVD decoder found with the Radeon HD 2000 GPUs and UVD+ to come with the Radeon HD 3000 series, but this support is targetting UVD2 and beyond. The latest generation is UVD3 that was introduced with the Radeon HD 6000 series. UVD3 brought in DivX and Xvid along with Blu-ray 3D and 120Hz Stereo 3D.

This open-source AMD UVD support will allow for accelerated playback of H.264, VC-1, and MPEG variants on the HD 4000 through HD 7000 series GPUs. Interestingly, and to much pleasure, the UVD support is being exposed over VDPAU.

此开源代码支持加速H.264, VC-1, and MPEG , 并且是通过VDPAU来硬解的。

VDPAU, a.k.a. the Video Decode and Presentation API for Unix, was introduced by NVIDIA many years ago for bringing PureVideo support to their Linux driver. After that, AMD introduced XvBA (X-Video Bitstream Acceleration) for an API to expose UVD with the Catalyst driver under Linux. More multimedia Linux software has supported VDPAU than XvBA. XvBA adoption is almost non-existent with just a few video programs supporting the AMD API. There's also VA-API that is backed by Intel and also supported much better by Linux multimedia software than XvBA.

AMD using VDPAU to expose UVD with their open-source Linux graphics driver is a great win for Linux desktop users. There's also been the VDPAU Gallium3D state tracker, which is likely why AMD went with this using this as their video API in order to reduce their workload.

On top of the current AMD Radeon Linux graphics driver code, the UVD support requires changes to their Radeon Direct Rendering Manager driver within the Linux kernel and Mesa. The Linux kernel changes are part of this code drop and should be merged to mainline for the Linux 3.10 kernel. Alex Deucher says the Mesa changes to the Radeon Gallium3D drivers will be immediately merged to master (rather than some code branch) and thus will be part of Mesa 9.1 / Mesa 10.0 when released in several months.

Overall, this is a great day in the open-source AMD history. It's been several months without any exciting open-source AMD news (namely since the introduction of the RadeonSI driver for the HD 7000 series GPUs), but now there's finally the long-awaited open-source video playback support! Great job to all of the developers involved in bringing this much sought after support.

There's no word on any public UVD documentation being released at this time. Hopefully next though will be proper open-source Radeon driver power management, another much sought after feature by Radeon Linux desktop users with no "out of the box" dynamic re-clocking support by default.



附上AMD linux group上传的最新代码地址:
http://lists.freedesktop.org/archives/m ... 37049.html
百度网盘 2048G容量 大放送!
百度网盘资源论坛一键保存资源!
flwwater
帖子: 507
注册时间: 2010-10-31 9:15
系统: kubuntu 18.04
送出感谢: 1 次
接收感谢: 13 次

Re: AMD显卡用户有福啦~~~radeon开源驱动硬解代码已经面世

#7

帖子 flwwater » 2013-04-20 20:36

http://www.phoronix.com/scan.php?page=n ... px=MTM1NDk

How-To Use Open-Source Radeon UVD On Ubuntu
百度网盘 2048G容量 大放送!
百度网盘资源论坛一键保存资源!
回复

回到 “影音多媒体”