MP4,1-->5,1+RX580+FCPX10.4.3+HEVC = CRASH!

Discussion in 'Mac Pro' started by Socket, Oct 3, 2018.

  1. Socket macrumors regular

    Socket

    Joined:
    Jul 9, 2015
    #1
    Hi!
    I'm trying to work with an HEVC file, filmed by an Iphone, in FCPX 10.4.3 and Mojave installed 1 hour ago.
    The graphic card is an RX580

    Opening the file in Quicktime or in finder or VLC, all is OK, but...

    If I import the file into a project in FCPX, I hear only the audio, then it freezes and beach-ball...and force quit is the only solution.

    Why I can see the video in quicktime but NOT in fcpx?

    I had this problem in High Sierra but I thought that it was caused by non-supported-card...now the RX580 is Mojave full-support, so it's strange this error!

    Can someone with a Mac Pro 2009 + rx580 give a look and try if has the same problem?
    Thank you!
     
  2. fhturner macrumors 6502

    fhturner

    Joined:
    Nov 7, 2007
    Location:
    Birmingham, AL & Atlanta, GA
    #2
    I briefly tried playing w/ one of the Sony HEVC sample files that we've tested and discussed in other threads, and I noticed that it hung up FCPX also. However, since that was Mojave beta, I just figured it was due to new HEVC decode support for the RX 580, and that a FCPX update would likely clear it up. Didn't bother to test in High Sierra, so that's troublesome that you see the same problem there.

    Can you generate optimized media for the HEVC file and work w/ that? Not that you should have to do it no matter what, but that might give you a workaround for the moment.

    P.S. My test was on a 2010 machine, so unlikely it has anything to do w/ yours being an updated 4,1.
     
  3. Socket thread starter macrumors regular

    Socket

    Joined:
    Jul 9, 2015
    #3
    Not in FCPX...the % during transcoding remain 0%
    I must to open in VLC, transcode in VLC and import in FCPX. I Hope next FCPX update will fix it
     
  4. orph macrumors 68000

    orph

    Joined:
    Dec 12, 2005
    Location:
    UK
    #4
    trans code the file with something like handbrake if you need to edit it now.
    report the bug to apple i gess?
     
  5. Socket thread starter macrumors regular

    Socket

    Joined:
    Jul 9, 2015
    #5
    Yes, i'm transcoding in VLC for now, but when I have a lot of files, it's very annoying
    I reported the bug a month ago when I was working in High Sierra, but no answers
     
  6. bookemdano macrumors 65816

    Joined:
    Jul 29, 2011
    #6
    I think maybe Apple is aware of HEVC issues with Mojave. h98 said that the 10.14.1 betas have HEVC decode completely disabled. So hopefully that means Apple is working on it and will have it fixed soon.
     
  7. RamMac macrumors newbie

    Joined:
    Jul 12, 2018
    #7
    This is interesting, I had issues with Sapphire RX580 Nitro+ and all earlier versions of Mojave with images and videos in Photos app taken with my iPhone 7 with HEVC codec on. Now after installing 10.14.1 all problems gone and all images works in photos app as they should.
     
  8. Wheelbur macrumors newbie

    Joined:
    Oct 3, 2018
    #8
    Hi,
    same problem here since 10.13.4. After some investigation, the first HEVC video played after the startup is played with the hardware decoder of the RX580 (look for gva in console and cpu usage of the VTDecoderXPCService process) in Quicklook or Quicktime and on the second video the gva give an error. In Quicklook and Quicktime the video can be played but with large cpu usage.
    Same with Resolve.
    But with FCPX, I also get a hang.

    On 10.13.6 I use drivers from 10.13.3 and I can use FCPX but with large cpu usage.
    Same problem with 10.14. Not tested with 10.14.1.

    So FCPX need an update to not crash in this situation but the root seems to be the driver of the RX580.

    i have a XFX model with 8Go, I wonder if the Saphire Pulse model or the eGPU have the same problem.

    A opened a Bugreport but no reply from Apple yet.
     
  9. h9826790 macrumors G5

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #9
    Apple know about this issue, because I submitted a bug report for this exact issue and they are working on it.

    Screenshot 2018-10-04 at 16.40.34.png
     
  10. Terrence1828 macrumors newbie

    Joined:
    Sep 11, 2018
    #10
    I also have that problem,
    My Mac pro 4.1 up to 5.1 ,is 3.33 x2 ,128GB ram ,sapphire pulse Rx580,
    My iphone X setting video is 4k 60fps,put to fcpx , no sound ,and always need close program.
    See that topic ,problem in word
     
  11. MIKX, Oct 6, 2018
    Last edited: Oct 6, 2018

    MIKX macrumors 6502a

    MIKX

    Joined:
    Dec 16, 2004
    Location:
    Japan
    #11
    How about ALL of you new posters take 5 minutes to create a Macrumors " sig" so that we can see ..
    1. Which cMP you have.

    2. Which cMP model + which GPU ( flashed ? )

    3. Which Mac OS release .. and . . whether you did a CLEAN INSTALL

    4. .. everything else useful info that might allow us to see what you did wrong.

    ==================

    As an example .. here is my SIG it tells you around 99% accurate info regarding my personal cMP current setup.

    Show us your SIG. many members here with vast experience will see your sig & help you
     
  12. Wheelbur, Oct 12, 2018
    Last edited: Oct 12, 2018

    Wheelbur macrumors newbie

    Joined:
    Oct 3, 2018
    #12
    I've got an answer from Apple, they said it's fixed in the last 10.14.1 beta.

    After upgrading I can say that FCPX is not crashing anymore, but I'm not entirely sure that the decoding hardware acceleration is there. The Cpu usage of VTDecoderXPCService is high, but the GPU is 100%. There is no more error with GVA in the console because it's not loaded...
    There is also no Airplay monitor icon on the menu bar.
    But there seems to be a metal decoder that I've never seen before.

    Edit:
    Reverted back to 10.14.0 to compare
    First time I launch an HEVC video with quicklook I get very low CPU and GPU usage and the console log show that GVA is behaving normally.
    The second time I launch the video I get high CPU.
    The screenshot show a fallback to the regular codec VCPHEVC.bundle after the failure of the AppleGVAHEVCDecoder.bundle
     

    Attached Files:

  13. Wheelbur macrumors newbie

    Joined:
    Oct 3, 2018
    #13
    Bad news, Apple closed my bugreport.
    They « did not planned to enable hardware decoding on this Platform »

    Maybe not unexpected, but I was hopeful!
    And in fact it was working, but only for one video per session...
     
  14. crjackson2134 macrumors 601

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #14
    Wow, what a crappy solution. Time for opening more bug reports. It's stupid to have it at your fingertips but just snatched away because they can.
     
  15. teagls macrumors regular

    Joined:
    May 16, 2013
    #15

    If you want to test for hardware encoding you can try this out. Copy the code in this gist – https://gist.github.com/teaglin/f1e2e9478228311edc8663c6902c7d82

    Put it in a swift file like encoderTest.swift
    Then run the swift file in terminal like "swift ./encoderTest.swift"

    You will get an output like so:

    GVA encoder info: AMD performance mode : 2
    GVA encoder info: deleteSCDMetalContext : texture cache hits: 0, misses: 0
    Can do hardware H264 encoding: true
    Can do hardware HEVC encoding: false
     
  16. h9826790 macrumors G5

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #16
    This is the result of a Sapphire PULSE RX580 8GB in a Mac Pro 5,1 with 10.14.0
    Screenshot 2018-10-17 at 07.13.28.png
     
  17. teagls macrumors regular

    Joined:
    May 16, 2013
    #17
  18. h9826790 macrumors G5

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #18
  19. fireedo macrumors regular

    fireedo

    Joined:
    Jun 9, 2011
    Location:
    Indonesia
    #19
    just curious, what if the result like this :

    Screen Shot 2018-10-17 at 07.02.20.png
     

    Attached Files:

  20. teagls macrumors regular

    Joined:
    May 16, 2013
    #20
    Interesting – so you have HEVC hardware encoding available but not h264. So for those curious. The code I included attempts to create a session requiring hardware encoding for that specific codec through Apple's internal framework Videotoolbox. Unfortunately Apple controls how that framework interacts with your specific hardware and Videotoolbox is the only way to get hardware encoding.
     
  21. orph macrumors 68000

    orph

    Joined:
    Dec 12, 2005
    Location:
    UK
    #21
    will be interesting to see what a macpro with a vaga or rx 560 (or NVIDIA?) card says, is apple replaying on just the igpu for hardware encode/decode?

    im not shore how to make the swift file, is it safe for some one to send it to me so i can try (osx10.13)
     
  22. Kubat macrumors newbie

    Kubat

    Joined:
    Jan 10, 2006
    Location:
    Poland
    #22
    Hello all
    I'm 4.1 ->5.1 I had just swapped Radeon HD 7950 to Sapphire RX 580 nitro+ 8GB, installed Mojave and all HEVC files that used to run on FCPX are now blacked out, no GPU render and constant FCPX crashes when attempting to play the video.
    Tried to convert to ProRes through Compressor - i get audio + green flickering screen... And no answer so waiting for 10.14.1 or maybe there is a way to mod/flash the card?
     
  23. h9826790 macrumors G5

    h9826790

    Joined:
    Apr 3, 2014
    Location:
    Hong Kong
    #23
    Apple’s engineer told me that should be fixed in the latest 10.14.1 beta.
    However, I haven’t try it, AFAIK, they simply took out all hardware decode from the RX580 to achieve that stability. I prefer to keep that, so haven’t try the leastest build yet. And I rarely need to direct edit HEVC anyway. So, doesn’t really matter to me.

    Anyway, 10.14.1 officially release should be around the corner. If you don’t want to use publish beta, you may wait for the official release.
     
  24. Kubat macrumors newbie

    Kubat

    Joined:
    Jan 10, 2006
    Location:
    Poland
    #24
    I can confirm, after the official 10.14.1 update, FCPX and Comressor recognise HEVC files!
    The playback is very laggy, but still - no crash! :) I'll do some tests with istat menus to see the GPU performance.
    Thanks!
     
  25. fhturner macrumors 6502

    fhturner

    Joined:
    Nov 7, 2007
    Location:
    Birmingham, AL & Atlanta, GA
    #25
    Ok, cool. So, since "very laggy" and since they closed my bug reports, probably just CPU decoding...but at least no hangup/crash in FCPX. That's something at least.
     

Share This Page

24 October 3, 2018