nvidia-fix
This commit is contained in:
parent
044a8c3a92
commit
104e8fcf2d
5 changed files with 5 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
6
startup
6
startup
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue