Changeset 6039a39


Ignore:
Timestamp:
08/27/2017 11:41:00 AM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
8187409
Parents:
94417dc
Message:

Remove PRIME patch, augment Hybrid graphics instructions
+ one unrelated tag

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19111 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r94417dc r6039a39  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "26">                   <!-- Always 2 digits -->
     3<!ENTITY day          "27">                   <!-- Always 2 digits -->
    44<!ENTITY month        "08">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2017">
     
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "August 26th, &year;">
     9<!ENTITY releasedate  "August 27th, &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r94417dc r6039a39  
    4242    </listitem>
    4343-->
     44
     45    <listitem>
     46      <para>August 27th, 2017</para>
     47      <itemizedlist>
     48        <listitem>
     49          <para>[pierre] - Remove PRIME patch for xorg-server, and augment
     50          instructions about Hybrid graphics in <quote>Xorg-7 Testing and
     51          Configuration</quote>. Fixes
     52          <ulink url="&blfs-ticket-root;9636">#9636</ulink>.</para>
     53        </listitem>
     54      </itemizedlist>
     55    </listitem>
    4456
    4557    <listitem>
  • postlfs/editors/vim.xml

    r94417dc r6039a39  
    4242    <application>X</application> support is automatically detected.</para>
    4343
    44     &lfs80_checked;
     44    &lfs81_checked;
    4545
    4646    <bridgehead renderas="sect3">Package Information</bridgehead>
  • x/installing/xorg-config.xml

    r94417dc r6039a39  
    193193      Linux Kernel 3.4 or later (recommended). You will need latest DRI and
    194194      DDX drivers for your hardware and <application>Xorg Server</application>
    195       1.13 or later with an optional patch applied.
     195      1.13 or later.
    196196    </para>
    197197
    198198    <para>
    199199      <application>Xorg Server</application> should load both GPU drivers
    200       automaticaly.  In order to run a GLX application on a discrete GPU, you
    201       will need to export the <envar>DRI_PRIME=1</envar> environment variable.
    202       For example,
     200      automaticaly. You can check that by running:
     201    </para>
     202
     203<screen><userinput>xrandr --listproviders</userinput></screen>
     204
     205    <para>
     206      There should be two (or more) providers listed, for example:
     207    </para>
     208
     209<screen><computeroutput>Providers: number : 2
     210Provider 0: id: 0x7d cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:Intel
     211Provider 1: id: 0x56 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 6 outputs: 1 associated providers: 1 name:radeon</computeroutput></screen>
     212
     213    <para>
     214      In order to be able to run a GLX application on a discrete GPU, you will
     215      need to run the following command, where &lt;provider&gt; is the more
     216      powerful discrete card, and &lt;sink&gt; is the card which has a display
     217      connected:
     218    </para>
     219
     220<screen><userinput>xrandr --setprovideroffloadsink <replaceable>&lt;provider&gt; &lt;sink&gt;</replaceable></userinput></screen>
     221
     222    <note>
     223      <para>
     224        With newer <application>Xorg</application> drivers, such as modesetting
     225        or intel, which are DRI3 capable, the above command is no longer
     226        necessary. It does no harm however.
     227      </para>
     228    </note>
     229
     230    <para>
     231      Then, you will need to export the <envar>DRI_PRIME=1</envar> environment
     232      variable each time you want the powerful GPU to be used. For example,
    203233
    204234<screen><userinput>DRI_PRIME=1 glxinfo | egrep "(OpenGL vendor|OpenGL renderer|OpenGL version)"</userinput></screen>
  • x/installing/xorg-server.xml

    r94417dc r6039a39  
    7070      </listitem>
    7171    </itemizedlist>
    72 
     72<!-- Prime support is now automatically added in DRI3, and this patch
     73     may break things on some setups.
    7374    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    7475    <itemizedlist spacing="compact">
     
    7980        </para>
    8081      </listitem>
    81     </itemizedlist>
     82    </itemizedlist>-->
    8283
    8384    <bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
     
    128129  <sect2 role="installation">
    129130    <title>Installation of Xorg Server</title>
    130 
     131<!-- Patch removed
    131132    <para>
    132133      If you have downloaded the optional patch, apply it by running the
     
    134135    </para>
    135136
    136 <screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
     137<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>-->
    137138
    138139    <para>
Note: See TracChangeset for help on using the changeset viewer.