You are not logged in.

#1 Today 04:44:18

coldreactive
Member
Registered: 2024-07-04
Posts: 32

Discord on NVIDIA not able to play video encoded in 265/HEVC

I can't play HEVC/x265 videos in discord on arch linux, using an RTX 3060 (12GB with dkms-nvidia-open driver) and 9800x3D. On KDE. This is the native non-flatpak discord. Already tried adding

--enable-features=DefaultANGLEVulkan,VaapiIgnoreDriverChecks,Vulkan,VulkanFromANGLE

To ~/.local/share/applications/discord.desktop

And also tried installing libva-nvidia-driver and using this instead:

--ozone-platform=wayland --enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks

The first solution causes the entire discord window to refresh for a split second when hitting play on the video, as if the rendering engine changed. The video and audio remains blank/silent. The second one acts as if nothing's changed, and only plays audio, with the video frozen.

I also installed gst-plugin-va and used gst-inspect-1.0 va:

Plugin Details:
  Name                     va
  Description              VA-API codecs plugin
  Filename                 /usr/lib/gstreamer-1.0/libgstva.so
  Version                  1.26.10
  License                  LGPL
  Source module            gst-plugins-bad
  Documentation            https://gstreamer.freedesktop.org/documentation/va/
  Source release date      2025-12-25
  Binary package           Arch Linux GStreamer 1.26.10-3
  Origin URL               https://www.archlinux.org/

  vaav1dec: VA-API AV1 Decoder in AMD Ryzen 7 9800X3D 8-Core Processor
  vacompositor: VA-API Video Compositor in AMD Ryzen 7 9800X3D 8-Core Processor
  vadeinterlace: VA-API Deinterlacer in AMD Ryzen 7 9800X3D 8-Core Processor
  vah264dec: VA-API H.264 Decoder in AMD Ryzen 7 9800X3D 8-Core Processor
  vah264enc: VA-API H.264 Encoder in AMD Ryzen 7 9800X3D 8-Core Processor
  vah265dec: VA-API H.265 Decoder in AMD Ryzen 7 9800X3D 8-Core Processor
  vah265enc: VA-API H.265 Encoder in AMD Ryzen 7 9800X3D 8-Core Processor
  vajpegdec: VA-API JPEG Decoder in AMD Ryzen 7 9800X3D 8-Core Processor
  vapostproc: VA-API Video Postprocessor in AMD Ryzen 7 9800X3D 8-Core Processor
  vavp9alphadecodebin: VA-API VP9 Alpha Decoder
  vavp9dec: VA-API VP9 Decoder in AMD Ryzen 7 9800X3D 8-Core Processor

  11 features:
  +-- 11 elements

To rephrase/reiterate. The video is frozen. The seek bar plays, the seek bar even shows loading progress (the seek bar gets lighter ahead of the current position in the timeline.) Meaning Discord accepts the video, downloads it to cache, etc.

Audio can play, but video remains frozen.

Last edited by coldreactive (Today 04:47:19)

Offline

#2 Today 14:40:10

nihalxkumar
Member
Registered: 2024-11-30
Posts: 14
Website

Re: Discord on NVIDIA not able to play video encoded in 265/HEVC

Hey, I don't have the solution for your issue but you can try reproducing the issue on other clients https://wiki.archlinux.org/title/Discord

Offline

Board footer

Powered by FluxBB