mmtrt / leagueoflegends

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

Problems installing and running the game #1

Closed freefri closed 5 years ago

freefri commented 5 years ago

Hello. Since League of Legends 8.12 (summer 2018) Riot release an anti-cheat update which was causing the game to crash on launch (see League of Legends boards: Game client anti-cheat known issues and fixes) As some users are reporting the game should be working again, but I'm still facing some problems:

  1. In any case, I've managed to install the game properly, but the game crashes before the login screen (when you wait with the splash image of the 10 champions), right after champion select (the same that was happening right after Riot released the anti-cheat update). No clue what was happening, but the bug report window was coming once and again.

  2. I've tried then to uninstall the snap and install a new snap from scratch (with the latest update https://github.com/mmtrt/leagueoflegends/commit/3940f91be377a5be0876a81862fdf08a6ab47bbe). But now I'm facing another issue while installing the client. I'm getting the following message (and the updater stays in 0% for hours):

LeagueClient.exe(0000015E): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified.

screenshot from 2018-09-30 18-45-25

I'm new to snap, but I'm experienced with Linux, if anyone could give me a hint I could investigate more.

EDIT ( check comment https://github.com/mmtrt/leagueoflegends/issues/1#issuecomment-427257383 ) :

I've made a clean install of Ubuntu 18.04 with the latest Nvidia Driver 390.48 for my GTX 560 Ti. And with the old install of the snap (I've kept my old /home directory and the /home/user/snap directory too) it worked without any problems.

I think the problem was related with the Nvidia drivers in Debian 9 (that's why the error message failed to load driver: swrast appeared in the console, not with this project (league snap).

mmtrt commented 5 years ago
mmtrt commented 5 years ago

can you post output of these

snap version snap info core

freefri commented 5 years ago

Thank you for the reply.

About champ select issue, I've tried to reconnect to a customized game, at least 4 times without success, I could give more details (like logs), when I manage to install the game again.

I'm posting my system details:

snap version snap 2.35 snapd 2.35 series 16 debian 9 kernel 4.9.0-3-amd64

snap info core name: core summary: snapd runtime environment publisher: Canonical✓ license: unset description: | The core runtime environment for snapd type: core snap-id: 99T7MUlRhtI3U0QFgl5mXXESAiSwt776 tracking: stable refresh-date: 5 days ago, at 11:45 CEST channels:
stable: 16-2.35 (5328) 92MB - candidate: 16-2.35.2 (5548) 92MB - beta: 16-2.35.2 (5548) 92MB - edge: 16-2.35.2+git954.b1b6b89 (5603) 92MB - installed: 16-2.35 (5328) 92MB core

mmtrt commented 5 years ago

Did you tried the snap with latest changes posted.

Update it

snap refresh leagueoflegends --edge --devmode

freefri commented 5 years ago

I'm currently using the latest snap Version 1.0 Revision 10 with the same problem when patching (see screenshot on top)

LeagueClient.exe(00000123): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified.

mmtrt commented 5 years ago

just pushed wine update to wine-platform snap update that and try again with clean ~/snap/leagueoflegends

apolitech commented 5 years ago

just pushed wine update to wine-platform snap update that and try again with clean ~/snap/leagueoflegends

Hey , I've got the same problem. I've remove and install again the snap like 10 min ago but the updater is stuck at 0%. Here is a part of the log file file.txt

"LeagueClient.exe(00000009): ALWAYS| Queued Dradis event to be sent. LeagueClient.exe(00000009): ALWAYS| Ux state set to ShowMain. LeagueClient.exe(00000090): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified. LeagueClient.exe(00000092): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified. LeagueClient.exe(00000095): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified. LeagueClient.exe(00000097): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified. "

freefri commented 5 years ago

After updating snap (to version 1.0 Rev 10 https://github.com/mmtrt/leagueoflegends/commit/e42d88858c3dc68b9cb25d1b3e1adc506cbc4204) and removing league files (rm -R ~/snap/leagueoflegends) I've got the client running, but my first problem is still there:

libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

screenshot from 2018-10-01 17-37-21

This is coming right after champion select. I've tried to reconnect many times without success.

mmtrt commented 5 years ago

which gpu vendor and drivers running in your system.

freefri commented 5 years ago

Nvidia GTX 560 Ti

I was using the driver Nvidia Driver version 375.66 screenshot from 2018-10-01 17-52-02

I've decided to upgrade to the latest drive in the repos, version 384.130 After finishing installing the update, I've reboot the system and now I'm getting again the error:

LeagueClient.exe(000000BD): ALWAYS| | Riot::RADS::Patching::RemoteFileServerHTTP::EnumerateAvailableReleases: Using cached releaselisting as downloaded releaselisting was not modified.

screenshot from 2018-10-01 18-05-19

mmtrt commented 5 years ago

weird I'm also having same bugsplat error on fresh game install but its not launching at all on my laptop but already updated game copied from lutris install to

~/snap/leagueoflegends/common/.wine/drive_c/ works fine on same machine.

can you test this league snap created by other dev see if that works for you

snap install leagueoflinux --edge

apolitech commented 5 years ago

snap install leagueoflinux --edge Yea this will not start Fontconfig error: Cannot load default config file =)))

