Chromium-Based Browsers HW Acceleration Flags use deprecated flags --ozone-platform-hint
## Issue:
Page: https://wiki.cachyos.org/configuration/enabling_hardware_acceleration_in_google_chrome/
Sources on deprecation:
* https://chromium-review.googlesource.com/c/chromium/src/+/6819616
* https://issues.chromium.org/issues/343352540
* https://www.electronjs.org/blog/tech-talk-wayland
The ``--ozone-platform-hint`` flag has been removed and default behavior for the hint is always auto ``--ozone-platform``, seemingly still exists per:
* https://chromium-review.googlesource.com/c/chromium/src/+/6775426
* https://www.electronjs.org/blog/electron-38-0#removed-electron_ozone_platform_hint-environment-variable
That said, it follows the hint unless itself overridden. Therefore can be treated as being "auto" by default.
## Changes required:
1. Lines regarding ``--ozone-platform-hint=x11`` will be removed.
2. Lines regarding ``--ozone-platform`` that do not actually change behavior will be removed.
3. The default assumption must be that the user is on Wayland, so grammar and wording regarding such must be tweaked on this page to fit such.
0 条评论