--- smage/branches/alx-0_6_0/core/grub/alx/files/10_alx 2014/04/22 10:50:07 5572 +++ smage/branches/alx-0_6_0/core/grub/alx/files/10_alx 2014/04/22 10:51:38 5573 @@ -67,7 +67,7 @@ # check for special hardware if [ -x "`which hwinfo`" ] then - hwinfo="`hwinfo --bios --storage --pci`" + hwinfo="`hwinfo --bios --storage --pci --gfxcard`" # zotac if [ "x`echo ${hwinfo} | grep -i zotac 2> /dev/null || true`" != x ] @@ -101,7 +101,17 @@ # disable bootsplash for i845, which must have kms, but fbmode is not supported with kms if [ "x`echo ${hwinfo} | grep -i i845 2> /dev/null || true`" != x ] then - GRUB_CMDLINE_LINUX="splash=verbose,theme=default ${GRUB_CMDLINE_LINUX}" + # remove "video=" opt from cmdline + for i in ${GRUB_CMDLINE_LINUX_DEFAULT} + do + case ${i} in + video=*) continue ;; + *) __grub_opts="${__grub_opts} ${i}" ;; + esac + done + GRUB_CMDLINE_LINUX_DEFAULT="${__grub_opts}" + # enable full kms support + GRUB_GFXPAYLOAD_LINUX="keep" fi # disable KMS for Radeon RV250