All shell scripts and config files should be executable (755) for direct invocation. No content changes.
16 lines
612 B
Bash
Executable File
16 lines
612 B
Bash
Executable File
#!/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 "$@"
|