-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: On pause, videoplayer resets playback progress to zero and player UI buttons become fully unresponsive. #6781
Comments
Addendum: I have encountered this issue for the first time in v0.22 |
FreeTube doesn't log to the terminal, please check the logs in the devtools console CTRL+SHIFT+I for any red messages (you can ignore yellow ones) and take screenshots of them please. |
As requested: No error messages spotted. I set the log level to All to make sure to catch everything just in case. Additionally i noticed 2 more situations in which the behavior occurs:
P.S.: I use a 3 multihead setup, so often the Freetube window is on the secondary or tertiary screen and not in focus. I don't seem to catch this behavior when its on any of the 3 screen and the window is in focus. |
Hmm could you try updating your graphics drivers |
Since Arch is a rolling release, I perform regular full system upgrades more or less weekly. Current version: I noticed this issue somewhere last month. Below the upgrade data for reference
The mesa repo was updated lastly 23/01/25 |
Hmm could you rollback the drivers a month or two and recheck the if the big persists |
It's not as simple as to rollback the Can you please share your reasoning for thinking the GPU driver has something to do with it? Couldn't it be something else? I understand that this issue is weird and I am most likely the only one / one of the few experiencing this issue. |
I'm somewhat afraid to chime in here because one member (I don't like to name) likes to jump to conclusions and bully people. But I want to help a fellow seeking help. To me this sounds a lot like the player is getting unloaded. Try to enter the following into console after the player/video has loaded and see if you still can reproduce the issue. |
Hi b2ag, Thanks, very much appreciated! And noted, I guess 😄 For clarity, run it in the dev console when a video is playing? |
Yes, run it in dev console when a video is playing. And yes, |
@b2ag There is no member in our dev team that does such a thing. Please stay on topic and stop making accusations like that. Consider this a warning as this toxic behavior isnt appreciated here. We are all volunteers doing this in our free time. If there is a decision made you dont like then have a discussion about it. Maybe we change our mind but if we don't then you shouldt hold a grudge against us. |
b2ag:
Thanks for the suggestion b2ag, I think this is a good lead. Following these instructions i cant one on one reproduce the issue I have so I regard this as a working workaround. Any of the triggers described in above post do not trigger the issue described in OP post. However below I found out a reliable way to reproduce the original issue in OP post.
When I override the above handler and follow the above instructions, after coming back and login the console shows Error: stop. Which I think is what the above command is supposed to output. Except the shaka player is still responsive and the video paused at the correct timestamp. The video can be resumed without issue as far as I can tell. I am unsure if below is related: The error was worked around by reloading the player/video. This caused the video to resume playback at the correct timestamp where it stopped when reloading the player/video. Link to the used video for testing: GinoMachino: Dark Souls 3 But I'm ONLY LEVELING STRENGTH! The issue itself is much more likely to occur on longer video's > 15 minutes. On a 40m to 3h length of a video its guaranteed when doing anything to trigger it in OP post. |
I have been able to generate the "stop" error a couple more times which I couldnt with the referenced YT video above. Yes I've sat through the full 3 hours trying to reproduce. Used this video: PhlyDaily: This MASSIVE French Tank GOES NUCLEAR First time:
Second time:
P.S.: I forgot when the first of these 3 error messages occured. Could be left over from my previous post or another video. Edit: Above happens in a similar pattern of occurences as without using the command |
So summary of where I am at with my issue.
I'd be happy to dig further into this with your directions if need be. Otherwise I hope devs have acquired the information you need to resolve the issue. Thank you for your time |
I've recently found out the new player used since v0.22.0-beta is spamming MPRIS (the media player remote control interface on Linux) with a lot of seek events. As this behavior is highly unusually it can (and obviously does) lead to different random things happening around the media session control interface. I've filed a bug with upstream, they fixed it and it hit their nightly. I'm already testing it since yesterday and it looks promising to be a fix for the random stuff I saw happening at my box. For the fix to hit a FreeTube release, it first has to make it into an upstream release. I don't know how long this will take, but I can give you another workaround to try: Upstream bug for reference: shaka-project/shaka-player#8098 |
Used freetube by means of However I can't test anymore since freetube is completely broken for me. It does not play any video due to Conclusion: Devs, can close/lock per your procedures. Thank you for your time. |
I should mention that |
Guidelines
Describe the bug
When playing a video for more than 10 minutes it is possible that the videoplayer resets to 0:00 and the UI of the player becomes unresponsive. Refreshing the page does not work, you need to go to another page within the application. For example the subscriptions page, any page will do. Then reload last video or another video and playback for more than 10 minutes the behavior can happen again.
The behavior happens inconsistent. It happens more often after about 5 to 10 minutes of playback and the freetube window has been out of focus and been untouched for said duration.
Expected Behavior
When pausing the videoplayer pauses at current time, videoplayer UI stays responsive as inteded design, video playback progress is kept instead of set to 0:00
Issue Labels
feature stopped working
FreeTube Version
aur/freetube 0.23.1-1
Operating System Version
Linux user 6.13.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 18:54:55 +0000 x86_64 GNU/Linux
Installation Method
AUR (Unofficial)
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
Plasma DE, Wayland session.
Issue persists using the portable download from the github releases, release: v0.23.1-beta
Issues persists in the official nightly portable build pulled from this git repo as per instruction in the official documentation. Nightly build: Commit 5e16102
Terminal log: v0.23.1-beta
Terminal log nightly:
Probably irrelevant as these errors occur right away starting the freetube application either the v0.23.1 beta or nightly build. Line 3 through 5 do not happen on the beta but do happen on
aur/freetube 0.23.1-1
. No issues were experienced despite the errrors.Issue: #6514
Error described sometimes occurs when quickly hitting back and forward with the thumb mouse buttons to reload the videoplayer. Doing it another time doesn't produce the error. The error is never occurs when starting a new video. I wouldn't have noticed this error if I didn't troubleshoot with different releases with fast switching back and forward to refresh the player rapidly due to getting into a routine habit. This is a symptom and not the subject of this issue.
Nightly Build
The text was updated successfully, but these errors were encountered: