I’ve just installed it and it’s not working properly.
First of all, I added sources so that videos are displayed, all well and good. There you can also browse and start a video, but each time an extra window of the mpv media player is opened for it, so far so good.
Now for the problems :
The mpv window can’t be closed, except when I close PlasmaTube, then it closes meanly
all videos are opened in a seperate window of the mpv player. Even it it’s normal i don’t like too much, because you should at least have the possibility to configure the behaviour
if I close the mpv-player-window while playing a video, the video stops and nothing happens (window stays open, PlasmaTube doesn’t react either)
it is not even possible to detect the mpv player-windows with top that you could kill the process (surprising)
second big problem, after the first video you can not start a second video, unless I restart PlasmaTube
also strange, when I click on Picture-in-picture, a superficial black new PlasmaTube window opens, where nothing is played
Here is the terminal output of such a session (where a video was played and then PlasmaTube was closed)
Qt: Session management error: None of the authentication protocols specified are supported
org.kde.plasmatube: Loading source "{f705315a-6e25-4048-ac70-db333b5238b3}"
org.kde.plasmatube: Loading source "{3ae8ec6a-08e1-4529-b4b4-9c5c94d61431}"
org.kde.plasmatube: Loading source "{6b1b6c35-c9db-48cd-b3a2-3054c9cc975d}"
org.kde.plasmatube: Loading source "{07065664-d196-4b73-b849-6e604844156f}"
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
Cannot initialize model with data QJsonObject(). missing: QJsonValue(string, "urls")
qrc:/qt/qml/org/kde/plasmatube/ui/TrendingPage.qml:10:1: QML TrendingPage: Created graphical object was not placed in the graphics scene.
EDL: Could not open source file 'https://rr4---sn-8xgn5uxa-quhs.googlevideo.com/videoplayback?expire=1718729929&ei=aWhxZqbAOKWfi9oPv823kAE&ip=46.189.34.132&id=o-AFQ4NHA10TcBBdma56GJOjSeLQx4ThPaSprieahvxZmU&itag=22&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=hL&mm=31%2C26&mn=sn-8xgn5uxa-quhs%2Csn-i5heen7d&ms=au%2Conr&mv=m&mvi=4&pl=19&initcwndbps=2177500&bui=AbKP-1OuOaimVXVoHj_aYzDZJGM4Nrkr4oaiaQO1CICdq_JtfflqQ3nLoG-tEycFWKuu9qbGrqzFQK1K&spc=UWF9f1OCX7CWbj_d1lunp7Xme2ZgYF7WPooaF0vnXj6b8WgN0dZXCF8xY6W_&vprv=1&svpuc=1&mime=video%2Fmp4&ns=jGx0z4hPpiT__QK1hpYfFacQ&rqh=1&cnr=14&ratebypass=yes&dur=185.063&lmt=1718644407027391&mt=1718707977&fvip=1&c=WEB&sefc=1&txp=5532434&n=vJPH2iFGdQFmVA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Ccnr%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIgN049qm1-PPaYTz8D2RoeNGv-SAOaaIC7EN2QLZJz6CkCIQDzVOkf1ZUipR9c2w-xR8DviinNPU5cIhd9Zp6Hjouq_A%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIhAIO8FJtPSQKAKXuYim2uNLDspsmx4sdFBQ3Ex6w__p98AiBpfNkvnYTqIWEEVIOoifBxx-wMZCJKaGemvhVb3xS3NA%3D%3D'.
[vo/gpu/opengl] Could not make context current!
[ffmpeg/video] vp9: Hardware is lacking required capabilities
[ffmpeg/video] vp9: Failed setup for format cuda: hwaccel initialisation returned error.
[ffmpeg/video] vp9: Hardware is lacking required capabilities
[ffmpeg/video] vp9: Failed setup for format cuda: hwaccel initialisation returned error.
[ffmpeg/video] vp9: No support for codec vp9 profile 0.
[ffmpeg/video] vp9: Failed setup for format vaapi: hwaccel initialisation returned error.
[ffmpeg/video] vp9: Failed setup for format vdpau: hwaccel initialisation returned error.
I am not an expert and therefore cannot even recognize what the problem is. Btw, i updated my manjaro yesterday, so that’s not the point.
okay, nvidia and x11 is working, that shouldn’t be the problem.
there is the mpv-full package in the aur that comes up with all libraries. you could try to use this to check if using all libraries solves the problem
pamac install mpv-full
or the full package with all ffmpeg statically linked
OK, I have tried it. Since I don’t have AUR enabled in my pamac, I just used an AUR helper paru instead.
First I installed mpv-full. It took just over 6 minutes, but unfortunately made no difference.
Then I tried the second idea and built mpv-full-build-git and that took about 42 minutes. Unfortunately again the same result, absolutely no change / improvement in the use of PlasmaTube occurred.
I have now done some more research and found out that it probably has to do with the hardware support for VP9. Then I found in the Arch Wiki that the Maxwell (GM 206) and newer support it for 8bit. But I have the Maxwell GM 107 and it does not support hardware acceleration for VP9, not even with the nVidia drivers.
So there must have been a setting somewhere (Session Manager ?!), probably for newer graphics cards, where my old one is no longer included. Because while the hardware acceleration is activated, it is required. If you turn it off, it should also work in software, right?
Last tests:
OK, now I found out that it doesn’t matter at all which profile I set for mpv. Whether I set a VP9 profile or a profile that my graphics card actually supports, it’s always the same. Problems when I close the playback window.
Not a satisfactory solution:
Then I just left the mpv window open and saw that you can play more (more than one video) and is not limited in this respect. But then I looked for an alternative because I didn’t like the way that I get two windows and that they don’t work independently of each other and found something.
Satisfying solution:
I found and tried Minitube and the program works perfectly right away without me having anything to complain about. There is no playback video in the way, but directly next to it in a single window.
Your recommendation has helped me out too. Viewing YouTube in Firefox has been a painful experience lately, with Google delaying the start for several seconds when Firefox is used, and also constantly stopping videos every few minutes (probably where ads blocked by uBlock Origin were going to appear), requiring the page to be reloaded. I haven’t viewed a full YouTube video on Minitube yet, but hopefully it will be a much smoother (and ad-free) experience.
I cannot confirm your experience at all.
I use Firefox - with ublock origin
with default settings, changed nothing
No problems whatsoever - and: no ads
none
But this may be country dependent - IDK.
It may be location related, or it could also be due to one of the many Firefox extensions I have installed. But YouTube videos embedded in other sites (such as this forum) are also very slow to start (if they start at all), so I don’t think it is anything to do with any YouTube-specific add-ons I use such as Enhancer For YouTube. I’ll do some troubleshooting over the weekend. In the meantime, Minitube could be all I need.