code icon indicating copy to clipboard operation
code copied to clipboard

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

Open Rikopara opened this issue 1 year ago • 23 comments

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

Rikopara avatar Jun 06 '24 17:06 Rikopara

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

ErikMCM avatar Jun 10 '24 17:06 ErikMCM

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

eneshamza avatar Jun 15 '24 07:06 eneshamza

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 avatar Jun 16 '24 18:06 monomere

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.

monomere avatar Jun 16 '24 18:06 monomere

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

Sunoctagram avatar Jun 29 '24 12:06 Sunoctagram

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)

Kerkpower avatar Jun 29 '24 12:06 Kerkpower

Same issue here

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

louiszn avatar Jul 06 '24 08:07 louiszn

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

NotMurPh avatar Jul 28 '24 21:07 NotMurPh

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.

SMASTER4 avatar Aug 14 '24 13:08 SMASTER4

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

AsaTheUncle avatar Aug 18 '24 20:08 AsaTheUncle

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)

negativems avatar Oct 07 '24 15:10 negativems

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?

Domikulas avatar Oct 10 '24 16:10 Domikulas

Same issue on SteamDeck OLED 1TB (SteamOS 3.6)

Very Laggy UI, one CPU core 100% usage.

x-0D avatar Dec 28 '24 08:12 x-0D

Issue still persists on linux mint (Cinnamon)

sinzek avatar Dec 31 '24 23:12 sinzek

Also having this issue on debian 12... any solutions?

pokahs avatar Jan 06 '25 19:01 pokahs

I've noticed that different modrinth packages also behave different. For me (Fedora 41) RPM works just fine, but appimage is extremely laggy. So, as possible solution, you may try every package your system supports, or even build modrinth from source. Hope this helps.

Rikopara avatar Jan 06 '25 19:01 Rikopara

I've noticed that different modrinth packages also behave different. For me (Fedora 41) RPM works just fine, but appimage is extremely laggy. So, as possible solution, you may try every package your system supports, or even build modrinth from source. Hope this helps.

I might try to use flatpak, see if thats better... but right now I'm having this issue with deb and appimage, as well as some weird seg fault issue with deb.

Edit: Tried flatpak, got exact same problem...

pokahs avatar Jan 06 '25 20:01 pokahs

also having these issues with Pop!_OS. Randomly chooses 1 core and shoots to the moon at 100%Image AMD Ryzen 9 5900X 12-Core Processor 64GB DDR4 NVIDIA GeForce RTX 3070 Ti Pop!_OS 22.04 LTS

TheMightyMcGrew avatar Jan 08 '25 21:01 TheMightyMcGrew

Also getting constant crashes with either app image, .deb, and flatpak whenever I try to navigate to logs, folders, etc. Ubuntu 22.04 Distro

cmar7945 avatar Jan 20 '25 14:01 cmar7945

Still have the same issue. Kernel : Linux 6.13.5-arch1-1 WM : Hyprland 0.47.2 (Wayland) CPU : AMD Ryzen 9 7950X3D GPU : AMD Radeon RX 7900 XTX RAM : 64 GB packages tested : aur/modrinth-app, aur/modrinth-app-git, aur/modrinth-app-bin Image

I don't know if it's related but the AppImage can't be launched either : Could not create default EGL display: EGL_BAD_PARAMETER. Aborting...

The only version that worked for me flawlessly was the flatpak

ArnaudCHEVALME avatar Mar 04 '25 23:03 ArnaudCHEVALME

Just want to say im having the same issue. using modrinth-app-bin from aur

switchmaxfx avatar Mar 26 '25 03:03 switchmaxfx

Facing the same difficulty

aperiogon3141 avatar Mar 29 '25 14:03 aperiogon3141

So is it really unresolved so far?

PoProstuWitold avatar Apr 01 '25 11:04 PoProstuWitold

adding WEBKIT_DISABLE_DMABUF_RENDERER=0 to the launch command in /usr/bin/modrinth-app worked for me.

aperiogon3141 avatar Apr 01 '25 12:04 aperiogon3141

adding WEBKIT_DISABLE_DMABUF_RENDERER=0 to the launch command in /usr/bin/modrinth-app worked for me.

Thank you very much! It worked for me too

PoProstuWitold avatar Apr 01 '25 13:04 PoProstuWitold

I found it easier just to switch to .deb

TheMightyMcGrew avatar Apr 01 '25 13:04 TheMightyMcGrew

Same issue. And devs have not commented in over a year. Makes me wonder if they even care about their app.

Android789515 avatar Apr 27 '25 16:04 Android789515

@Android789515 I switched to the Prism launcher.

Rikopara avatar Apr 27 '25 17:04 Rikopara

Same issue here on Kubuntu 24.04 with Modrinth App installed via .deb.

Jab11n avatar Apr 28 '25 00:04 Jab11n

Same issue here on Kubuntu 24.04 with Modrinth App installed via .deb.

adding WEBKIT_DISABLE_DMABUF_RENDERER=0 to the launch command in /usr/bin/modrinth-app worked for me. try it out

aperiogon3141 avatar Apr 28 '25 06:04 aperiogon3141