diff --git a/postplug.d/30xorg b/postplug.d/30xorg index 592e8bc..02f1f51 100644 --- a/postplug.d/30xorg +++ b/postplug.d/30xorg @@ -185,6 +185,7 @@ if [ -e $XORGCONF ]; then VIDEODRIVER=${VIDEODRIVERS[0]} [ -e /sys/module/nouveau/parameters/modeset ] && NOUVEAU_MODESET=`cat /sys/module/nouveau/parameters/modeset` + [ "$NOUVEAU_MODESET" = "-1" ] && NOUVEAU_MODESET=1 [ -e /sys/module/radeon/parameters/modeset ] && RADEON_MODESET=`cat /sys/module/radeon/parameters/modeset` if [ "$VIDEODRIVER" = "nvidia" -a "$NOUVEAU_MODESET" = "1" ]; then