After running a full system update today, Youtube videos failed to play on both FireDragon and Chromium.
The first frame of a video would load. Skipping to time points within the video still worked. The preview of a video that played on mousing over the thumbnail worked as well. Enabling play, however, resulted in an infinite loading wheel.
Restoring a snapshot from this morning fixed the issue.
Running
sudo pacman -Sy garuda-update && update
and rebooting restored the issue.
I realize that any one of the updated packages could have caused this and finding the responsible one would be akin to the needle in a haystack problem. Since the snapshot restore fixes the issue in the short term, I figured the issue and its temporary solution would potentially be valuable to others here.
Youtube need some resources, you do nothing with it, but cpu usage highly depend on your CPU and GPU. If you have old hardware it’s obvious that usage will be high.
Browsers don’t support out of the box hardware accelerated video decoding in linux. So, high cpu use is normal with a dual core. If you want somewhat a solution you can download chromium from Pamac. Then in search tab enter chrome://flags >> search Hardware-accelerated-video and enable it. I am also running on integrated graphics and it works most of the time.
This seems similar to this one.
The update should have removed pipewire-media-session replacing with wireplumber.
In a certain period probably this was not the case, and you have to do it manually.
Yes, it is normal that the pipewire process is still there. The new package replaced only pipewire-media-session.
I thought it was the same issue, so same solution...
I think this could be repacked as a garuda feature, a privacy feature.
YT is a total waste of your time and not worth anyone's attention after 2021, its a platform for misinformation just like facebook and Windows, sorry for off topic, but truth is burning.
Not so fast! Garuda’s hotfix notification appeared for me this morning. I assume that was for the pipewire thing that my earlier rollbacks had undone. Clicking ok to install that hotfix broke YT again.
made YT work again. I replaced wireplumber with pipewire-media-session per the other post’s recommendation. I can’t definitively say whether that solved the issue permanently, as I messed up the initial pipewire replacement and had to do another snapshot restore. If the Garuda hotfix breaks something again, I will whine about it further.
The only difference I can see comparing your inxi with mine (YT and audio in general work fine here) is that you still have pulseaudio running. I replaced it (not now, long ago) with pipewire-pulse.
If you want to give it a try, install pipewire-pulse, which will ask to replace pulseaudio, then reinstall wireplumber (which will replace pipewire-media-session of course) and check if YouTube and your audio in general work. If not, just a new restore...
On a serious note, we can’t do that. I also agree that youtube is just a money factory for Google, but many people like it and we can’t control it. A lot of times, you have to depend on youtube, for various basic things, from latest music videos, to latest launch events and so on. And there are not much widely used alternatives. Odyssey is not much used, at least in India. So, we have to solve the bug.
I thank @SGS You are so kind and humbled!
I too without YT or the internet I would never have been able to expand my Knowledge to the level I have tried to aspire too without it
One thing i have learnt on Garuda forum is if you want to learn you will teach
Sorry if that sounds corny
So I tried sudo pacman -Rdd pipewire-media-session but get the target not found error. I am keeping Garuda up to date by checking for updates every time I boot up but need to run systemctl --user stop pipewire.service pipewire.socket if I want to play something on you YT. What did you guys do to fix it permanently?
Thanks for your help!
Hi @TNE, thanks for taking the time but unfortunately it did not fix the issue. The cmd went through everything without a glitch but ended with the message "Pipewire-support is not installed! Not applying any fixes".