-
Notifications
You must be signed in to change notification settings - Fork 21
Legaue of Legends client doesn't run #39
Comments
Same here. OS: Arch Linux Edit: After waiting some more, the little "Waiting for the League client port to open" dialog disappeared and the process in my terminal terminated. It printed the same exception for me. League Client never opened up but having a look at htop, the bash process for "/usr/bin/leagueoflegends start" is still running and also "LeagueClientUX.exe" is still running. Edit 2: Tried a fresh Lutris installation, same thing happens. Used lutris-ge-lol-7.0.1 as the wine version. The Riot Client works, but I can't get the League Client to open up. Interestingly, the wine Log was full of gstreamer related errors. Something about wine not being able to import something for gstreamer. I can't reproduce this atm and did not copy the exact error, sorry :/ I also tried it with wine switched over to ALSA as the audio backend, which gave me the same result, just no gstreamer errors. Also tried that new fancy python launchhelper script, which uses frida to inject into the league process and start up the League Client way faster. Also doesn't work. Seems like League is, once again, very broken on Linux. |
@Kitt3120 Please keep in mind that while YOU and some others are definitely having issues, it is not 'broken' on Linux. My rig, while similar to yours has a big difference: AMD RX550 video. And the script and game work just fine. I'd say this is a bug, but it may be an upstream video driver problem as many are using Lutris and or the GIT script to play without issue. If I were you I would focus on the Nvidia component. After the timeout is finished, the port is open. The game crashing at that point is during the game client load. There are a lot of potential solutions in the r/leagueoflinux sub involving issues with the Nvidia drivers. |
Hey, thanks for the response. Excuse my unprecise phrasing, of course, League is not broken for everyone. Sorry, I was definitely overreacting. It has definitely something to do with the Nvidia drivers or PipeWire, as I played fine on the same Wine version days before and since then only PipeWire and Nvidia drivers updated. So those two are my points to focus on. The gstreamer errors make me think that it's actually PipeWire. I am aware of all the Nvidia related issues. I helped the community of r/leagueoflinux resolve some of the problems in the past. One of my posts is actually mentioned here in the repo's Readme at the bottom. I tried some of the known fixes for lutris (which I also needed before), like re-installing Nvidia drivers and disabling dxvk and gl cache, but this time it's still not working. Have to work on that a bit more, this time it seems to be really tricky! :) This game kept breaking for me and many others on the sub using Nvidia drivers for the last 6 months. Before, league worked fine for years. Played for 2 years on Linux without issues. And all the issues began, when they updated the underlying chromium framework of the Client and introduced DirectX 12 support for the in-game Client. It should, theoretically, be no problem, as wine supports all that. And it did work from time to time. But since then, every Nvidia or game update has lead me to hours of fixing before I was able to play again. I thought that it would be fixed for good with that cache fix, but here we go again! x) |
I'm on the stock linux kernel btw @Kitt3120 have you tried the 470 Vulkan Dev Beta drivers? |
Uh nope, I am on the newest nvidia drivers for arch, which is version 510.54 for me. Do you mean that I should downgrade to 470? I will try that next, currently I am trying it with the newest nvidia-beta drivers (which surprisingly is also version 510.54, but I'll just give it a try anyway). If I remember correctly, League worked fine back then on 470. Edit: Lutris and the script are both not working with the beta drivers. Will try 470 next. |
I know what it is like to have something just 'work' and then magically with an update go "pooooof". Did you see my workaround for the pipewire/plumber issues? I posted it here. I too had a crash problem once the new pipewire stuff came out, and switching the wine sink to Alsa (via winetricks) brought everything back. If you bring up winecfg and click on the audio tab, is it hanging? (for between 5-10 seconds before showing the tab's info.) If it is, it is definitely pipewire causing problems. If that tab is accessible with no delay, then I'd guess Nvidia is the issue. |
Yes, saw that on reddit and here on the issue tracker. I was a bit confused at first because I did not have the described problems. Coincidentally, I was also helping another guy on reddit installing PipeWire on his system, when I noticed some more differences between his setup and mine. I read the arch wiki article again and turns out that PipeWire changed much since I installed it. Back then, it had a component called PipeWire Media Session. That component has been made modular, is now called Media Session and there's a superior implementation for. That's WirePlumber. And WirePlumber ships by default, if you don't select PipeWire Media Session as your Session Manager. But I am still on the PipeWire Media Session implementation, that's why my setup is a bit different from their setup and I have different Systemd units. So, I am not affected by the WirePlumber issue and PipeWire seems to be running fine for me. In fact, I rarely had any problems in the past year since using it. Because of all this, I no longer think that it's PipeWire anymore. Must be Nvidia. I didn't try the 470 drivers yet. Wanted to yesterday, but caught covid and went testing instead. I'm just glad that I'm vaccinated, I don't feel too bad. It's just like a bad cold. Will try 470 soon. Thanks for your suggestions! :) |
The pipewire problem happened at .48. I pulled wireplumber and reinstalled the old media session. Then d/g pipewire to .47 and nothing changed. It wasn't until just changing the wine prefix to ALSA that things worked again. |
I'm on regular pulseaudio, not pipewire if it matters |
And that is where the coding/troubleshooting train leaves my station. I don't know. I haven't used pulse (other than the pipewire-pulse plugin) in quite awhile. Arch as a distro moved over to pipe as the default, and other than some manky Bluetooth connectivity issues that crop up, I haven't had any real issues with it until this update. Regardless, by changing the sink in the prefix to ALSA, you can eliminate that (or mostly eliminate it) as the source of your crashing. (If it makes no difference to the end result, you can use winetricks to set the sink back to pulse.) |
I don't know what is happening exactly with my Lutris installation, but I am unable to change the audio driver to alsa using winetricks. Winetricks goes through the process like usually, but if when I open up the wine configuration and navigate to the audio tab, it still shows pulse as the driver. It works on other wine prefixes, so I guess I'll just create a new prefix and install the game over again. On the other hand, I was able to change the audio driver to alsa for the leagueoflegends git script installation and the behavior is the same. Game crashes after logging in. It shows the League of Legends logo for just a split second before it disappears. |
Hoping I can contribute to this. I too am having issues with LoL. I can confirm that winecfg from Lutris doesn't allow selecting alsa. I also note that winetricks seems broken (with a |
The git script works just fine using 'leagueoflegends -v run winetricks' to bring up the winetricks interface. It also ensures that the changes stay with the installation version of things. As of the latest Systemd updates yesterday, my audio issues seemed to have magically resolved themselves. I used winetricks to switch back to pulse and a game restart showed that audio is once again working through the pipewire-pulse plugin as it should. So at this point, it was probably a combination of a pipewire update coupled with systemd (which it needs to run) which was having problems with the audio output. |
@Kitt3120 did you try 470 yet |
I wanted to try it yesterday, but I gave up in the end. Was a bit too lazy. I have some packages depending on the current Nvidia drivers. I thought it wouldn't be much work to switch over to 470. But turns out that it's a bit more complicated than I initially thought. I don't know if I'll try, don't want to break my system for this. Maybe I'll give it another try soon. |
Replying to myself here: I could finally play perfectly. It seems my problem was unrelated (missing 32 bit nvidia libs on Debian, see issue) I didn't remove Pipewire 0.3.48, only disabled it and reenabled pulseaudio, no idea if it had any effect. Still on 470. |
I fixed my League! Basically, it was because I had vulkan implementations for AMD gpus installed, even though I am on Nvidia. This can happen accidentally by installing the steam package before Nvidia drivers and using the default options. |
radv and amdvlk installed, never thought of checking the icd files |
Closing as resolved but I believe should be added on the tutorial |
Reopening the issue for updating the README later |
Thanks for reopening, let's get to the bottom of that. @Kitt3120 @edisionnano Had you tried the solutions involving the It seems that these driver errors are rather frequent and completely silent. The way I found the exact problem was using |
That's very interesting, thanks for sharing. I bet that this would also fix the issue. The question is, why was it able to detect the right driver before the update? As far as I can tell, the bug was introduced with a very small patch Monday or Tuesday of last week. |
I run into this issue even tho the file is there
|
Did you run the leagueoflegends install command as sudo by any chance? Maybe the file is not accessible for wine. Edit: You can also try to just run leagueoflegends install first again. This will execute the installer in your existing wine prefix. It will then repair your game. |
Nope nevermind I fixed it! love how one of my accounts was banned just for using Linux some time ago btw F U Riot! |
How did you fix it? |
it installed the game into the wrong location next to drive c instead of being inside it which is where it was looking for it. Oh I didn't know that was a thing, I could contact them if I really wanted to. Thanks for letting me know! 😄 |
I know this is resolved, but please open up a new issue in the future if it is not known to be related to the current issue. Thanks :) |
For people in the future who are searching for the solution, this is it. Additional documentation has been added to README. PRs are appreciated. |
System information
Describe the issue
After running
leagueoflegends install
, closing the Riot launcher without logging-in and then runningleagueoflegends start
Riot Launcher opens but upon logging-in nothing happens even after 10 minutes. The terminal only prints thisSteps to reproduce
Follow the instructions from the README and try to start leagueoflegends
The text was updated successfully, but these errors were encountered: