kyechou / leagueoflegends

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

Crashing after login #16

Closed gabrielbelli closed 2 years ago

gabrielbelli commented 3 years ago

Command leagueoflegends -v start

Output:

+ shift
+ :
+ case "${1-}" in
+ break
+ case "${1-}" in
+ start_LoL
+ '[' '!' -f '/home/user/.local/share/leagueoflegends/drive_c/Riot Games/Riot Client/RiotClientServices.exe' ']'
+ port_waiting_daemon
+ process=LeagueClientUx.exe
+ msg Starting...
+ echo -e '[+] Starting...'
[+] Starting...
+ loading_screen
+ '[' 1 -eq 1 ']'
+ zenity --progress --pulsate --auto-close --no-cancel '--title=League of Legends' --window-icon=/usr/share/icons/hicolor/256x256/apps/leagueoflegends.png '--text=Waiting for the League client port to open...'
++ timeout 2m sh -c 'until ps -C LeagueClientUx.exe -o pid=; do sleep 1; done | sed '\''s/[[:space:]]*//g'\'''
++ winepath -w '/home/user/.local/share/leagueoflegends/drive_c/Riot Games/Riot Client/RiotClientServices.exe'
++ sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'
+ WIN_CLIENT_EXE='C:\Riot Games\Riot Client\RiotClientServices.exe'
+ wine 'C:\Riot Games\Riot Client\RiotClientServices.exe' --launch-product=league_of_legends --launch-patchline=live
+ uxpid=
+ wineserver --wait
+ wait

The process stops after the last line.

kyechou commented 2 years ago

I was unable to reproduce the issue. Could you please provide the detailed information of your setup, including the timeline of how long you waited before and after the logo showing? Please also take a look at this.

wiggleforlife commented 2 years ago

I've got the same issue - Arch on kernel 5.15-7-arch-1-1. I see the process thing being blocked, that sounds like it is of importance. I've gotten wine-lol and leagueoflegends-git from the AUR. When installing using leagueoflegends install, it got stuck at 100% downloading, so I downloaded the installer from Riot's website and ran it in the prefix as suggested in the r/leagueoflinux subreddit. That got it installed, but now when I launch the client it lets me log in and then nothing happens afterwards.

+ shift
+ :
+ case "${1-}" in
+ break
+ case "${1-}" in
+ start_LoL
+ '[' '!' -f '/home/user/.local/share/leagueoflegends/drive_c/Riot Games/Riot Client/RiotClientServices.exe' ']'
+ port_waiting_daemon
+ process=LeagueClientUx.exe
+ msg Starting...
+ echo -e '[+] Starting...'
[+] Starting...
+ wine '/home/user/.local/share/leagueoflegends/drive_c/Riot Games/Riot Client/RiotClientServices.exe' --launch-product=league_of_legends --launch-patchline=live
+ loading_screen
+ '[' 1 -eq 1 ']'
+ zenity --progress --pulsate --auto-close --no-cancel '--title=League of Legends' --window-icon=/usr/share/icons/hicolor/256x256/apps/leagueoflegends.png '--text=Waiting for the League client port to open...'
++ timeout 2m sh -c 'until ps -C LeagueClientUx.exe -o pid=; do sleep 1; done | sed '\''s/[[:space:]]*//g'\'''
+ uxpid=306660
+ '[' -z 306660 ']'
++ xargs -0
++ sed -n 's/.*--app-port=\([[:digit:]]*\).*/\1/p'
+ port=34351
+ '[' -z 34351 ']'
+ kill -STOP 306660
+ timeout 5m bash -c '
    until openssl s_client -connect :34351 <<< Q >/dev/null 2>&1; do
        sleep 1
    done'
0608:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0608:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0138:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0138:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0440:err:rpc:I_RpcGetBuffer no binding
02dc:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
02dc:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0490:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0490:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0414:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0510:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0510:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0300:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0300:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0510:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0510:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0510:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0248:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0248:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0370:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0370:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0248:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0248:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0248:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0408:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0408:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
04b0:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
04b0:err:x11settings:X11DRV_Settings_AddOneMode Maximum modes (64) exceeded
0408:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0408:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
0408:err:vulkan:wine_vkCreateInstance Failed to create instance, res=-1
+ wineserver --wait
0648:err:ntdll:RtlpWaitForCriticalSection section 0x130094 "../../../wine-lol/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 0648, blocked by 064c, retrying (60 sec)
kyechou commented 2 years ago

The crash is most likely because of having wrong graphics card drivers installed or configured. Please make sure that Vulkan is working (https://wiki.archlinux.org/title/Vulkan#Verification).