mmtrt / leagueoflegends

Unofficial league of legends snap repo
https://snapcraft.io/leagueoflegends
GNU Lesser General Public License v2.1
220 stars 27 forks source link

Client doesn't open after logging in #189

Closed 23scurtu closed 6 months ago

23scurtu commented 3 years ago

I was having issues with the game crashing after champ select, so I decided to completely reinstalled league snap using

snap remove --purge leagueoflegends sudo rm -rf ~/snap/leagueoflegends

After reinstalling, the client allows me to login, but then after loading for a while it stops loading and all riot/leage processes are gone, as if nothing happened. Running through the terminal revealed nothing out of the ordinary in the terminal log.

mmtrt commented 3 years ago

All processes closing after login that happens some time so try again and wait patiently for client to show up after login takes approximately 4m+.

23scurtu commented 3 years ago

That doesn't work, it never shows up even after half an hour. I'm familiar with the client taking 4m+ to appear, this time it doesn't appear at all.

Is there a more detailed log I could check out for some more clues?

Alekc89 commented 3 years ago

Hi, I am having also the issue that it it not starting here are some of my logs...

$ leagueoflegends
/snap/leagueoflegends/95/bin/lolfix: line 4: /usr/bin/timeout: Permission denied
Could not find process LeagueClientUx.exe
000000.001|   OKAY| Running from cwd 'C:\Riot Games\League of Legends'.
000000.003| ALWAYS| Application Version:11.21.403.3002 - CL:4033002 - Build Date:Oct 14 2021 - Build Time:15:48:31
000000.006|   OKAY| Initial working directory: "C:\Riot Games\League of Legends"
000000.008|  ERROR| Failed to get the current process path.
000000.010|   OKAY| Current process: ""
000000.011|   OKAY| Command line arguments:
000000.013|   OKAY| Enabling Data API Dradis collection with endpoint: https://ekg.riotgames.com/messages
000000.017| ALWAYS| The following message is prepared to be sent to dradis:
Event Name: riot__rclient__event
common.os_platform: Windows
common.application_name: LeagueClient
common.application_version: 11.21.403.3002
common.cef_version: 91.1.21+g9dd45fe+chromium-91.0.4472.114
common.installation_id: 3tX4YQ==
common.locale: en_GB
common.os_version_major: 10
common.machine_id: 99Lyd87YQEqe16wKp/flsQ==
common.os_edition: Ultimate N, x64
common.os_version_minor: 
common.region: EUW
common.session_id: af0309b1-3a11-8946-b8bc-4762f1ec47b9
event_name: startup
crash_reporter: crashpad
000000.029| ALWAYS| Queued Dradis event to be sent.
000000.030| ALWAYS| Direct Launch enabled for league_of_legends.live in environment 'live' for app path 'C:\Riot Games\League of Legends\LeagueClient.exe' and install dir 'C:\Riot Games\League of Legends'
000000.038| ALWAYS| Found associated Riot Client install (c:/Riot Games/Riot Client/RiotClientServices.exe)
000000.080|   OKAY| Launched Riot Client with process 1948
000000.083| ALWAYS| Riot Client started. Exiting with the expectation of being restarted (ExitForDirectLaunch).
0904:err:rpc:I_RpcGetBuffer no binding
000005.841|   OKAY| EventCollector: 0 events remaining after thread join
000005.844|   OKAY| Shut down EventCollector in 825 milliseconds
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

wine: Unhandled exception 0xe0000008 in thread ad8 at address 7B035485 (thread 0ad8), starting debugger...
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

017c:err:avicap:query_video_device /dev/video0: Failed to open: Operation not permitted
017c:err:avicap:query_video_device /dev/video1: Failed to open: Operation not permitted
017c:err:avicap:query_video_device /dev/video2: Failed to open: Operation not permitted
017c:err:avicap:query_video_device /dev/video3: Failed to open: Operation not permitted
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: Operation not permitted
017c:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

wine: Unhandled page fault on write access to 00000000 at address 004D7125 (thread 0554), starting debugger...
wine: Unhandled page fault on write access to 00000000 at address 004D7125 (thread 01c0), starting debugger...
wine: Unhandled page fault on write access to 00000000 at address 004D7125 (thread 00f0), starting debugger...
wine: Unhandled page fault on write access to 00000000 at address 004D7125 (thread 05b4), starting debugger...
wine: Unhandled page fault on write access to 00000000 at address 004D7125 (thread 0518), starting debugger...
wine: Unhandled page fault on write access to 00000000 at address 004D7125 (thread 0674), starting debugger...
00ac:err:ole:CoUninitialize Mismatched CoUninitialize
# snap list | grep -e wine -e leagueoflegends

