From 324cb336b0a90a13c6a51b3d30d90f5e5be8fa32 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 9 Mar 2016 13:37:08 +0100 Subject: Add the missing part of the "disable glamor 2d acceleration" patch. New boot option 'nga' (which stands for 'no glamor acceleration') adds a configuration file to X.Org. This disables the (now default) glamor acceleration which causes a X startup failure with the error: "EGL_MESA_drm_image required; (EE) modeset(0): glamor initialization failed". --- liveinit | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'liveinit') diff --git a/liveinit b/liveinit index 10b9f4e..415cd1f 100755 --- a/liveinit +++ b/liveinit @@ -41,6 +41,7 @@ MARKER="@MARKER@" PERSISTENCE="@PERSISTENCE@" LIVEMEDIA="" +LIVEPATH="" # By default, let the media determine if we can write persistent changes: # However, if we define TORAM=1, we will also set VIRGIN=1 since we want @@ -59,8 +60,8 @@ LOCALHD=0 # Perhaps we need to blacklist some kernel module(s): BLACKLIST="" -# QEMU X.Org needs glamor acceleration disabled, -# otherwise don't mess with the defaults: +# QEMU X.Org and some other setups need glamor 2D acceleration disabled, +# default in X.Org is to enable it: GLAMORACCEL=1 INITRD=$(cat /initrd-name) @@ -127,6 +128,9 @@ for ARG in $(cat /proc/cmdline); do # Format: luksvol=file1[:/mountpoint1][,file1[:/mountpoint2],...] LUKSVOL=$(echo $ARG | cut -f2 -d=) ;; + nga) + GLAMORACCEL=0 + ;; noload=*) NOLOAD=$(echo $ARG | cut -f2 -d=) ;; -- cgit v1.2.3