Skip to content

Commit

Permalink
fix(nvidia): use vulkan renderer by default to mitigate flickering (#211
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gerblesh authored Jul 9, 2024
1 parent a172797 commit 6787c65
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions files/etc/sway/environment
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ SWAY_EXTRA_ARGS="$SWAY_EXTRA_ARGS --unsupported-gpu -D noscanout"

# Useful variables for wlroots:
# https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md
#
#WLR_NO_HARDWARE_CURSORS=1
WLR_NO_HARDWARE_CURSORS=1
# Setting renderer to Vulkan may fix flickering but needs the following extensions:
# - VK_EXT_image_drm_format_modifier
# - VK_EXT_physical_device_drm
#
# Source: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/8e346922508aa3eaccd6e12f2917f6574f349843
#WLR_RENDERER=vulkan
WLR_RENDERER=vulkan

# Application compatibility
# Java Application compatibility
# Source: https://github.com/swaywm/wlroots/issues/1464
_JAVA_AWT_WM_NONREPARENTING=1

0 comments on commit 6787c65

Please sign in to comment.