nvidia.conf environment variation aded.

This commit is contained in:
Stephan Raabe 2024-02-28 11:13:53 +01:00
parent 02e1336fe0
commit 087b58e230
2 changed files with 18 additions and 11 deletions

View File

@ -131,19 +131,11 @@ Users have reported that Hyprland with dotfiles could be installed successfully
There is no official Hyprland support for Nvidia hardware. However, you might make it work properly following this page.
https://wiki.hyprland.org/Nvidia/
In case you don't see the mouse cursor please add the folling line to your .bashrc
Please select the following variation in the settings script (system/environment):
```
WLR_NO_HARDWARE_CURSORS=1
```
https://gitlab.com/stephan-raabe/dotfiles/-/blob/main/hypr/conf/environments/nvidia.conf
Or create a environment variation for nvidia in ~/dotfiles/hypr/conf/environments/nvidia.conf by copying the default.conf and add the line
```
env = WLR_NO_HARDWARE_CURSORS, 1
```
Then select the file in the settings script in system/environment
Or set the included environment variables in hyprland.conf
## Launch Hyprland from tty

View File

@ -0,0 +1,15 @@
# -----------------------------------------------------
# Environment Variables
# name: "Nvidia"
# -----------------------------------------------------
# https://wiki.hyprland.org/Nvidia/
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORM,wayland
env = WLR_NO_HARDWARE_CURSORS,1
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = __GL_VRR_ALLOWED,1
# env = WLR_DRM_NO_ATOMIC,1