NVIDIA
Nouveau
Nouveau is an open-source driver for NVIDIA GPUs.
Wayland
Install the following packages as needed:
mesa-dri-gallium
: necessary Mesa drivers.mesa-va-gallium
: VA-API drivers, for hardware accelerated video encoding and decoding
If driver auto-selection does not work, e.g. no mouse cursor under Sway, manual driver selection might be needed:
export MESA_LOADER_DRIVER_OVERRIDE=nouveau
For VA-API:
export LIBVA_DRIVER_NAME=nouveau
Proprietary Driver
As of December 2022 the proprietary NVIDIA driver does not support the musl libc.