civitai / civitai-link-desktop

Manage your Civitai models for your Stable Diffusion Web UI models folder
16 stars 7 forks source link

Slow startup and crash/free on Linux. Kubuntu 22.04 #47

Open pryingopen3rdi opened 3 months ago

pryingopen3rdi commented 3 months ago

This app is unusable on Kubuntu 22.04. Sometimes it works, sometimes it doesn't load at all and most often it just freezes and does nothing.

cmoody commented 3 months ago

Hey @pryingopen3rdi, thanks for the feedback. We are primarily focused on Windows and Mac but happy to take a look at what might be happening.

You should be able to grab the log file and report back here with it.

on Linux: ~/.config/{app name}/logs/main.log
on macOS: ~/Library/Logs/{app name}/main.log
on Windows: %USERPROFILE%\AppData\Roaming\{app name}\logs\main.log

This project is also open source so we welcome any contributions that might help for different operating systems like Linux.

pryingopen3rdi commented 3 months ago

Here are a few of the logs, I made the old .bak and ran it again. It didn't crash this time in main.log but it definitely was very slow and responsive, almost unusable. Additionally it couldn't find some checkpoints that I KNOW were in the right folder. It showed pretty much everything on Civitai as not being downloaded and if I clicked 'send to link' they just downloaded again. [ main.log main.bak.log main.old.log

cmoody commented 3 months ago

Hey @pryingopen3rdi ! Thanks for your patience on this. We just did a big overhaul to how we hash files and watch folders for models. Hoping this helps alleviate a lot of the slow startup issues and getting stuck on initial setup. Your app should automatically update to 1.18.0 but it might be worth reinstalling just so it doesnt try to start the download process in 1.16.1.

Hopefully this update should help us see if its the way we were loading models causing an issue or if this is more Linux specific.

pryingopen3rdi commented 3 months ago

It's not crashing as much but very slow and unresponsive. It will stick on a menu item and then moving between menu's or changing LORA's can sometimes stall for several minutes. main.log

Version info: ~/.config/civitai-link/logs$ uname -a Linux 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ~/.config/civitai-link/logs$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy ~/.config/civitai-link/logs$

I'm running KDE Plasma with X11.