
好纠结。 开源驱动虽说解码能力多了不少,但是怎么感觉和catalyst的vaapi比起来,差好多啊!

错觉么,哪里弄错了,求前辈指导个方向

poloshiao 写了:這裏有許多 UVD 的最新測試報告
http://www.phoronix.com/scan.php?page=search&q=UVD
先谢谢前辈了。poloshiao 写了:看看這一篇 能否幫你
How-To Use Open-Source Radeon UVD On Ubuntu
http://www.phoronix.com/scan.php?page=n ... px=MTM1NDk
注意 是開源驅動 Radeon 不是閉源驅動 catalyst
另外 Linux kernel 3.10 以後才支援 UVD
所以必須是 Ubuntu 13.10 以上的版本
如果是 Ubuntu 12.04 以後的版本 必須安裝 LTSEnablementStack 的
linux-generic-lts-saucy xserver-xorg-lts-saucy 套件
參考
viewtopic.php?p=3059955#p3059955
viewtopic.php?p=3060948#p3060948
上面說的是 Linux Kernel 3.10kernel 3.12的版本是否也需要drm-next的版本,还是说从3.12开始内核直接支援UVD?3.12开始内核直接支援UVD?不用patch吗?
其中步驟就包含從- Install the VDPAU header files: sudo apt-get install libvdpau-dev.
- Rebuild Mesa against the latest mainline Git master code using the following configure arguments: --with-gallium-drivers=r600 --enable-vdpau.
- Add an entry in /etc/ld.so.conf.d/z.conf for /usr/local/lib/vdpau followed by running ldconfig.
- Install the latest drm-next kernel offered on this web-page (until Linux 3.10 kernel test releases begin appearing).
- Install the UVD firmware for your particular hardware (if unsure, it's safe as well to just download all of the firmware files) and then drop them in /lib/firmware. The updated microcode files for the Radeon GPUs are available from this directory.
- Reboot the system.
- Launch a VDPAU-enabled video player.
參見ldconfig这边的作用是什么?
之后是尝试了一下开源驱动,平常不玩游戏,浏览浏览网页还好,视频硬件解码格式开源驱动支持倒是挺多的,没多大问题。poloshiao 写了:上面說的是 Linux Kernel 3.10kernel 3.12的版本是否也需要drm-next的版本,还是说从3.12开始内核直接支援UVD?3.12开始内核直接支援UVD?不用patch吗?
你這裏的 3.12 不知是不是 筆誤 還是有其它含義
從這句話
Aside from needing the newer kernel, there's also user-space bits that need to be updated.
意思是 除了 新核心以外 user-space 也需要 更新
以下就是該篇文章舉例的啓動支援 UVD 的方法 適用於 Radeon HD 4000 或更新的顯卡型號其中步驟就包含從- Install the VDPAU header files: sudo apt-get install libvdpau-dev.
- Rebuild Mesa against the latest mainline Git master code using the following configure arguments: --with-gallium-drivers=r600 --enable-vdpau.
- Add an entry in /etc/ld.so.conf.d/z.conf for /usr/local/lib/vdpau followed by running ldconfig.
- Install the latest drm-next kernel offered on this web-page (until Linux 3.10 kernel test releases begin appearing).
- Install the UVD firmware for your particular hardware (if unsure, it's safe as well to just download all of the firmware files) and then drop them in /lib/firmware. The updated microcode files for the Radeon GPUs are available from this directory.
- Reboot the system.
- Launch a VDPAU-enabled video player.
http://kernel.ubuntu.com/~kernel-ppa/ma ... 18-raring/
下載 drm-next kernel 核心
下面還有 16 篇評論文章 你也可以看看參見ldconfig这边的作用是什么?
http://manpages.ubuntu.com/manpages/sau ... fig.8.html
ldconfig - configure dynamic linker run-time bindings
DESCRIPTION
ldconfig creates the necessary links and cache to the most recent
shared libraries found in the directories specified on the command
line, in the file /etc/ld.so.conf, and in the trusted directories (/lib
and /usr/lib). ... 以下省略 請自行參閱