Skip to content

[Feature Request] Add option to disable WebView hardware acceleration for compatibility #2755

@moad64

Description

@moad64

Describe your suggested feature

Please add an option in the app settings to disable hardware acceleration for WebView components. Some devices (such as Samsung Galaxy J5 or other older/unsupported Android phones) may crash with errors related to OpenGL ES when initializing the WebView. Disabling hardware acceleration can allow users on these affected devices to use the app without crashing. Ideally, this setting should be toggleable from the settings screen.

Example:

  • Add a switch under Settings > Advanced (or similar)
  • When off: WebView uses default hardware accelerated rendering
  • When on: WebView is forced to software rendering using webView.setLayerType(LAYER_TYPE_SOFTWARE, null)

This will improve compatibility on older/unsupported Android devices.

Other details

See Cloudstream crash: "[FATAL:ui/gl/gl_version_info.cc:73] Chrome runs only on top of OpenGL ES through either ANGLE or native: VERSION ="; log indicates failure to initialize OpenGL in WebView. This is a common Android compatibility issue.

Apps like NewPipe or some browsers provide this toggle for problematic devices. Similar implementation requested here.

Acknowledgements

  • My suggestion is NOT about adding a new provider
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions