source: x/lib/vulkan-loader.xml@ a5de628

12.1 ken/TL2024 lazarus plabs/newcss python3.11 rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since a5de628 was e38d70a, checked in by Xi Ruoyao <xry111@…>, 7 months ago

vulkan-loader: Add mesa as runtime dependency for vulkan drivers

  • Property mode set to 100644
File size: 4.7 KB
Line 
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 vulkan-loader-download-http "https://github.com/KhronosGroup/Vulkan-Loader/archive/refs/tags/v&vulkan-loader-version;/Vulkan-Loader-&vulkan-loader-version;.tar.gz">
8 <!ENTITY vulkan-loader-download-ftp " ">
9 <!ENTITY vulkan-loader-md5sum "6903f9d285afcd1a167ec7c46cbabd49">
10 <!ENTITY vulkan-loader-size "1.6 MB">
11 <!ENTITY vulkan-loader-buildsize "9.8 MB">
12 <!ENTITY vulkan-loader-time "0.1 SBU">
13]>
14
15<sect1 id="vulkan-loader" xreflabel="Vulkan-loader-&vulkan-loader-version;">
16 <?dbhtml filename="vulkan-loader.html"?>
17
18 <title>Vulkan-loader-&vulkan-loader-version;</title>
19
20 <indexterm zone="vulkan-loader">
21 <primary sortas="a-vulkan-loader">Vulkan-loader</primary>
22 </indexterm>
23
24 <sect2 role="package">
25 <title>Introduction to Vulkan-loader</title>
26
27 <para>
28 The <application>Vulkan-loader</application> package contains a library
29 which provides the Vulkan API and provides core support for graphics
30 drivers for Vulkan.
31 </para>
32
33 &lfs120_checked;
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="lxml"/>,
75 <xref linkend="vulkan-headers"/>,
76 <xref linkend="wayland"/>, and
77 <xref linkend="xorg7-lib"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
81 <para role="runtime">
82 <xref linkend="mesa"/> (for Vulkan drivers)
83 </para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of Vulkan-loader</title>
89
90 <note>
91 <para>
92 If this package is being installed on a system where Mesa has already
93 been installed previously, please rebuild <xref linkend="mesa"/> after
94 this package to install Vulkan graphics drivers.
95 </para>
96 </note>
97
98 <para>
99 Install <application>Vulkan-loader</application> by running the following
100 commands:
101 </para>
102
103<screen><userinput>mkdir build &amp;&amp;
104cd build &amp;&amp;
105
106cmake -DCMAKE_INSTALL_PREFIX=/usr \
107 -DCMAKE_BUILD_TYPE=Release \
108 -DCMAKE_SKIP_RPATH=TRUE \
109 -G Ninja .. &amp;&amp;
110ninja</userinput></screen>
111
112 <para>
113 This package does not come with a working test suite.
114 <!-- To run the tests, we need to follow a complex process to download a
115 customized copy of googletest.-->
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>ninja install</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Programs</segtitle>
131 <segtitle>Installed Libraries</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>
136 None
137 </seg>
138 <seg>
139 libvulkan.so
140 </seg>
141 <seg>
142 /usr/lib/cmake/VulkanLoader
143 </seg>
144 </seglistitem>
145 </segmentedlist>
146
147 <variablelist>
148 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
149 <?dbfo list-presentation="list"?>
150 <?dbhtml list-presentation="table"?>
151
152 <varlistentry id="libvulkan">
153 <term><filename class="libraryfile">libvulkan.so</filename></term>
154 <listitem>
155 <para>
156 provides the Vulkan API and core support for graphics drivers
157 </para>
158 <indexterm zone="vulkan-loader libvulkan">
159 <primary sortas="c-libvulkan">libvulkan.so</primary>
160 </indexterm>
161 </listitem>
162 </varlistentry>
163 </variablelist>
164 </sect2>
165</sect1>
Note: See TracBrowser for help on using the repository browser.