VP9 hardware acceleration doesn't work/is missing on Windows 10 1809 64
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
People
(Reporter: aros, Unassigned)
References
Details
Attachments
(7 files)
Steps to reproduce:
Watch a youtube video.
Actual results:
VP9 SW
Expected results:
VP9 HW
Reporter | ||
Comment 1•2 years ago
|
||
This is a brand new profile.
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 3•2 years ago
|
||
Reporter | ||
Comment 4•2 years ago
|
||
Windows 10 1809 LTSC
NVIDIA 527.56
Hi, thanks for the report!
From the config information you shared, VP9 decode hardware should be working. During VP9 video playback in Firefox, does the GPU Engine Usage tab on DXVA usage checker report any activity in the VideoDecode column?
With the GPU engine usage monitor running and hardware decode working, you should see something like this.
Reporter | ||
Comment 7•2 years ago
|
||
Reporter | ||
Comment 8•2 years ago
|
||
Reporter | ||
Comment 9•2 years ago
|
||
set MOZ_LOG=PlatformDecoderModule:5
set MOZ_LOG_FILE=c:\log.txt
"c:\Program Files\Mozilla Firefox\firefox.exe"
Reporter | ||
Comment 10•2 years ago
|
||
I've always assumed that Video Decode in the Task Manager should be different than 0% when using HW video acceleration.
Anyways, I've uploaded the requested info and even more.
Comment 11•2 years ago
|
||
Thank you for the info, it confirms that hardware accelerated decode isn't being used (though nothing looks obviously off from your config). If you could capture a profile following the instructions in this short video, it would help us debug further.
Reporter | ||
Comment 12•2 years ago
|
||
Comment 13•2 years ago
|
||
Thanks for taking the time to capture a profile, but it looks like the URL may have been copied from your address bar which doesn't give us access. After capturing the profile and clicking Upload local profile
, a permalink box should pop up with a link to a https://share.firefox.dev/...
address. If the box doesn't pop up, it should be accessible via a button where the upload button was between the Re-upload
and Docs
buttons. If you can capture another profile and share that link, I'll be happy to take a look.
Reporter | ||
Comment 14•2 years ago
|
||
Comment 15•2 years ago
|
||
Thanks! A fix for this issue should now be in the next Firefox release and just arrived in nightly. If you'd like to help verify, you can download nightly (should be the third option here) and give it a try with a fresh profile. If you do try nightly, I'd be interested in knowing if it fixes the issue as verified with the GPU engine usage tab in DXVA checker.
Reporter | ||
Comment 16•2 years ago
|
||
I've tested the 6th of February nightly and it's still not working.
Meanwhile MPC-HC plays this file perfectly (i.e. it uses HW acceleration):
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 17•2 years ago
|
||
I've not noticed any VP9/ffmpeg/media related fixes either for the past few days.
Comment 18•2 years ago
|
||
Thanks for the update! The thought was that this was related to bug 1814274, so this will need further investigation. NI'ing alwu since we've been working on related issues.
Comment 19•2 years ago
|
||
Recently noticed the same issue (ltsc 21h2, 527.56). Reverting back to 106 but no help. I wonder if something is off with nvidia driver...
Reporter | ||
Comment 20•2 years ago
|
||
(In reply to dirtalive from comment #19)
Recently noticed the same issue (ltsc 21h2, 527.56). Reverting back to 106 but no help. I wonder if something is off with nvidia driver...
Acceleration works just fine in MPC-HC, so I guess it's a Firefox issue.
Comment 21•2 years ago
|
||
(In reply to Artem S. Tashkinov from comment #20)
(In reply to dirtalive from comment #19)
Recently noticed the same issue (ltsc 21h2, 527.56). Reverting back to 106 but no help. I wonder if something is off with nvidia driver...
Acceleration works just fine in MPC-HC, so I guess it's a Firefox issue.
I finally figured out why. LTSC does not come with VP9 video extension from Microsoft Store. Once I install it the VP9 hardware decoding works again in firefox. MPC works probably because it uses its own codec, unlike firefox I think.
Reporter | ||
Comment 22•2 years ago
|
||
I can confirm that Firefox requires Windows 10 VP9 video extension from the Microsoft Store in order to enable HW acceleration of VP9 video. No idea why it works in MPC-HC regardless.
This bug can be closed as INVALID except I'd really love to see Firefox checking for the presence of this extension and notifying the user in the case it's absent.
Reporter | ||
Comment 23•2 years ago
|
||
Of course this [probably only] applies to Windows 10 LTSC - I don't have any other versions to test it.
Comment 24•2 years ago
|
||
Note that, for AV1 hardware decoding, you will also need to install the extension from the Microsoft Store. There is a related bug 1764200.
The reason that MPC works might be because they uses DXVA API directly for the hardware decoding, by contrast Firefox relies on the Windows Media Foundation framework, and Firefox can't perform hardware decoding for those codecs lacking of valid decoder MFT.
Close this bug per comment 21 and 22.
Reporter | ||
Comment 25•2 years ago
|
||
You marked it closed but there's no publicly available documentation or any information in the browser itself to help understand why it's not working.
You can trivially detect whether the required DLLs are not present in the system and warn the user about that.
Right now the browser without the Microsoft codec happily reports VP9: HW
and it's just wrong and false.
Reporter | ||
Comment 26•2 years ago
|
||
c:/Program Files/WindowsApps/Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe/x64/msvp9dec_store.dll
c:/Program Files/WindowsApps/Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe/x64/msvpxenc.dll
Detecting via DLLs doesn't sound rational, there must be an API for that.
Reporter | ||
Comment 27•2 years ago
|
||
Comment 28•2 years ago
|
||
For the purpose of grouping related useful resources together, please move discussions about how to solve this for users to bug 1764200 which is about considering to prompt users to see if they want to install extensions or not.
Description
•