serenadeai / serenade

Apache License 2.0
328 stars 56 forks source link

Serenade Linux AppImage shows blank window after 1st use #13

Open shervinemami opened 2 years ago

shervinemami commented 2 years ago

(Maybe related to "https://github.com/serenadeai/serenade/issues/9", but maybe not?)

System Information

Serenade Version: v2.0.2 OS and Version: Kubuntu 20.04.3 LTS (based on Ubuntu 20.04.3 Focal Fossa) Application: VS Code

Issue Description

I downloaded "Serenade-2.0.2.AppImage", then ran it from my download folder. It opened the 2 windows + tray icon perfectly and I went through the tutorial, and I used it to install the VSCode plugin, and went into the settings and read tutorials, etc, all with a single execution of the AppImage. I also clicked on the setting to use verbose logging and viewed the log file, but eventually disabled verbose logging. Everything seemed to be working perfectly. Then after an hour I closed Serenade.

An hour later, I opened the same Serenade AppImage, but now it opens 2 empty windows (and the tray icon) and shows that it's busy with the "Loading..." animation, staying like that with the animation spinning even after 30 minutes of waiting.

I tried running it again multiple times, it keeps showing the same "Loading..." animation. I tried deleting my whole "~/.serenade" folder and then running it, but that didn't change anything.

Note that the terminal does show this message whenever I run Serenade: [2103072:0926/145012.999969:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.

How to Reproduce

Run "Serenade-2.0.2.AppImage" on Ubuntu 20.04, then close it, then run it again. (I'm not sure if the things I did in the settings & plugins caused a problem or if that was unrelated).

Screenshots

Screenshot_20220926_150401

I'm also attaching the result of strace, in case it helps see what it's waiting for in an endless loop: strace ./Serenade-2.0.2.AppImage 2> strace.txt

strace.txt

Note that I don't have a standalone GPU, I'm just using onboard graphics, and I'm using X not Wayland:

$ lspci
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630]
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem
00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1
00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]
00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0)
00:1c.3 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #4 (rev f0)
00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Z370 Chipset LPC/eSPI Controller
00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
tmacwill commented 1 year ago

hmm, thanks for the report! the serenade client uses electron under the hood, and my intuition is that this issue is electron-related.