[bc07d23] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libvdpau-va-gl-download-http "https://github.com/i-rinat/libvdpau-va-gl/archive/v&libvdpau-va-gl-version;.tar.gz">
|
---|
| 8 | <!ENTITY libvdpau-va-gl-download-ftp " ">
|
---|
| 9 | <!ENTITY libvdpau-va-gl-md5sum "09ceb2f75eafccc9b002d35ede0de6a5">
|
---|
| 10 | <!ENTITY libvdpau-va-gl-size "100 KB">
|
---|
| 11 | <!ENTITY libvdpau-va-gl-buildsize "4.0 MB">
|
---|
| 12 | <!ENTITY libvdpau-va-gl-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libvdpau-va-gl" xreflabel="libvdpau-va-gl-&libvdpau-va-gl-version;">
|
---|
| 16 | <?dbhtml filename="libvdpau-va-gl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libvdpau-va-gl-&libvdpau-va-gl-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libvdpau-va-gl">
|
---|
| 26 | <primary sortas="a-libvdpau-va-gl">libvdpau-va-gl</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libvdpau-va-gl</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>libvdpau-va-gl</application> package contains
|
---|
| 34 | the VDPAU driver for hardware that supports VAAPI.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
| 37 | &lfs75_checked;
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&libvdpau-va-gl-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&libvdpau-va-gl-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &libvdpau-va-gl-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &libvdpau-va-gl-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &libvdpau-va-gl-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &libvdpau-va-gl-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <note>
|
---|
| 74 | <para>
|
---|
| 75 | The tarball name for libvdpau-va-gl does not include
|
---|
| 76 | the package name, although it does expand to
|
---|
| 77 | libvdpau-va-gl-&libvdpau-va-gl-version;.
|
---|
| 78 | The file should be renamed after downloading:
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <screen><command>mv v&libvdpau-va-gl-version;.tar.gz libvdpau-va-gl-&libvdpau-va-gl-version;.tar.gz</command></screen>
|
---|
| 82 | </note>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect3">libvdpau-va-gl Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="cmake"/>,
|
---|
| 89 | <xref linkend="ffmpeg"/>,
|
---|
| 90 | <xref linkend="glu"/>,
|
---|
| 91 | <xref linkend="libva"/>, and
|
---|
| 92 | <xref linkend="libvdpau"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">
|
---|
| 96 | User Notes: <ulink url="&blfs-wiki;/libvdpau-va-gl"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of libvdpau-va-gl</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>libvdpau-va-gl</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput>cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release &&
|
---|
| 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | To test the results, issue: <command>make check</command> from an X terminal.
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
| 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 128 | to apply higher level of the compiler optimizations.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="using">
|
---|
| 134 | <title>Using libvdpau-va-gl</title>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
| 137 | To use this driver with VDPAU apps, you need to set the <envar>VDPAU_DRIVER</envar>
|
---|
| 138 | environment variable to <parameter>va_gl</parameter>.
|
---|
| 139 | </para>
|
---|
| 140 |
|
---|
| 141 | <para>
|
---|
| 142 | You can permanently set the environment variable by expanding the system
|
---|
| 143 | wide configuration. Run the following command as the
|
---|
| 144 | <systemitem class="username">root</systemitem> user:
|
---|
| 145 | </para>
|
---|
| 146 |
|
---|
| 147 | <screen role="root"><userinput>cat > /etc/profile.d/libvdpau-va-gl.sh << "EOF"
|
---|
| 148 | <literal># Begin /etc/profile.d/libvdpau-va-gl.sh
|
---|
| 149 |
|
---|
| 150 | export VDPAU_DRIVER=va_gl
|
---|
| 151 |
|
---|
| 152 | # End /etc/profile.d/libvdpau-va-gl.sh</literal>
|
---|
| 153 | EOF</userinput></screen>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed VDPAU Driver</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
| 165 | libvdpau_va_gl.so
|
---|
| 166 | </seg>
|
---|
| 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
| 169 |
|
---|
| 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="libvdpau_va_gl">
|
---|
| 176 | <term><filename class="libraryfile">libvdpau_va_gl.so</filename></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
| 179 | is a VDPAU driver for hardware that supports VAAPI.
|
---|
| 180 | </para>
|
---|
| 181 | <indexterm zone="libvdpau-va-gl libvdpau_va_gl">
|
---|
| 182 | <primary sortas="c-libvdpau_va_gl">libvdpau_va_gl.so</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|