Extremely bad performance of the Modrinth App (Linux)
Please confirm the following.
- [x] I checked the existing issues for duplicate problems
- [x] I have tried resolving the issue using the support portal
- [x] I have ensured my Modrinth App installation is up to date
What version of the Modrinth App are you using?
0.9.2
What operating systems are you seeing the problem on?
Linux
Describe the bug
Using Pop!_OS 22.04 LTS with the .deb and Appimage packages
Trying to do anything makes the app run at ~1fps, making it extremely unwieldy. Only thing is "unaffected as much" is the category selections on the Settings page of the app.
Turning Advanced Rendering on and off doesn't seems do anything regarding the issue.
Steps to reproduce
- Open the app
- Do literally anything
Expected behavior
No performance issues, again
Additional context
I've made a report on this exact same issue before the UI redesign: #1222 However this time it appears to effect almost every aspect of the app
My laptop does have integrated and dedicated graphics, but even if the app was using integrated, it wouldn't be THIS bad of a performance
OS: Linux x86 64-bit (Pop!_OS 22.04 LTS) GPU: Nvidia GeForce GTX 1660 Ti Mobile GPU Driver: Nvida Driver 560.35.03
App: Modrinth App 0.9.2 Linux 22.4.0
Also something to add that when doing literally anything one of my CPU cores max out to 100%, alternating between different cores but always consistently only 1 being maxed to 100%. Doing nothing on the app doesn't seem to do anything weird with the CPU cores
Having an extremely similar experience on debian 12 (with 3070 rtx and 535 nvidia drivers iirc), also with both the appimage and deb package. Just about any icon, if hovered over, creates extreme lag/low fps and usually maxes out one of my cpu cores to 100%. Also exception (at least on the main home page of app) seems to be the news section/icons. Those dont seem to lower fps or create any big cpu stress.
Also something to add that when doing literally anything one of my CPU cores max out to 100%, alternating between different cores but always consistently only 1 being maxed to 100%.
#1216 is the issue if you were looking for that :)
Same issue as #3057, the app has become unusable on Linux+Nvidia. But for your case, running it on integrated graphics and enabling hardware rendering should work. Something like DRI_PRIME=1 /opt/modrinth-app/modrinth-app I think
Same here. Arch linux rolling, X11, i3, proprietary nvidia drivers. In case this helps anyone, reducing window size alleviates the issue (less pixels).
Same issue as #3057, the app has become unusable on Linux+Nvidia. But for your case, running it on integrated graphics and enabling hardware rendering should work. Something like
DRI_PRIME=1 /opt/modrinth-app/modrinth-appI think
This didn't work for me. I have the same issue on Linux Mint 21.1 with the nvidia driver 535.183.01, with both the .deb and the .AppImage.
Same issue as #3057, the app has become unusable on Linux+Nvidia. But for your case, running it on integrated graphics and enabling hardware rendering should work. Something like
DRI_PRIME=1 /opt/modrinth-app/modrinth-appI thinkThis didn't work for me. I have the same issue on
Linux Mint 21.1with the nvidia driver535.183.01, with both the.deband the.AppImage.
Do you have integrated graphics? The important part is not running the app on Nvidia graphics, because of a crash issue with Nvidia's drivers, and enabling hardware rendering, because the slowness is caused by software rendering (which was enabled by default to work around the Nvidia crashes).
If you can, try flatpak version.
If you can, try flatpak version.
latest flatpak not even launching
I'm having the same issue. I'm not even using NVidia though, nor I have a dedicated gpu. I'm on a Ryzen laptop. The 'one core at 100%' doesn't happen to me. But It's also quite unstable, even dumped core one time. This was in my journalctl right before the coredump, idk if it helps:
kernel: modrinth-app[3107]: segfault at 0 ip 00007c4d645e2523 sp 00007ffcf8820e80 error 4 in libwebkit2gtk-4.1.so.0.16.7[15db523,7c4d63f36000+3824000] likely on CPU 7 (core 3, socket 0)
kernel: Code: cc cc cc cc cc cc cc 55 48 89 e5 31 c0 5d c3 cc cc cc cc cc cc cc cc 55 48 89 e5 48 8b 47 18 48 8b 40 28 48 8b b8 68 01 00 00 <48> 8b 07 48 8b 40 10 5d ff e0 cc cc cc 55 48 89 e5 >
systemd-coredump[3392]: Process 3107 (modrinth-app) of user 1000 terminated abnormally with signal 11/SEGV, processing...
systemd[1]: Created slice Slice /system/systemd-coredump.
systemd[1]: Started Process Core Dump (PID 3392/UID 0).
If you can, try flatpak version.
latest flatpak not even launching
Are you getting the OS error 18 as well?
Maybe this helps the developers as well: https://termbin.com/tf9r
I hope this gets fixed soon (I have to use prism until fixed) the problem is with Tauri Though
If you can, try flatpak version.
latest flatpak not even launching
Are you getting the OS error 18 as well?
nope, the webkit one (fedora + gnome + nvidia)
ERROR: WebKit encountered an internal error. This is a WebKit bug.
/buildstream/gnome/sdk/webkit2gtk-4.1.bst/Source/WebKit/WebProcess/Network/WebLoaderStrategy.cpp(577) : internallyFailedLoadTimerFired
I'm having the same issue, the flatpak version won't launch as well.
I have a similiar problem, it's extremely laggy, it runs at like 5 - 10 fps. I use an proprietary nvidia driver. Linux Mint 22.1 x64.
Today I noticed the app wasn't laggy. I am not sure what I did led to me fixing this, but I will put some commands I ran(while trying to get davinci resolve to work) here in case it helps anyone:
sudo ubuntu-drivers autoinstall
reboot
sudo apt install mesa-utils
I also set my PRIME profile in the Nvidia X Server Settings app to be performance mode.
Edit: after rebooting the lag is back.
Same issue as #3057, the app has become unusable on Linux+Nvidia. But for your case, running it on integrated graphics and enabling hardware rendering should work. Something like
DRI_PRIME=1 /opt/modrinth-app/modrinth-appI think
Can confirm that this works on the AUR package. I only have an intel iGPU. (thinkpad t430 i5-3320M)
Same issue as #3057, the app has become unusable on Linux+Nvidia. But for your case, running it on integrated graphics and enabling hardware rendering should work. Something like
DRI_PRIME=1 /opt/modrinth-app/modrinth-appI think
@malucard Got the issue on Linux Mint 22, with an RTX 3090 and Ryzen 7600. How would I apply your fix? I'm a bit of a Linux noob, so apologies for missing what should be obvious.
edit: I'm also using the flatpak version, with this override command on it:
flatpak override --user --env=WEBKIT_DISABLE_DMABUF_RENDERER=1 --env=LIBGL_ALWAYS_SOFTWARE=1 --env=GDK_BACKEND=x11 com.modrinth.ModrinthApp
@ArgentVASIMR Since you do have an iGPU, replace those --env= flags with just --env=DRI_PRIME=1 to make it use the iGPU
@ArgentVASIMR Since you do have an iGPU, replace those --env= flags with just --env=DRI_PRIME=1 to make it use the iGPU
Thanks for getting back to me! Just re-ran it now, it performs only slightly better than it did before, maybe just as bad. How do I know for certain that it's using the iGPU?
Hello! Similar issue where preformance is terrible, and flatpaks aren't launching. Running RPMFusion drivers. Here's my fastfetch:
Edit: I'm getting the WebKit error when running flatpak, the RPM is not working at all, and the app image runs at ~1 fps.
Consolidated into #3057