ChurchApps / FreeShow

FreeShow is a free and open-source, user-friendly presenter software.
https://freeshow.app
GNU General Public License v3.0
565 stars 86 forks source link

[Bug Report] {1-2 Second Lag Across Entire App} #933

Closed Dcanadian closed 2 weeks ago

Dcanadian commented 3 weeks ago

Describe the bug Hello @vassbo, thanks so much for the continued development of this app. After updating to 1.2.9, I've noticed that everything I do in the app takes one to two seconds to apply. For example, I'll click on something, and it will pop up after a short lag - long enough for it to feel that my computer can't keep up with what I'm doing. Or, I'll start typing the text and I'll finish the first two words before they show up in the app. Of course, this lag also applies to advancing slides, which is unacceptable in a live broadcast situation.

Investigating the problem further in Apple's Activity Monitor, I've noticed that there's a "FreeShow Activity Helper" taking up over 100% CPU. Are you able to fix this bug? Older versions aren't as laggy, and I'd love to be able to use the features in 1.2.9 without having to wait for the lag. The app itself works just fine, and I'm loving the new updates, but it's not feasible to upgrade until the performance usage is fixed.

Reproducing Open FreeShow and click on a button or input text.

Version (Optional)

yurividal commented 3 weeks ago

I noticed the same thing. I'm using 1.30 beta-3, and even when trying to project a simple bible passage, with no background, it takes 1 or 2 seconds to switch slides on the main screen after i press the button. This makes it hard for the church to follow a reading.

I'm running on Windows 11

mwb9aa commented 3 weeks ago

@Dcanadian and @yurividal

I'm running Windows 11 and FreeShow Beta 3. I'm not experiencing your issue. I have Disable hardware acceleration turned on (so no hardware acceleration). You might try flipping that toggle and see if your performance improves.

yurividal commented 3 weeks ago

@mwb9aa i turned on hardware acceleration, and it did improve the overall performance of the app, but changing slides is still pretty laggy. At least one second between pressing right arrow and new slide showing on screen. (I have no animations either). I wonder if it's due to the fact that I have over 3000 songs imported. Not sure how that affects the Bible projection though

Dcanadian commented 3 weeks ago

Funny thing is, I turned off "Disable Hardware Acceleration" (thus rather convolutedly enabling it) and performance jumped quite a bit! Scrolling feels a lot more normal, and there's only like a ~500ms lag when it comes to changing slides and preforming actions. That's much more manageable for me, but still not as snappy as PPT or Keynote. Some improvement would be nice, but at least things are workable for me.

A few caveats, though, is that I'm on a M1 MacBook Air, and that I have a rather small song library. I'm not sure if that makes a difference, though.

Thanks, @yurividal !

yurividal commented 3 weeks ago

Just adding, i noticed that it runs a lot faster on my laptop, and the 1-2 seconds lag to flip slides is not present. The curch's computer is not old, its a 2.9Ghz i5, with 8GB of RAM and an SSD. Other software, like OpenLP, powerpoint and OpenSong run perfectly fine on it, and slide changes are instant. Its only freeshow, that lags severely when changing between slides.

mwb9aa commented 3 weeks ago

@yurividal

I cannot imagine 8 GB of RAM would be enough if you have a 3000 song library plus media plus actions plus outputs, etc. Especially with an i5. You didn't say the model number, but Intel has made i5's with 2.9 GHz clockspeed since at least 2011.

Are you able to get the processor model number from system information in Windows? I have almost been taken in by several computer "deals" the last couple of years only to find out I would have been getting a new computer with a 2 year-old processor.

yurividal commented 2 weeks ago

@mwb9aa I'll get the model today. But, 3000 songs should not be loaded into Ram at the same time, if they are not in use. If Freeshow loads every song in the library to ram, that's a pretty poor implementation...

OpenSong and Openlp, both run fine on this PC

vassbo commented 2 weeks ago

Not sure why this is, I have not had any issues with 4000+ shows (songs), so that can't be the issue! Will investigate.

Dcanadian commented 2 weeks ago

I'm curious, @yurividal and @mwb9aa , where do you guys get your thousands of songs? Did you guys create them all, or did you get them from somewhere online?

I'm looking to expand my church's 200-ish size library of songs, so if you have any suggestions of places to find slides like that, please share 😄

vassbo commented 2 weeks ago

@Dcanadian For me at least our church has collected songs in different programs for 15+ years, so that's why I have over 4000.

vassbo commented 2 weeks ago

Recording one or more screen will reduce the performance, I don't see anything different in 1.2.9 that should affect it.

Please check this list again @Dcanadian: https://github.com/ChurchApps/FreeShow/issues/708#issuecomment-2260626296 If they are all turned off, but there is still performance issues, let me know. If one of them are turned on, then the issue is the screen capture.

Dcanadian commented 2 weeks ago

Thanks for the suggestions, I disabled the output show remote connection, and performance is now even quicker! However, using current output in a stage view has become necessary, so thankfully, I'm not seeing a huge performance just yet due to using it.