FFmpeg fails to use VAAPI and X11 errors on Pinephone Pro
[AVHWDeviceContext @ 0xaaaaeb7d0b30] Failed to initialise VAAPI connection: -1 (unknown libva error).\nDevice creation failed: -5.\n[AVHWDeviceContext @ 0xaaaaeb945b40] Cannot open the X11 display .\nDevice creation failed: -1313558101.\n[AVHWDeviceContext @ 0xaaaaeb7d0b30] Instance creation failure: VK_ERROR_INCOMPATIBLE_DRIVER\nDevice creation failed: -542398533.\n