-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a note in README explaining how to use this with Chrome #341
base: master
Are you sure you want to change the base?
Conversation
Accelerated video decoding has been reported to work on Chrome version >= 129 with NVIDIA driver version >= 565.57.01. It might work on slightly older versions of | ||
Chrome and/or NVIDIA driver, but glitches and bugs have been reported. | ||
|
||
These flags should suffice: `--enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,VaapiOnNvidiaGPUs,VaapiIgnoreDriverChecks`. Note that the [direct backend](#direct-backend) must be used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I use the following flags - --use-gl=angle --use-angle=vulkan --enable-features=VaapiOnNvidiaGPUs,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL,AcceleratedVideoDecode,UseMultiPlaneFormatForHardwareVideo
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but using Vulkan is not required (it has nothing to do with acceleration) and UseMultiPlaneFormatForHardwareVideo
does nothing since 129 (it is the default).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and AcceleratedVideoDecode
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that is redundant with AcceleratedVideoDecodeLinuxGL. I never had that flag enabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about VaapiIgnoreDriverChecks
- is it needed? I don't use it and get C
in nvidia-smi
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is required for some devices, and it can do no harm even if it's not needed - so it's better to include
doesn't seem to work for me EDIT: after testing, latest chromium seem to be working, but latest electron doesn't... |
============================== |
Decoding : | |
Decode h264 baseline : | 48x16 to 4096x4096 pixels |
Decode h264 main : | 48x16 to 4096x4096 pixels |
Decode h264 high : | 48x16 to 4096x4096 pixels |
Decode vp9 profile0 : | 128x128 to 8192x8192 pixels |
Decode vp9 profile2 : | 128x128 to 8192x8192 pixels |
Decode hevc main : | 144x144 to 8192x8192 pixels |
Decode hevc main 10 : | 144x144 to 8192x8192 pixels |
Decode hevc main still-picture: | 144x144 to 8192x8192 pixels |
Encoding : |
Log Messages
============
============
- [12171:12171:0204/202620.491978:WARNING:sandbox_linux.cc(430)] : InitializeSandbox() called with multiple threads in process gpu-process.
- [12171:12171:0204/202620.497426:WARNING:viz_main_impl.cc(85)] : VizNullHypothesis is disabled (not a warning)
- [12171:12424:0204/202635.548757:ERROR:vaapi_video_decoder.cc(1223)] : failed Initialize()ing the frame pool
Actually it's not working when playing a video
Does AV1 work for you with this? VP9 and H264 work great but AV1 uses CPU decode. Using a 4090 with 570.86.16
I tried chroium, ungoogled-chromium, and edge. |
I don't have a card that supports AV1, unfortunately. |
Yeah
You can see successful hardware decode on a VP9 video with |
Since Chrome is now widely reported to work, there is no need to pretend that it will not function, as long as we explain that the support is not official.