Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xuanruiqi
Copy link

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.

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.
Copy link
Contributor

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.

Copy link
Author

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).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and AcceleratedVideoDecode?

Copy link
Author

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.

Copy link
Contributor

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.

Copy link
Author

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

@littleblack111
Copy link

littleblack111 commented Dec 30, 2024

doesn't seem to work for me

EDIT: after testing, latest chromium seem to be working, but latest electron doesn't...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants