xorg-server: Force -Dglamor=true

With the DDX drivers gone, we must use Glamor to provide the modeset
driver or X server won't start.
This commit is contained in:
Xi Ruoyao 2023-07-13 01:44:42 +08:00
parent 22c1bfc373
commit c97d35e2f6
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -120,7 +120,7 @@ cd build &&
meson setup .. \ meson setup .. \
--prefix=$XORG_PREFIX \ --prefix=$XORG_PREFIX \
--localstatedir=/var \ --localstatedir=/var \
-Dsuid_wrapper=true \ -Dglamor=true \
-Dxkb_output_dir=/var/lib/xkb && -Dxkb_output_dir=/var/lib/xkb &&
ninja</userinput></screen> ninja</userinput></screen>
@ -152,8 +152,14 @@ mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
<title>Command Explanations</title> <title>Command Explanations</title>
<para> <para>
<parameter>-Dsuid_wrapper=true</parameter>: Builds the suid-root <parameter>-Dglamor=true</parameter>: Ensure building the Glamor
wrapper for legacy driver support on rootless xserver systems. module. It's needed to run the Xorg server without Device Dependant X
(DDX) drivers.
</para>
<para>
<option>-Dsuid_wrapper=true</option>: Builds the suid-root
wrapper for legacy DDX driver support on rootless xserver systems.
</para> </para>
<para> <para>