Hardware decoding into OpenGL on an AMD GPU on Windows #14578
Unanswered
leon-costa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've made a program that uses libmpv to render high resolution video (up to 8k) into an OpenGL texture. It works fine on a system with an Nvidia GPU, both on Linux and Windows. But on a new Windows system with an AMD GPU (a Radeon RX 7700S), I cannot get good performance.
On this new system, the base player (mpv) only works well when
hwdec
is set tod3d11va
. If I usedxva2
the performance is quite poor. Shouldn'tdxva2
andd3d11va
have similar performance?I would gladly use
d3d11va
in my program, but it doesn't seem to be possible (the performance doesn't improve when I use it). I guess it's because there's nodxinterop
GPU context. Is this feature fundamentally incompatible withd3d11va
, or is it missing because no one has worked on it?On the Nvidia system on Windows I use
hwdec=dxva2
andgpu-context=dxinterop
and it works fine.The version of mpv I'm using on Windows is the one packaged in MSYS2.
Beta Was this translation helpful? Give feedback.
All reactions