Enable Hardware acceleration on Linux #4526
Closed
Revival8697
started this conversation in
General
Replies: 1 comment 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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 --flag2
and play a test video at 1080p60.For Intel GPU, use
intel_gpu_top
and see if the Video engine is being used. For others, monitor the CPU withhtop
and 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=VaapiVideoDecodeLinuxGL
is needed (for my Intel 10th Gen GPU).Open
~/.local/share/applications/freetube.desktop
with a text editor and append the flags to theExec=freetube %U
line. 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