#!/bin/bash # =========================================================================== # zoom — Zoom launcher wrapper for COSMIC/Wayland on AMD GPU # Forces Wayland-native mode (avoids X11 event freezes via XWayland). # Forces VA-API hardware video decoding (fixes screen share performance). # # Works with: AMD Radeon 680M (Rembrandt) and similar. # For NVIDIA GPUs, use: export LIBVA_DRIVER_NAME=nvidia # =========================================================================== export QT_QPA_PLATFORM=wayland export LIBVA_DRIVER_NAME=radeonsi export LIBVA_DRI3_DISABLE=0 exec /usr/bin/zoom "$@"