leagueoflegends          1.0                         95        latest/edge      mmtrt             jailmode
wine-platform-5-staging  5.18                        32        latest/beta      mmtrt             -
wine-platform-runtime    v1.0                        245       latest/beta      mmtrt             -
# apt list --installed | grep -e mesa -e vulkan

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libegl-mesa0/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
libegl1-mesa-dev/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libegl1-mesa-drivers/now 12.0.6-0ubuntu0.16.10.1 amd64  [Installiert,lokal]
libegl1-mesa/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libgl1-mesa-dev/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
libgl1-mesa-dri/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libgl1-mesa-dri/impish,now 21.2.2-1ubuntu1 i386 [installiert,automatisch-entfernbar]
libgl1-mesa-glx-lts-trusty/now 3:6 amd64  [Installiert,lokal]
libgl1-mesa-glx/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libglapi-mesa/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libglapi-mesa/impish,now 21.2.2-1ubuntu1 i386 [installiert,automatisch-entfernbar]
libgles2-mesa-dev/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libgles2-mesa/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libglu1-mesa-dev/impish,now 9.0.1-1build1 amd64  [Installiert,automatisch]
libglu1-mesa/impish,now 9.0.1-1build1 amd64  [installiert]
libglu1-mesa/impish,now 9.0.1-1build1 i386 [installiert,automatisch-entfernbar]
libglw1-mesa-dev/impish,now 8.0.0-1.1build1 amd64  [installiert]
libglw1-mesa/impish,now 8.0.0-1.1build1 amd64  [installiert]
libglx-mesa0/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
libglx-mesa0/impish,now 21.2.2-1ubuntu1 i386 [installiert,automatisch-entfernbar]
libmirclient8driver-mesa/now 0.8.0+14.10.20141010-0ubuntu1 amd64  [Installiert,lokal]
libopenvg1-mesa-lts-trusty/now 3:6 amd64  [Installiert,lokal]
libopenvg1-mesa/now 10.3.2-0ubuntu0.1 amd64  [Installiert,lokal]
libosmesa6/impish,now 21.2.2-1ubuntu1 amd64  [installiert]
libosmesa6/impish,now 21.2.2-1ubuntu1 i386 [installiert,automatisch-entfernbar]
libvulkan1/impish,now 1.2.162.0-1build1 amd64  [Installiert,automatisch]
libvulkan1/impish,now 1.2.162.0-1build1 i386 [installiert,automatisch-entfernbar]
mesa-common-dev/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
mesa-utils-extra/impish,now 8.4.0-1build1 amd64  [installiert]
mesa-utils/impish,now 8.4.0-1build1 amd64  [installiert]
mesa-va-drivers/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
mesa-vdpau-drivers/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
mesa-vulkan-drivers/impish,now 21.2.2-1ubuntu1 amd64  [Installiert,automatisch]
mesa-vulkan-drivers/impish,now 21.2.2-1ubuntu1 i386 [installiert,automatisch-entfernbar]
vulkan-tools/impish,now 1.2.162.0+dfsg1-1 amd64  [installiert]
vulkan-utils/now 1.2.141.0+dfsg1-1 all  [Installiert,lokal]
Alekc89 commented 3 years ago

Wine shows this error window popup "A program on your system has crashed, but WineDbg was unable to attach to the process to obtain a backtrace"

It is possible that something in my /usr/lib folder is wrong, as I had a usrmerge issue recently before installing league, anyways the launcher starts and just the client does not start.

I purged the leagueoflegens before and reinstalled it. I also completely deleted the ~/snap/ leagueoflegends folder

Alekc89 commented 3 years ago

$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 21.10 Release: 21.10 Codename: impish

Has the snap been tested on Ubuntu 21.10?

mmtrt commented 3 years ago

@Alekc89 seems you have enforced jailmode confinement on league snap which is causing permission issues so you need to to install it as devmode.

Alekc89 commented 3 years ago

@mmtrt Thank you for the quick reply.

Now the client starts but stays black.

