Open danilw opened 5 months ago
Fix - file src/mpvhandler.cpp add to line 31:
src/mpvhandler.cpp
mpv_set_option_string(mpv, "hwdec", "auto"); mpv_set_option_string(mpv, "vo", "gpu");
For more info look - https://mpv.io/manual/stable/#options-hwdec Search on page - Actively supported hwdecs:
Actively supported hwdecs:
Note: Do not use vdpau - it works only in x11, and it completely freeze x11 on 545+ latest nvidia drivers.
vdpau
To confirm video acceleration works - nvidia-settings - GPU - Video Engine Utilization
nvidia-settings
For me - before mpv used CPU to decode all videos, now it use GPU.
Fix - file
src/mpvhandler.cpp
add to line 31:For more info look - https://mpv.io/manual/stable/#options-hwdec Search on page -
Actively supported hwdecs:
Note: Do not use
vdpau
- it works only in x11, and it completely freeze x11 on 545+ latest nvidia drivers.To confirm video acceleration works -
nvidia-settings
- GPU - Video Engine UtilizationFor me - before mpv used CPU to decode all videos, now it use GPU.