mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
Patch the modesetting video driver for 32 bit machine and software
mouse pointer git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15589 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c60a17aac0
commit
6dd40f929d
@ -1,12 +1,12 @@
|
|||||||
<!-- $LastChangedBy$ $Date$ -->
|
<!-- $LastChangedBy$ $Date$ -->
|
||||||
|
|
||||||
<!ENTITY day "28"> <!-- Always 2 digits -->
|
<!ENTITY day "01"> <!-- Always 2 digits -->
|
||||||
<!ENTITY month "02"> <!-- Always 2 digits -->
|
<!ENTITY month "03"> <!-- Always 2 digits -->
|
||||||
<!ENTITY year "2015">
|
<!ENTITY year "2015">
|
||||||
<!ENTITY copyrightdate "2001-&year;">
|
<!ENTITY copyrightdate "2001-&year;">
|
||||||
<!ENTITY copyholder "The BLFS Development Team">
|
<!ENTITY copyholder "The BLFS Development Team">
|
||||||
<!ENTITY version "&year;-&month;-&day;">
|
<!ENTITY version "&year;-&month;-&day;">
|
||||||
<!ENTITY releasedate "February 28th, &year;">
|
<!ENTITY releasedate "March 1st, &year;">
|
||||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||||
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
|
<!ENTITY lfs-version "development"> <!-- x.y|development] -->
|
||||||
|
@ -44,6 +44,17 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>March 1st, 2015</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[pierre] - Apply a patch to the modesetting driver
|
||||||
|
code in Xorg-server, to allow running on 32 bit machine, and
|
||||||
|
on cards which do not support hardware cursor.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>February 28th, 2015</para>
|
<para>February 28th, 2015</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -78,6 +78,12 @@
|
|||||||
<ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
|
<ulink url="&patch-root;/xorg-server-&xorg-server-version;-add_prime_support-1.patch"/>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Optional patch:
|
||||||
|
<ulink url="&patch-root;/xorg-server-&xorg-server-version;-fix_modesetting-1.patch"/>
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
|
||||||
<bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
|
<bridgehead renderas="sect3">Xorg Server Dependencies</bridgehead>
|
||||||
@ -120,23 +126,21 @@
|
|||||||
<title>Installation of Xorg Server</title>
|
<title>Installation of Xorg Server</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If you have downloaded the optional patch, apply it by running
|
If you have downloaded the first optional patch, apply it by running
|
||||||
the following command:
|
the following command:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
|
<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <application>modesetting</application> driver is now included in
|
The <application>modesetting</application> video driver is now included
|
||||||
the tarball (since version 1.17). It needs to be fixed for 32-bit
|
in the tarball (since version 1.17). It needs to be fixed for 32-bit
|
||||||
machines (first command below), and for cards which do not support
|
machines and for cards which do not support an hardware mouse pointer.
|
||||||
the mouse pointer in hardware (second command below):
|
If you plan to use the modesetting video driver, run the
|
||||||
|
following command:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<screen><userinput>sed -e '/\*\//a #define _FILE_OFFSET_BITS 64' \
|
<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-fix_modesetting-1.patch</userinput></screen>
|
||||||
-i hw/xfree86/drivers/modesetting/dumb_bo.c
|
|
||||||
sed -e 's/ == -EINVAL//' \
|
|
||||||
-i hw/xfree86/drivers/modesetting/drmmode_display.c</userinput></screen>
|
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Install the server by running the following commands:
|
Install the server by running the following commands:
|
||||||
@ -180,8 +184,8 @@ EOF</userinput></screen>
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
<parameter>--enable-install-setuid</parameter>: The Xorg binary must run as
|
<parameter>--enable-install-setuid</parameter>: The Xorg binary must run
|
||||||
the root user. This switch ensures that the binary is installed
|
as the root user. This switch ensures that the binary is installed
|
||||||
setuid when <command>make</command> is run by an unprivileged user.
|
setuid when <command>make</command> is run by an unprivileged user.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user