Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
can anyone illuminate why video toolbox / hardware encoding doesn't permit constant quality? average bitrate files are usually much larger codec for codec than constant quality as it can upshift and downshift bitrate depending on pixel shift activity.. ie busier scenes with more original pixels vs images where little changes ?
I am totally on the other side, I only use average bitrate. It can produce better quality video for the same file size (or same quality, but smaller size).

Average bitrate is really "average", the encoder will assign more bitrate on the more demanding scenes. And this is the key to keep better video quality with the same file size.
[automerge]1588958734[/automerge]
@h9826790

can you send your compressor custom setting to me?
may a have any wrong settings
Exactly as per my screen capture. Do NOT alter anything (except bitrate). As simple as tick the "Allow frame reordering" box can fallback to software encode.

P.S. I don't mind to send you my setting, but I am not with my cMP right now, I can only remote access the screen captured before.
 
  • Like
Reactions: Chung123
mine are the same - do not see "allow frame rendering" in the settings




edit:

now it works, i edited the wrong setting!
 
Last edited by a moderator:
i customized an apple device setting

EDIT:

ok, you right
i edited a prores setting and now it works as should
 
Last edited by a moderator:
  • Like
Reactions: h9826790
Anyway, I just make a Youtube video to show "How to export HEVC in FCPX via HWAccel". If you want to read the text clearly, please watch the video at 4K.

Thanks.

I have 2 questions:
1- if even with the 10 bit hevc setting and the encoder type set to high quality the hardware is accelerated
2- Does ffworks (the version with graphics) work better?
 
Thanks.

I have 2 questions:
1- if even with the 10 bit hevc setting and the encoder type set to high quality the hardware is accelerated
2- Does ffworks (the version with graphics) work better?
1) no

2) no idea what you means "works better", I never use ffworks. I simply use FFMpeg directly.

I rarely use Compressor to transcode anything. I almost always use FFMpeg for transcoding.

That Compressor setting is for FCPX exporting. I cannot send a project to FFMpeg to export. For me, they are for different task, can't compare directly.
 
I used the steps in the OP and got H264 HWAccel working on cMP 3,1 with RX580. However, I can't figure out why HEVC is not accelerated, as well. Any ideas?
 
I used the steps in the OP and got H264 HWAccel working on cMP 3,1 with RX580. However, I can't figure out why HEVC is not accelerated, as well. Any ideas?
Only OpenCore can make HEVC hardware encoding works.

If you use the "Traditional method" (in post #1), that can still activate HEVC hardware decode, but won't show up in VideoProc (please see post #1 Q19)
 
  • Like
Reactions: Cfreak
Got it. Thank you. I still can't play 4k youtube videos without stutter. Swordsmith video stutters tremendously and the jellyfish video is unwatchable at this point, as well. VCE and UVDE are reading 0 in terminal while videos are playing.
 
Last edited:
Got it. Thank you. I still can't play 4k youtube videos without stutter. Swordsmith video stutters tremendously and the jellyfish video is unwatchable at this point, as well. VCE and UVDE are reading 0 in terminal while videos are playing.
Then HEVC hardware decode isn't working yet.
 
I appreciate the humorous observation, whether or not the humor was on purpose. hahaha

Seriously, though. Is the HVEC HW acceleration just not possible on 3,1 at this point?
 
Yes there is. Just create a FAT32 partition on the Catalina drive before creating Vbox drive out of it and follow the same instructions. Once you open the whole disk in Virtual box and you install Windows it will create the boot file in the ESP partition of the drive.
I got this error, when I tried to start the Windows 10 VM (Mojave host):
Code:
Failed to open a session for the virtual machine Windows 10.

VD: error VERR_NOT_SUPPORTED opening image file '/Volumes/Apple 2TB/vmdisk.vmdk' (VERR_NOT_SUPPORTED).

VD: error VERR_ACCESS_DENIED opening image file '/Volumes/Apple 2TB/vmdisk.vmdk' (VERR_ACCESS_DENIED).

Failed to open image '/Volumes/Apple 2TB/vmdisk.vmdk' in read-write mode (VERR_ACCESS_DENIED).

AHCI: Failed to attach drive to Port0 (VERR_ACCESS_DENIED).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

Yes, I did run VirtualBox using "sudo".
Tried to use this as well:

Code:
sudo chown $(USER) /dev/disk1s3
sudo chmod 660  /dev/disk1s3
chmod 600 ~/vmdisk.vmdk
 
The partitions which are linked to the tend to mount themselves from time to time if the Virtualbox is not running. Make sure all partitions are unmounted and try again.
[automerge]1589122272[/automerge]

Thank you for your response. It is unmounted, altought.
 
Try enabling "Use Host I/O Cache" for the SATA controller.

Thanks, it worked.

But I have to say that I did two things:
a) booted from a different disk (I was using the same boot disk, but another - unmounted - partition);
b) enabled “I/O Cache” as you told me.

