Dear AMDMatt, hybrid DXVA HEVC decoding status?

Discussion in 'Videocards - AMD Radeon Drivers Section' started by JohnLai, Dec 19, 2014.

  1. JohnLai

    JohnLai Guest

    Messages:
    136
    Likes Received:
    7
    GPU:
    ASUS GTX 970 3.5+0.5GB
    As topic title, what is AMD input on hybrid DXVA HEVC decoding?

    Nvidia Kepler and Maxwell has hybrid DXVA.

    Intel HD Graphics 4200, 4400 and 4600 also have it.

    But NONE of AMD GPU has support for hybrid decoding?
     
  2. sirDaniel

    sirDaniel Guest

    Messages:
    105
    Likes Received:
    2
    GPU:
    940MX
    No point. CPU decoders are fast enough. Hybrid decoding isnt always as good as it should be.
     
  3. alexrose1uk

    alexrose1uk Guest

    Messages:
    81
    Likes Received:
    1
    GPU:
    3080 10GB
    CPU decoders are not fast enough for HEVC, like it was in the earlier days of h264, the software decoders are not optimal, and there is still much progress to be made.

    Last example I saw listed a moderately encoded 1080p rip as using 30-50% on an i7-3770k to decode. When you sit there and think about that, that is going to outstrip quite a number of processors doing the rounds.
     
  4. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,677
    Likes Received:
    287
    GPU:
    RX 580 8GB
    Not true. Software decoding HEVC is very intensive right now.
     

  5. JohnLai

    JohnLai Guest

    Messages:
    136
    Likes Received:
    7
    GPU:
    ASUS GTX 970 3.5+0.5GB
    If the media is encoded in HEVC 1080p, Core I5 3570K average cpu utilization is around 35 - 50% using nightly version of lavfilters (with SIMD optimization). This wouldn't be a problem.

    However, 4K HEVC video with very low acceptable bitrate from Elecard demo, pure software decoding used up to 87-100% CPU utilization. Stuttering motion.
    I tested Intel HD Graphics 4600 HEVC DXVA hybrid, impressively, CPU utilization is merely 10-24% with fluid motion!

    I can't seem to get any input from AMD in regard to this hybrid DXVA for their existing product stack
    .
    Both Intel and Nvidia responded within a week. Unfortunately, there will be no HEVC 10bit hybrid decoding from both Intel and Nvidia. Their hybrid DXVA is for 8bit HEVC media.
     
  6. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,677
    Likes Received:
    287
    GPU:
    RX 580 8GB
    I wonder if DirectX 12 will improve performance.
     
  7. sirDaniel

    sirDaniel Guest

    Messages:
    105
    Likes Received:
    2
    GPU:
    940MX
    Which elecard demo You tested? I eg tested free movie Tears of steel 4k/25 fps hevc - its fully playable on my mobile corei3.. It might be optimized encoding though. It depends on sampe we test. I cannot deny that there would be high demanding video file hard to play, but i woulndt generalize. Lavx 64 bit is fast. Try 64 bit lav decoder and 64 bit player, should help performance. This is needed factor.
    Why hybrid decoding? It doesnt decrease power usage. Lets wait for fully hardware decoding, wonder who will implement it first, why not amd? :p
     
    Last edited: Dec 20, 2014
  8. JohnLai

    JohnLai Guest

    Messages:
    136
    Likes Received:
    7
    GPU:
    ASUS GTX 970 3.5+0.5GB
    http://www.elecard.com/en/download/videos.html
    "The first 4K experience with BlackMagic Production Camera 4k"
    4K 3840x2160 HEVC elementary 3 mbps 77Mb

    I am using x64 nightly lavfilter with vectorised SIMD optimization. Still killing I5 3570K hard as I said.

    You mentioned about core I3 mobile? What is your CPU/GPU model? Optimus (Intel HD Graphics + Nvidia)? Intel Haswell HD Graphics does hybrid decoding, perhaps that might explain why the hevc sample can run smoothly at your I3.


    EDIT: The Intel HD Graphics 4600 I mentioned, it is from my laptop I5-4200U.
     
    Last edited: Dec 20, 2014
  9. Deckard

    Deckard Master Guru

    Messages:
    428
    Likes Received:
    13
    GPU:
    MSI 3090ti Gaming X
    I just played the 4K 3840x2160 MPEG2 TS, HEVC 17.6 mbps files in MPC-HC x64 and it only used 25% of my 8 core fx9590. no stutter or slowdown. running @3200x1800 using VSR.
     
  10. sirDaniel

    sirDaniel Guest

    Messages:
    105
    Likes Received:
    2
    GPU:
    940MX
    I believe what you write. Then if your cpu hardly play it, then somethings wrong with your computer or system or player. I have first generation corei3 mobile, no gpu on chip. Only amd card. I have high cpu usage but play fluently. However, video recording looks like recorded wth bit slow motion, its not perfect to test.
    My stats:
    http://imgur.com/jukRrQa
     

  11. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,677
    Likes Received:
    287
    GPU:
    RX 580 8GB
    I ran it too, 50% CPU usage latest MPC-HC x86. Tried the x64 version, 25%. What a difference!
     
  12. JohnLai

    JohnLai Guest

    Messages:
    136
    Likes Received:
    7
    GPU:
    ASUS GTX 970 3.5+0.5GB
    That 17.6Mbps isnt stressing the system enough.
    Try the video that I mentioned.

    Yup, I got exactly the same CPU utilization like what being shown in your screenshot. Depending on the scene of the Elecard_4K_video.h265, cpu utilization sometimes can reach 100% on my four cores. I noticed in your screenshot there are few instances where CPU utilization is 100% too.

    Core I3 Hyperthreading sure help in this regards.

    One thing, what do you mean by Elecard_4K_video.h265 looks like being recorded with slow motion?
     
  13. sirDaniel

    sirDaniel Guest

    Messages:
    105
    Likes Received:
    2
    GPU:
    940MX
    It was my visual impression. This video really is fluid on my laptop. Sometimes cpu is under 100% but i dont think it drops frames. So, i think video editor slowed motion a bit, to make theatrical effect. Look at the young parading/marshing pepole. This is slowmotion effect for whole demo - but thats my impression. So somebody might think her/his cpu is weak.

    Anyway, i'm gonna insist that something is wrong. I believe this video should fly on your system, look on comparison http://cpuboss.com/cpus/Intel-Core-i5-3570K-vs-Intel-Core-i3-370M adding oveclocking your cpu. Lemme think: update Your MB Bios (many revisions up-to-now), check out how many wideo ram is set at shared video memory option in bios (4k need at least 512 MB Video Memory as seen on screenschot), check out performance settings in GPU panel to make sure 3d performance is set, make sure you dont use any heavy renderer like madvr and so on. I hope you will find out why your cpu perform same as my littlie.
     
  14. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,677
    Likes Received:
    287
    GPU:
    RX 580 8GB
    That video plays at 10% CPU usage here, not sure If I downloaded the right one?
     
  15. Deckard

    Deckard Master Guru

    Messages:
    428
    Likes Received:
    13
    GPU:
    MSI 3090ti Gaming X

    just have and same result. no stuttering and clean 25% cpu usage

    [​IMG]
     

  16. JohnLai

    JohnLai Guest

    Messages:
    136
    Likes Received:
    7
    GPU:
    ASUS GTX 970 3.5+0.5GB
    This is mine. As I said, sometime when it reaches 100%, it will stutter a bit before resuming to normal.

    [​IMG]
     
  17. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,677
    Likes Received:
    287
    GPU:
    RX 580 8GB
    Here is mine.

    [​IMG]

    Are you using MPC-HC 1.7.7 x64? It makes a massive difference.
     
  18. X7007

    X7007 Ancient Guru

    Messages:
    1,879
    Likes Received:
    74
    GPU:
    ZOTAC 4090 EXT AMP
    What are the decoders you are using ? Madvr or EVR ?
     
  19. theoneofgod

    theoneofgod Ancient Guru

    Messages:
    4,677
    Likes Received:
    287
    GPU:
    RX 580 8GB
    LAV Video Decoder, EVR renderer.
     
  20. X7007

    X7007 Ancient Guru

    Messages:
    1,879
    Likes Received:
    74
    GPU:
    ZOTAC 4090 EXT AMP


    Why not Lav Video + MadVR ?
     

Share This Page