modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
921 stars 172 forks source link

Modrinth launcher lags and loads one of the cores at 100% on Linux #1216

Open Rikopara opened 4 months ago

Rikopara commented 4 months ago

Describe the bug

I've tried both flatpak and .deb versions. Whenever I scroll or click, it's really laggy and sometimes even freezes until I end the process manually. One of CPU cores (always different) starts to load at 100% until I stop scrolling.

https://github.com/modrinth/theseus/assets/48817751/2dd36797-be0a-40d3-861a-fa3970bf0610

Steps to reproduce

No response

Expected behavior

No response

System information

OS: Zorin OS 17.1 Pro 64 bit CPU: Intel® Xeon(R) CPU E5-2660 v3 @ 2.60GHz × 20 GPU: RTX 3060 RAM: 32GB

Kernel: 6.5.0-35-generic DE: GNOME 43.9

Additional context

No response

ErikMCM commented 4 months ago

I am also experiencing this bug. I notice that practically any action causes this behavior making me wonder if it's an animation issue, since they seem to be stuttering. Opening the logs tab crashes the app as well. Since this is open source, I may do some tinkering around with it and see if I can find the root cause...

OS: Kubuntu 22.04.04 CPU: AMD Ryzen 9 5900X (12c24t @ 3.7GHz) GPU: RTX 3070 RAM: 32GB DDR4 @ 3200 MHz

Kernel: 6.5.0-35-generic DE: Plasma 5.24.7 (X11)

https://github.com/modrinth/theseus/assets/70036542/e203b61f-7d8c-4f43-8cf2-0e3ab8980950

eneshamza commented 4 months ago

I have the same problem. Actually, scrolling does not bother me much, but the button animations are very slow.

OS: Ubuntu 24.04 LTS CPU: AMD Ryzen 5 5500 GPU: Intel Arc A750 RAM: 16GB DDR4

Kernel: 6.8.0-35-generic DE: Gnome 46 (X11)

https://github.com/modrinth/theseus/assets/89846189/a948a54e-ef95-482f-b679-4730eb463846

monomere commented 4 months ago

I have a similar issue! I just updated hoping this would be solved haha

OS: Arch Linux CPU: Intel Core i3-12100 GPU: (iGPU) UHD Graphics 730 RAM: 16 GB DE: Gnome (Wayland)

monomere commented 4 months ago

Indeed, as mentioned in https://github.com/tauri-apps/tauri/issues/6200, building from source (in both debug and release profiles) fixed the scrolling issue.

CrossScarDev commented 4 months ago

Weird as when I use the modrinth-app aur package which I assume is building from source I still get terrible scrolling.

Sunoctagram commented 4 months ago

Experiencing the same issue.

OS: EndeavorOS Linux CPU: AMD Ryzen 7 2700 Eight-Core Processor GPU: NVIDIA GTX 1050 RAM: 32 GB DE: KDE plasma

Kerkpower commented 4 months ago

i have the same issue, particularly when scrolling on pages with a lot of items

OS: EndeavourOS Linux CPU: AMD Ryzen 5 5600G GPU: (APU) AMD ATI Radeon Vega Series / Radeon Vega Mobile Series RAM: 16 GB DE: Plasma 6.1.1 (wayland)

louiszn commented 3 months ago

Same issue here

OS: Arch Linux CPU: Intel i3-7100U GPU: Intel HD Graphics 620 RAM: 8 GB DE: Plasma 6.1.2 (Wayland)

NotMurPh commented 3 months ago

same issues here Package: modrinth-app-bin from aur

SMASTER4 commented 2 months ago

Intrestingly enough does the problem only accure on the first few pages for me :thinking: IDK, but I feel like the popularity of projects could affect the performance Like for real it could be releated to some issues with bigger data types in Tauri OS: Linux Mint(~Ubuntu) DE/WM: spectrwm(X11) GPU-Drivers: Nvidia Propritary EDIT: After @AsaTheUncle said that he had issues with opening the logs I remebered that I had too.

AsaTheUncle commented 2 months ago

Same issue here. Although I also get the crash from opening the Logs tab (https://github.com/modrinth/code/issues/1127) Package: modrinth-app from aur OS: Manjaro Linux DE: KDE Plasma 6.1.4 w/ Wayland

negativems commented 3 weeks ago

Same here

OS: Endeavour (6.11.2-arch1-1) CPU: AMD Ryzen 7 7800X3D GPU: RX 7800 XT RAM: 32 GB DDR5 DE/WM: bspwm (X11)

Domikulas commented 2 weeks ago

Same here

OS: Arch CPU: AMD Ryzen 5 2400G GPU: AMD Radeon RX 590 RAM: 16 GB DDR4 DE: KDE Plasma 6.1.5

I don't want to build it from source. Are there any solutions yet?