Run media-gpu vp9 hw decoding on macOS 11+
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
People
(Reporter: alwu, Assigned: alwu)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
Vp9 hw decoding is supported since osx11, on the CI we mainly use osx10.15. But we have some osx11 (m1) and osx13 (m2) available, m1 and m2 chip should be able to do vp9 hw decoding.
However, I couldn't let our test run successfully on those machines. On osx11, I got kVTPropertyNotSupportedErr when trying to create hw decoder. On osx13, not only hw decoding test, there are many tests failed due to not being able to create a decompression session. This bug is used to investigate the problem.
Comment 1•2 years ago
|
||
:masterwayz, can you help :alwu with figuring out what needs to be adjusted on the OS in order to do vp9 hw decoding?
Comment 3•2 years ago
|
||
Happy to help. I combed through the google search results and found this article which may be of some value and might be worth taking a look at :alwu
https://developer.apple.com/forums/thread/740027
I will continue to investigate on the OS side
Comment 4•2 years ago
•
|
||
Logged into a staging node macmini-m1-1 OS v11.2.3 this morning. It appears that Safari.app uses the vp9 codec when playing back videos on youtube by default. Screen shot attached. Just another interesting data point imo.
Firefox.app and Safari.app also seem to be behaving the same way using the vp9 codec on my work machine (macOS 14.1)
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
so somehow Firefox isn't finding the vp9 codec either in general, or during test runs, OR... there is a bug in firefox code or tests :)
Comment 7•2 years ago
|
||
Installed Firefox v119 on the same node and verified vp9 was being used for youtube playback in Firefox (attached)
Comment 8•2 years ago
|
||
this this is mac mini M1 at macstadium (osx 1100).
this would be these jobs:
https://treeherder.mozilla.org/jobs?repo=mozilla-central&searchStr=1100%2Cmda%2Cgpu&revision=925231a8fb5eccf055afb3e9921596d8f990128b
the test from the original comment isn't in ^ results, so possibly we need to fix something else?
| Assignee | ||
Comment 9•2 years ago
|
||
Thanks! I will keep investigating this issue later. Keep my NI.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 10•1 year ago
|
||
Let's separate the task for Windows and MacOS, as I see some issues happen on macos but not on Windows.
Description
•