I really don’t know which one worked.
 
Thanks, it worked.

But I have to say that I did two things:
a) booted from a different disk (I was using the same boot disk, but another - unmounted - partition);
b) enabled “I/O Cache” as you told me.

I really don’t know which one worked.
If you have multiple partitions all of them have to be unmounted for using the entire disk in VirtualBox as you create mount point to the whole disk /dev/diskX and not to a partition /dev/diskXsY
 
Hi guys, you’re doing an amazing job here.
@h9826790, @cdf and many others, thanks for everything.

I will tell my situation from the beginning, in the hope that there will be a solution.

My cMP has a very common configuration:

5.1 (updated from 4.1),
BootRom: 144.0.0.0.0,
CPU: 2x X5690,
Ram 40 GB 1333Mhz
GPU: Sapphire Radeon RX 580 8GB double pulse.

I followed cdf's OpenCore on the Mac Pro post, and get:
1 - Mojave (clean install) on a Sata hard drive in tray 1
2 - Catalina with opencore, on an NVME in the PCi 4 slot

So far so good, but neither hwaccel nor DRM (Apple TV +) has worked, as expected.

So I replaced the EFI folder with the one in the @h9826790 package, post #1314.
Then I set the SMBios Update parameter to "true" and disabled VMM, and DRM (Apple TV +) and H264 and HVEC HWAccel worked.

However, in Catalina, Geekbench 5 GPU performance drops by half, for both Open CL and Metal, compared with Mojave, in which everything works perfectly.

If I set SMBios Update to "false", Geekbench performance backs to normal, but I get no hwaccel nor DRM (Apple TV +).

I'm thinking about forgetting Catalina and installing Mojave on the NVME disk, but I feel that I'm probably missing something.

How can I fix it? Thanks.

@leoaf79 I have exactly the same Geekbench performance issue, have you found a solution for this? Thanks
 
  • Like
