Changeset 5b5c0e9 for x/installing/mesalib-systemd.xml
- Timestamp:
- 10/26/2014 11:23:17 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- d72fae5a
- Parents:
- 44ae5736
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
x/installing/mesalib-systemd.xml
r44ae5736 r5b5c0e9 7 7 <!ENTITY mesalib-download-http " "> 8 8 <!ENTITY mesalib-download-ftp 9 "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">9 "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2"> 10 10 <!ENTITY mesalib-md5sum "c0a2a975899c4e7485124b388c16cd2f"> 11 11 <!ENTITY mesalib-size "7.0 MB"> 12 <!ENTITY mesalib-buildsize "25 3 MB (additional 2 MB for the docs)">12 <!ENTITY mesalib-buildsize "255 MB"> 13 13 <!ENTITY mesalib-time "5.2 SBU"> 14 15 14 ]> 16 15 … … 87 86 <bridgehead renderas="sect4">Required</bridgehead> 88 87 <para role="required"> 89 <xref linkend=" xorg7-lib"/>,90 <xref linkend=" libdrm"/>,and91 <xref linkend=" python2"/>88 <xref linkend="libdrm"/>, 89 <xref linkend="python2"/> and 90 <xref linkend="xorg7-lib"/> 92 91 </para> 93 92 94 93 <bridgehead renderas="sect4">Recommended</bridgehead> 95 94 <para role="recommended"> 96 <xref linkend="elfutils"/> (required for radeon 3ddrivers),97 <xref linkend="libvdpau"/> (to build VDPAU drivers ),98 <xref linkend="llvm"/> (required for radeon 3ddrivers and also for95 <xref linkend="elfutils"/> (required for Radeon 3D drivers), 96 <xref linkend="libvdpau"/> (to build VDPAU drivers for supported hardware), 97 <xref linkend="llvm"/> (required for Radeon 3D drivers and also for 99 98 llvmpipe which is intended to be the fastest of the three sw rasterizers, 100 see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink> ) 99 see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink>) and 100 <xref linkend="wayland"/> (required for <filename>libwayland-egl</filename> 101 library which is used by many packages that use 102 <application>Wayland</application>) 101 103 </para> 102 104 103 105 <bridgehead renderas="sect4">Optional</bridgehead> 104 106 <para role="optional"> 105 <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink> 106 provides more than 300 extra demos to test 107 <application>MesaLib</application>; two of them overwrites the ones 108 included by 109 <filename>MesaLib-&mesalib-version;-add_xdemos-1.patch</filename>; 110 to avoid that, install in a different prefix or add, e.g. 111 <option>--program-prefix=md</option> to configure, and 112 <ulink url="http://wayland.freedesktop.org/">Wayland</ulink> 107 <ulink url="http://libclc.llvm.org/">libclc</ulink> 108 (to build Radeon OpenCL library) and 109 <ulink url="http://omxil.sourceforge.net/">libomxil-bellagio</ulink> 110 (to build Radeon OpenMAX driver) 113 111 </para> 114 112 … … 120 118 Please note that <application>elfutils</application> and 121 119 <application>LLVM</application> are <emphasis>required</emphasis> 122 for Radeon 3D drivers. For an explanation of gallium please see120 for Radeon 3D drivers. For an explanation of Gallium please see 123 121 <ulink url="https://en.wikipedia.org/wiki/Gallium3D"></ulink>. 124 122 </para> … … 156 154 </para> 157 155 158 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \ 159 --prefix=$XORG_PREFIX \ 160 --sysconfdir=/etc \ 161 --enable-texture-float \ 162 --enable-gles1 \ 163 --enable-gles2 \ 164 --enable-openvg \ 165 --enable-osmesa \ 166 --enable-xa \ 167 --enable-gbm \ 168 --enable-gallium-egl \ 169 --enable-gallium-gbm \ 170 --enable-glx-tls \ 171 --with-egl-platforms="drm,x11" \ 156 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \ 157 --prefix=/usr \ 158 --sysconfdir=/etc \ 159 --disable-gallium-egl \ 160 --enable-texture-float \ 161 --enable-gles1 \ 162 --enable-gles2 \ 163 --enable-osmesa \ 164 --enable-xa \ 165 --enable-gbm \ 166 --enable-glx-tls \ 167 --with-egl-platforms="drm,x11,wayland" \ 172 168 --with-gallium-drivers="nouveau,r300,r600,radeonsi,svga,swrast" && 173 169 make</userinput></screen> … … 178 174 </para> 179 175 180 <screen><userinput>make -C xdemos DEMOS_PREFIX= $XORG_PREFIX</userinput></screen>176 <screen><userinput>make -C xdemos DEMOS_PREFIX=/usr</userinput></screen> 181 177 182 178 <para> … … 196 192 </para> 197 193 198 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX= $XORG_PREFIXinstall</userinput></screen>194 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=/usr install</userinput></screen> 199 195 200 196 <para> … … 211 207 <sect2 role="commands"> 212 208 <title>Command Explanations</title> 213 214 <para>215 <command>patch -Np1...</command>: Fix various problems216 introduced with LLVM-3.5.0.217 </para>218 209 219 210 <para> … … 226 217 227 218 <para> 219 <parameter>--disable-gallium-egl</parameter>: This switch disables 220 the egl_gallium loader in favor of egl_dri2 loader which supports 221 both DRI and Gallium drivers. 222 </para> 223 224 <para> 228 225 <parameter>--enable-texture-float</parameter>: This switch enables 229 226 floating-point textures and render buffers. Please consult … … 243 240 244 241 <para> 245 <parameter>--enable-openvg</parameter>: This switch enables support for246 OpenVG API.247 </para>248 249 <para>250 242 <parameter>--enable-osmesa</parameter>: This switch enables building of 251 243 the <filename class="libraryfile">libOSMesa</filename> library. … … 263 255 264 256 <para> 265 <parameter>--enable-gallium-egl</parameter>: This switch enables optional266 EGL state tracker for Gallium.267 </para>268 269 <para>270 257 <parameter>--enable-gallium-gbm</parameter>: This switch enables optional 271 258 GBM state tracker for Gallium. … … 280 267 <parameter>--with-egl-platforms="..."</parameter>: This parameter 281 268 controls for which platforms EGL should be built. Available 282 platforms are drm, x11 and wayland. 269 platforms are drm, x11 and wayland. Remove <option>wayland</option> 270 from the list if you have not installed 271 <application>Wayland</application>. 283 272 </para> 284 273 … … 296 285 enable experimental R600 <application>LLVM</application> backend 297 286 for graphics shaders which claims to speed up the driver. 298 </para>299 300 <para>301 <option>--enable-sysfs</option>: Use this switch to enable simple PCI302 identification method, required for building DRI on systems without udev.303 287 </para> 304 288 … … 324 308 libGLESv2.so, 325 309 libGL.so, 326 libO penVG.so,327 lib OSMesa.so, and310 libOSMesa.so, 311 libwayland-egl.so, and 328 312 libxatracker.so 329 <!--libXvMCnouveau.so and libXvMCr600.so-->330 313 </seg> 331 314 <seg> 332 $XORG_PREFIX/include/EGL, 333 $XORG_PREFIX/include/GL, 334 $XORG_PREFIX/include/GLES, 335 $XORG_PREFIX/include/GLES2, 336 $XORG_PREFIX/include/GLES3, 337 $XORG_PREFIX/include/KHR, 338 $XORG_PREFIX/include/VG, 339 $XORG_PREFIX/lib/dri, 340 $XORG_PREFIX/lib/egl, 341 $XORG_PREFIX/lib/gbm, 342 $XORG_PREFIX/lib/vdpau, and 315 /usr/include/EGL, 316 /usr/include/GL, 317 /usr/include/GLES, 318 /usr/include/GLES2, 319 /usr/include/GLES3, 320 /usr/include/KHR, 321 /usr/include/VG, 322 /usr/lib/dri, 323 /usr/lib/egl, 324 /usr/lib/gallium-pipe, 325 /usr/lib/gbm, 326 /usr/lib/vdpau, and 343 327 /usr/share/doc/MesaLib-&mesalib-version; (optional) 344 328 </seg> … … 439 423 </varlistentry> 440 424 441 <varlistentry id="libOpenVG">442 <term><filename class="libraryfile">libOpenVG.so</filename></term>443 <listitem>444 <para>445 is the <application>Mesa</application> OpenVG 1.0 library.446 </para>447 <indexterm zone="mesalib libOpenVG">448 <primary sortas="c-libOpenVG">libOpenVG.so</primary>449 </indexterm>450 </listitem>451 </varlistentry>452 453 425 <varlistentry id="libOSMesa"> 454 426 <term><filename class="libraryfile">libOSMesa.so</filename></term> … … 463 435 </varlistentry> 464 436 437 <varlistentry id="libwayland-egl"> 438 <term><filename class="libraryfile">libwayland-egl.so</filename></term> 439 <listitem> 440 <para> 441 is the <application>Wayland</application> specific EGL library. 442 </para> 443 <indexterm zone="mesalib libwayland-egl"> 444 <primary sortas="c-libwayland-egl">libwayland-egl.so</primary> 445 </indexterm> 446 </listitem> 447 </varlistentry> 448 465 449 <varlistentry id="libxatracker"> 466 450 <term><filename class="libraryfile">libxatracker.so</filename></term>
Note:
See TracChangeset
for help on using the changeset viewer.