[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 " ">
|
---|
[cdbcb24] | 9 | <!ENTITY vulkan-loader-md5sum "db25c5ba4b50a99341ffaa18b4c56424">
|
---|
[cb1ac77] | 10 | <!ENTITY vulkan-loader-size "1.6 MB">
|
---|
[cdbcb24] | 11 | <!ENTITY vulkan-loader-buildsize "9.2 MB">
|
---|
| 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 |
|
---|
[181e069f] | 33 | &lfs121_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 |
|
---|
| 105 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 106 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 107 | -DCMAKE_SKIP_RPATH=TRUE \
|
---|
| 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 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
| 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | libvulkan.so
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
| 141 | /usr/lib/cmake/VulkanLoader
|
---|
| 142 | </seg>
|
---|
| 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="libvulkan">
|
---|
| 152 | <term><filename class="libraryfile">libvulkan.so</filename></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>
|
---|
| 155 | provides the Vulkan API and core support for graphics drivers
|
---|
| 156 | </para>
|
---|
| 157 | <indexterm zone="vulkan-loader libvulkan">
|
---|
| 158 | <primary sortas="c-libvulkan">libvulkan.so</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 | </variablelist>
|
---|
| 163 | </sect2>
|
---|
| 164 | </sect1>
|
---|