Enable Hardware acceleration on Linux #4526
Closed
Revival8697
started this conversation in
General
Replies: 2 comments 1 reply
-
|
#4532 (merged) will fix this without end-user interactions. Test builds are available at here. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Just a reference point for anyone looking for it. As of now, for version As I'm using FreeTube from Flathub, this is how I do it.
Related to #6274. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Instructions to enable Hardware acceleration on Arch Linux
Also see #961. To be fixed by #4532.
Install and verify that VA-API is working.
Install the nightly build of FreeTube. The nightly build has up to date Electron therefore easier to work with.
You can use stable build but it may be harder to find the working flags.
Append the necessary flags:
Check the Arch Wiki for the newest information on which flags are needed.
Test the flags by launching FreeTube with a terminal:
freetube --flag1 --flag2and play a test video at 1080p60.For Intel GPU, use
intel_gpu_topand see if the Video engine is being used. For others, monitor the CPU withhtopand GPU withnvtop, you should see less CPU usage and more GPU usage when Hardware acceleration is working. You may have to experiment multiple times before finding the correct flags for your GPU.Note: As of writing, only
--enable-features=VaapiVideoDecodeLinuxGLis needed (for my Intel 10th Gen GPU).Open
~/.local/share/applications/freetube.desktopwith a text editor and append the flags to theExec=freetube %Uline. Remember to save the file.For example, mine looks like this:
Exec=freetube %U --enable-features=VaapiVideoDecodeLinuxGL.Beta Was this translation helpful? Give feedback.
All reactions