Comments (23)
Could you please try uninstalling and installing FreeTube again, maybe your anti-virus is slowing it down.
from freetube.
Could you please try uninstalling and installing FreeTube again, maybe your anti-virus is slowing it down.
No difference in initial load time.
Antimalware service executable shows no activity during this time.
from freetube.
Can you show me a screenshot and is it similar to this?
from freetube.
Can you show me a screenshot and is it similar to this?
I'm in the office today so I don't have access to the affected machine at this time, but that extended delay they are experiencing would be the same behaviour. For me, it happens on application launch, not refreshing or opening the new window.
If they can confirm whether or not it also happens at application launch then we have found at what point the abnormal behaviour is occurring.
from freetube.
Can you show me a screenshot and is it similar to this?
At home today, here's the behaviour on my home machine as you requested.
from freetube.
Can you show me a screenshot and is it similar to this?
#4701At home today, here's the behaviour on my home machine as you requested.
Yes this is the same problem as I have, though it happen in new windows for me
from freetube.
Still not resolved as on 2024-03-24
from freetube.
Still not resolved as on 2024-03-24
It's difficult to try to fix something that we can't reproduce, even you said yourself it only happens on one of your computers.
from freetube.
Still not resolved as on 2024-03-24
It's difficult to try to fix something that we can't reproduce, even you said yourself it only happens on one of your computers.
Is there some verbose logging I can turn on, spit it out to a log file, and provide in here to see where the deadlock is when I open the app? That could help find the problem.
from freetube.
You can try opening the devtools once it has loaded by pressing CTRL+SHIFT+I and looking at the console tab, so see if any errors showed up (red text). Other than that no, we would have to create a custom build for you that litters time measuring code everywhere, which I've been meaning to do but haven't had the time for it, so I didn't mention it here earlier so that I wouldn't get hassled about it.
My only suspicion would have been that your computer is failing to fetch the instances list from api.invidious.io, which times out after 15 seconds (yes I know it's a long timeout but some people have slow connections especially the people that use FreeTube with tor). but that seems rather unlikely because otherwise it would be happening when you open new windows too (currently each window acts like it's own thing).
from freetube.
You can try opening the devtools once it has loaded by pressing CTRL+SHIFT+I and looking at the console tab, so see if any errors showed up (red text). Other than that no, we would have to create a custom build for you that litters time measuring code everywhere, which I've been meaning to do but haven't had the time for it, so I didn't mention it here earlier so that I wouldn't get hassled about it.
My only suspicion would have been that your computer is failing to fetch the instances list from api.invidious.io, which times out after 15 seconds (yes I know it's a long timeout but some people have slow connections especially the people that use FreeTube with tor). but that seems rather unlikely because otherwise it would be happening when you open new windows too (currently each window acts like it's own thing).
Scratch the last message, I've got it up now. F12 instead of the CTRL+SHIFT+I
In regards to your comment about failing to fetch invidious instances, looks like it too. Quickly opening F12 and hitting reload after opening FreeTube shows a 25.26s load time for instances.json.
However I am using Local API with Fallback to Non-Preferred Backend on Failure Disabled, so Invidious shouldn't be getting touched in this case.
And yes, this abnormal load time also doesn't happen when I push that "Open New Window" button. Loads almost instantly.
In regards to console logging, all I see after it opens is some feed.xml files returning a 404. Although presumably that the large quantity of subscriptions and YouTube falls back to an RSS feed.
When searching a channel, there are some errors on various views, as shown below.
There are many when viewing a channel page, so I'll put it in a code snippet instead.
(code tags aren't playing ball, so I've moved it to a pastebin instead)
https://pastebin.com/KE6JVPP7
On the video player, just the one regarding Merchandise.
from freetube.
You can try opening the devtools once it has loaded by pressing CTRL+SHIFT+I and looking at the console tab, so see if any errors showed up (red text). Other than that no, we would have to create a custom build for you that litters time measuring code everywhere, which I've been meaning to do but haven't had the time for it, so I didn't mention it here earlier so that I wouldn't get hassled about it.
My only suspicion would have been that your computer is failing to fetch the instances list from api.invidious.io, which times out after 15 seconds (yes I know it's a long timeout but some people have slow connections especially the people that use FreeTube with tor). but that seems rather unlikely because otherwise it would be happening when you open new windows too (currently each window acts like it's own thing).
It happens to me when opening a new window, stays blank for 5-9 seconds then displays
from freetube.
Still not resolved as on 2024-03-24
It's difficult to try to fix something that we can't reproduce, even you said yourself it only happens on one of your computers.
Throttle your disk mabye when opening a new window? I don't know what causes it.
from freetube.
Still not resolved as on 2024-03-24
It's difficult to try to fix something that we can't reproduce, even you said yourself it only happens on one of your computers.
Throttle your disk mabye when opening a new window? I don't know what causes it.
Throttle what disk? It's installed to the main boot drive, an NVME SSD.
The slowness occurs at any time when opening Freetube.
from freetube.
I am having the same issue, but only with v0.20.0. Opening the app shows a blank window for 10 seconds then everything loads. Using v0.19.2 everything loads quickly as expected (2-3 seconds).
I am using Linux Mint 21.3 with the FreeTube AppImage option.
EDIT: Additionally, the blank window is unresponsive to pressing F12 or CTRL+SHIFT+I for the dev console. Only once the 10 second delay has passed the console is shown and the videos load. No errors.
I am not using invidious at all:
from freetube.
When the it will load the content online before displaying the UI. The UI should Display first no matter what instantly regardless if connected to the internet or not, then load the content later.
Slow your internet and you will see the blank screen longer. It's disappointing 😞
EDIT but I found a potential fix of the problem
(Ui display immediate first and everything loads later)
from freetube.
@eshsdhsd It would have to display a completely empty UI and block you from doing anything with the app, if it fetched the content afterwards.
Also you are using Windows 7, which we don't officially support anymore, so things are going to be dreadfully slow for you regardless of the speed of your internet connection.
from freetube.
Slow your internet and you will see the blank screen longer. It's disappointing 😞
My home internet is 900/550 (Mbps) and it'll still be a delay upwards of 15 seconds before the UI loads, content near instant afterwards.
It's not internet related when other non-YouTube clients I use (Revanced, Tubular) are as responsive as FreeTube with fetching the content (after the initial slowdown FreeTube does have) I'm reporting.
from freetube.
It's really weird that only 3 FreeTube users have absolutely dreadful connections to api.invidious.io. If you find a way to trigger the problem on a device that it isn't currently happening on, please let me know, because currently there is nothing we can do without any way to reproduce the issue.
from freetube.
It's really weird that only 3 FreeTube users have absolutely dreadful connections to api.invidious.io. If you find a way to trigger the problem on a device that it isn't currently happening on, please let me know, because currently there is nothing we can do without any way to reproduce the issue.
You mean that for UI content being loaded from app launch right? The original ticket stated I was using the Local API, correct?
from freetube.
It doesn't matter what your preferred backend setting is, FreeTube will always fetch the list of Invidious instances from https://api.invidious.io/instances.json when a window is opened.
from freetube.
My issue seems to have fixed itself. It's now loading as quick as it should be.
No idea why?!
from freetube.
My issue seems to have fixed itself. It's now loading as quick as it should be. No idea why?!
Still a slow first load for me here
from freetube.
Related Issues (20)
- [Feature Request]: Remember the Playlists "Sort By" selection between sessions HOT 5
- [Feature Request]: Force list view on mobile devices HOT 2
- [Bug]: Downloading a video only opens a Google link HOT 1
- [Bug]: media Play/Pause keybinding doesn't work on Ubuntu HOT 5
- [Bug]: media Play/Pause keybinding doesn't work on Ubuntu HOT 9
- Improve SponsorBlock integration HOT 2
- See only subscribed channels not belonging to any profile HOT 1
- Add a reload button HOT 1
- Search comments and description HOT 1
- Show subscription logo in searches HOT 2
- The current app icon is really lame, so I wish it had a better design. HOT 1
- [Bug]: Application crashes when closing one window
- [Bug]: Error: a javascript error occored in the main process HOT 1
- [Feature Request]: More Download preference options HOT 1
- [Bug]: Broken Thumbnails HOT 4
- [Bug]: 'your subscribed channels currently does not have any videos' HOT 11
- [Feature Request]: Proxy configuration with username and password
- [Bug]: Videos duplicate themselves when importing playlists
- [Bug]: Reloading video (crtl-r) reloads a window other than the focused one. HOT 4
- [Feature Request]: Uniform actions when clicking on back button HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freetube.