tag:linuxfr.org,2005:/tags/uvd/publicLinuxFr.org : les contenus étiquetés avec « uvd »2013-04-20T16:08:22+02:00/favicon.pngtag:linuxfr.org,2005:Post/325422013-04-20T12:08:46+02:002013-04-20T12:08:46+02:00Problème Décodage matériel des vidéos avec le pilote libre AMD<p>Bonjour,</p>
<p>Cela fait quelques temps que je cherche à lire des vidéos hd avec mon ordinateur. Et je lis qu'il va être possible en utilisant <a href="http://linuxfr.org/news/decodage-materiel-des-videos-avec-le-pilote-libre-amd">des pilotes libres avec AMD</a>.</p>
<p>Pour information j'ai comme carte graphique :</p>
<pre>
<code class="">02:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV670 [Radeon HD 3870] (prog-if 00 [VGA controller])
</code>
</pre>
<p>Je lis une <a href="http://www.phoronix.com/scan.php?page=news_item&px=MTM1NDk">mini-doc</a> pour installer cela avec Ubuntu. Donc j'installe la version 13.04.</p>
<ul><li><p>Installation de toutes les dépendances pour la compilation de mesa :</p>
<p>$ sudo add-apt-repository ppa:xorg-edgers/ppa <br />
$ sudo apt-get update<br />
$ sudo apt-get install libvdpau-dev autoconf2.13 libtool g++ bison flex x11proto-gl-dev libdrm-dev x11proto-dri2-dev libxext-dev libxdamage-dev libx11-xcb-dev libxcb-glx0-dev libxcb-dri2-0-dev libexpat1-dev libdrm-radeon1 libxcb-xfixes0-dev</p></li>
<li><p>Télechargement et installation de mesa :<br />
$ git clone git://anongit.freedesktop.org/mesa/mesa<br />
$ ./autogen.sh --with-gallium-drivers=r600 --enable-vdpau<br />
$ make<br />
$ sudo make install</p></li>
<li><p>Modification du chargement de la bibliothèque pour vdpau. On a donc :<br />
$ cat /etc/ld.so.conf.d/zz_i386-biarch-compat.conf<br />
/lib32<br />
/usr/lib32<br />
/usr/local/lib/vdpau<br />
$ sudo ldconfig</p></li>
<li><p>Installation du noyau particulier (en attendant le 3.10) :<br />
$ wget <a href="http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/drm-next/2013-04-18-raring/linux-headers-3.9.0-996-generic_3.9.0-996.201304180429_amd64.deb">http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/2013-04-18-raring/linux-headers-3.9.0-996-generic_3.9.0-996.201304180429_amd64.deb</a><br />
$ wget <a href="http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/drm-next/2013-04-18-raring/linux-image-3.9.0-996-generic_3.9.0-996.201304180429_amd64.deb">http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/2013-04-18-raring/linux-image-3.9.0-996-generic_3.9.0-996.201304180429_amd64.deb</a><br />
$ wget <a href="http://kernel.ubuntu.com/%7Ekernel-ppa/mainline/drm-next/2013-04-18-raring/linux-headers-3.9.0-996_3.9.0-996.201304180429_all.deb">http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/2013-04-18-raring/linux-headers-3.9.0-996_3.9.0-996.201304180429_all.deb</a><br />
$ sudo dpkg -i linux-*.deb</p></li>
<li><p>Téléchargement des firmwares dans <a href="http://people.freedesktop.org/%7Eagd5f/radeon_ucode/">http://people.freedesktop.org/~agd5f/radeon_ucode/</a> et copie vers /lib/firmware :<br />
$ sudo cp *.bin /lib/firmware/</p></li>
<li><p>Redémarrage.</p></li>
<li><p>vdpau fonctionne sans utiliser les codecs spécifiques à vdpau :<br />
$ mplayer -vo vdpau fichier_video</p></li>
<li><p>vdpau ne fonctionne pas en utilisant les codecs spécifique à vdpau :<br />
$ mplayer -vo vdpau -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau fichier_video</p></li>
<li><p>si je cherche à décoder du h264, j'ai plein de :<br />
[h264_vdpau @ 0xd96380]decoding to PIX_FMT_NONE is not supported.<br />
[h264_vdpau @ 0xd96380]ff_MPV_common_init() failed.<br />
[h264_vdpau @ 0xd96380]decode_slice_header error<br />
[h264_vdpau @ 0xd96380]no frame!<br />
Error while decoding frame!</p></li>
<li><p>si je cherche à décoder du mpeg4, j'ai :<br />
[mpeg4_vdpau @ 0xd96380]decoding to PIX_FMT_NONE is not supported.<br />
Error while decoding frame!</p></li>
</ul><p>Je voudrais savoir si j'ai raté quelques choses ou si simplement le pilote 3d libre n'est pas au point pour la HD (Il manquerait le support de PIX_FMT_NONE).</p><div><a href="https://linuxfr.org/forums/general-general/posts/probleme-decodage-materiel-des-videos-avec-le-pilote-libre-amd.epub">Télécharger ce contenu au format EPUB</a></div> <p>
<strong>Commentaires :</strong>
<a href="//linuxfr.org/nodes/98070/comments.atom">voir le flux Atom</a>
<a href="https://linuxfr.org/forums/general-general/posts/probleme-decodage-materiel-des-videos-avec-le-pilote-libre-amd#comments">ouvrir dans le navigateur</a>
</p>
Jarvishttps://linuxfr.org/nodes/98070/comments.atom