CachyOS / CachyOS/wiki

Chromium-Based Browsers HW Acceleration Flags use deprecated flags --ozone-platform-hint

Open
#396 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
146
Forks
230
Avg merge
15h 37m
Merged PRs (30d)
11

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.