Edit NVIDIA relative Hyprland environment variables

Now Hyprland works much better with NVIDIA
This commit is contained in:
GaspardCulis 2023-11-12 12:04:39 +01:00
parent 475b77688b
commit b43785163f

View file

@ -1,5 +1,5 @@
# Hyprland GPU backend # Hyprland GPU backend
# env = WLR_DRM_DEVICES,/dev/dri/card0 # env = WLR_DRM_DEVICES,/dev/dri/card1
# Backend # Backend
env = GDK_BACKEND, wayland,x11 env = GDK_BACKEND, wayland,x11
@ -29,12 +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 = __EGL_VENDOR_LIBRARY_FILENAMES,/usr/share/glvnd/egl_vendor.d/50_mesa.json
env = __GLX_VENDOR_LIBRARY_NAME,mesa # env = __GLX_VENDOR_LIBRARY_NAME,mesa
env = HYPRLAND_HEADERS = /usr/include/hyprland env = HYPRLAND_HEADERS = /usr/include/hyprland