Skip to content

Electron-Based Apps fail to use Hardware Acceleration in cachyos-settings 1:1.2.8-1 #162

@JI20

Description

@JI20

Hi there, there seems to be a bug in version 1:1.2.8-1, causing Electron Based Apps to fail using Hardware Acceleration, leading to them taking multiple minutes for startup on hybrid gpu systems. Disabling the GPU for a specific App lets them load normally (e.g. using code --diasble-gpu).

Related bug-report in the CachyOS Forum on this issue: https://discuss.cachyos.org/t/launching-electron-apps-takes-sudenly-1-minute-fine-with-disable-gpu/12900

This issue occured after a system update today. While downgrading the updated packages one-by-one, I found that downgrading cachyos-settings from 1:1.2.8-1 to 1:1.2.7-1 resolves the issue, so the new version introduces this bug.

The following line in etc/profile.d/electron-ozone.sh added in commit e28772a seems to be the culprit here (as its the only change between the two versions and related to Electron):
export ELECTRON_OZONE_PLATFORM_HINT=auto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions