Linux GPU Acceleration
GPU acceleration is crucial for smooth app usage, especially for high-resolution content. Linux GPU support can be complex due to multiple graphics stacks, drivers, and display servers.
Force GPU Rendering
Electron/Chromium Flags
Hayase uses Electron, which is based on Chromium. You can pass flags to force GPU acceleration.
Create launcher script:
bash
#!/bin/bash
exec /path/to/Hayase.AppImage \
--flag \
"$@"Common flags:
bash
# Force specific GPU (multi-GPU)
--use-gl=desktop
--use-angle=gl
--ozone-platform=x11 # For X11
--ozone-platform=wayland # For Wayland
-enable-features=UseOzonePlatformANGLE Backend Selection
Hayase allows choosing the ANGLE backend, which is the translation layer between Electron and your GPU.
Available Backends
Auto (Recommended):
- Hayase chooses best option
- Usually works well
OpenGL:
- Most compatible
- Works on all GPUs
- Lower performance
D3D11 (Windows only):
- Not available on Linux
Changing Backend
In Hayase Settings:
- Settings → Interface → ANGLE Backend
- Select backend
If you can't open the app, you can edit the native settings file directly inside the ~/.config/Hayase/settings.json directory:
json
{
"angle": "gl" // or "default"
}Settings File:
Wayland-Specific Issues
Hardware Acceleration on Wayland
Wayland + GPU acceleration can be problematic:
Enable Wayland support:
bash
./Hayase.AppImage --enable-features=UseOzonePlatform --ozone-platform=waylandCommon issues:
- Flickering
- Poor performance
- Crashes
Solution:
bash
# Often better to use X11/XWayland
./Hayase.AppImage --enable-features=UseOzonePlatform --ozone-platform=x11Troubleshooting Checklist
Video Won't Play / Black Screen
- Check driver installation
- Check VAAPI
Poor Performance / Stuttering
- Verify using correct GPU
- Check power profile (AMD)
- Try different ANGLE backend
- Enable all acceleration flags
Crashes During Playback
- Check dmesg for errors
- Update drivers
- Try software decoding
- Check Vulkan (if using)
Related: