Changeset 01b4c19a
- Timestamp:
- 07/23/2014 12:27:44 AM (10 years ago)
- Branches:
- systemd-11177
- Children:
- b9893e6
- Parents:
- 0afc4ddf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/mesalib-systemd.xml
r0afc4ddf r01b4c19a 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 <!-- <!ENTITY mesalib-download-ftp 11 "ftp://ftp.freedesktop.org/pub/mesa/&mesalib-version;/MesaLib-&mesalib-version;.tar.bz2">--> 10 12 <!ENTITY mesalib-md5sum "11d3542da1b703618634be840a87b0b2"> 11 13 <!ENTITY mesalib-size "6.9 MB"> … … 95 97 <bridgehead renderas="sect4">Recommended</bridgehead> 96 98 <para role="recommended"> 97 <xref linkend="elfutils"/> (required for Radeon 3Ddrivers),98 <xref linkend="libvdpau"/> (to build VDPAU drivers for supported hardware),99 <xref linkend="llvm"/> (required for Radeon 3Ddrivers and also for99 <xref linkend="elfutils"/> (required for radeon 3d drivers), 100 <xref linkend="libvdpau"/> (to build VDPAU drivers), 101 <xref linkend="llvm"/> (required for radeon 3d drivers and also for 100 102 llvmpipe which is intended to be the fastest of the three sw rasterizers, 101 see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink>) and 102 <xref linkend="wayland"/> (required for <filename>libwayland-egl</filename> 103 library which is used by many packages that use 104 <application>Wayland</application>) 103 see <ulink url="http://www.mesa3d.org/faq.html#part3"></ulink> ) 105 104 </para> 106 105 107 106 <bridgehead renderas="sect4">Optional</bridgehead> 108 107 <para role="optional"> 109 <ulink url="http://libclc.llvm.org/">libclc</ulink> 110 (to build Radeon OpenCL library) and 111 <ulink url="http://omxil.sourceforge.net/">libomxil-bellagio</ulink> 112 (to build Radeon OpenMAX driver) 108 <ulink url="ftp://ftp.freedesktop.org/pub/mesa/demos/">mesa-demos</ulink> 109 provides more than 300 extra demos to test 110 <application>MesaLib</application>; two of them overwrites the ones 111 included by 112 <filename>MesaLib-&mesalib-version;-add_xdemos-1.patch</filename>; 113 to avoid that, install in a different prefix or add, e.g. 114 <option>--program-prefix=md</option> to configure, and 115 <xref linkend="wayland"/> 113 116 </para> 114 117 … … 120 123 Please note that <application>elfutils</application> and 121 124 <application>LLVM</application> are <emphasis>required</emphasis> 122 for Radeon 3D drivers. For an explanation of gallium please see125 for Radeon 3D drivers. For an explanation of gallium please see 123 126 <ulink url="https://en.wikipedia.org/wiki/Gallium3D"></ulink>. 124 127 </para> … … 164 167 </para> 165 168 166 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \167 --prefix= /usr\168 --sysconfdir=/etc \169 --enable-texture-float \170 --enable-gles1 \171 --enable-gles2 \172 --enable-o penvg\173 --enable- osmesa\174 --enable- xa\175 -- enable-gbm\176 --enable-gallium- egl\177 --enable- gallium-gbm\178 --enable-glx-tls \179 --with-egl-platforms=" drm,x11,wayland" \180 --with-gallium-drivers="nouveau,r300,r600,radeonsi,s vga,swrast" &&169 <screen><userinput>./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" \ 170 --prefix=$XORG_PREFIX \ 171 --sysconfdir=/etc \ 172 --enable-texture-float \ 173 --enable-gles1 \ 174 --enable-gles2 \ 175 --enable-osmesa \ 176 --enable-xa \ 177 --enable-gbm \ 178 --disable-gallium-egl \ 179 --enable-gallium-gbm \ 180 --enable-shared-glapi \ 181 --enable-glx-tls \ 182 --with-egl-platforms="x11,wayland,drm" \ 183 --with-gallium-drivers="nouveau,r300,r600,radeonsi,swrast" && 181 184 make</userinput></screen> 182 185 … … 186 189 </para> 187 190 188 <screen><userinput>make -C xdemos DEMOS_PREFIX= /usr</userinput></screen>191 <screen><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX</userinput></screen> 189 192 190 193 <para> … … 204 207 </para> 205 208 206 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX= /usrinstall</userinput></screen>209 <screen role="root"><userinput>make -C xdemos DEMOS_PREFIX=$XORG_PREFIX install</userinput></screen> 207 210 208 211 <para> … … 246 249 247 250 <para> 251 <parameter>--disable-gallium-egl</parameter>: This switch disables 252 the egl_gallium loader so that on Intel 915 and 965 hardware we 253 avoid harmless error messages at runtime. The real Gallium drivers 254 will be built as DRI drivers, which egl_dri2 loader will load just fine. 255 </para> 256 257 <para> 248 258 <parameter>--enable-openvg</parameter>: This switch enables support for 249 OpenVG API. 259 OpenVG API. In order to use this switch you will need to replace 260 <parameter>--disable-gallium-egl</parameter> with 261 <parameter>--enable-gallium-egl</parameter>. 250 262 </para> 251 263 … … 281 293 282 294 <para> 295 <parameter>--enable-shared-glapi</parameter>: This switch makes libGL 296 use the shared libglapi which is required if applications mix 297 OpenGL and OpenGL ES. 298 </para> 299 300 <para> 283 301 <parameter>--with-egl-platforms="..."</parameter>: This parameter 284 302 controls for which platforms EGL should be built. Available 285 platforms are drm, x11 and wayland. Remove <option>wayland</option> 286 from the list if you have not installed 287 <application>Wayland</application>. 303 platforms are drm, x11 and wayland. 288 304 </para> 289 305 … … 318 334 </seg> 319 335 <seg> 320 libEGL.so, 321 libgbm.so, 322 libglapi.so, 323 libGLESv1_CM.so, 336 libGL.so, 337 libEGL.so, 338 libGLESv1_CM.so, 324 339 libGLESv2.so, 325 libGL.so, 326 libOSMesa.so, 327 libOpenVG.so, 328 libwayland-egl.so, and 329 libxatracker.so 340 libOSMesa.so, 341 libgbm.so, 342 libglapi.so, 343 libxatracker.so, 344 libwayland-egl.so, 345 <!--libXvMCnouveau.so and libXvMCr600.so--> and 346 several libs under /usr/lib/{dri,egl,gallium-pipe,gbm,vdpau} 330 347 </seg> 331 348 <seg> 332 /usr/include/EGL,333 /usr/include/GL,334 /usr/include/GLES,335 /usr/include/GLES2,336 /usr/include/GLES3,337 /usr/include/KHR,338 /usr/include/VG,339 /usr/lib/dri,340 /usr/lib/egl,341 /usr/lib/gallium-pipe,342 /usr/lib/gbm,343 /usr/lib/vdpau, and349 $XORG_PREFIX/include/EGL, 350 $XORG_PREFIX/include/GL, 351 $XORG_PREFIX/include/GLES, 352 $XORG_PREFIX/include/GLES2, 353 $XORG_PREFIX/include/GLES3, 354 $XORG_PREFIX/include/KHR, 355 $XORG_PREFIX/include/VG, 356 $XORG_PREFIX/lib/dri, 357 $XORG_PREFIX/lib/egl, 358 $XORG_PREFIX/lib/gallium-pipe, 359 $XORG_PREFIX/lib/gbm, 360 $XORG_PREFIX/lib/vdpau, and 344 361 /usr/share/doc/MesaLib-&mesalib-version; (optional) 345 362 </seg> … … 440 457 </varlistentry> 441 458 442 <varlistentry id="lib OpenVG">443 <term><filename class="libraryfile">lib OpenVG.so</filename></term>444 <listitem> 445 <para> 446 is the <application>Mesa</application> OpenVG 1.0library.447 </para> 448 <indexterm zone="mesalib lib OpenVG">449 <primary sortas="c-lib OpenVG">libOpenVG.so</primary>459 <varlistentry id="libwayland-egl"> 460 <term><filename class="libraryfile">libwayland-egl.so</filename></term> 461 <listitem> 462 <para> 463 is the <application>Mesa</application> Wayland framebuffer library. 464 </para> 465 <indexterm zone="mesalib libwayland-egl"> 466 <primary sortas="c-libwayland-egl">libwayland-egl.so</primary> 450 467 </indexterm> 451 468 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.