From aad0ff394565efda3f43e2912c17afd56f0baf1a Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Thu, 9 Dec 2010 17:51:10 +0800 Subject: [PATCH] auto-detect: disable hardware acceleration if no kms driver found --- initrd/scripts/0-auto-detect | 1 + 1 file changed, 1 insertion(+) diff --git a/initrd/scripts/0-auto-detect b/initrd/scripts/0-auto-detect index 8246c08..fed64e3 100644 --- a/initrd/scripts/0-auto-detect +++ b/initrd/scripts/0-auto-detect @@ -28,6 +28,7 @@ auto_detect() load_uvesafb() { [ -c /dev/fb0 ] || modprobe uvesafb mode_option=${UVESA_MODE:-800x600}-16 ${UVESA_OPTION:-mtrr=3 scroll=redraw} + [ -c /dev/card0 ] || export HWACCEL=0 } load_modules() -- 2.11.0