nvidia.conf environment variation aded.
This commit is contained in:
parent
02e1336fe0
commit
087b58e230
14
README.md
14
README.md
|
@ -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.
|
There is no official Hyprland support for Nvidia hardware. However, you might make it work properly following this page.
|
||||||
https://wiki.hyprland.org/Nvidia/
|
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):
|
||||||
|
|
||||||
```
|
https://gitlab.com/stephan-raabe/dotfiles/-/blob/main/hypr/conf/environments/nvidia.conf
|
||||||
WLR_NO_HARDWARE_CURSORS=1
|
|
||||||
```
|
|
||||||
|
|
||||||
Or create a environment variation for nvidia in ~/dotfiles/hypr/conf/environments/nvidia.conf by copying the default.conf and add the line
|
Or set the included environment variables in hyprland.conf
|
||||||
|
|
||||||
```
|
|
||||||
env = WLR_NO_HARDWARE_CURSORS, 1
|
|
||||||
```
|
|
||||||
|
|
||||||
Then select the file in the settings script in system/environment
|
|
||||||
|
|
||||||
## Launch Hyprland from tty
|
## Launch Hyprland from tty
|
||||||
|
|
||||||
|
|
15
hypr/conf/environments/nvidia.conf
Normal file
15
hypr/conf/environments/nvidia.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user