ModOrganizer2 / modorganizer

Mod manager for various PC games. Discord Server: https://discord.gg/ewUVAqyrQX if you would like to be more involved
http://www.nexusmods.com/skyrimspecialedition/mods/6194
GNU General Public License v3.0
2.19k stars 163 forks source link

MO2 Lags and freezes #1685

Closed gofranorin closed 2 years ago

gofranorin commented 2 years ago

Finally managed to install MO2 after jumbping through a few hoops, now met with a new issue. Its extremely laggy, every action takes forever to initiate and the theme is comeplety borked. I switched to the paper theme to be able to see it properly without getting 'black spots'. Anyway here are the logs.

Gtk-Message: 02:40:07.528: Failed to load module "colorreload-gtk-module"
2022-04-14 02:40:08,022: Magic not available. Unable to automatically find game executables. Please install python-magic
2022-04-14 02:40:08,059: Starting Lutris 0.5.9.1
2022-04-14 02:40:08,097: No cores found
2022-04-14 02:40:12,460: Startup complete
2022-04-14 02:40:12,461: Using NVIDIA drivers 510.60.02 for x86_64
2022-04-14 02:40:12,461: GPU: NVIDIA GeForce GTX 1060 6GB
2022-04-14 02:40:12,461: GPU: 10DE:1C03 19DA:1438 (nvidia drivers)
2022-04-14 02:40:14,623: Runtime disabled by system configuration
2022-04-14 02:40:14,635: Runtime disabled by system configuration
Started initial process 31846 from gamemoderun /home/orin/Games/mod-organizer-2/run.sh
Start monitoring process.
gamemodeauto:
Searching for Steam in '/home/orin/.local/share/Steam'
Found Steam
Searching for Steam in '/home/orin/.var/app/com.valvesoftware.Steam/.local/share/Steam'
Searching for game in library '/home/orin/.local/share/Steam'
Found game
Searching for 'Proton 5.0' in library '/home/orin/.local/share/Steam'
gamemodeauto:
gamemodeauto:
Searching for 'Proton 5.0' in library '/home/orin/.local/share/Steam'
gamemodeauto:
gamemodeauto:
Searching for 'Proton 5.0' in library '/games/SteamLibrary'
gamemodeauto:
gamemodeauto:
Found Proton
gamemodeauto:
gamemodeauto:
gamemodeauto:

    PATH='/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/home/orin/.local/share/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl' \
    LD_LIBRARY_PATH='/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/libfakeroot:/usr/lib32:/usr/lib/openmpi:/usr/lib:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i368-linux-gnu:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/orin/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib' \
    STEAM_COMPAT_DATA_PATH='/home/orin/.local/share/Steam/steamapps/compatdata/489830' \
    SteamGameId=489830 \
    SteamAppId=489830 \
    WINEDLLOVERRIDES='xaudio2_7=n,b;' PULSE_LATENCY_MSEC=90 \
    \
    '/games/SteamLibrary/steamapps/common/Proton 5.0/proton' run '/home/orin/Games/mod-organizer-2/ModOrganizer2/ModOrganizer.exe'

gamemodeauto:
gamemodeauto:
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
esync: up and running.
wine: Call from 0x7bc8be3c to unimplemented function ntoskrnl.exe.RtlPcToFileHeader, aborting
wine: Unimplemented function ntoskrnl.exe.RtlPcToFileHeader called at address 000000007BC8BE3C (thread 0058), starting debugger...
Setting breakpad minidump AppID = 489830
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198338374378 [API loaded no]
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
[244:248:0414/024018.759:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 0

I also get the following logs withing mo2 itself. This happens continiously btw. Is this my issue where my wine is't configured properly to replicate windows themeing behaviour? Or is it general behaviour? I guess disabling the logs at the bottom would reduce the lag significantly but I don't know how to do it. Anyway let me know If I missed any details.

I'm on Arch Linux(up-to-date), the protontricks version is copied from the usr/bin/protontricks(git) since during installation the one within Lutris didn't work. Nvidia proprietory drivers and I don't know if its relevant but I alternate between KDE Plasma and DWM when it suits me. Currently I'm on KDE.

gofranorin commented 2 years ago

The issue completely disappeared when I switched the theme to fusion. So closing this.

UplinkPhobia commented 2 years ago

I had the same problem appear for some unknown reason, none of the .qss themes would work without completely spamming the UI log. I have tried a lot of things, nothing worked, until I followed https://www.reddit.com/r/linux_gaming/comments/n8hf6v/make_wine_look_like_windows_10/ and switched wine's theme to the windows 10 one.

I have no idea why this broke, nor why this fixed it, but I'll write it down here considering I couldn't find any solution anywhere. I suspect this is a problem with Qt itself under wine, and possibly some linux libraries updates that could have broken some things in wine, but I'm not knowledgeable at all on those.

EDIT: Turns out that I had issues with this as well. However, changing the them inside of wine to "none" seems to work for now, no more log spam and I didn't get the issues that the windows10 theme gave me.