saiarcot895 / chromium-ubuntu-build

Packaging files for building Chromium on Ubuntu
137 stars 32 forks source link

V4L2 Video Decoding support #65

Open Hexxeh opened 4 years ago

Hexxeh commented 4 years ago

It appears that V4L2 decoding support was disabled here some versions ago: https://github.com/saiarcot895/chromium-ubuntu-build/blob/86ca7452d0a8984d3c3dca47bb73b519cc1c1a2b/debian/rules#L136

Why was that? Does this no longer work in Chromium? I'm trying to get accelerated video decoding via the Hantro VPU on an RK3399 chipset to take the load off of the CPUs.

overwatch666 commented 6 months ago

@saiarcot895 @jolting Because I am using the apt source ppa:saiarcot895/chromium-beta, after I install it, I can use --ignore-gpu-blocklist to successfully use GPU acceleration, but after I change to a newer version, I cannot GPU acceleration is used, so I would like to know which of these patches you are applying is adapted to arm’s mali GPU.

jolting commented 6 months ago

@overwatch666 It's unlikely that the V4L2 patches that have been merged upstream would affect your ability to run the ARM Mali GPU. I recommend opening a separate bug to track your issue. The comment about WebGPU might be throwing you off. This isn't required for GPU acceleration.

overwatch666 commented 6 months ago

@jolting Thank you for your suggestion. It may be caused by the new chromium version update. When I checked the about://gpu interface, my video decoder and WebGL have become software acceleration and I cannot use my GPU. Every time the GPU process It will crash. I don’t know if it’s a problem with Chromium itself or my own problem, because I didn’t make any changes.

amazingfate commented 5 months ago

@overwatch666 that xtra ppa does not enable v4l2 for arm. They borrow build rules from debian but disable v4l2 by themselves.