# 4K video & 1440p lagging on YT?

**URL:** <https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037>\
**Category:** Budgie\
**Created:** [September 24, 2021, 7:28pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037 "2021-09-24T19:28:47Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Conifer](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/34f0e0/32.png) [@Conifer](https://forum.endeavouros.com/u/Conifer)\
**Post date:** [September 24, 2021, 7:28pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/1 "2021-09-24T19:28:48Z")

</div>

Hey guys.

I’m not sure if I’m writing in the correct location, apologies if so.  
I use Brave mainly, but, same happens on Firefox and in both, hardware acceleration is turned on, however. When I want to watch a video in 4K or 1440p least, it lags in a sense that it feels like the FPS itself of the video drops below 30?

Could someone help me out with this?  
My setup:

AMD Ryzen 5 5600X  
16GB RAM  
RX5600XT  
M.2 SSD

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [September 24, 2021, 9:08pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/2 "2021-09-24T21:08:37Z")

</div>

> [@Conifer](#):
>
> I’m not sure if I’m writing in the correct location, apologies if so.

Are you using Budgie as your desktop environment?

> [@Conifer](#):
>
> it feels like the FPS itself of the video drops below 30

Running a video at 30FPS should not be noticeable given most TV and film is 23FPS.

The main reasons for “choppy” video would be CPU use, overheating, and interrupted data transfer.

Have you checked the output of `top` to check on your CPU usage?

Are you certain that your local network (especially if wifi) and Internet connection can cope with the data required for high-resolution video?

---

<div class="post-metadata">

**Author:** ![Conifer](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/34f0e0/32.png) [@Conifer](https://forum.endeavouros.com/u/Conifer)\
**Post date:** [September 24, 2021, 9:22pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/3 "2021-09-24T21:22:13Z")

</div>

Yes, I’m using Budgie DE.  
I haven’t checked the CPU output, will get that checked tomorrow. As for my internet, it shouldn’t be a problem as I’m on 200mbps download and 30upload most of the time.

I would like to point out that I never had that issue on Windows (hell, not even on macOS on my MacBook) it seems to be a Linux specific issue I have.

---

<div class="post-metadata">

**Author:** ![freebird54](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/freebird54/32/83106_2.png) [@freebird54](https://forum.endeavouros.com/u/freebird54)\
**Post date:** [September 24, 2021, 9:27pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/4 "2021-09-24T21:27:28Z")

</div>

> [@Conifer](#):
>
> seems to be a Linux specific issue

I’d say you’re a long way from being able to claim that! There is nothing in your information given so far as to which version(s) of Windows gave you no trouble - or which releases of macOS for that matter. Even given that, it might be an Arch-based problem (not present on other Linux builds) or even specific to your setup, or settings. We’d need to dig a little further to guess which…

---

<div class="post-metadata">

**Author:** ![Conifer](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/34f0e0/32.png) [@Conifer](https://forum.endeavouros.com/u/Conifer)\
**Post date:** [September 24, 2021, 9:39pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/5 "2021-09-24T21:39:53Z")

</div>

I think if I rephrase it, it would make sense: “It seems to be a specific issue I’m encountering when using Linux”

As for Windows version - 21H1: No stuttering of 4K/1440p content or as described the feel as if the FPS of the video itself dropped in frames.

macOS - Monterey: the laptop itself handles 4K video and below without any issues.

I dual boot Windows and Linux and I see the difference clear as day. So there is no issue with the physical hardware itself? I used to run Hackintosh on my PC too, that itself worked well.

---

<div class="post-metadata">

**Author:** ![Dev0ut](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dev0ut/32/30360_2.png) [@Dev0ut](https://forum.endeavouros.com/u/Dev0ut)\
**Post date:** [September 24, 2021, 9:53pm UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/6 "2021-09-24T21:53:04Z")

</div>

Can you post `inxi -Gx` ?

---

<div class="post-metadata">

**Author:** ![Kresimir](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/kresimir/32/73739_2.png) [@Kresimir](https://forum.endeavouros.com/u/Kresimir)\
**Post date:** [September 25, 2021, 7:01am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/7 "2021-09-25T07:01:57Z")

</div>

Does the same thing happen when you download a video and watch it in a media player of some sorts?

Nowadays, that’s the main way I watch YouTube videos, I just download them in full, watch them, and then delete them. The YouTube web player is terrible, bloated, slow, very poor in features, and it spies on you.

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [September 25, 2021, 9:41am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/8 "2021-09-25T09:41:05Z")

</div>

> [@Kresimir](#):
>
> watch it in a media player

Ah, yes. If you have `youtube-dl` installed (or something else that provides its functionality and an appropriate symlink), you can watch directly in many players (mpv, vlc, celluloid, …). The added benefit of using mpv is its [frame interpolation and upscaling features](https://wiki.archlinux.org/title/mpv#High_quality_configurations) which make video look a lot better than on any HTML5-based web player.

```auto
mpv https://youtube.com/watch/blahblah

```

---

<div class="post-metadata">

**Author:** ![moson](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/moson/32/78325_2.png) [@moson](https://forum.endeavouros.com/u/moson)\
**Post date:** [September 25, 2021, 9:53am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/9 "2021-09-25T09:53:59Z")

</div>

> [@Conifer](#):
>
> hardware acceleration is turned on,

What you want in this case is to get “Hardware **video** acceleration” running.  
There are a couple of additional steps required to get it enabled.

Instructions for Firefox:  
[https://wiki.archlinux.org/title/Firefox#Hardware\_video\_acceleration](https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration)

Note that GPU also needs to support decoding the video-codec that has been used to encode the video. (which you can find out with `vainfo`)

---

<div class="post-metadata">

**Author:** ![Conifer](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/34f0e0/32.png) [@Conifer](https://forum.endeavouros.com/u/Conifer)\
**Post date:** [September 25, 2021, 9:55am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/10 "2021-09-25T09:55:27Z")

</div>

Here is the output: ![Screenshot from 2021-09-25 10-45-36](https://forum.endeavouros.com/uploads/default/original/3X/c/1/c1f3b4bae63aefd405f863ca00d40897f8729084.png)

@Kresimir  
I tried doing it via mpv as @jonathon suggested and that itself works butter smooth. But it’s seriously not most convenient for user to constantly download the YT file to just watch it outside the web browser…

Here is a screenshot of htop when playing 4k video. ![Screenshot from 2021-09-25 10-54-55](https://forum.endeavouros.com/uploads/default/original/3X/b/3/b3eedf5b9c23c7a9629d2a370959b0114c02de20.png)

---

<div class="post-metadata">

**Author:** ![jonathon](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/jonathon/32/18722_2.png) [@jonathon](https://forum.endeavouros.com/u/jonathon)\
**Post date:** [September 25, 2021, 10:04am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/11 "2021-09-25T10:04:05Z")

</div>

See the link moson posted above, and [https://wiki.archlinux.org/title/Chromium#Hardware\_video\_acceleration](https://wiki.archlinux.org/title/Chromium#Hardware_video_acceleration) for Chromium-based browsers.

---

<div class="post-metadata">

**Author:** ![Conifer](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/c/34f0e0/32.png) [@Conifer](https://forum.endeavouros.com/u/Conifer)\
**Post date:** [September 25, 2021, 10:14am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/12 "2021-09-25T10:14:56Z")

</div>

Thank you. This actually solved it as I found it thanks to @moson

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [September 27, 2021, 10:15am UTC](https://forum.endeavouros.com/t/4k-video-1440p-lagging-on-yt/18037/13 "2021-09-27T10:15:11Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
