Changeset c96921c
- Timestamp:
- 03/08/2013 03:49:03 AM (11 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 5fb5a6cd
- Parents:
- a153d42
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
general.ent
ra153d42 rc96921c 5 5 6 6 <!ENTITY day "04"> <!-- Always 2 digits --> 7 <!ENTITY month "0 6"> <!-- Always 2 digits -->7 <!ENTITY month "07"> <!-- Always 2 digits --> 8 8 <!ENTITY year "2013"> 9 9 <!ENTITY copyrightdate "2001-&year;"> 10 10 <!ENTITY copyholder "The BLFS Development Team"> 11 11 <!ENTITY version "&year;-&month;-&day;"> 12 <!ENTITY releasedate "March 6th, &year;">12 <!ENTITY releasedate "March 7th, &year;"> 13 13 <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> 14 14 <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> -
introduction/welcome/changelog.xml
ra153d42 rc96921c 45 45 --> 46 46 <listitem> 47 <para>March 7th, 2013</para> 48 <itemizedlist> 49 <listitem> 50 <para>[bdubbs] - Fix link to Chineese fonts. Fixes 51 <ulink url="&blfs-ticket-root;3821">#3821</ulink>.</para> 52 </listitem> 53 <listitem> 54 <para>[bdubbs] - Update wording of DRI detection in Xorg 55 configuration.</para> 56 </listitem> 57 </itemizedlist> 58 </listitem> 59 60 <listitem> 47 61 <para>March 6th, 2013</para> 48 62 <itemizedlist> -
postlfs/security/openssl.xml
ra153d42 rc96921c 108 108 109 109 <screen><userinput>patch -Np1 -i ../openssl-&openssl-version;-fix_manpages-1.patch && 110 ./config --prefix=/usr --openssldir=/etc/ssl shared zlib-dynamic && 110 111 ./config --prefix=/usr \ 112 --openssldir=/etc/ssl \ 113 shared \ 114 zlib-dynamic && 111 115 make</userinput></screen> 112 116 -
x/installing/xorg-config.xml
ra153d42 rc96921c 48 48 <para> 49 49 To check if DRI drivers are installed properly, check the log file 50 <filename>/var/log/Xorg.0.log</filename> for statements like:50 <filename>/var/log/Xorg.0.log</filename> for statements such as: 51 51 </para> 52 52 53 53 <screen><literal>(II) intel(0): direct rendering: DRI2 Enabled</literal></screen> 54 55 <para>or</para> 56 57 <screen><literal>(II) NOUVEAU(0): Loaded DRI module</literal></screen> 54 58 55 59 <note> … … 67 71 of the <systemitem class="groupname">video</systemitem> group. 68 72 </para> 69 73 <!-- 70 74 <para> 71 75 To see if hardware acceleration is available for your driver, look in … … 74 78 75 79 <screen><literal>(II) intel(0): direct rendering: DRI2 Enabled</literal></screen> 76 80 --> 77 81 <para> 78 82 If your driver is supported, add any users that might use X to that group: … … 82 86 83 87 <para> 84 If you have installed two OpenGL demo programs when you installed 85 <xref linkend="mesalib"/>, from an X terminal, run <command>glxinfo</command> 88 Another way to determine if DRI is working properly is to use one of the 89 two optionally installed OpenGL demo programs in <xref 90 linkend="mesalib"/>. From an X terminal, run <command>glxinfo</command> 86 91 and look for the phrase: 87 92 </para> … … 98 103 99 104 <para> 100 If DRI2 is enabled, to confirm that DRI2 hardware acceleration is working you can 101 (still in the X terminal) run the command 102 <command>glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"</command> 103 - if that reports something <emphasis>other than</emphasis> 104 <literal>Software Rasterizer</literal> then you have working acceleration for the 105 user who ran the command. 106 </para> 107 108 <para> 109 If your hardware does not have any DRI2 driver available, it will use Software Rasterizer 110 for Direct Rendering. In such cases, it is recommended that you use new, LLVM-accelerated, 111 Software Rasterizer called LLVMPipe. In order to build LLVMPipe just make sure that 112 <xref linkend="llvm"/> is present at MesaLib build time. Please note that all decoding is 113 done on CPU instead of GPU, so expect that things run slower. To check if you are using 114 LLVMpipe, run 115 <command>glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"</command>. 116 An example output is shown below: 105 To confirm that DRI2 hardware acceleration is working, you can (still in 106 the X terminal) run the command <command>glxinfo | egrep "(OpenGL 107 vendor|OpenGL renderer|OpenGL version)"</command>. 108 If that reports something <emphasis>other than</emphasis> 109 <literal>Software Rasterizer</literal> then you have working 110 acceleration for the user who ran the command. 111 </para> 112 113 <para> 114 If your hardware does not have any DRI2 driver available, it will use a 115 Software Rasterizer for Direct Rendering. In such cases, you can use a new, 116 LLVM-accelerated, Software Rasterizer called LLVMPipe. In order to build 117 LLVMPipe just make sure that <xref linkend="llvm"/> is present at MesaLib 118 build time. Note that all decoding is done on the CPU instead of the GPU, 119 so the display will run slower than with hardware acceleration. 120 To check if you are using LLVMpipe, 121 review the output ot the glxinfo command above. An example of the 122 output using the Software Rasterizer is shown below: 117 123 </para> 118 124 … … 122 128 123 129 <para> 124 You can always force LLVMPipe by exporting <envar>LIBGL_ALWAYS_SOFTWARE=1</envar> 125 environment variable. 126 </para> 127 128 <para> 129 Again, if you have built Mesa OpenGL demos, you can also run the test program 130 <command>glxgears</command>. This program brings up a window with three gears 131 turning. The X terminal will display how many frames were drawn every five 132 seconds, so this is a reasonable benchmark. The window is scalable, and the 133 frames drawn per second is highly dependent on the size of the window. On some 134 hardware, <command>glxgears</command> will run synchronized to vertical refresh 135 and framerate will be approximately the same as the monitor refresh rate. 130 You can also force LLVMPipe by exporting the <envar>LIBGL_ALWAYS_SOFTWARE=1</envar> 131 environment variable when starting Xorg. 132 </para> 133 134 <para> 135 Again, if you have built the Mesa OpenGL demos, you can also run the test 136 program <command>glxgears</command>. This program brings up a window with 137 three gears turning. The X terminal will display how many frames were 138 drawn every five seconds, so this will give a rough benchmark. The window 139 is scalable, and the frames drawn per second is highly dependent on the 140 size of the window. On some hardware, <command>glxgears</command> will 141 run synchronized with the vertical refresh signal and the frame rate will 142 be approximately the same as the monitor refresh rate. 136 143 </para> 137 144 … … 151 158 In order to use PRIME for GPU switching, make sure that you are using Linux 152 159 Kernel 3.4 or later (recommended). You will need latest DRI and DDX drivers 153 for your hardware and <application>Xorg Server</application> 1.13 with an154 optional patch applied.160 for your hardware and <application>Xorg Server</application> 1.13 or later 161 with an optional patch applied. 155 162 </para> 156 163 … … 158 165 <application>Xorg Server</application> should load both GPU drivers automaticaly. 159 166 In order to run a GLX application on a discrete GPU, you will need to export 160 <envar>DRI_PRIME=1</envar> environment variable. For example,167 the <envar>DRI_PRIME=1</envar> environment variable. For example, 161 168 162 169 <screen><userinput>DRI_PRIME=1 glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"</userinput></screen> … … 166 173 167 174 <para> 168 If the last command reports same OpenGL renderer with and without <envar>DRI_PRIME=1</envar>,169 you will need to check your installation.175 If the last command reports same OpenGL renderer with and without 176 <envar>DRI_PRIME=1</envar>, you will need to check your installation. 170 177 </para> 171 178 172 179 </sect2> 173 174 <!--175 <sect2 role="configuration" id='X11R6-compat-symlink'176 xreflabel="Creating an X11R6 Compatibility Symlink">177 178 <title>Creating an X11R6 Compatibility Symlink</title>179 180 <para>Until recently (relatively speaking) almost every181 <application>X Window</application> installation you performed or came182 across was installed in the183 <filename class='directory'>/usr/X11R6</filename> directory. That was the184 standard for years. Developers picked up on this and wrote their package185 installation scripts looking for <application>X</application> in the186 standard location. Things have changed and the trend is to now install187 <application>X</application> in188 <filename class='directory'>/usr</filename>. Some people want to install189 it in a custom location.</para>190 191 <para>Many package developers have not caught up to the change and their192 packages are still trying to find <application>X</application> in193 <filename class='directory'>/usr/X11R6</filename> and subsequently fail194 when you try to build the package. Though for most packages it is not195 difficult to 'hack' the installation script to fix the problem, that is not196 the long term solution to the problem. Upstream developers need to modernize197 their installation scripts and eliminate the problem altogether.</para>198 199 <para>Until then, you can create a symbolic link to satisfy the200 <filename class='directory'>/usr/X11R6</filename> requirement so that you201 won't be inconvenienced with a package build failure due to this known202 issue. If you wish to create the symlink, issue the following command as203 the <systemitem class="username">root</systemitem>:</para>204 205 <screen role="root"><userinput>ln -vsf $XORG_PREFIX /usr/X11R6</userinput></screen>206 207 </sect2>208 -->209 180 210 181 <sect2 role="configuration" id="xft-font-protocol" xreflabel="Xft Font Protocol"> … … 292 263 <listitem> 293 264 <para><ulink 294 url="http:// cle.linux.org.tw/fonts/FireFly">Firefly New Sung font</ulink>265 url="http://sourceforge.jp/projects/sfnet_chinesepuppy/downloads/ChineseSupport/Fonts/fireflysung-1.3.0.tar.gz">Firefly New Sung font</ulink> 295 266 - This font provides Chinese coverage. This font is listed in the 296 267 aliases in the … … 300 271 <listitem> 301 272 <para><ulink 302 url="http:// cle.linux.org.tw/fonts/Arphic">Arphic fonts</ulink> -273 url="http://packages.debian.org/sid/fonts-arphic-ukai">Arphic fonts</ulink> - 303 274 A similar set of Chinese fonts to the Firefly New Sung font. 304 275 These fonts are listed in the aliases in the … … 335 306 url="http://unifont.org/fontguide/">Unicode Font Guide</ulink>.</para> 336 307 337 <para>As an example, consider the installation of the DejaVu fonts. From 338 the unpacked source directory, run the following commands as the 339 <systemitem class="username">root</systemitem> user:</para> 308 <para>Rendered examples of many of the above fonts can be found at this 309 <ulink url="http://homepage.ntlworld.com/zarniwhoop/ttf-font-analysis/"> 310 font analysis</ulink> site.</para> 311 312 <para>As a font installation example, consider the installation of the 313 DejaVu fonts. From the unpacked source directory, run the following 314 commands as the <systemitem class="username">root</systemitem> user:</para> 340 315 341 316 <screen role="root"><userinput>install -v -d -m755 /usr/share/fonts/dejavu && … … 347 322 <sect2 role="configuration" id='xconfig'> 348 323 <title>Setting up Xorg Devices</title> 324 349 325 <para>For most hardware configurations, modern Xorg will automatically 350 326 get the server configuration correct without any user intervention. There … … 360 336 <para>A sample default XKB setup could look like the following (executed as 361 337 the <systemitem class="username">root</systemitem> user):</para> 338 362 339 <screen><userinput role="username">cat > /etc/X11/xorg.conf.d/xkb-defaults.conf << "EOF" 363 340 Section "InputClass" … … 371 348 <sect3 id="xdisplay"> 372 349 <title>Fine Tuning Display Settings</title> 350 373 351 <para>Again, with modern Xorg, little or no additional configuration is 374 352 necessary. If you should need extra options passed to your video driver,
Note:
See TracChangeset
for help on using the changeset viewer.