mmtrt commented 5 years ago

ah ok, game download issue seems likely fixed itself though I removed fresh installed riotgames folder inside wineprefix then relaunched game to download the setup again though game seems to break too often when new updates install surely backup riotgames folder timely then restore it when game breaks <-- That still create also create minor issue though game data currupt still get fixed by small game update after the repair.

freefri commented 5 years ago

I'm getting a similar issue with different error in leagueoflinux snap (https://github.com/Coffeeinator/leagueoflinux/issues/2)

I've tested again to run leagueoflegends snap and the updater worked, so do you think the update issue is related with Riot changes and updates? Or maybe I've installed something important after intalling the new leagueoflinux snap?

The game is still crashing before champion select with the following errors:

libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast

mmtrt commented 5 years ago

game is quite buggy in wine with breaking on each updates though snaps have different work space which would work fine and can you try this Paste X3d_Platform=1 under [General] in game.cfg (~/snap/leagueoflegends/common/drive_c/RiotGames/LeagueofLegends/Config) folder to run game in OpenGL mode.

EDIT: maybe try updating your drivers to current stable version which is 390.87

apolitech commented 5 years ago

don't know what you did but after a fresh install everything works as intended .

fportillo92 commented 5 years ago

Hi, try this: open terminal -> sudo leagueoflegends

Nikola135 commented 5 years ago

Hi.

I have same problem. After first run after install, everything works fine. Next run, after system restart, game hangs on that „League of Legends ETA 0 MINS 0.0MB / 0.0MB“ forever.

Solved only by snap remove, snap install. Is there faster way to fix this then having to reinstall all game every time?

Also, my friend that have Windows said to me that's been happening on Windows also, but it hangs only about 10 minutes, and then loads client.

My system: Zorin OS 12 Lite (Based on Ubuntu 16.04 with Xfce + Compiz) CPU: AMD Ryzen 7 2700x GPU: Nvida GeForce GTX 1060 6gb RAM: 32gb screenshot31

Synaxis commented 5 years ago

I suggest testing it in Ubuntu 18.04 or openSuse. I always have issues with wine/snap in other distros. i mean this is too new. It works fine here in Ubuntu 18.04 MATE

sbiliaiev commented 5 years ago

I have the same issue

@fportillo92 method with using

sudo leagueoflegends

doesn't work here is the output: https://pastebin.com/iRDtYMPe

sbiliaiev commented 5 years ago

game is quite buggy in wine with breaking on each updates though snaps have different work space which would work fine and can you try this Paste X3d_Platform=1 under [General] in game.cfg (~/snap/leagueoflegends/common/drive_c/RiotGames/LeagueofLegends/Config) folder to run game in OpenGL mode.

EDIT: maybe try updating your drivers to current stable version which is 390.87

@mmtrt I've tried your solution but I do not have _drivec in common directory: image The Only thing that I ahve inside League of Legends directory is empty directory named Replays so I guess that the game hasn't installed correctly

I'll add some more information tomorrow

mmtrt commented 5 years ago

folders are hidden there that's why you can not see them so show hidden files then inside of .wine folder there will be drive_c.

I missed the .wine in full path.

freefri commented 5 years ago

I've made a clean install of Ubuntu 18.04 with the latest Nvidia Driver 390.48 for my GTX 560 Ti. And with the old install of the snap (I've kept my old /home directory and the /home/user/snap directory too) it worked without any problems.

I think the problem was related with the Nvidia drivers in Debian 9 (that's why the error message failed to load driver: swrast appeared in the console, not with this project (league snap).

freefri commented 5 years ago

I think we should close this issue. For anyone having problems installing/runing the game, please open new issues with new descriptions.

Remember to run the game from command line opening a terminal and writing leagueoflegends (so you share the detailed error output in the console.