Changeset 5b0fa60


Ignore:
Timestamp:
05/23/2015 02:14:24 AM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 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, nosym, 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:
f0e219c
Parents:
ac3058f
Message:

Work around segfault in the Xorg intel driver with gcc-5 and a 4.0 kernel by reinstating UXA and adding a conf file to force that to be used. Tagged as gcc5-checked because it now works in this form, but with misgivings because it clearly does nt work _correctly_. This is a first-stage fix for #6526, but not a final fix.

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rac3058f r5b0fa60  
    4848      <para>May 22st, 2015</para>
    4949      <itemizedlist>
     50        <listitem>
     51          <para>[ken] - Use UXA acceleration for the intel Xorg driver as
     52          a temporary measure, until the gcc-5 and kernel-4.0 problem is
     53          better understood.  This is a workaround for
     54          <ulink url="&blfs-ticket-root;6526">#6526</ulink>.</para>
     55        </listitem>
    5056        <listitem>
    5157          <para>[fernando] - GnuPG 2.1.3 and 4: openpgp tests might fail. Fixes
  • x/installing/x7driver-intel.xml

    rac3058f r5b0fa60  
    1111  <!ENTITY xorg-intel-driver-md5sum        "fa196a66e52c0c624fe5d350af7a5e7b">
    1212  <!ENTITY xorg-intel-driver-size          "2.2 MB">
    13   <!ENTITY xorg-intel-driver-buildsize     "70 MB">
     13<!-- commented, remeasured for re-enabling uxa as well as sna
     14  <!ENTITY xorg-intel-driver-buildsize     "70 MB"> -->
     15  <!ENTITY xorg-intel-driver-buildsize     "78 MB">
    1416  <!ENTITY xorg-intel-driver-time          "0.6 SBU">
    1517]>
     
    3335      </para>
    3436
    35       &lfs77_checked; &gcc5_built;
     37      &lfs77_checked; &gcc5_checked;
    3638
    3739      <note><para>This is a development version of the Intel driver
     
    117119      </para>
    118120
    119 <screen><userinput>./configure $XORG_CONFIG --enable-kms-only &amp;&amp;
     121<screen><userinput>./configure $XORG_CONFIG --enable-kms-only --enable-uxa &amp;&amp;
    120122make</userinput></screen>
    121123
     
    129131
    130132<screen role="root"><userinput>make install</userinput></screen>
     133
     134    </sect3>
     135
     136    <sect3>
     137      <title>Working around problems with the Intel driver</title>
     138
     139      <para>
     140        The SandyBridge New Acceleration (SNA) code is intended to replace the
     141        old UXA (UMA Acceleration Architecture), but it is a large body of code
     142        and sometimes causes problems. In particular, when a system is built
     143        with gcc-5 and kernel headers from linux-4.0, trying to run this driver
     144        using SNA will cause a segfault on some, or perhaps all, of the
     145        supported chips iff a 4.0 or newer kernel is used (a 3.19.0 kernel, also
     146        built with gcc-5, worked ok). To work around this, as well as enabling
     147        support for UXA it is necessary to force it to be used by creating a
     148        configuration file.
     149       </para>
     150
     151      <para>
     152        If this problem applies to you, create the following file as
     153        the <systemitem class="username">root</systemitem> user:
     154      </para>
     155
     156<screen role="root"><userinput>cat &gt;&gt; /etc/X11/xorg.conf.d/20-intel.conf &lt;&lt; "EOF"
     157<literal>Section "Device"
     158        Identifier "Intel Graphics"
     159        Driver "intel"
     160        Option "AccelMethod" "uxa"
     161EndSection</literal>
     162EOF</userinput></screen>
    131163
    132164    </sect3>
     
    138170        <parameter>--enable-kms-only</parameter>: This switch omits the UMS
    139171        (User Mode Setting) code.
     172      </para>
     173
     174      <para>
     175        <parameter>--enable-uxa</parameter>: This switch allows the old UXA code
     176        to be compiled in addition to the default SNA.
    140177      </para>
    141178
Note: See TracChangeset for help on using the changeset viewer.