Thank you a lot for the additional help! I installed the Chrome extension, and play the same video - as a result, both the Video and VideoEnhance processes are now under load.
Please, can you help me? Now I faced a strange problem. Looks like Ubuntu (Iām using 23.04 version) by default updated the Chromium browser from the latest/candidate/hwacc channel to stable one or other version.
I didnāt catch the notification, but I clear remember, that there was notification like: Close the Chromium browser, update is available, 13 days left or something like that.
I uploaded a screenshot from the About Chromium page. Version 115.0.5790.98 (Official Build) snap (64-bit) - itās the same version?
Now, when playing any YouTube videos, both Video and VideoEnhance show 0% load. Overall, Iāve noticed that the CPU load and temperature have increased, similar to when Iām using Firefox before.
I also tried using the command:: snap refresh chromium --channel=latest/candidate/hwacc
that gives me no result, it says: snap "chromium" has no updates available
Uff, I apologize. Your diagnose is accurate.
Those branches have an expiration time of 30 days (no way around that) and I forgot to bump this one to keep it alive.
This is fixed now.
That said, just as additional information, in the snap world you can always use snap revert {snap-name}
when you detect that a refresh caused problems and you want to go back to the previously installed revision.
And also edge/hwacc
is where development happens so it is ānaturallyā bumped from time to time so that problem doesnāt happen there.
Thank you, I understand. Although, Iām not a very technical user)
I installed back the browser using command: snap refresh chromium --channel=latest/candidate/hwacc
, now everything works as it was previously.
I think this version of Chrome should be pushed to the stable branch as soon as possible. Many Intel users with low spec laptops will benefit a lot from this update, and I can confirm that!
Great, and thanks for the report!
Today I merged this version of Chromium into the edge channel, so the next edge version (i.e. > 116.0.5845.42) will have it enabled if all goes right.
Then it will be beta and only then stable.
If there is va-api support there must be very little work to just not blacklist AMD hardwareā¦?
What do you mean with blacklist AMD hardware?
The official latest/edge channel has now x64 is in 117 and with hwacc merged.
If you saw my previous comment announcing this, it is now deleted as I had to revert it because of LP:2028653.
I mean itās libva and Linux DRM driversā¦ Is there any other reason why itās not working on AMD than simply that itās only been enabled for Intel nowā¦ ?
@ernstp: The original project was to get it working specifically on Intel hardware. AMD has not been disabled in any way, itās just not been tested. If you have AMD hardware and think you have a VA-API driver that should work then please log a bug against that driver.
There doesnāt seem to be any independent driver for AMD that I can see:
$ apt depends va-driver-all
va-driver-all
|Depends: i965-va-driver
Depends: i965-va-driver-shaders
|Depends: intel-media-va-driver
Depends: intel-media-va-driver-non-free
Depends: mesa-va-drivers
but maybe it will work on AMD hardware that matches one of these:
$ dpkg -L mesa-va-drivers
...
/usr/lib/x86_64-linux-gnu/dri/r600_drv_video.so
...
/usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
Or if you want the latest drivers from AMD (which arenāt officially supported by Ubuntu so things may break) then try https://www.amd.com/en/support/linux-drivers. From what I understand, thatās where youāre most likely to find AMD hardware support for patent-encumbered video codecs.
AMD has had VA-API support in Mesa for a long time, on Ubuntu itās:
mesa-va-drivers:amd64: /usr/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
And itās working well AFAICT, Iām using it in many other apps (Firefox needs a sandbox-related tweak right now).
@nteodosio, the chrome binary seems to contain string /snap/chromium/current/gnome-platform/usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
. Is that right? If not then perhaps check on this patch.
I didnāt see it blacklisted, it was an early assumption.
I got the impression that Va-api had been enabled for Intel, hence AMD was still blacklisted/not whitelisted.
We should move this discussion elsewhere:
If your Firefox is a snap then please report a bug to Chromium.
If your Firefox is not a snap then please report a bug to the GNOME snap.
hwacc is also now merged into the official latest/beta
, isnāt it?
Thanks a lot for this!
Indeed it is!
Weāll have to wait a bit longer for stable because we want our automated tests migrated to it.
https://launchpad.net/bugs/2033433 is also in the way for Xorg users.
what is the recommended channel to be installing chromium from in order to get hardware acceleration on an intel-based platform?
thank you for confirming (implicitly) that itās not yet in candidate or stable.