Summary: | chrome/chromium va-api support failing | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ferry <freaky> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | freaky, ionen, kangie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dmidecode
lspci vainfo chrome-gpu-status chrome-gpu-codecs |
Description
Ferry
2024-04-05 09:22:09 UTC
Created attachment 889509 [details]
dmidecode
Created attachment 889510 [details]
lspci
Created attachment 889511 [details]
vainfo
Created attachment 889512 [details]
chrome-gpu-status
Created attachment 889513 [details]
chrome-gpu-codecs
> I'm using a XPS 15 9510 laptop which has an Intel GPU
> (in the CPU) with a nVidia card. It's fine if it just uses the Intel one.
So VA-API works on wayland on your Intel?
If so that's not too surprising - VA-API is intel's open standard for this sort of thing.
I'm not actually sure if we expect this to work on nvidia (proprietary drivers), at least not out of the box - nvidia uses NVENC/NVDEC instead and I don't believe that they have VA-API support.
Hi, yes va-api seems to work. The nVidia card is just supposed to offload heavy 3D to if I'm not mistaken. Not sure how to troubleshoot this though. Chrome should just use the Intel card. Have tried installing media-libs/nvidia-vaapi-driver, but that doesn't make a difference. chromium didn't list any codecs either and seems firefox doesn't use hardware playback either. No clue where it's breaking, vainfo seems fine. There was a point, quite some time ago, it listed codecs just fine. HEVC playback was broken though (lots of green stuff and artifacts), AVC was fine. This is over a year ago though. It has been like this for quite some time now, but should be officially working now. Might try if it works under Ubuntu live 24.04 or something. nvidia-vaapi-driver only works with specific configurations[1] and is a bit of hack that acts as wrapper to nvdec (it's also not supported by nvidia itself) - consider yourself lucky if can get that to work at all in general vaapi is not supported with nvidia, need to use vdpau or nvdec instead but this is typically not supported by web browsers (some media players can use them, e.g. mpv -hwdec=nvdec). [1] https://github.com/elFarto/nvidia-vaapi-driver/blob/master/README.md tl;dr it says that chrome is not supported, this is primarily for use with firefox It doesn't work without nVidia drivers either. It supposed to just use the intel drivers. That's also what's in the vainfo output. |