[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[cb1ac77] | 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 |
|
---|
[a80c832] | 7 | <!ENTITY vulkan-loader-download-http "https://github.com/KhronosGroup/Vulkan-Loader/archive/v&vulkan-loader-version;/Vulkan-Loader-&vulkan-loader-version;.tar.gz">
|
---|
[cb1ac77] | 8 | <!ENTITY vulkan-loader-download-ftp " ">
|
---|
[80f1ed67] | 9 | <!ENTITY vulkan-loader-md5sum "fcb0a2049fe5d836e0b166e1a15d868c">
|
---|
[cb1ac77] | 10 | <!ENTITY vulkan-loader-size "1.6 MB">
|
---|
[c92e5e0] | 11 | <!ENTITY vulkan-loader-buildsize "9.3 MB">
|
---|
[cdbcb24] | 12 | <!ENTITY vulkan-loader-time "less than 0.1 SBU">
|
---|
[cb1ac77] | 13 | ]>
|
---|
| 14 |
|
---|
[b1f1d2fd] | 15 | <sect1 id="vulkan-loader" xreflabel="Vulkan-Loader-&vulkan-loader-version;">
|
---|
[cb1ac77] | 16 | <?dbhtml filename="vulkan-loader.html"?>
|
---|
| 17 |
|
---|
[b1f1d2fd] | 18 | <title>Vulkan-Loader-&vulkan-loader-version;</title>
|
---|
[cb1ac77] | 19 |
|
---|
| 20 | <indexterm zone="vulkan-loader">
|
---|
[b1f1d2fd] | 21 | <primary sortas="a-vulkan-loader">Vulkan-Loader</primary>
|
---|
[cb1ac77] | 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
[b1f1d2fd] | 25 | <title>Introduction to Vulkan-Loader</title>
|
---|
[cb1ac77] | 26 |
|
---|
| 27 | <para>
|
---|
[b1f1d2fd] | 28 | The <application>Vulkan-Loader</application> package contains a library
|
---|
[cb1ac77] | 29 | which provides the Vulkan API and provides core support for graphics
|
---|
| 30 | drivers for Vulkan.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[d4dc5bae] | 33 | &lfs122_checked;
|
---|
[cb1ac77] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&vulkan-loader-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&vulkan-loader-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &vulkan-loader-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &vulkan-loader-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &vulkan-loader-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &vulkan-loader-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">Vulkan-loader Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
| 73 | <xref linkend="cmake"/>,
|
---|
| 74 | <xref linkend="vulkan-headers"/>,
|
---|
| 75 | <xref linkend="wayland"/>, and
|
---|
| 76 | <xref linkend="xorg7-lib"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
[e38d70a] | 79 | <bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
|
---|
| 80 | <para role="runtime">
|
---|
| 81 | <xref linkend="mesa"/> (for Vulkan drivers)
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
[cb1ac77] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
[b1f1d2fd] | 87 | <title>Installation of Vulkan-Loader</title>
|
---|
[cb1ac77] | 88 |
|
---|
[1a574e0f] | 89 | <note>
|
---|
| 90 | <para>
|
---|
| 91 | If this package is being installed on a system where Mesa has already
|
---|
| 92 | been installed previously, please rebuild <xref linkend="mesa"/> after
|
---|
| 93 | this package to install Vulkan graphics drivers.
|
---|
| 94 | </para>
|
---|
| 95 | </note>
|
---|
| 96 |
|
---|
[cb1ac77] | 97 | <para>
|
---|
[b1f1d2fd] | 98 | Install <application>Vulkan-Loader</application> by running the following
|
---|
[cb1ac77] | 99 | commands:
|
---|
| 100 | </para>
|
---|
| 101 |
|
---|
| 102 | <screen><userinput>mkdir build &&
|
---|
| 103 | cd build &&
|
---|
| 104 |
|
---|
[e8c1e9d] | 105 | cmake -D CMAKE_INSTALL_PREFIX=/usr \
|
---|
| 106 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 107 | -D CMAKE_SKIP_INSTALL_RPATH=ON \
|
---|
[cb1ac77] | 108 | -G Ninja .. &&
|
---|
| 109 | ninja</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | This package does not come with a working test suite.
|
---|
| 113 | <!-- To run the tests, we need to follow a complex process to download a
|
---|
| 114 | customized copy of googletest.-->
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
[846bcc9] | 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
| 128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 129 | href="../../xincludes/cmake-skip-install-rpath.xml"/>
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
[cb1ac77] | 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
| 136 | <segtitle>Installed Programs</segtitle>
|
---|
| 137 | <segtitle>Installed Libraries</segtitle>
|
---|
| 138 | <segtitle>Installed Directories</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
| 141 | <seg>
|
---|
| 142 | None
|
---|
| 143 | </seg>
|
---|
| 144 | <seg>
|
---|
| 145 | libvulkan.so
|
---|
| 146 | </seg>
|
---|
| 147 | <seg>
|
---|
| 148 | /usr/lib/cmake/VulkanLoader
|
---|
| 149 | </seg>
|
---|
| 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="libvulkan">
|
---|
| 159 | <term><filename class="libraryfile">libvulkan.so</filename></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>
|
---|
| 162 | provides the Vulkan API and core support for graphics drivers
|
---|
| 163 | </para>
|
---|
| 164 | <indexterm zone="vulkan-loader libvulkan">
|
---|
| 165 | <primary sortas="c-libvulkan">libvulkan.so</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 | </variablelist>
|
---|
| 170 | </sect2>
|
---|
| 171 | </sect1>
|
---|