I use this graphics card. League worked last year with it.

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)

I used to play with an wine emulated desktop 1920x1080 but to my surprising after installing without jailmode winecfg saves the setting but does not apply it. Also winecfg does not launch in an emulated Desktop.

The league client fully installed and seemingly also downloaded the game but stays black.


$ leagueoflegends
000000.001|   OKAY| Running from cwd 'C:\Riot Games\League of Legends'.
000000.002| ALWAYS| Application Version:11.21.403.3002 - CL:4033002 - Build Date:Oct 14 2021 - Build Time:15:48:31
000000.005|   OKAY| Initial working directory: "C:\Riot Games\League of Legends"
000000.021|   OKAY| Current process: "C:\Riot Games\League of Legends\LeagueClient.exe"
000000.024|   OKAY| Command line arguments:
000000.028|   OKAY| Enabling Data API Dradis collection with endpoint: https://ekg.riotgames.com/messages
000000.037| ALWAYS| The following message is prepared to be sent to dradis:
Event Name: riot__rclient__event
common.os_platform: Windows
common.application_name: LeagueClient
common.application_version: 11.21.403.3002
common.cef_version: 91.1.21+g9dd45fe+chromium-91.0.4472.114
common.installation_id: ZLO8eg==
common.locale: en_GB
common.os_version_major: 8.1
common.machine_id: QHpGKBywyEykyD5/KlCL/w==
common.os_edition: Ultimate N, x64
common.os_version_minor: 
common.region: EUW
common.session_id: 03c77f4f-943d-984c-93d4-e7246ebbf863
event_name: startup
crash_reporter: crashpad
000000.063| ALWAYS| Queued Dradis event to be sent.
000000.065| ALWAYS| Direct Launch enabled for league_of_legends.live in environment 'live' for app path 'C:\Riot Games\League of Legends\LeagueClient.exe' and install dir 'C:\Riot Games\League of Legends'
000000.071| ALWAYS| Found associated Riot Client install (c:/Riot Games/Riot Client/RiotClientServices.exe)
000000.131|   OKAY| Launched Riot Client with process 3036
000000.139| ALWAYS| Riot Client started. Exiting with the expectation of being restarted (ExitForDirectLaunch).
000005.035|   OKAY| EventCollector: 1 events remaining after thread join
039c:err:rpc:I_RpcGetBuffer no binding
000010.047|  ERROR| Failed to send collected events.
000010.050|   OKAY| Shut down EventCollector in 5014 milliseconds
fixme:vkd3d_create_device: Unsupported feature level 0xc100.
fixme:vkd3d_create_device: Unsupported feature level 0xc000.
wine: Unhandled exception 0xe0000008 in thread 6c4 at address 7B035485 (thread 06c4), starting debugger...
LeagueClientUx pid: 274660
Waiting for port 45771
0238:err:avicap:query_video_device /dev/video0: Failed to open: Operation not permitted
0238:err:avicap:query_video_device /dev/video1: Failed to open: Operation not permitted
0238:err:avicap:query_video_device /dev/video2: Failed to open: Operation not permitted
0238:err:avicap:query_video_device /dev/video3: Failed to open: Operation not permitted
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: Operation not permitted
0238:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
fixme:vkd3d_create_device: Unsupported feature level 0xc100.
fixme:vkd3d_create_device: Unsupported feature level 0xc000.
fixme:vkd3d_create_device: Unsupported feature level 0xb100.
fixme:vkd3d_select_physical_device: Multiple physical devices available, selecting the first one.
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

P.S.: If wine does not apply the virtual desktop settings, how can we be sure the directx libs are loaded for League? Are these settings applied? I added an Application in winecfg which allowed me to set individual values for League. At least there the virtual Desktop is accepted. I do not know why it does not work from the general settings?

P.S. (2): After a reboot the virtual screen for wine worked. Deleted the individual settings for League now. → testing it ...

→ It is still black

Alekc89 commented 3 years ago

It's working now, despite I do not know why. I installed vulkan-validationlayers and libcglm0 but it should be unrelated?

Alekc89 commented 3 years ago

Uninstalled the game and reinstalled it. Now again have the black screen issue. Reinstalled the packages mentioned above. But it does not fix it.

Alekc89 commented 3 years ago

Started once on Nvidia mode but changed the league settings that 3d39 is prefered in the game. works all fine now.