nvidia-fix

This commit is contained in:
simono41 2018-04-02 05:33:24 +02:00
parent 044a8c3a92
commit 104e8fcf2d
5 changed files with 5 additions and 9 deletions

View file

@ -2,4 +2,4 @@
title %ISO_LABEL% %arch% UEFI DVD NOIMAGE FORMAT
linux /EFI/archiso/vmlinuz.efi
initrd /EFI/archiso/archiso.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ISO_LABEL% cow_spacesize=1024M format=y formatdevice=/dev/sda formatpartition=3 nvidia-drm.modeset=1
options archisobasedir=%INSTALL_DIR% archisolabel=%ISO_LABEL% cow_spacesize=1024M format=y formatdevice=/dev/sda formatpartition=3

View file

@ -2,4 +2,4 @@
title %ISO_LABEL% %arch% UEFI USB NOIMAGE FORMAT
linux /%INSTALL_DIR%/boot/%arch%/vmlinuz
initrd /%INSTALL_DIR%/boot/%arch%/archiso.img
options archisobasedir=%INSTALL_DIR% archisolabel=%ISO_LABEL% cow_spacesize=1024M format=y formatdevice=/dev/sda formatpartition=3 nvidia-drm.modeset=1
options archisobasedir=%INSTALL_DIR% archisolabel=%ISO_LABEL% cow_spacesize=1024M format=y formatdevice=/dev/sda formatpartition=3

View file

@ -24,11 +24,7 @@ if cat /proc/cmdline | grep "nvidia=y"; then
mkdir -p -m 755 /etc/X11/xorg.conf.d/
echo "Section \"Device\"" > /etc/X11/xorg.conf
echo " Identifier \"Device0\"" >> /etc/X11/xorg.conf
echo " Driver \"nvidia\"" >> /etc/X11/xorg.conf
echo " VendorName \"NVIDIA Corporation\"" >> /etc/X11/xorg.conf
echo "EndSection" >> /etc/X11/xorg.conf
nvidia-xconfig
fi

View file

@ -31,7 +31,7 @@ LABEL arch
MENU LABEL %ISO_LABEL% DEFAULT NOIMAGE FORMAT
LINUX /%INSTALL_DIR%/boot/%arch%/vmlinuz
INITRD /%INSTALL_DIR%/boot/%arch%/archiso.img
APPEND archisolabel=%ISO_LABEL% format=y formatdevice=/dev/sda formatpartition=3 nvidia-drm.modeset=1
APPEND archisolabel=%ISO_LABEL% format=y formatdevice=/dev/sda formatpartition=3
# default nvidia
LABEL arch

View file

@ -80,7 +80,7 @@ LABEL arch
MENU LABEL %ISO_LABEL% DEFAULT NOIMAGE FORMAT
LINUX /%INSTALL_DIR%/boot/%arch%/vmlinuz
INITRD /%INSTALL_DIR%/boot/%arch%/archiso.img
APPEND archisolabel=%ISO_LABEL% format=y formatdevice=/dev/sda formatpartition=3 nvidia-drm.modeset=1
APPEND archisolabel=%ISO_LABEL% format=y formatdevice=/dev/sda formatpartition=3
# default nvidia
LABEL arch