View Full Version : What's the most efficient way to play videos on a lower end HTPC?
poisonborz
19th February 2021, 19:32
I have a PN50 mini pc with Ryzen 4300U chipset / Radeon Vega 7 GPU with Windows.
Most videos play well, however, 4k content is rather hit-or-miss.
I'm trying to play such high-def videos in VLC, as MPC-BE/madvr and mpv both seem to be slower in performance with any settings.
4k videos up to 25Mb/s play ok-ish, but higher quality 50Mb/s videos (eg. https://4kmedia.org/samsung-x-redbull-see-the-unexpected-hdr-uhd-4k-demo) see ~20ms latency according to VLC messages window.
4k/60fps videos in Youtube are butter smooth, but that is because of very efficient VP9 encoding.
Is it performance-wise possible to play these videos with this setup with some other player or settings?
Or is there a nice/fast way to "transcode" or convert these files for better performance? (without sacrificing too much of quality)
Klaus1189
19th February 2021, 19:46
Run DXVA Checker and post a screenshot.
poisonborz
19th February 2021, 23:50
https://i.imgur.com/PBHyPOC.png
Asmodian
20th February 2021, 00:32
Did you try D3D11 native hardware decoding in LAV using MPC-HC or BE?
Don't use madVR at the same time, leave the renderer on whatever they use by default.
clsid
20th February 2021, 01:01
D3D11 native only works with madVR and MPCVR. For other renderers best choice is DXVA2 native.
poisonborz
20th February 2021, 13:22
Thanks!
I'm now back at experimenting with MPC-BE - turns out I didn't touch the LAV settings (double click in MPC-BE filter list, no indicator you could do this..)
Choosing hardware encoding type there, disabling all MPC internal encoders, and of course exchanging madvr to EVR-CP improved things considerably. D3D11 and DXVA2 seemingly have the same performance.
What is strange that Active decoder/hw accelerator seems always inactive/none. But this is the same case with my other PC with GF1080. Is this normal?
In LG Daylight demo (4K HDR 60fps HEVC) I can see now ~28 fps... Wondering if this is the max the GPU can do, or some other settings could tweak this.
https://i.imgur.com/BqgtFsm.jpg
Asmodian
21st February 2021, 07:14
It does look like your GPU is maxed out but you are using a copy-back which I think is a bad idea with an APU. It does look like you using the APU, not your Radeon 7 GPU. Edit: Sorry, Vega 7 is the APU and is not the same thing as a Radeon 7. :o
How does it look when using DXVA2 (native) in LAV Video? What about using madVR with default settings, except the GPU buffers and frames presented in advance set as low as possible (use D3D11 and leave it on Automatic (native) with madVR).
https://hosting.photobucket.com/images/dd496/asmodian3/madVR_very_low_buffers.png?width=1920&height=1080&fit=bounds
https://hosting.photobucket.com/images/dd496/asmodian3/madVR_1_frame_present.png?width=1920&height=1080&fit=bounds
huhn
21st February 2021, 08:18
the OSD says it is actively tone mapping that's quite some work for such a GPU.
so give mpcVR a chance. i have not tested hardware scaler and such with thsi renderer so i can not judge which decoder and rendering is the fastest but it can present HDR natively which should be much much faster.
stax76
21st February 2021, 08:30
With my GT1030 I wasn't able to play any 4K 50fps files with any player except Kodi.
I've contacted mpc and mpv support, mpc support could not help but mpv folks told me settings that are working:
d3d11va-zero-copy = yes
hdr-compute-peak = no
hwdec = yes
In my experience is mpv is the most efficient player, it's known to be efficient.
Asmodian
21st February 2021, 09:14
the OSD says it is actively tone mapping that's quite some work for such a GPU.
Sorry, I am not very familiar with video renderers other than madVR. What lets you know it is tone mapping? Is it the SL: 2335?
That would definitely explain it.
Klaus1189
21st February 2021, 09:24
"Processing: HDR (BT.2020) to SDR" second last line in displaystats of EVR custom presenter in this screenshot
poisonborz
21st February 2021, 13:43
Thank you all for the tips!
- madvr with low buffer settings: it didn't change much sadly, I'd say it's a 15% fps difference
- Tone mapping in MPC: is there a way to turn this off? It's a HDR display, no need for mapping.
- mpv with the above settings: This really is the best performance by far! I got 50fps (7-12 dropped frame/s - there is a stats.lua script that provides stats OSD)
As per OP, I just wanted to find the best perf settings/way to render video on my setup, I think mpv it is.
Klaus1189
21st February 2021, 13:52
You need madVR or MPC VR for „true“ HDR support in MPC-BE or MPC-HC. In EVR CP it is „converted“ to SDR.
Asmodian
23rd February 2021, 01:33
"Processing: HDR (BT.2020) to SDR" second last line in displaystats of EVR custom presenter in this screenshot
I cannot believe I missed that. :o
It's a HDR display, no need for mapping.
1) Reset the madVR settings to default (or reset all queues to default)
2) Set devices->properties->10bit
3) Set devices->hdr->passthrough HDR to display
4) Show madVR stats while playing.
The decoding mode is not important (native or copy-back) for Ryzen APU. It's the same with queues if the memory is at least 2x4GB. It is important that the memory works in 2-channel mode.
dbcooper
4th March 2021, 06:06
Anyone know what luma upscaling algorithms you can use with a ryzen 4000u series APU? Or, what the DXVA algorithm is? e.g. Using Lanczos on Intel UHD 620 graphics seems to use it's video processing hardware scaling.
dbcooper
4th March 2021, 08:30
Anyone know what luma upscaling algorithms you can use with a ryzen 4000u series APU? Or, what the DXVA algorithm is? e.g. Using Lanczos on Intel UHD 620 graphics seems to use it's video processing hardware scaling.
To answer my own question somewhat, it looks like Ryzen mobile processors should work fine with Lanczos 3-tap with anti-ringing.
https://www.anandtech.com/show/16111/asrock-industrial-4x4-boxv1000m-ryzen-minipc-review/6
In the second (Lanczos-focused), the image scaling algorithms were set to 'Lanczos 3-tap, with anti-ringing checked'. Chroma upscaling was configured to be 'BiCubic 75 with anti-ringing checked' in both cases.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.