Hardware accelerated video in browsers on chrome

Hello everyone!
In general, the problem is this: For a year now, I have been trying to transfer to Linux. In general, I figured out all the difficulties of the transition except for one - hardware video acceleration in the browser. Previously, the launch options worked fine:

--use-gl=desktop --enable-features=VaapiVideoDecoder

They are still working, but as soon as synchronization is turned on, video decoding is disabled. Although the: // gpu shows everything is working. And so on until you delete everything from the home folder associated with the browser. Naturally, synchronization flies, and hardware acceleration starts to work.
Rx560 video card.
Browsers: google chrome and edge.
Any help would be welcome.