New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuttering Video on AMD GPU with DXVA on some H.264 LiveTV streams #496
Comments
Maybe not the same problem, but is also noticeable on Eutelsat 7east channel CineFilm. AMD GPU as well. |
Noticed a similar issue on my end too. GPU is a RX580. Another thing I noticed is, that the same issue also shows up when using mpv (maybe you (@YARD2) could try mpv too? ), however only in windows - under linux using vaapi it was fine. (your sample was fine there too) |
mpv is working in Windows with the latest build i tried. |
I have a similar problem (buggy DXVA on some TV Live Streams). I spend the whole day with testing Adrenalin Drivers to find working Drivers. i can test 3200G, 3400G, 5600G with two different Mainboards, and all of them having the same problem. here are my result: tested with MPC-BE tested working Drivers: 19.9.2, 20.12.1 (and maybe all between of them) tested buggy Drivers: i did not find a working driver starting from 21.2.3 |
Same issue here with 6700 xt. Reported it also to AMD via their tool, is probably more an issue of AMD (hw or driver) then of LAV. |
Could you try reporting it here? https://github.com/GPUOpen-LibrariesAndSDKs/AMF it has higher chance going to correct people. And indeed I've seen it too where interlaced files are completely unplayable. It is probably regression in driver, because it used to work. |
Was just googling AMD DXVA video playback stuttering and landed here. Just thought I'd add - for moral support - I also get video playback stuttering with DXVA in MPC-HC. Not sure if this is LAV related (dunno if MPC-HC uses LAV), but I definitely think this is an AMD issue. Was a problem on a few months old drivers as well as current drivers. Specifically for me it tends to happen when I try to playback a video at slower or faster speed. It stutters really badly for a while but eventually it "settles" and plays back decently, which is really strange. And when I go back to normal speed the stuttering is back for a while until it resolves. |
it has nothing to do with LAV, VLC has same problem. |
Use a GPU monitoring tool to check if maybe it gets stuck in a low clockspeed or low memory speed state. Maybe it is downclocking too aggressively. |
i checkd GPU in taskmanager, nothing special found. |
It is obvious that it is a driver bug. The driver controls the power states. |
it will bring us nothing further (if power states causes problem). |
Is 20.12.1 the last version people know about that still worked fine? |
Yes. but 20.12.1 driver has a HDR Bug. |
Not solved with 23.2.1 on 6700 xt. :( |
Same issue here with: Asus Vivobook Pro 16X OLED M7600QE (Ryzen 5800H). |
Those samples works correctly with Driver issue is only with interlaced samples, progressive ones seem to work correctly in non ffmpeg based decoders. |
@kasper93, my samples are progressiv. |
@vdrfan: Maybe there are some preconditions to make it not work. But like I said for me the The point I'm making here is that while there may be a driver issue, at least progressive samples can be fixed in userspace. And there is definitely difference between decoders at least for this specific file. |
@kasper93, my mistake. i thought you have testet with your own files. funny: Microsoft DTV-DVD Video Decoder thinks it is interlaced: dwInterlaceFlags: 0x00000081(AMINTERLACE_IsInterlaced and AMINTERLACE_DisplayModeBobOrWeave), but it is is progressiv. |
@kasper93, |
Just installed latest 23.8.1 driver on my Windows PC with 6700xt. EDIT when using EVR custom renderer instead of MPC video renderer, DXVA2 works, and also there problem seems to be solved. EDIT2 have the issue still sometimes, but issue seems to recover after 1-2 seconds. |
Can be just an impression, looks even better with drivers 23.9.1. |
I can still reproduce the issue on 23.9.1. Not with all samples, but try Sample2_#2750.zip it is really bad. It looks like it gives frames out of order from the decoder, with a little bit of seeking you can sometimes fix it, but it general it breaks. |
@kasper93 I tried that sample, have it the first 2 seconds or so but then it recovers and is fine ( I guess it recovers at the second iframe or so, would need to check when exactly those are) |
System Info:
Ryzen 5 2500U with Vega iGPU
Windows 10
I noticed that on a few TV Live streams with h264 / recordings via satellite (Astra 19.2) results
in stuttering video if DXVA is enabled on AMD GPUs.
Intel and Nvidia are OK.
Without DXVA (using Software decoding) it is also OK.
But it works with the Microsoft Filter DTV Video Decoder and DXVA.
Tested with:
LAVFilter 0.76.1 with DVBviewer
MPC-HC newest version
Sample:
Sample
The text was updated successfully, but these errors were encountered: