Extra configuration for smoother Wayland/NVIDIA experience

This commit is contained in:
Phillip 2024-07-07 17:57:14 +01:00
parent ae8782a4bc
commit e833f2a6f0
2 changed files with 6 additions and 2 deletions

View File

@ -2,4 +2,8 @@
GTK_USE_PORTAL=1 GTK_USE_PORTAL=1
# Set terminal editor to Nano # Set terminal editor to Nano
EDITOR=nano EDITOR=nano
# Force GBM backend
GBM_BACKEND=nvidia-drm
__GLX_VENDOR_LIBRARY_NAME=nvidia

View File

@ -3,7 +3,7 @@
GRUB_DEFAULT=2 GRUB_DEFAULT=2
GRUB_TIMEOUT=5 GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch" GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1 mem_sleep_default=deep lsm=landlock,lockdown,yama,integrity,apparmor,bpf" GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet nvidia-drm.modeset=1 nvidia.NVreg_EnableGpuFirmware=0 mem_sleep_default=deep lsm=landlock,lockdown,yama,integrity,apparmor,bpf"
GRUB_CMDLINE_LINUX="" GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed # Preload both GPT and MBR modules so that they are not missed