Helper files to make sway a better experience for us poor NVIDIA users.
sway
and any proprietary NVIDIA driver is required (although this probably includes their new open kernel modules, I have not tested). It may also be the case that vulkan-validation-layers
are required to use the vulkan backend.
If you're using ArchLinux, the package is available in the AUR as sway-nvidia
.
If you want to install this on another distro, you can clone and install the files manually
Sway is still required if you're installing. This package doesn't replace sway
git clone https://github.com/crispyricepc/sway-nvidia
sudo install -Dm755 sway-nvidia/sway-nvidia.sh "/usr/local/bin/sway-nvidia"
sudo install -Dm644 sway-nvidia/sway-nvidia.desktop "/usr/share/wayland-sessions/sway-nvidia.desktop"
sudo install -Dm644 sway-nvidia/wlroots-env-nvidia.sh "/usr/local/share/wlroots-nvidia/wlroots-env-nvidia.sh"
If starting from a shell, replace your sway
command with the following:
exec sway-nvidia
If you're starting from a display manager, select Sway (NVIDIA)
from your wayland sessions list
Because we're using the experimental vulkan renderer to avoid graphical issues, screen capture is not yet implemented on wlroots 0.15. The issue is being tracked here
That being said, anyone using sway-git
& wlroots-git
, this issue has been fixed in version 0.16
This issue is being tracked here
A discussion on the NVIDIA forums for everyone sharing hacks to getting sway to work. If this package doesn't work on your PC, it's a good idea to see if anyone over there has a similar setup