Got working Hyprland config with NVIDIA
This commit is contained in:
parent
748c831e07
commit
2875c5d7e7
3 changed files with 9 additions and 4 deletions
1
boot/grub
Normal file
1
boot/grub
Normal file
|
@ -0,0 +1 @@
|
||||||
|
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=392ab4dc-51e3-49ef-a047-c528e335abe2:cryptlvm root=/dev/zephyrus-vg/root nvidia_drm.modeset=1 nvidia_drm.fbdev=1 amd_iommu=on vfio-pci.ids=10de:249d,10de:228b,10ec:8168"
|
2
boot/mkinitcpio.conf
Normal file
2
boot/mkinitcpio.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MODULES=()
|
||||||
|
HOOKS=(base udev autodetect modconf keyboard keymap consolefont block encrypt lvm2 filesystems fsck kms)
|
|
@ -29,10 +29,12 @@ env = EDITOR, hx
|
||||||
env = MOZ_ENABLE_WAYLAND, 1
|
env = MOZ_ENABLE_WAYLAND, 1
|
||||||
|
|
||||||
# NVIDIA
|
# NVIDIA
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
# env = LIBVA_DRIVER_NAME,nvidia
|
||||||
env = XDG_SESSION_TYPE,wayland
|
# env = XDG_SESSION_TYPE,wayland
|
||||||
# env = GBM_BACKEND,nvidia-drm
|
# env = GBM_BACKEND,nvidia-drm
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
# env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
|
env = __EGL_VENDOR_LIBRARY_FILENAMES,/usr/share/glvnd/egl_vendor.d/50_mesa.json
|
||||||
|
env = __GLX_VENDOR_LIBRARY_NAME,mesa
|
||||||
|
|
||||||
env = HYPRLAND_HEADERS = /usr/include/hyprland
|
env = HYPRLAND_HEADERS = /usr/include/hyprland
|
||||||
|
|
Loading…
Reference in a new issue