Reactions: leoaf79
@leoaf79 I have exactly the same Geekbench performance issue, have you found a solution for this? Thanks
Unfortunately not. :(
Just a few minutes ago I tried the new instructions from this post, getting the same results:
Would you please share your cMP configuration? Maybe we can found the issue cause.

Mine is:

Mac Pro 5,1 (4,1)
Bootrom 144.0.0.0.0
2 x
Xeon X5690 @ 3.46Ghz (3.50GHz if SMBIOS Update = true)
48 GB RAM @ 1066MHz (4 x 8GB Kingston KHX1600C10D3B/8G, 4 x 4GB Kingston KVR1333D3N9/4G)
Sapphire Radeon RX 580 8GB Pulse Dual
🖥LG 4K HDR Display
💿LG WH14NS40 Super Multi Blue Internal 14x Blu-ray Disc Rewriter
💿LG GBW-H20L SUPER MULTI BLUE Blu-Ray Disc REWRITER
1TB Sabrent Rocket NVMe PCIe M.2 2280 Internal SSD (SB-ROCKET-1TB)
500GB Western Digital Caviar Blue WD5000AAKX 7.200RPM 16MB SATA III HDD
2TB Western Digita
l RE4 WD2003FYPS-27Y2B0 7200RPM SATA 3Gbps 64MB HDD
2 x
1TB APPLE Hitachi HTS541010A9E662 5400RPM SATA 2.5-inch HDD
 
Last edited:
Unfortunately not. :(
Just a few minutes ago I tried the new instructions from this post, getting the same results:
Would you please share your cMP configuration? Maybe we can found the issue cause.

Mine is:

Mac Pro 5,1 (4,1)
Bootrom 144.0.0.0.0
2 x
Xeon X5690 @ 3.46Ghz (3.50GHz if SMBIOS Update = true)
48 GB RAM @ 1066MHz (4 x 8GB Kingston KHX1600C10D3B/8G, 4 x 4GB Kingston KVR1333D3N9/4G)
Sapphire Radeon RX 580 8GB Pulse Dual
🖥LG 4K HDR Display
💿LG WH14NS40 Super Multi Blue Internal 14x Blu-ray Disc Rewriter
💿LG GBW-H20L SUPER MULTI BLUE Blu-Ray Disc REWRITER
1TB Sabrent Rocket NVMe PCIe M.2 2280 Internal SSD (SB-ROCKET-1TB)
500GB Western Digital Caviar Blue WD5000AAKX 7.200RPM 16MB SATA III HDD
2TB Western Digita
l RE4 WD2003FYPS-27Y2B0 7200RPM SATA 3Gbps 64MB HDD
2 x
1TB APPLE Hitachi HTS541010A9E662 5400RPM SATA 2.5-inch HDD
Tried Radeon Boost yet? (Update: checked history, you tried that already obviously)
 
Last edited:
  • Like
Reactions: leoaf79
Unfortunately not. :(
Just a few minutes ago I tried the new instructions from this post, getting the same results:
Would you please share your cMP configuration? Maybe we can found the issue cause.

Mine is:

Mac Pro 5,1 (4,1)
Bootrom 144.0.0.0.0
2 x
Xeon X5690 @ 3.46Ghz (3.50GHz if SMBIOS Update = true)
48 GB RAM @ 1066MHz (4 x 8GB Kingston KHX1600C10D3B/8G, 4 x 4GB Kingston KVR1333D3N9/4G)
Sapphire Radeon RX 580 8GB Pulse Dual
🖥LG 4K HDR Display
💿LG WH14NS40 Super Multi Blue Internal 14x Blu-ray Disc Rewriter
💿LG GBW-H20L SUPER MULTI BLUE Blu-Ray Disc REWRITER
1TB Sabrent Rocket NVMe PCIe M.2 2280 Internal SSD (SB-ROCKET-1TB)
500GB Western Digital Caviar Blue WD5000AAKX 7.200RPM 16MB SATA III HDD
2TB Western Digita
l RE4 WD2003FYPS-27Y2B0 7200RPM SATA 3Gbps 64MB HDD
2 x
1TB APPLE Hitachi HTS541010A9E662 5400RPM SATA 2.5-inch HDD

Mine is:

Mac Pro 5,1 (4,1)
Bootrom 144.0.0.0.0
2 x
Xeon X5660
96 GB RAM @ 1333MHz (MICRON 6X16)
ASUS Radeon RX 580 8GB OC Dual
🖥Apple Cinema Display 27
512 Samsung SM951

Is it caused by RX580?
 
  • Like
Reactions: leoaf79
Mine is:

Mac Pro 5,1 (4,1)
Bootrom 144.0.0.0.0
2 x
Xeon X5660
96 GB
RAM @ 1333MHz (MICRON 6X16)
ASUS Radeon RX 580 8GB OC Dual
🖥Apple Cinema Display 27
512 Samsung SM951

Is it caused by RX580?
It seems the combination of "RX580 + Catalina + board ID spoofing" cause this issue
 
  • Like
Reactions: leoaf79
I wrote a little script in order to change my OpenCore configuration between h9826790s config for hardware acceleration (from Post 1314) and cdfs config for macOS updates (from the OpenCore on the Mac Pro thread).

The script just mounts the EFI partition and copy one of two config.plist files into the OC subfolder and reboots, thats it but for me at least its a timesaver. If you want to use or modify it (I really haven't coded it elengantly, just made it work. For example I only use one SSD, if you use multile you might have to modify it) please go for it!!

Bildschirmfoto 2020-05-15 um 16.39.40.png


If you want to use it you have to copy the reconfigure OpenCore folder (the app itself and the diffenent config files live in there) into your applications folder (the path is hardcoded in the script) and put your own config.plist files into the subfolders. The .workfolw file is just the sourcecode if you want to modify.
 

Attachments

  • reconfigure OpneCore.zip
    3.3 MB · Views: 241
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.