kyechou / leagueoflegends

League of Legends install and launch wrapper for Linux
https://www.leagueoflegends.com
GNU General Public License v3.0
288 stars 22 forks source link

League client crashes on startup; LeagueClientUx.exe encountered a serious error. #64

Closed ghost closed 2 years ago

ghost commented 2 years ago

System information

Vulkan info

==========
VULKANINFO
==========

Vulkan Instance Version: 1.3.221

Instance Extensions: count = 19
-------------------------------
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6

Instance Layers: count = 5
--------------------------
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.3.205  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 4206797 (1.3.205)
        driverVersion      = 2161131584 (0x80d04040)
        vendorID           = 0x10de
        deviceID           = 0x1b80
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce GTX 1080
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 515.65.01
        conformanceVersion = 1.3.1.0
        deviceUUID         = 7b6a7c17-543c-0890-95c1-9e2dc1762634
        driverUUID         = 0a738663-f3b3-5eff-81dc-f04e4d976dbf

Describe the issue

Riot client launches fine. League client shows splash and then crashes, showing a popup with "LeagueClientUx.exe has encountered a serious problem and needs to close."

Log.

This is a new, clean Arch install. Wine-tkg for system wine, but as this uses wine-lol that shouldn't matter, correct?

Any ideas?

kyechou commented 2 years ago

The vulkan output and the graphics driver seem alright. How did you install wine-lol? I'd assume the system wine-tkg shouldn't matter too, but I'm not entirely sure.

edit: maybe the output of pacman -Qi wine-lol leagueoflegends-git would be helpful.

kyechou commented 2 years ago

Not sure if this is related: https://forum.winehq.org/viewtopic.php?t=36233

ghost commented 2 years ago

Not sure if this is related: https://forum.winehq.org/viewtopic.php?t=36233

Installing corefonts did unfortunately not solve it.

ghost commented 2 years ago

The vulkan output and the graphics driver seem alright. How did you install wine-lol? I'd assume the system wine-tkg shouldn't matter too, but I'm not entirely sure.

edit: maybe the output of pacman -Qi wine-lol leagueoflegends-git would be helpful.

Installed the leagueoflegends-git package from aur which pulled wine-lol in the process.

pacman -Qi wine-lol leagueoflegends-git

Name            : wine-lol
Version         : 1:7.0_5-1
Description     : A compatibility layer for running Windows programs - GloriousEggroll custom wine build for running League of Legends
Architecture    : x86_64
URL             : https://github.com/GloriousEggroll/wine-ge-custom
Licenses        : LGPL
Groups          : None
Provides        : None
Depends On      : attr  lib32-attr  fontconfig  lib32-fontconfig  lcms2  lib32-lcms2  libxml2  lib32-libxml2  libxcursor  lib32-libxcursor  libxrandr  lib32-libxrandr
                  libxdamage  lib32-libxdamage  libxi  lib32-libxi  gettext  lib32-gettext  freetype2  lib32-freetype2  glu  lib32-glu  libsm  lib32-libsm  gcc-libs
                  lib32-gcc-libs  libpcap  lib32-libpcap  faudio  lib32-faudio  desktop-file-utils
Optional Deps   : giflib [installed]
                  lib32-giflib [installed]
                  libpng [installed]
                  lib32-libpng [installed]
                  libldap [installed]
                  lib32-libldap [installed]
                  gnutls [installed]
                  lib32-gnutls [installed]
                  mpg123 [installed]
                  lib32-mpg123 [installed]
                  openal [installed]
                  lib32-openal [installed]
                  v4l-utils [installed]
                  lib32-v4l-utils [installed]
                  libpulse [installed]
                  lib32-libpulse [installed]
                  alsa-plugins [installed]
                  lib32-alsa-plugins [installed]
                  alsa-lib [installed]
                  lib32-alsa-lib [installed]
                  libjpeg-turbo [installed]
                  lib32-libjpeg-turbo [installed]
                  libxcomposite [installed]
                  lib32-libxcomposite [installed]
                  libxinerama [installed]
                  lib32-libxinerama [installed]
                  opencl-icd-loader [installed]
                  lib32-opencl-icd-loader [installed]
                  libxslt [installed]
                  lib32-libxslt [installed]
                  libva [installed]
                  lib32-libva [installed]
                  gtk3 [installed]
                  lib32-gtk3 [installed]
                  gst-plugins-base-libs [installed]
                  lib32-gst-plugins-base-libs [installed]
                  vulkan-icd-loader [installed]
                  lib32-vulkan-icd-loader [installed]
                  sdl2 [installed]
                  lib32-sdl2 [installed]
                  vkd3d
                  lib32-vkd3d [installed]
                  sane
                  libgphoto2 [installed]
                  gsm [installed]
                  ffmpeg [installed]
                  cups
                  samba [installed]
                  dosbox
Required By     : leagueoflegends-git
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 500.48 MiB
Packager        : UFSCar HPC Builder <hpc.ufscar@chaotic.cx>
Build Date      : Fri 26 Aug 2022 09:49:57 PM CEST
Install Date    : Sat 03 Sep 2022 02:20:59 AM CEST
Install Reason  : Installed as a dependency for another package
Install Script  : Yes
Validated By    : Signature

Name            : leagueoflegends-git
Version         : 12.16.r0.g8db757e-1
Description     : League of Legends helper script
Architecture    : any
URL             : https://github.com/kyechou/leagueoflegends
Licenses        : GPL3
Groups          : None
Provides        : leagueoflegends
Depends On      : wine-lol  winetricks  bash  curl  openssl  samba  mesa-utils  lib32-gnutls  lib32-libldap  lib32-openal  lib32-libpulse  lib32-alsa-lib  lib32-mpg123
                  lib32-unixodbc  lib32-vkd3d  vulkan-icd-loader  lib32-vulkan-icd-loader  vulkan-driver  lib32-vulkan-driver
Optional Deps   : lib32-amdvlk: AMD Vulkan driver
                  lib32-nvidia-utils: NVIDIA Vulkan driver [installed]
                  lib32-vulkan-intel: Intel's Vulkan mesa driver
                  lib32-vulkan-radeon: Radeon's Vulkan mesa driver
Required By     : None
Optional For    : None
Conflicts With  : leagueoflegends
Replaces        : None
Installed Size  : 133.46 KiB
Packager        : UFSCar HPC Builder <hpc.ufscar@chaotic.cx>
Build Date      : Fri 26 Aug 2022 11:48:51 PM CEST
Install Date    : Sat 03 Sep 2022 02:21:00 AM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
ghost commented 2 years ago

Crashes with GloriousEggroll's wine build as well.

edit: same error with Lutris version

wine: Unhandled exception 0x80000003 in thread 3b4 at address 10939FB8 (thread 03b4), starting debugger...

edit: crashes with the wine package from aur set as system wine as well.

ghost commented 2 years ago

I couldn't solve this. Ended up doing a new Arch installation. Works now.

ghost commented 2 years ago

I ran into this again and in the process of eliminating every possible difference to previous installations I disabled the second monitor (which I have set to mirror the first one) and now it works. I still have no idea what the cause of this is but if someone else with a similar setup runs into this, try disabling non primary monitors.