Skip to content

Add disable hardware acceleration setting to experimental settings - #9571

Open
r3dArch wants to merge 1 commit into
FreeTubeApp:developmentfrom
r3dArch:add-disable-hardware-acceleration-setting
Open

Add disable hardware acceleration setting to experimental settings#9571
r3dArch wants to merge 1 commit into
FreeTubeApp:developmentfrom
r3dArch:add-disable-hardware-acceleration-setting

Conversation

@r3dArch

@r3dArch r3dArch commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

closes #2296

Description

This PR adds a "Disable Hardware Acceleration" setting to the experimental settings section of the settings page.

Screenshots

Before

ft_before

After

ft_after

Testing

I tested that the disable hardware acceleration is actually working using the electron.app.isHardwareAccelerationEnabled() function which I temporarily added to main/index.js, but I couldn't find a way to determine if it is working using the electron JS console.

Desktop

  • OS: Arch Linux
  • OS Version: Kernel 7.1.5-zen1-2-zen
  • FreeTube version: 0.25.1

Additional context

I based a lot of this code on the implementation of the Replace HTTP Cache setting.

@PikachuEXE PikachuEXE left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested in dev only

Image Image

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

Just wondering, why did you choose to place this in the Experimental Settings?

@r3dArch

r3dArch commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

It's mostly just because that is where the Replace HTTP Cache setting is, which I based most of my code on. Although it is something that most users probably shouldn't use since it will hurt performance. Looking through the settings headers, I think the only other spot that makes sense would be "General". Do you have somewhere else you'd prefer this setting to be?

@github-actions

Copy link
Copy Markdown
Contributor

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Ability to toggle hardware acceleration off

3 participants