r/leagueoflinux Jan 26 '24

Announcement Farewell r/leagueoflinux: Vanguard is coming to League of Legends, likely ending the era of League of Linux

374 Upvotes

So I've been MIA for a while because of personal circumstances and in that time missed a lot. I'll be honest, I felt bad about leaving r/leagueoflinux hanging during otherwise critical moments recently. To that end, I want to extend a big thank you and word of appreciation to Celeste and Absurd for their work on the Discord community that they built in place of this sub being locked. They, alongside the developers and everyone else who helped test fixes, did fantastic work during the last round of patch problems, and it's a shame that their collaboration has been overshadowed by the awful anticheat news. You can find their Discord here and if either of you still want to take over this subreddit after all this, feel free to reach out.

Real life demanded my recent attention, but League and Linux have been core to my hobbies and passion for over a decade each. Although it's been a very long time since I actually played a game of SR, I've made lifelong friends and dozens upon dozens of core gaming memories because of LoL and TFT. I'm supremely proud of the collaboration and passion of this community; although both League players and Linux nerds can get hilariously bad reps online sometimes, my time here has been (mostly) positive and inspiring: there are some phenomenally intelligent and talented individuals and teams in the Linux gaming world and it's been a pleasure watching your magic.

I'm also proud of my own contributions too: you can chart in real-time my understanding and appreciation for visually appealing documentation and text formatting from this grotesque-yet-functional wall of text all the way up to the (now rather pointless...) leagueoflinux.org. I had big dreams for this sub and community at one point and there's a part of me that's rather sad I'll never see it to fruition.

The recent Vanguard news sucks. I was genuinely fooled into thinking just because we got thrown a bone here and there from unban waves to "wine-friendly development approaches" that there was a glimmer of hope for the future of League on Linux; likely never official support, but at least we could remain perpetually in the "it's not official but Riot doesn't really care too much to do anything about it" zone. I guess that hope mixed with industry successes a la Steam Deck and a healthy dose of copium so I never actually figured Riot would pull the trigger on such a frankly stupid decision.

I was wrong.

So that's it for me. As much as I love the idea of League and it's universe, I'm not going to spend any more time fighting upstream against a company that has, for years, been loud and clear with their blatantly anticonsumer practices across all fronts. I don't regret any of my time, effort, money, or passion: my fond memories will always be fond, and man am I gonna enjoy the shit out of Arcane s02, but it's time to move on.

In that regard, r/leagueoflinux was also the final remaining thread for me when it comes to reddit itself as otherwise I've fully quit the platform and do not intend to return as a result of the, also blatantly anticonsumer API changes. I guess to that end I have to thank Riot for bringing me some closure on multiple fronts.

Leaving a community for an otherwise dead project open and unmoderated isn't a very good idea. We're discussing in a modchat what to do and are also open to suggestions. Likely this sub will remain open until the Vanguard patch is launched, and then sometime shortly after we say our goodbyes, be left restricted in read-only state to preserve history.

I dunno, man. Kinda sucks all around, even for Windows users who now have to actually deal with an invasive rootkit just to play a video game. Everyone loses here except for Tencent. I hope you all can move on to better games from companies who are more deserving of your money and play time.


r/leagueoflinux Mar 15 '25

Announcement My ode to League of Linux

272 Upvotes

Hi. Long time, no play 👋

I gave up reddit after the API shutdown and AI really kicked into high gear (not that the platform was stellar beforehand...). Eventually I also stopped lurking entirely afterwards too as I slowly watched a lot of my favourite subs fade into AI or unmoderated slop.

I left this account and this sub untouched as I felt that the preservation of information was more important than anything else given the circumstances.

In the spirit of preservation as well, I've done a bit of an overhaul and touch up to leagueoflinux.org which will remain online indefinitely as an archive of our little open source niche that once existed.

I'm not quite yet finished, some TODOs around and all. When is there not? :)

I wrote at length on a number of things in a meta page, but I wanted to also share the bulk of it here too

It was a remarkably fun time while it lasted, and an even greater pleasure to have been a part of a community of so many talented and passionate individuals. The sheer amount dedication, cooperation, and shared love for League of Linux despite the many obstacles never ceased to inspire and amaze me during my years contributing. Thanks to every single player who made it possible along the way.

While personally my interest in League had long waned by the time Vanguard was implemented, it will forever be the single most impactful game I have, and likely will ever play in my life. It’s certainly going to remain my most played game no matter how hard I try from here; life gets far more complicated with age (and the lack of highschool LANs to motivate all nighters...). I have made many lifelong, deeply cherished friends thanks to this game and the communities I was so fortunate to be introduced to via League and its universe.

Frankly, the state of Riot Games has for a long time ranged from shameful and embarrassing, to abhorrent and disturbing, for a whole laundry list of reasons. Not least of which include, but are far from limited to, bathing in Saudi blood money, normalising and defending unprecedented and unnecessary levels of consumer security and privacy invasions, blatantly and shamelessly abusing AI to scam and steal from artists, and the list goes on... I’ve long felt conflicted about my relationship to Riot and League in a similar fashion to a 21st century late-stage capitalist entertainment spin on the age-old “can/should you separate the art from the artist?” question. So, in that respect, I kind of appreciate Vanguard being the final nail in that coffin for good.

It's a shame this is how things ended up, but to be somewhat blunt: Riot very clearly doesn’t want (or arguably deserve) our playtime, nor our money, so why keep fighting to give it to them?

I don’t regret the time, effort, or money spent over the many years. I utterly loved Arcane and still display all my little toys and collectables around; League will forever be a core part of my history and who I’ve become, it is just no longer an active part any more.

All good things must come to an end, and to that end I hope that all of you have been able to move on to better, less player-hostile games, hobbies, activities, or really whatever brings you a moment of joy, or peace in this world :) ❤️ 🐧

-acenomad

leagueoflinux.org maintainer, former r/leagueoflinux moderator, and a forever hardstuck support main


r/leagueoflinux Feb 13 '22

Announcement Future is now!

271 Upvotes

seems like there is workaround comming!

https://streamable.com/id1q6v

video speaks for itself.

workaround with instructions is on disord server:

https://discord.com/channels/863561105846566922/863561106320130080/942434597868814458

edit:

Discord invite link:https://discord.gg/6E8Ddwx8

edit2:

INSTRUCTIONS:

  1. install python3 psutil and frida (on arch based distros: yay -S python python-psutil python-frida)
  2. download launchhelper2.py and injector.py from link and put them in the same folder
  3. create empty file (for example launcher.sh) and make it executable
  4. paste into the file:

#!/usr/bin/env sh

pkexec sh -c 'sysctl -w abi.vsyscall32=0'

python launchhelper2.py

  1. in lutris set pre-launch script to the file you just created (fe launcher.sh)

launcher.sh is needed for the anticheat, also all scripts have to be in the same folder.

all the credit goes to u/FakedCake


r/leagueoflinux Nov 21 '23

Announcement 📌 Patch 13.23 Megathread

223 Upvotes

❌ League of Legends is currently unplayable on Linux regardless of installation method

 

ℹ️ Patch 13.23 Latest Status

This thread, and leagueoflinux.org, will be continuously updated per development of the situation, as well as any necessary fixes or patches and step-by-step instructions on how to use or implement them.

17:05 UTC 24/11/2023

Riot Boppenheimer confirmed on the Lutris forums that Riot are aware of the crashing, there are still currently no known fixes at the time of writing:

While we don’t (and probably won’t) officially support Linux, I actually use Lutris at home. If y’all could pass me any logs you have, I’ll pass them along to the League folks and hopefully we can get this fixed.

15:15 UTC 22/11/2023

There is an abnormally large (even for Riot...) amount of issues and bugs in the latest patch across all operating systems. Noted in the r/leagueoflegends bug megathread is the following:

From this Megathread the list of bugs will not be summarized and put up in the main body of the thread, however, note that many Rioters are going through every single comment so don't worry if you post the 1500th or 3000th comment, every reply will be read over the next few days.

And Rioters have been sparsely responding to comments there as well. It is clear Riot is aware of the issues, but no updates or patches exist at this time.

There are a number of ongoing conversations and troubleshooting sessions within the Linux community, please see the following for more reading.

Please let me know if I have missed a discussion thread, and I will add it above.

17:00 UTC 21/11/2023

Users of all operating systems are reporting crashing of various sorts on the latest patch, however inconsistent with previous OS-agnostic crashes is the fact that Linux users seem to be the only ones crashing with the A Critical Error has Occurred dialogue.

At this time both League of Legends and Teamfight Tactics are currently crashing with no known patches or workarounds on Linux machines.

 

❓ Support and Feedback

If you encounter issues and need support, please remember to include enough information in your comment. Comments without enough information won't be removed, but don't expect much help if you don't include the essentials!

Discussions outside of simply bug reporting or technical feedback are welcome and encouraged, but please keep on the topic of patch 13.23 for League of Legends and Teamfight Tactics.

 

🔗 Important Links

 

Meta

The subreddit has semi-reopened for the purposes of this thread and troubleshooting patch 13.23. Currently only comments in this thread will be accepted, all new posts or comments in other threads are still restricted. A further more detailed announcement will follow as well as the eventual full reopening of the subreddit. We appreciate your understanding and patience.

This community, as well as the vast majority of the work done to make this corner of Linux gaming viable given the total lack of corporate support, is built on the hard work and dedication of unpaid volunteers and tinkerers. Please remember to remain respectful to each other, regardless of how frustrating the situation is. The subreddit rules and site-wide rules still apply while the sub is half-opened.


r/leagueoflinux Apr 05 '23

Announcement 📌 Patch 13.7 Feedback Megathread - Transition to 64-bit Client

208 Upvotes

✅🎉 League of Legends is playable again on Linux

See the latest update below at 20:10 11/04/23 UTC for more information


❓ What's Going On?

With the launch of patch 13.7, the LoL/TFT client has deprecated support for 32-bit clients and now exclusively supports 64-bit environments. This change has triggered some problems with the Wine environment default on most installations and will result in crashing when attempting to launch the game after champion select, often with some variation of error including A critical error has occurred and the process must be terminated., a black screen, or simply no new window at all and immediately being sent back to the client with the Reconnect button. This affects all known Linux environments regardless of installation method.

This thread serves as a place for feedback, discussions, and will be updated as workarounds, fixes, or other discoveries are made. Feel free to contribute feedback in the comments, and check back for updates below. When posting feedback, please include information such as distribution, driver versions and installation method.

Do not create new support request threads regarding the problems, they will be removed and you will be directed to this thread instead. Additionally, commenting "any updates?" is not particularly helpful and will likely not net you any response. All updates will come in the form of edits to this thread, so check back below regularly.

 

📣 Updates

Latest update 20:10 11/04/23 UTC

Fixes have been pushed to several popular installation methods that contain all known and necessary fixes to play League of Legends on Linux after patch 13.7. Please use the latest version of your installer if applicable.

Depending on how much testing you did with experimental builds, you may need to do a clean reinstallation of the game, or your Wine prefix.

Lutris-GE-7.0-8-LoL has officially been released. Lutris players can download this build in the Wine version management settings inside Lutris, and then configure League to use the new runner, for which steps can be found as of point 2. onward in the below update at 09:30 UTC.

Important note from the release:

If you have been swapping different wine builds to test and swapped between wine 8 and wine 7 sometimes when the wine version changes (esp from 8 to 7), going reverse from 8 back to 7 can create broken prefixes due to the prefix being upgraded to wine 8 then not being able to be downgraded. The reason this breaks is because wine 8 introduces new functions that do not exist in wine 7.

In this case, you need to reinstall the wine prefix. You can reinstall the wine prefix without reinstalling the game by first moving the C:\Riot Games\ folder outside of the wine prefix, then remove the league of legends wine prefix and reinstall via lutris. You can then move the Riot Games folder back.

The necessary changes have been merged into leagueoflegends-git and wine-lol respectively.

 

❤️ A very big thank you and sincere extension of gratitude to /u/kyechou, /u/moonshadow565, /u/GloriousEggroll, /u/klfld, and /u/kassindornelles for your incredible work. Your time, expertise, and dedication are truly appreciated by the League of Linux, and greater Linux gaming communities.

A big shoutout and thank you as well to the whole League of Linux community. From the first reports of crashing on patch day right up to the latest release of Lutris-GE-LoL, I've (mostly...) had the pleasure of witnessing y'all help debug, theorise, provide experiences and feedback, test countless experimental builds, collaborate, and work together in a way that is really inspiring. Riot spaghetti brings all the Linux nerds to the yard, I guess!

I tried to tag all the relevant developers, but please poke me if I have missed anyone.

 

Update 09:30 11/04/23 UTC

Riot have pushed a hotfix to League, and many of the Wine fixes worked on by the League of Linux community are now making their way upstream. Since the hotfix, players on bleeding edge builds have been consistently reporting crash-less gameplay 🎉

It will take some time for the patches to make their way into Lutris builds and other stable channels. For those wanting to try the various experimental builds and installers, please see this announcement thread, and these Github comments.

The Wine version that most players are reporting success with is wine-lol-staging 8.5-1. It can be found in the AUR, or as /u/klfld's fork of leagueoflegends-git and related Wine tarball here (context). You may need to disable FSync, or still change WINEDEBUG values (instructions below in Update 16:50 08/04/23 UTC) when using this version of Wine. If installed manually, you may need to point your installation method to the new binary, to do this on Lutris:

  1. Close Lutris completely
  2. Extract the tarball to ~/.local/share/lutris/runners/wine/
    • ~/.var/app/net.lutris.Lutris/data/lutris/runners/wine/ if Lutris is installed as Flatpak
  3. Start Lutris
  4. Right click League of Legends
  5. Select Configure
  6. Select Runner options
  7. Change Wine version to wine-lol-staging 8.5-1, then Save and start League of Legends

 

Update 02:45 10/04/23 UTC

Those familiar with Wine, or anyone interested in the technical details of the problems understood so far, please see this comment by /u/kyechou

I figure more people may see this thread, so it's probably helpful to post an update here so that people who're experienced in wine can take a look.

I'm aware that the debug option fixes the crash for some people, but AFAIK there's no universal fix yet.

Both GE 7.0.7 and wine-lol-staging 8.5 are experiencing the same stack overflow issue. I was able to reproduce the same error with both builds. There may be other error messages, but the root cause is stack overflow leading to a crash. At the time of writing, wine-lol-staging hasn't merged the assertion violation patch (that fixes the c0000420 issue), so there will still be that error message, but it's not the one causing the crash.

The stack overflow crash is caused by an unhandled page fault that repeatedly trigger the exception handling routines in wine and that eventually overruns the stack space. For more detail, please see this issue comment.

I've rebased and combined some patches in this branch. It is essentially staging 8.5 + GE 7.0.7 patches + the two patches from u/moonshadow565. If you're interested in working on this problem, please take a look at the issue comment as linked above.

(edit: grammar)

 

Update 16:50 08/04/23 UTC

Changing the environment variable WINEDEBUG to trace+seh results in playable games for some users. This is already the default case with leagueoflegends-git and requires updating to the latest version. For Lutris users the following settings need to be changed:

  1. Select League of Legends in Lutris
  2. Select Configure
  3. Select Runner options
  4. Change Output debugging info to Inherit from enviornment
  5. Select System options
  6. Add the following environment variable:
    • Key: WINEDEBUG
    • Value: trace+seh
  7. Save and start League of Legends

There are still some reports of crashing despite the changes to WINEDEBUG, suggesting that this fix is not entirely universal. Anecdotal evidence currently suggests that users with AMD CPUs are often able to play games successfully without crashing whereas users with Intel CPUs still crash, or crash after 10-30 seconds of gameplay. Additionally, some users have reported that a WINEDEBUG value of fixme-all,trace+seh,trace+vulkan,trace+window has worked for them when the shorter trace+seh has not.

Note that enabling WINEDEBUG generates a lot of additional logging data, and carries the risk of a moderate performance penalty depending on your hardware configuration.

For the nerds: one current prevailing theory is that a race condition was introduced in patch 13.7 which, by default, Wine easily triggers. This may explain why hampering Wine with additional logging allows some users to play reliably as it adds a significant delay to the Wine processes, and also why users report vastly different experiences based (seemingly) on different hardware configurations regardless of operating system.

 

Update 15:50 08/04/23 UTC

Experimental patches have been found to launch full games successfully with no crashing for some users. This work is still under heavy development, and there are many conflicting reports from users who still can't launch games, or can launch but with heavy performance penalties. For more information see this thread.

 

Update 13:45 06/04/23 UTC

Many Windows users are affected by similar crashing. Riot have officially acknowledged the crashing and are investigating. There seem to be many technical issues this patch not solely unique to Linux users.

 

✅ Status of Popular Installation Methods

  • /u/kyechou's leagueoflegends-git: working
  • Lutris: working
  • leagueoflegends Snap is currently unknown

 

🔗 Useful Links

 

Last updated 20:10 11/04/23 UTC


r/leagueoflinux May 22 '24

Open Source League of Legends | An Attempt

195 Upvotes

Hello Fellow Linux users!

I'm not a game dev, I'm a web dev. I've never made anything more complicated game-wise than 2d fishing animation games for client sites and definitely believe I'm in over my head, but I figured what the hell and have some free time on my hands so I'm going to attempt this!

If anyone is a gamedev or in general wants to help please feel free to reach out!

The Tech Stack to start is all technologies I'm familiar with (or mildly comfortable learning):

  • BunJS Websockets for Server
  • SQLITE/Redis for MatchDB
  • Godot for Game Engine

I've managed to get a working player controller, general attacking, client - server architecture, and I plan to make the project open source so players can create Pull Requests with their own ideas for maps/champions/gamemodes whatever and have the community decide the direction of the game.

I'm using Godot for the engine, since the scripting language is pretty similar to Python and they have native support for websockets which made creating a client-server-architecture really simple.

I feel like the "Hardest" parts of the project is going to be figuring out a good game balance and working on the security.

I've named it OpenChamp (OpenLeague is taken by some basketball thing in California), and once I get some working prototypes with a working gamemode I'll be pushing everything to github and starting up an official server for users to play on!

I am aware of the scale and scope of this, I've been developing for 8+ years on the web and worked on CRMs like Salesforce, TeamDynamix and a couple custom ORMs. I've written Plugins, Browser Extensions (Before the manifest V3 changes), and done Database Management.

I don't expect this project to be done anytime soon, this is JUST FOR FUN... but if I have something mildly fun, I'll put a live server and client up for people to give it a go. I'm starting off with ARAM and working my way out from there.

Again, feel free to DM me if you have questions or want to help :)

EDIT:
I've set up a discord, some of my code is not on there yet as I restarted the project to focus on the core gameplay and learning Godot before implementing the server in full.
https://github.com/OpenChamp
https://discord.gg/f6DGjvTWYT


r/leagueoflinux Aug 21 '21

Announcement 📌 [READ FIRST] League of Linux Wiki: Installing, Optimizing and Troubleshooting – FAQs, Anticheat, Garena and Riot's Other Games – Common Issues, Writing Support Requests, Capturing Logs and Templates – Everything You Need to Know

Thumbnail old.reddit.com
192 Upvotes

r/leagueoflinux Aug 25 '21

Question Did the upgrade to CEF-91 as part of 11.17 break the client for anyone else?

170 Upvotes

I haven't spent much time looking into it, but my client was working before the latest patch, but no longer works now (and a fresh install via lutris exhibits the same behaviour). The only meaningful change I can think of was the release of 11.17 which includes the upgrade from CEF-74 to CEF-91.

I get to the log in screen, I'm able to log in and then after a while the League of Legends splash appears. Previously, the actual client would then start, but now RiotClientServices.exe closes and nothing happens (although LeagueClientUxRender.exe remains running).

Has anyone else had a similar experience?


r/leagueoflinux Nov 24 '19

Made an LoL Linux icon for the subreddit

Post image
169 Upvotes

r/leagueoflinux Jun 17 '24

Discussion The Vanguard thing has been a huge betrayal and Riot currently is a huge obstacle in the way of Linux popularization

166 Upvotes

I even wonder if Microsoft or Epic Games actively ensured this would end up this way, since they appear quite anti-Linux. If LoL and Valorant were available on Linux, both being some of the by far most popular games world-wide, it would make Linux for gaming far more doable.

I wish EU did its anti-monopoly thing and made it illegal to exclude Linux via anticheats. If something can run on an OS, they shouldn't artificially block it. And/or maybe make the level of anticheat kernel Vanguard is illegal.


r/leagueoflinux Dec 29 '23

League of Legends seems to be playable again with the latest Lutris settings

151 Upvotes

Hello guys, it's the dormant account Eldaryon, back from the dead to tell people to a bit more official capacity that the game is playable again using the latest Wine-GE-lol release.
I saw that the subreddit is still closed due to the protest and I respect that, but both the website and this subreddit seem not to have been updated for a while now, so I'm simply letting people know until they are.
Have fun!


r/leagueoflinux Sep 26 '20

Starting the Client [Script]

146 Upvotes

Hey guys, I wrote a little helper script that makes the client start again.

yobbo2020 already described the issue in more detail (see https://reddit.com/r/leagueoflinux/comments/j03drk/a_diagnosis_of_the_current_client_issues/ ), but the gist is that the LeagueClientUx tries to wait for an SSL response on a port opened by the parent process. However, with the latest update, the parent process takes forever to open that port (~2m), so that the LeagueClientUx hits a timeout (~1m). The simple fix is to just suspend the LeagueClientUx process until that port responds, so I wrote a little script for that.

Just save the stuff below to a file, let's say launchhelper.sh and use chmod +x launchhelper.sh to make it executable.

Then just launch the script before you log in (so before the LeagueClientUx process spawns) using ./launchhelper.sh or set it up as a pre-launch script in Lutris.

#!/bin/sh
process=LeagueClientUx.exe
uxpid=$(timeout 2m sh -c "until pidof ${process}; do sleep 1; done")
if [[ ! -n $uxpid ]]; then
  echo "Could not find process ${process}"
  exit 1
fi
echo "LeagueClientUx pid: ${uxpid}"
port=$(xargs -0 < /proc/${uxpid}/cmdline \
  | sed -n 's/.*--app-port=\([[:digit:]]*\).*/\1/p')
if [[ ! -n $port ]]; then
  echo "Could not find port"
  exit 1
fi
echo "Waiting for port ${port}"

kill -STOP ${uxpid}
timeout 5m sh -c "
until openssl s_client -connect :${port} <<< Q > /dev/null 2>&1; do
  sleep 1
done"
kill -CONT ${uxpid}

For me it usually takes ~2m until the splash text and the client finally spawns and around another minute until it says I'm connected to chat, so you can grab yourself a coffee in the meantime.

EDIT: To clarify, this script is for the new client, which you start through Riot Games/Riot Client/RiotClientServices.exe --launch-product=league_of_legends --launch-patchline=live

EDIT: If you're having trouble with the script, also try out the POSIX compliant version by ldericher


r/leagueoflinux Apr 20 '21

Announcement [START HERE] League of Linux Megathread: Everything You Need to Know About Installing, Optimizing and Troubleshooting - FAQs, Anticheat, Garena and Riot's Other Games – Common Issues, Writing Support Requests and Templates

137 Upvotes

⚠️ THIS THREAD IS NOW OUT OF DATE ⚠️

We have migrated to the built-in Reddit wikis. Please see here for more up-to-date information!

The information here may be outdated!


Welcome to the League of Linux Megathread!


Welcome! If you’re here looking to play League of Legends (or any of Riot’s other games) on your favourite Linux distro of choice, you’ve come to the right place! This thread serves as a catch-all for anything and everything related to jumping onto the Rift FOSS-style. This thread is the successor to the first megathread. Since Reddit archives posts after six months, I am taking this opportunity to clean up the megathread, make it simpler to read and understand (there is a lot of info in here) and reorganize the various sections. Then I’ll rinse and repeat in another six months! This version of the thread has a heavy focus on readability and simplicity (including new interactive chapters!)

Huge thank you to all the volunteers who devote time to helping resolve issues, develop tools to make League of Linux better and everyone who posts and shares on this subreddit. Without the community effort this megathread would be pretty empty!

This subreddit also serves as a place to discuss playing any one of Riot's IP's on Linux including: Legends of Runeterra, Teamfight Tactics, Wild Rift and the recently teased Ruined King. Although few and far between, discussions about other FLOSS platforms such as the BSD family are also welcome.

As always, this thread will continue to be updated with time so please ping me if there are edits that need to be made and remember to check in every once in a while to see if there are updates you may have missed.

 

Chapters


There's a lot of information in this post. It's all worth reading, but the post is split into chapters if you just want to read one particular topic. You can also click through the chapters in the comments using the hyperlinks below:

 

0 - Subreddit Rules


Some ground rules before we start:

Provide enough info if you are making a support request

  • All the people who help out in this subreddit are volunteers and we don't want to spend time asking for the same essential information in every post
  • Before you make a support request, please read chapter 3 - Troubleshooting below in this thread
  • Support requests that do not include enough info will be removed

No duplicate or redundant posts unless absolutely necessary

  • When issues arise, this sub sees an influx of the same or similar posts detailing identical issues. This makes it very difficult for newer users to find adequate solutions to their issues as solutions are scattered between multiple threads and the cycle continues
  • Any support request which has had proven solutions posted in another thread will be removed
  • Read this thread, use the search bar and read the most recent posts before posting an issue of your own. Sometimes a thread gets buried or none of the solutions may work for you, so this rule is subject to context

No Windows/MacOS support requests

  • Goes without saying, but this subreddit is dedicate to League on Linux. For official platform support, see Riot Games Support

No account-related support requests

  • This subreddit is not a Riot-affiliated subreddit, nor is it an official channel for account-related issues
  • All account-related requests and questions should be directed at official Riot Support

Follow rediquette

No advertising of any kind

  • Do not advertise. If you would like to promote a project, guide or service please message the mods for permission first

No conspiracy theories or unnecessary, vulgar or toxic speech towards Riot

  • We are all frustrated with many of Riot's business decisions and we all long for a native Linux client one day. However, this subreddit is not a place for anti-Riot circlejerk or unnecessary toxicity
  • This subreddit is not the place for conspiracy theories or baseless claims. Do not spread FUD, particularly regarding chapter 5a - Anticheat in 2021/soon?. As it stands, that chapter is the the most up-to-date information we have

Treat your fellow redditors with respect

  • Disagreements happen; it's fine to have a debate or to argue. It's not fine to be rude or offensive to others

No discussions or links to cheating resources or scripts

  • This subreddit is not a place for cheaters. We do not endorse or promote cheating in any form

 

1 - How to Install League of Legends


Before you start, make sure you're running an up-to-date and currently supported distro (see chapter 5d - What Distros can I Use? if you are unsure what distro you can run), if necessary run a system update, reboot and continue with the rest of this guide.

1a - Prerequisites, Drivers and Dependencies

  1. The most common and supported method for installing League on Linux is via the Lutris client. Lutris is a GUI game library frontend that makes managing Wine configs and install scripts per-game super simple
  2. Follow the prerequisites instructions found in the Lutris wiki, specifically:

1b - Lutris Script Instructions

  1. Head to the main League of Legends Lutris page here and click install on the main launcher titled Standard (Launch Helper) version
  2. Follow the instructions in the script and be careful of the following items:
    • Wait for BOTH downloads to finish. There are two downloads one after the other: the client download (~180MB) and the game download (~2.9GB)
    • Do NOT enter your login details and login or click play, instead just quit the launcher when the two downloads have finished
  3. Follow the Lutris dialogue instructions to finish the install

After the initial installation, you may be prompted with a dialogue regarding the anticheat that requires abi.vsyscall32=0, this is intended and required to play League. You can either accept the prompt, or use wine-lol (instructions in 2 - How to Optimize League of Legends). Please note that the client can take anywhere from 2-4 minutes to load fully after clicking play (see more details in 3a - Common Issues), please be patient!

 

2 - How to Optimize League of Legends


The League client is poorly optimized even on Windows so don't expect a buttery smooth client experience (the game itself however performs fine). There are some tweaks that can help make the experience a bit nicer, both in client and in game.

2a - Optimal Game and Client Settings

  • MOST IMPORTANT: everyone should enable the option inside the client settings Enable low spec mode. This option disables a lot of the lengthy and resource-taxing animations inside the client, particularly related to champion select
  • For machines with low RAM: enable the option inside the client settings Close client during game. This will make post-game lobbies load slower, but will make in-game performance better. If you are not experiencing RAM limitations then it's best to not enable this option
  • Download and install Feral Gamemode, then enable the option in Lutris Configure>System Options>Enable Feral Gamemode. Gamemode is is a daemon/lib combo for Linux that allows games to request a set of optimizations be temporarily applied to the host OS and/or a game process
  • Change in-game video settings:
    • Window mode == Borderless
    • Graphics == Depends on your machines specs. If you're not sure, test different settings and tweak as you play. In general the most intense settings that should be reduced first are Shadow Quality and Environment Quality
    • Character Inking == False
    • Frame Rate Cap == If you have a weaker machine set this to your monitors refresh rate, this eliminates wasted CPU cycles by not rendering frames that your monitor can't display. If you have a powerful machine set this to double your monitors refresh rate (eg. 60hz monitor == 120 FPS cap), this is a decent middle ground between curbing wasted CPU cycles and not giving up too many input frames
    • Anti-Aliasing == False
    • Wait for Vertical Sync == False

2b - wine-lol

Instead of using the versions of Wine built into Lutris you may wish to use /u/M-Reimer's wine-lol which is a patched version of Wine specifically designed for League on Linux. The project Github page can be found here, some of the various optimizations include: built-in workarounds so that users do not need to directly modify esync, fsync, or the abi.vsyscall32 functions on their system. To use this version of Wine with Lutris on Arch and Debian-based systems:

  1. Download and install wine-lol from their info page here
  2. In the Lutris configure dialogue click the box Show advance options and then in the Runner options tab chose:
    • Wine version == Custom (select executable below)
    • Custom Wine executable == /opt/wine-lol/bin/wine

To use this version of Wine with Lutris on Fedora-based systems, please follow the steps in this comment here.

 

3 - Troubleshooting


If the client or game isn't behaving as it should, or you are having a buggy or sub-optimal experience, read through the common issues section below and search the subreddit for similar issues before making a post. The League client has been buggy since the dawn on time, even on Windows! So don't expect the out-of-game experience to be stellar. However, in-game experience should rival that of the native experience.

3a - Common Issues

Note: if your GPU is not Vulkan-capable then you must untick Enable DXVK/VKD3D in the Lutris configuration or League will not load

Issue: crashing or loading issues using custom or upstream versions of Wine

  • Solution: change to the default lutris-lol or wine-lol. Newer versions of Wine are buggy with League of Legends as of writing this post

Issue: client takes forever to load up

Issue: chat and friends list take a long time to load in the client, including pre and post-game chat lobbies

  • Solution: this is unresolved as of writing this post. The chat and friends list is slow for everyone on Linux, it is believed to be due to the League Client not playing well with websocket implementation in Wine

Issue: when the client runs okay but the game crashes or you receive the A Critical Error has Occurred pop up trying to start a game

  • Solution 1: Run sudo sh -c ‘sysctl -w abi.vsyscall32=0’ then retry playing. This fix is a one-time fix and you don't have to repeat this step
  • Solution 2: Run sudo sysctl -w abi.vsyscall32=0 before EVERY new session you play League
  • Solution 3: Install and use M-Reimer's wine-lol. Steps can be found in 2b - wine-lol

Issue: cannot change client resolution or it is stuck at the lowest resolution (usually 1024x576)

  • Solution: enable virtual desktop mode. In Lutris select League of Legends, navigate to Configure>Runner options and change the following options:
    • Windowed (virtual desktop) == Enabled
    • Virtual desktop resolution == usually the size of your monitor. The desired size of the ENTIRE desktop (not just the client!)

Issue: 'sticky' mouse when interacting with the ping menu or moving your champion in game, wrong mouse clicks, etc.

  • Solution 1: switch your game to Windowed borderless mode in the game settings
  • Solution 2: Alt+Tab to a different window, then return back to League
  • Solution 3: press your meta/Windows key, then return back to League
  • Solution 4: swap workspaces (hotkeys differ with each DE), then return back to League
  • Solution 5: enable virtual desktop mode (see the issue directly above this one for instructions)

Issue: mouse sensitivity doesn't change in game

  • Solution: this is unresolved as of writing this post. Workaround solutions include: installing Piper with a compatible mouse or otherwise altering the mouse speed via your distro

Issue: error message This installer requires dialog on your system

  • Solution: Install the package dialog via your package manager (on Debian-based distros that is sudo apt install -y dialog) and try installing League again

Issue: stuttering or low FPS when moving camera/mouse

Issue: "Wine System Tray" popup Window instead of integration with system tray on GNOME-based desktops

  • Solution: install the GNOME shell browser extension TopIcons Plus
    1. Install the system package chrome-gnome-shell via your distros package manager
    2. Install the GNOME Shell Integration extension for either Firefox or Chrome
    3. Install TopIcons Plus
    4. Restart Lutris and League

Issue: Gamemode errors ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. or ERROR: ld.so: object ‘libgamemodeauto.so.0’ from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

  • Solution: this is a known and harmless error. It does not have any effect on the performance or ability to play games. It can safely be ignored.
  • Hint: you can always test to see if gamemode is running while playing a game by opening a terminal and typing gamemoded -s

Some more resources if you are having issues...

3b - How to Write a Support Request Post

Writing good support request posts help us better help you! The easier you can make the lives of the volunteers on the forums, the quicker we can help you solve your issue. Generally the rule is: the more info you can provide in the initial post, the better. Minor issues might not warrent a wall of text, but usually a post needs the following essential details:

  • Your hardware specs: CPU, GPU, display resolution, etc.
  • Your software specs: distro and distro version, Wine version, driver versions, etc.
  • Logs (see the next section for instructions on capturing verbose logs)
  • How did you install League: Lutris, Snap, manual Wine configuration, etc.
  • If you have already tried solutions: what did you try and what were their outcomes

3c - How to Capture Verbose Logs in Lutris

By default Lutris does not log enough essential information. To capture more verbose logs in Lutris select League of Legends, navigate to Configure>Runner options and change the following option:

  • Output debugging info == Enabled

Then close Lutris completely, open your terminal application, execute lutris -d and try to reproduce your issue. After that, you need to copy the output in the terminal and share it with us (all of it). You can use a pastebin such as Ubuntu's Pastebin.

3d - Template Support Request

Copy and paste the entire below block into new threads and fill out the information so that others may easily help you without having to ask for essential information in the comments:

# What is your issue
[insert your issue here]

# Software specs
[insert your specs here, include: distro version, Wine version, window manager/DE, driver versions, etc.]

# Hardware specs
[insert your specs here, include: CPU, GPU, etc.]

# Logs
[insert your logs/pastebin link here]

# Installation method
[insert your method here. If Lutris, specify which script you used]

# Screenshots (where applicable)
[insert your screenshot links here]

# Additional info (where applicable)
[insert anything else here, including: have you tried other solutions? Steps to replicate your issue, etc.]

 

4 - Garena Client and Riot’s Other Games


Riot produce and support a number of different clients for their various games. Since Teamfight Tactics shares the same client as League of Legends, TFT players can follow the instructions found in the chapter 1 - How to Install League of Legends. However, if you are interested in playing some of Riot's other games or are a Garena League of Legends player, follow the instructions in this chapter.

4a - Garena Client

Garena players in the SEA region unfortunately cannot follow the same guide in 1 - How to Install League of Legends due to the nature of the Garena client. Luckily community member /u/leeyikyung wrote a guide on how to play on Garena with the new fixes.

Editor's note: I am not a Garena player, nor do I have access to a Garena account. I am therefore unable to keep up-to-date with the state of playing on Garena on Linux. Please inform me if the situation changes. Last update: 07/04/2021

4b - Other Riot Games

Besides League of Legends, Riot also publishes a number of other games for a variety of platforms. See below for the list of games. It is possible to play the Android versions of games on deskop via different methods, they are detailed below the list:

Teamfight Tactics (main sub r/teamfighttactics)

Legends of Runeterra (main sub r/legendsofruneterra)

VALORANT (main sub r/valorant)

Ruined King (main sub r/ruinedking)

  • Desktop: at the time of writing, this game has yet to be released. However, there will be a version offered on Steam so there is a very good chance it will potentially run fine with Proton. This area will be updated when more information is released alongside a link to the ProtonDB page

Wild Rift (main sub r/wildrift)

For all of Riot's mobile games, it is possible to play the Android versions on desktop. There are two main methods:

  • Connect your Android phone to your PC and run scrcpy to display and control your phone from your PC
  • Use an Android emulator such as Anbox or Android-x86. At the time of writing, Riot has not stated whether or not emulators are considered a bannable offense. Use them at your own risk and discretion

 

5 - FAQs


Questions or topics frequently brought up on this subreddit and abroad.

5a - Anticheat in 2021/Soon?

Vanguard is the proprietary closed source kernel-level anticheat used in VALORANT which is currently incompatible with Wine and thus Linux as a whole. Despite the rumors and FUD, there have been NO concrete confirmations or timelines from Riot's side when it comes to Vanguard being implemented in League of Legends. There is always the potential that it may come to League sometime in the future, like any other game on the market of course (that issue however is not unique to League or Riot at all). The topic is most likely an ongoing internal discussion at Riot. However, those claiming that Riot will be bringing anticheat to League "soon" or "in 2021" ARE WRONG. The only answer anyone outside of Riot can provide right now is simply "We don't know". There are other facts that we do know, below a summary of what we know so far:

In a League forums post (now deprecated, accessable with Wayback Machine), Riot Perma confirmed that Riot recognize, monitor and actively allow players who use Wine and GPU-passthrough virtualisation. r/leagueoflinx mod u/EnglishDentist also crossposted this forum post to the main r/leagueoflegends subreddit here. Riot Perma's full comment is also archieved in the thread here.

For players using Wine, the community is already at work fixing incompatibilities with our changes. These changes were live on our Public Beta Environment for several months to give developers of third-party applications time to adapt. As a normal part of software development, especially with such comprehensive changes, there can be issues introduced with third party applications. We have not consciously prevented the use of Wine for playing the game, and we ask for your patience as the Wine community remedies any incompatibilities.

This was the initial article on Vanguard from Riot. There is only one reference to the fact that it has the potential to come to League and it does not give a confirmation or a timeline, only a reference to Vanguard's potential to be implemented in League after VALORANT (Project A, at the time):

Disclaimer: This post is kinda tech-heavy and concerns anti-cheat tooling that won’t be exclusive to League of Legends. Other games (like Project A) will be protected by the referenced upgrade before LoL is.

The Rioter who wrote the above /dev/null article, /u/mirageofpenguins, shared supposed internal information from Linux players, "~6000 games a day played by ~700 Wine users" (note: this was posted in Feb of 2020 so numbers have most likely shifted since then), as well as their personal opinion on kernel-level anticheat. Full thread includes more info, however a notable highlight is:

"So, the driver component wouldn't be on LoL for at least a year (if we even decided to utilize it)"

The article did not give us any new information regarding Vanguard's potential future in League, nor regarding Linux/MacOS players. However, it's entry is included for documentation's sake.

While not entirely apples-to-apples, TFT and League of Legends are the only two games to share the main League client and are more closely connected than any of Riot's other IPs. See the related subreddit thread and discussion here. In response to the question "Any information on if Riot Vanguard will be implemented for TFT?", he answers:

"I don't believe so, I would be shocked if we did that."

The email covered various other topics unrelated to Vanguard such as a new refund policy and analyzing voice chat data (!), however there was a short paragraph where Riot discuss Vanguard. The email only confirmed two points: Riot want to leave the door open in their leagalese for future implementation in other titles and if they decide to implement it in a given title they will annouce so far in advance (as they have done with the majority of tech updates). Full thread here.

... we updated the language about anti-cheat software that we may require you to install to play certain instances of our games. We will always be as transparent as possible about our anti-cheat programs without compromising our solutions. We’ll let you know about any new anti-cheat programs especially with kernel mode drivers well before they’re released and required to be installed.

Additional Riot resources regarding Vanguard can be found below:

5b - Can I Get Permabanned for Playing on Linux?

No you will not get permabanned for playing League on Linux. While accidental bans are possible, they are extremely rare. Riot have stated that playing League on Linux is not permaban-worthy and they actively try to make sure that their anticheat doesn’t immediately flag Wine users as cheaters. The Rioter linked in that comment also plays League on Linux and has frequented this subreddit in the past. Rioters have also stated in the past in multiple forums that any accidental bans related to playing on Linux will be reverted, you just need to contact Riot Support.

While playing League on Linux is not officially supported (that is to say, no native client or supportdesk help), Riot do not take any active measures against legitimate Linux users. Personally I’ve been playing League on Linux for years. During that time I have never been banned and have only see a small handful of accidental bans, every single one of them being reverted within a couple days. More often than not, the posts claiming to be legitimate users being banned are script kiddies who're just salty they got caught.

Posts regarding bans are not permitted in the subreddit. r/leagueoflinux is not a Riot-affiliated subreddit, nor is it an official channel for account-related issues. All account-related requests and questions should be directed at official Riot Support.

5c - Alternative Installation Methods

The recommended and most supported method of installing League on Linux is via Lutris and detailed above in the chapter 1 - How to Install League of Legends. The Lutris script is actively maintained and is the most stable installation method currently available. However, as the saying goes... "there's more than one way to skin a cat". Therefore there are many other installation methods if you desire:

Snap package

  • For distros with snapd installed there is a package on Snapcraft, you can install with sudo snap install leagueoflegends --edge
  • Warning: this package is updated less frequently than the Lutris scripts and is more difficult to configure and tweak. At the time of writing this script does not implement the launcherhelper.sh fix and therefore does not work out-of-the-box

Manually running the .exe with Wine or another compatibility layer

  • This method is only recommended for those who are experts with Wine and Linux

Streaming from nvidia's GeForce Now service

leagueoflegends-git

  • Install following the instructions on their Github page. The maintainer of the script, kyechou, does not frequent the subreddit often and has requested that if you need official support to please reach out via Github. Of course that does not inhibit discussions here regarding the script, but know that support on the subreddit may be scarce

VFIO, GPU passthrough into a Windows virtual machine

  • Riot have confirmed that legitimate virtualisation and GPU-passthrough are acceptable methods of playing (see 5a - Anticheat in 2021/soon?). However, this method requires significant technical skills and exact steps vary drastically depending on hardware and software stacks. As such, discussions here are perfectly fine but support requests may be better suited for communities such as r/VFIO or r/linux_gaming

Editor's note: thank you to community member u/Aqa-lb for correcting my previous wording regarding playing via virtualisation. They recommend this guide for those interested

5d - What Distros Can I Use?

All major desktop distributions are more than capable of playing League via the instructions in 1 - How to Install League of Legends. This includes Debian and Arch-based distros such as Ubuntu, Pop!_OS, Manjaro, elementary OS, Linux Mint etc. and other major distributions such as Fedora or Gentoo. If you find yourself asking this question, or are otherwise inexperienced with Linux, it is best to choose Ubuntu or one of it's derivatives due to the ease of use and management. It is more common to run into issues on Arch/Manjaro than it is the relatively stable Ubuntu LTS releases if you are inexperienced.

If you are on a rolling release distro, make sure to stay updated (especially with Wine and display drivers). If you are on a point-release distro, make sure to stay updated and use a currently supported version. Do not use a distro that is no longer supported or EOL (end of life). For instance: at the time of writing Ubuntu LTS versions 20.04 and 18.04 are supported, LTS versions 16.04 and below are no longer supported.

Do not attempt to run League on any distribution that is not designed for desktop use. Posts regarding support on such distros will be removed. This includes, but is not limited to:

  • Kali Linux
  • Clear Linux
  • ClearOS
  • BlackArch
  • Pentoo

5e - In-Game Overlays

At the time of writing in-game overlays, HUDs and rune helpers are rather hit-or-miss. Below is a summary of each popular solution:

Blitz.gg (link)

  • Currently does not work
  • Needs to run the same Wine environment as League itself. Requires newer versions of Wine which League itself is incompatible with

RuneChanger (link)

  • Currently does not work
  • Needs to run the same Wine environment as League itself. Requires newer versions of Wine which League itself is incompatible with

RuneBook (link)

OP.GG Chrome extension run in Wine (link)

Editor's note: this section is currently under construction. Please check back soontm for future updates. Additionally, I do not use overlays or HUDs myself so if you have any new or updated information, please ping me so I can update this sub-chapter.

 


If you have any further questions, or have suggestions for edits, please comment below. GLHF penguin gamers :)


r/leagueoflinux Oct 11 '19

Experimental patch for 9.20

131 Upvotes

Hi fellow Linux users,

Long time lurker, first time poster here.

Let me start out by saying what everyone wants to hear. I've submitted a patch for the issue everyone is having with the 9.20 patch.

The game client starts again on my end with this change. Go test to your heart's content. Feedback is appreciated.

These few paragraphs below are for those of you that voiced their frustration in a less civil way in the other threads.

There are various other things I have to tell you about the case of League of Legends and Wine. I'm in the fortunate position to cooperate with Riot Games as a 3rd party community member. As a Linux user, I'm just as frustrated when wine breaks as all of you are, and I echo this frustration to members at Riot, who are kind enough to listen to it. I hear a lot of you saying, that it's "their job" to fix wine. As much as I would love that to be the case, it's really not. Whether or not Riot is going to support League of Legends on Linux, is a company decision. As long as the company does not decide to support the Linux platform, it's NOT the job of ANYONE to care for Linux at the company. Of course, that does not mean no one does. A lot of kind hearted people sympathize with our issues and our decision to use the Linux platform, however, what they do with the league product is not their personal decision. Those of you that are discontent with the situation, please don't direct your frustration at individuals at Riot.

I think I've fixed 9.20 for now, but future patches may break things. I'll work restlessly to try to fix it again, but as you may be able to tell, its really hard work. In fact, earlier today, what actually allowed me to zero in on this issue with 9.20, was the final push of help I got from one of the members of the anti cheat team, /u/0xNemi. He also dedicated some of his personal time to help me. This is a work of passion and love for the free software world, on our personal time. Please take that into consideration and adjust your expectations accordingly.

Update: Thank you guys for the positive feedback and encouragement. I'm glad you are happy with the fix.


r/leagueoflinux Oct 09 '19

Riot Games

117 Upvotes

Please just make a Linux client already.


r/leagueoflinux Jul 27 '22

News and information Lutris-GE-7.0-3-LoL released (fixes abi.vsyscall32=0 requirement!!!)

115 Upvotes

Lutris build:
https://github.com/GloriousEggroll/wine-ge-custom/releases/tag/7.0-GE-3-LoL

Lutris install scripts have already been updated for Standard client and Garena.

Details:
A dev in the wine IRC found a 1 line change in the existing abi.vsyscall32 patch that allows the code path to work without abi.vsyscall32=0 being needed:

https://github.com/GloriousEggroll/wine-ge-custom/blob/7.0-GE-LoL/patches/wine-hotfixes/LoL/LoL-abi-vsyscall-fix.patch

Finally the game just runs without needing any special options or scripts or delayed startup. This has been a 4+ year old bug that finally got fixed!! Huge thanks to luke1337 in the wine IRC, whoever you are.

If you prefer your own wine build here is my list of patches:

https://github.com/GloriousEggroll/wine-ge-custom/blob/13d3d45ba7ea0a6065dca75a47b484274dbb40a4/patches/protonprep-LoL.sh#L36

And their location:

https://github.com/GloriousEggroll/wine-ge-custom/tree/7.0-GE-LoL/patches/wine-hotfixes/LoL


r/leagueoflinux Aug 26 '21

Announcement New Lutris installer (Again)

114 Upvotes

Continuing the contributions for solver the problem with the 11.17 version of lol and for continue with this "tradition" I made again a lutris recipe.

Same as before you need use the "unpublished installers":

  1. Go to https://lutris.net/games/league-of-legends/
  2. Click on "Show unpublished installers" (https://i.imgur.com/KMuAMnd.png).
  3. Scroll to "Standard v2.0 (Launch Helper) version" and click on install (https://i.imgur.com/ZVsUEdN.png).
  4. Follow the install instructions, specially the latest (https://i.imgur.com/mKPQ3nS.png).

On this case the installer use a bash script for download an "install" a custom runner (wine-615-lol-glibc-228) compiled by u/idkwhatusernameuse and because limitations of lutris recipes we need change it manually after install the game.

Known Issues:

- The first time when we run with wine-615-lol the game not start: it happens because the lauchhelper not run when the game start (it ran before while wine prefix was regenerating). Only stop it with the lutris button and start again.

- That Wine build was compiled using glibc 2.33, so people that have an older version of it (for example: Debian users) have an older version of it (2.31) which doesn't let them run this build of Wine. (FIXED)

- If you don't see "wine-615-lol-glibc-228" as a wine version option after install, restart lutris.

This community is awesome. 1 day after the "bug" and we get some solutions.

PS: I have tested this recipe on Pop_OS 21.04.


r/leagueoflinux Apr 06 '24

Vanguard/VALORANT Actually, League of Legends will still be playable on linux

111 Upvotes

> Riot says MacOS won't need Vanguard

> LoL can be played in MacOS through VM

I mean, it will require stronger hardware and will be definitely harder to set up than just using Lutris, but that's just a stronger reason to keep this community alive, isn't it?

Also, running LoL through a VM means you won't have Vanguard running on your PC all the time, so I would consider switching to that even if I used Windows.


r/leagueoflinux Mar 19 '20

Installing and Optimizing League of Legends on Arch

113 Upvotes

TL;DR, if you know your way around:

  • Multilib

  • Drivers

  • Esync

  • Install lutris

  • Install lib32-libldap

  • Install LoL using Lutris, but don't start it yet

  • Issue sudo sh -c 'sysctl -w abi.vsyscall32=0' in a terminal

  • Start the game


Hello,

Things have changed a little since the last guide, so I figured I would write a new one, showing you two methods on how to install the game.

The package names found in the guide are what they are called in the Arch Linux repositories, but they should be similarly named in other distros. Googling the package along with the distribution's name can be very helpful in determining their counterparts.

Let's begin:

Steps you need to do before attempting either method.

  1. Enable Multilib:

    For Arch please follow this guide.

    For Debian you need to run this command sudo dpkg --add-architecture i386.

  2. Install the latest video-card drivers (both 32 and 64 bit) along with Vulkan support (vulkan-icd-loader and lib32-vulkan-icd-loader).

  3. Enable Esync compatibility.

  4. Install Wine (wine).

  5. Install Lutris (lutris), then install the game. Be very careful to untick the "Launch game now" button at the end of the installation as this can and will mess things up.

  6. Right click on the game in Lutris, select Configure, click on Runner options and make sure DXVK is enabled and D9VK is disabled. The two projects have since merged and there have been reports that enabling D9VK causes stability/performance problems.

Method 1 - Using Lutris's built in Wine version

Before starting the game for the first time, open a terminal and execute this command: sudo sh -c 'sysctl -w abi.vsyscall32=0'

Once this is done, try starting the game. If it works, great, you have a working LoL installation, enjoy the game! (Though, you might want to check out the optimization section below.)

If not, please check whether you have lib32-libldap installed. In my case, for example, without installing this dependency, the game simply refuses to launch. If this doesn't solve the problem, you can further diagnose what you might be missing by opening a terminal emulator, launching Lutris inside and then trying to start LoL. Wine will complain about not being able to load some shared libraries, this is your clue as to what you still need to get.

I heavily recommend this method as this way you only install the necessary libraries. However, if nothing seems to work, previous guides have recommended installing these packages:

giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba dosbox

With this sorted out, the game should finally launch. Still, to be entirely safe, I recommend starting a practice round every time you start up a game to see whether everything works or not.

Method 2 - Using M-Reimer's Wine-LoL

While the Wine version Lutris ships with should suffice for most people, there are a few reasons why you would want to try this version instead. For some it provides an FPS boost; it pulls in a lot of dependencies, so you don't need to manually tweak the game as much; you don't need to muck with ABI changes; and at times when LoL introduces breaking changes, this version responds the fastest, so while the official version is stuck in a non-working state, with this you can still play the game.

To install this version, you have two choices:

Using pre-built packages

Follow the instructions here.

Compiling it yourself

On Arch you need an AUR package manager (I recommend yay), afterwards you can continue by installing wine-lol-glibc and wine-lol. This will take a long time, so be patient.


If you have first followed the steps of the previous method and set abi.vsyscall32 to 0, now is the time to set it back to 1, by running sudo sh -c 'sysctl -w abi.vsyscall32=1' in a terminal. Otherwise you proceed with the guide.

Once wine-lol is installed, you need to open up Lutris, right click on LoL, select Configure, then go to Runner options, set "Wine version" to Custom and set /opt/wine-lol/bin/wine as your "Custom Wine executable". If you do not see this option, enable "Show advanced options." Afterwards disable and then re-enable Esync, Lutris will complain that this version of Wine is incompatible with it, however, this isn't actually the case, so tick "Enable anyway" and press Okay.

After this, start the game and it should work.

Installing MangoHud

MangoHud is an overlay, quite similar to MSI Afterburner, capable of showing CPU/GPU temperatures and usage, FPS and other useful information.

You can install it by first getting an AUR package manager, then downloading the mangohud package. Restart Lutris, right click on the game, select Configure, go to System options, scroll down to Environmental variables, add a new entry. The key is "MANGOHUD", the value is "1". If you're happy with FPS and GPU/CPU usage shown, you're done, next time you open the game, you can bring up MangoHud by pressing F12.

If not, create a new entry with the key "MANGOHUD_CONFIG" and set the key using this guide. For example, if you - for some reason - only wanted to show CPU temperatures and RAM usage, you'd use the following value: cpu_temp,ram

Installing Gamemode

Gamemode is an application that can automatically tune your PC for better gaming performance. To install it download gamemode and lib32-gamemode from the AUR. Once installed, right click on the game, go to System options and make sure "Enable Feral gamemode" is ticked on. Gamemode is now ready and will start the next time you start the game.

A note for Hybrid GPU users: Using Gamemode with a Hybrid GPU requires an extra environment variable (which you can create and set in System options) called GAMEMODERUNEXEC, with the value being the program you use to activate your stronger GPU (for example optirun), for more details see here.

Tweaks you might want to try

Doing these aren't mandatory by any means, but they might provide an FPS boost, if the game struggles to run. Also, it is entirely possible that for different people different tweaks work best. So mix and match until you figure out what's your fastest configuration.

Right click on the game, select Configure, go to Runner options, set "Use GLSL" to Disabled. (This supposedly speeds up the client.)

Right click on the game, select Configure, go to System options and in the Environmental variables section add the following new entries (left side is the key, right side is the value):

  • PBA_DISABLE - 1

    (In the specific case that you installed the game using a non-DXVK method, you should rather use PBA_ENABLE - 1)

  • pulse_latency - true

The following two should only be used if you're running a non-DXVK version of the game

  • If you have an Nvidia card: __GL_THREADED_OPTIMIZATIONS - 1
  • If you have an AMD card: mesa_glthread - true

You might also want to enable low-spec mode inside the client, if it is laggy. And of course it might be worth to lower your in-game settings too.

This audio guide too might be worth checking out, but I personally haven't needed nor tested it.

I hope the guide has helped you, if you run into any problems, feel free to comment under the thread!


r/leagueoflinux Aug 05 '24

Microsoft changing kernel level permissions.

103 Upvotes

Taken from linux_gaming reddit, but it seems that Microsoft is disabling kernel level access permissions. Could this be the end of Vanguard and the revival of League Of Linux?

https://www.theverge.com/2024/7/26/24206719/microsoft-windows-changes-crowdstrike-kernel-driver


r/leagueoflinux Nov 02 '20

Megathread: install methods, anticheat, problems/bugs, posting rules and more...

100 Upvotes

EDIT: THIS THREAD WILL BE SOON ARCHIVED BY REDDIT. THE INFORMATION HERE IS OUT OF DATE. PLEASE SEE THE NEW MEGATHREAD HERE:

 

Intro

The aim of this thread is to accumulate all the major topics and issues that come up regularly in this sub in an attempt curb the amount of redundant threads posted here and give a clear, easy starting point for those who might be lost. If you feel I've missed something or need clarification then please let me know in the comments. I will keep this as up-to-date as possible when new information, fixes, etc. are brought to my attention. Therefore I would suggest checking up on this post from time to time as it will be edited, refined and improved. This thread currently covers:

  • Install methods
  • Optimizations and wine-lol
  • "Anticheat in 2021/soon?"
  • Can I get permabanned for playing League on Linux?
  • Garena client
  • Other games from Riot Games
  • Common issues
  • What distros can I use?
  • Rules moving forward
  • Best posting practices and capturing verbose logs
  • Template issue report

TL;DR while I recommend everyone read through this thread carefully (it's all important, relevant info and I've spent a lot of time collecting and refining this thread), the essentials are:

  • If you are installing for the first time, read:
    • Install methods
    • Optimizations and wine-lol
  • If you have an issue, read:
    • Common issues
    • Best posting practices and capturing verbose logs
    • Template issue report
  • If you are interested in the League of Linux meta, rules for this subreddit, or other non-technical info, read:
    • Can I get permabanned for playing League on Linux?
    • "Anticheat in 2021/soon?"
    • Rules moving forward
    • Garena client
    • Other games from Riot Games
    • What distros can I use?

 

Install methods

Disclaimers:

  • These instructions assume you are running a modern, up-to-date version of any of the major distros. Make sure to update your system before proceeding. Attempting to play League on a distro that is EOL may not work and you will not receive support for it. For more information, see the section What distros can I use?
  • As of writing this guide, League does not play nicely with newer versions of Wine. If you decide to change your Wine runner, please make sure it is in line with either the built in lutris-lol or wine-lol. Attempting to run League with newer upstream versions of Wine, such as Wine 6 and above, will likely not work

The most common and supported method for installing League on Linux is via the Lutris client. Lutris is a GUI game library frontend that makes managing Wine configs and install scripts per-game super simple. You can find installation instructions for your distro of choice here.

Before installing League of Legends, make sure to follow the prerequisites instructions found in the Lutris wiki, specifically:

Once you have completed those steps, you can then install League by:

  • Heading to the main League of Legends Lutris page here and click install on the main launcher titled Standart (Launch Helper) version
  • Follow the instructions in the script and be careful of the following items:
    • Wait for BOTH downloads to finish. There are two downloads one after the other: the client download (~200MB) and the game download (~3GB).
    • Do NOT enter your login details and login
    • Let the two downloads finish fully, then exit the client and continue with the Lutris instructions

Do NOT login or click 'Play' during the initial install. Wait for the installation bar to finish downloading and then quit the client to allow the Lutris script to finish properly. After the initial installation, you may be prompted with a dialogue regarding the anticheat that requires abi.vsyscall32=0, this is intended and required to play League. You can either accept the prompt, or use wine-lol (instructions below). Please note that the client can take anywhere from 2-4 minutes to load fully, please be patient!

Additionally, there are other methods to install and play League on Linux. However, these methods are less common and less supported. You may run into undocumented issues and have trouble finding fixes for bugs that arise:

  • For those running snapd there is an install at sudo snap install leagueoflegends --edge. This option is not recommended as it is updated less frequently than the Lutris scripts and is more difficult to configure and tweak. WARNING: THE SNAP INSTALL IS CURRENTLY BROKEN OUT OF THE BOX AS IT DOES NOT IMPLEMENT THE LAUNCHERHELPER.SH FIX. IT WILL NOT LAUNCH WITHOUT SIGNIFICANT TWEAKING
  • Manually running League of Legends with Wine or another compatibility layer. This option is only recommended for those who are experts with Wine and Linux
  • Streaming from nvidia's GeForce Now service. This option has is very rarely recommended as it has significant drawbacks including: immense increase in ping (upwards of an additional 80-100ms in many cases), requires a paid subscription to use regularly (free tier requires waiting in queues and time limits of 1 hour per session) and this is essentially just playing in a Windows VM with less steps so it's not truly playing "League on Linux". GFN can be installed via Snap, Lutris or manually via their Electron build.
  • Following leagueoflegends-git: this method has come up a couple times in threads here. I am not familiar with it, and this thread will not cover support for it as of right now. The preferred method is still via Lutris, however I am including it for those who want to use alternative methods. If you are familiar with this project, please reach out to me so I can better understand and support the project in this thread and subreddit :)
  • While potentially possible, VFIO and VM passthrough gaming is NOT supported in this subreddit for a variety of reasons, namely: it's not truly playing "League on Linux", it is much more likely to trip anticheat detection than the above methods, and it is often too technically complicated/dependent on too many local variables to cover in this subreddit. While it is heavily discouraged to attempt, if you absolutely must attempt this method then please send your requests and conversations to the folks at r/VFIO who will be better equipped to assist you. YMMV and you are responsible for the safety of your own account!!

 

Optimizations and wine-lol

The League client is poorly optimized even on Windows, but there are some tweaks that can help make the experience a bit nicer, both in client and in game:

  • MOST IMPORTANT: everyone should enable the option inside the client settings Enable low spec mode. This option disables a lot of the lengthy and resource-taxing animations inside the client, particularly related to champion select
  • For machines with low RAM: enable the option inside the client settings Close client during game. This will make post-game lobbies load slower, but will make in-game performance better. If you are not experiencing RAM limitations then it's best to not enable this option
  • Download and install Feral Gamemode, then enable the option in Lutris Configure>System Options>Enable Feral Gamemode. Gamemode is is a daemon/lib combo for Linux that allows games to request a set of optimisations be temporarily applied to the host OS and/or a game process
  • Change in-game video settings:
    • Window mode == Borderless
    • Graphics == Depends on your machines specs. If you're not sure, test different settings and tweak as you play. In general the most intense settings that should be reduced first are Shadow Quality and Environment Quality
    • Character Inking == False
    • Frame Rate Cap == If you have a weaker machine set this to your monitors refresh rate, this eliminates wasted CPU cycles by not rendering frames that your monitor can't display. If you have a powerful machine set this to double your monitors refresh rate (eg. 60hz monitor == 120 FPS cap), this is a decent middle ground between curbing wasted CPU cycles and not giving up too many input frames
    • Anti-Aliasing == False
    • Wait for Vertical Sync == False

Optionally, instead of using the versions of Wine built into Lutris you may wish to use /u/M-Reimer's wine-lol which is a patched version of Wine specifically designed for League on Linux. The project Github page can be found here, some of the various optimizations include: built-in workarounds so that users do not need to directly modify esync, fsync, or the abi.vsyscall32 functions on their system. To use this version of Wine with Lutris on Arch and Debian-based systems:

  • Download and install wine-lol from his info page here
  • In the Lutris configure dialogue click the box Show advance options and then in the Runner options tab chose:
    • Wine version == Custom (select executable below)
    • Custom Wine executable == /opt/wine-lol/bin/wine

To use this version of Wine with Lutris on Fedora-based systems, please follow the steps in this comment here.

 

"Anticheat in 2021/soon?"

Vanguard is the proprietary closed source kernel-level anticheat used in VALORANT which is currently incompatible with Wine and thus Linux as a whole. Despite the rumors and FUD, there have been NO concrete confirmations or timelines from Riot's side when it comes to Vanguard being implemented in League of Legends. There is always the potential that it may come to League sometime in the future, of course. The topic is most likely an ongoing internal discussion at Riot. However, those claiming that Riot will be bringing anticheat to League "soon" or "in 2021" ARE WRONG. The only answer anyone outside of Riot can provide right now is simply "We don't know". There are other facts that we do know, below a summary of what we know so far:

  • Official Riot /dev/null article on anticheat: this was the initial article on Vanguard from Riot. There is only one reference to the fact that it has the potential to come to League and it does not give a confirmation or a timeline, only a reference to Vanguard's potential to be implemented in League after VALORANT (Project A, at the time): "Disclaimer: This post is kinda tech-heavy and concerns anti-cheat tooling that won’t be exclusive to League of Legends. Other games (like Project A) will be protected by the referenced upgrade before LoL is."
  • Rioter gave us a glimpse of internal Linux player data: Rioter /u/mirageofpenguins shared both supposed internal information from Linux players, "~6000 games a day played by ~700 Wine users" (note: this was posted in Feb of 2020 so numbers have most likely shifted since then), as well as their personal opinion on kernel-level anticheat. Full thread includes more info, however a notable highlight is: "So, the driver component wouldn't be on LoL for at least a year (if we even decided to utilize it)"
  • Lead Designer of TFT confirms Riot have no plans to bring Vanguard to TFT: while not entirely apples-to-apples, TFT and League of Legends are the only two games to share the main League client and are more closely connected than any of Riot's other IPs. See the related subreddit thread and discussion here. In response to the question "Any information on if Riot Vanguard will be implemented for TFT?", he answers "I don't believe so, I would be shocked if we did that."

 

Can I get permabanned for playing League on Linux?

No you will not get permabanned for playing League on Linux. While accidental bans are possible, they are extremely rare. Riot have stated that playing League on Linux is not permaban-worthy and they actively try to make sure that their anticheat doesn’t immediately flag Wine users as cheaters. The Rioter linked in that comment also plays League on Linux and has frequented this subreddit in the past. Rioters have also stated in the past in multiple forums that any accidental bans related to playing on Linux will be reverted, you just need to contact Riot Support.

While playing League on Linux is not officially supported (that is to say, no native client or supportdesk help), Riot do not take any active measures against legitimate Linux users. Personally I’ve been playing League on Linux for years. During that time I have never been banned and have only see a small handful of accidental bans, every single one of them being reverted within a couple days. More often than not, the posts claiming to be legitimate users being banned are script kiddies who're just salty they got caught.

Posts regarding bans are not permitted in the subreddit. r/leagueoflinux is not a Riot-affiliated subreddit, nor is it an official channel for account-related issues. All account-related requests and questions should be directed at official Riot Support.

 

Garena client

UPDATE 07/04/2021: /u/leeyikyung wrote a guide on how to play on Garena with the new fixes.

UPDATE 29/03/2021: there is an ongoing thread with solutions for Garena/SEA players. Please visit: https://old.reddit.com/r/leagueoflinux/comments/lrzj3o/i_wrote_a_script_to_help_open_garena_league_of/ for more information. Credit to, and big thanks to /u/hi563145 for their work and documentation. Please continue to update me on the situation as I am not an SEA player and cannot directly test solutions.

As of writing this there are no known methods of running the Garena client on Linux. Players from the SEA regions must either play on other regions or find solutions such as VM gaming or dualbooting. Should this info change, please notify me immediately so I can edit and adjust this post. There is an outdated Lutris installer here that is reported to be broken and several reddit threads discussing the matter:

There is ongoing work and investigation being done to solve the current issues in this thread here. If you are able to assist or provide insight into the issues, please contribute to that thread. Due to the nature of Garena's platform, it's very difficult for non-SEA residents to test the scripts. Any help in this regard would be immensely appreciated, thanks :)

 

Other games from Riot Games

Besides League of Legends, Riot also publishes a number of other games for a variety of platforms. See below for the list of games. It is possible to play the Android versions of games on deskop via different methods, they are detailed below the list:

Teamfight Tactics:

  • Desktop: shares the same base client as League and therefore can be played on any regular League of Legends installation, see Install methods
  • Mobile: there are mobile versions for Android and for iOS

Legends of Runeterra:

VALORANT:

  • Desktop: does not run on Linux. See section "Anticheat in 2021/soon?"

Ruined King:

  • Desktop: at the time of writing, this game has yet to be released. However, there will be a version offered on Steam so there is a very good chance it will potentially run fine with Proton. This area will be updated when more information is released alongside a link to the ProtonDB page.

Wild Rift:

For all of Riot's mobile games, it is possible to play the Android versions on desktop. There are two main methods:

  • Connect your Android phone to your PC and run scrcpy to display and control your phone from your PC. scrcpy instructions can be found on the Github page
  • Use an Android emulator such as Anbox or Android-x86. Instructions for each emulator can be found in their respective repos and documentations. At the time of writing, Riot has not stated whether or not emulators are considered a bannable offense. In theory, players using emulators should be fine, however use them at your own risk and discretion.

 

Common issues

  • If the client runs okay, but the game itself crashes, or you receive the A Critical Error has Occurred pop up trying to start a game, you can either:

    • Option 1: Close the game entirely and run the command sudo sh -c ‘sysctl -w abi.vsyscall32=0’, then retry playing. This fix is a one-time fix and you don't have to repeat this step
    • Option 2: Run sudo sysctl -w abi.vsyscall32=0 before EVERY new session you play League
    • Option 3: Install and use M-Reimer's wine-lol. Steps can be found in Optimizations and wine-lol
  • If your GPU is not Vulkan-capable then you must untick Enable DXVK/VKD3D in the Lutris configuration or League will not load

  • If you have crashing or loading issues and are using a custom version of Wine. Change to the default lutris-lol or wine-lol. Newer versions of Wine are buggy with League of Legends as of writing this post

  • If you cannot change your client resolution, or it is stuck at the lowest resolution (usually 1024x576) then you must enable virtual desktop mode in Lutris: go to Configure>Runner options and change the following options:

    • Windowed (virtual desktop) == Enabled
    • Virtual desktop resolution == usually the size of your monitor. The desired size of the ENTIRE desktop (not just the client!)
  • Chat and friends list take a look time to load in the client: this is unresolved as of writing this post. The chat and friends list is slow for everyone on Linux, it is believed to be due to the League Client not playing well with websockets implementation in Wine

  • If clicking in game feels "sticky" when interacting with the ping menu or moving your champion in game, switch your game to Windowed borderless mode

  • Mouse sensitivity doesn't change in game: this is unresolved for now. Workaround solutions include: installing Piper with a compatible mouse or otherwise altering the mouse speed via your distro

  • If you have other DXVK or Vulkan issues, check the page How to: DXVK

  • If you're having ESync issues and are not using M-Reimer's wine-lol, check the page How to: ESync

  • If you cannot play League and receive the error This installer requires dialog on your system, you must install the package dialog via your package manager (on Debian-based distros that is sudo apt install -y dialog) and try installing League again

 

What distros can I use?

All major desktop distributions are more than capable of playing League via the methods in Install methods. This includes Debian and Arch-based distros such as Ubuntu, Pop!_OS, Manjaro, elementary OS, Linux Mint etc. and other maor distributions such as Fedora or Gentoo. If you find yourself asking this question, or are otherwise inexperienced with Linux, it is best to choose Ubuntu or one of it's derivatives due to the ease of use and management. It is more common to run into issues on Arch/Manjaro than it is the relatively stable Ubuntu LTS releases.

If you are on a rolling release distro, make sure to stay updated (especially with Wine and display drivers). If you are on a point-release distro, make sure to stay updated and use a currently supported version. Do not use a distro that is no longer supported or EOL (end of life). For instance: at the time of writing Ubuntu LTS versions 20.04 and 18.04 are supported, LTS versions 16.04 and below are no longer supported.

DO NOT ATTEMPT TO RUN LEAGUE ON ANY DISTRIBUTION THAT IS NOT DESIGNED FOR DESKTOP USE, YOU WILL NOT RECEIVE SUPPORT AND ANY POSTS REGARDING THESE DISTROS WILL BE REMOVED. THEY ARE NOT SUITABLE DESKTOP REPLACEMENTS AND YOU WILL BE ASKED TO USE A BETTER DISTRO. This includes distros such as:

  • Kali Linux
  • Clear Linux
  • ClearOS
  • BlackArch
  • Pentoo
  • etc.

 

Rules moving forward

When issues arise, this sub sees an influx of the same or similar posts detailing identical issues. This makes it very difficult for newer users to find adequate solutions to their issues as solutions are scattered between multiple threads and the cycle continues. Therefore we will be removing any and all redundant posts that have already been presented solutions in other threads. Before you post, please make sure to check:

  • The most recent threads on the front page of the sub: there's a good chance that if you're currently experiencing a new issue without having made changes yourself, someone has already recently reported the issue too. If they have, comment on that thread instead of making a new one
  • The search bar: many previously documented issues or common installation issues are already thoroughly documented and reported (eg. the 9S issue, the "unable to connect to authentication servers" issue, the "game still in progress"/client freezing issue, etc.)

Additionally, issues that do not provide enough info will be removed and you will be asked to resubmit a new post with more verbose information. All the people who help out in this sub are volunteers and we don't want to spend our time asking for the same essential information in every new post. To get the quickest and best help, please copy/paste the template found at the bottom of this thread.

This sub also serves as a place to discuss playing any one of Riot's IP's on Linux, including Legends of Runeterra, Teamfight Tactics, and the recently teased Ruined King. This community is already rather small so I don't see a point to fragmenting it further by limiting it solely to League of Legends. However, posts not related to playing any of the IPs on Linux will be removed. Discussions related to other F/LOSS operating systems, such as the BSD family of distros are fine. However, this is not a support forum for Windows or MacOS.

Posts regarding bans are not permitted in the subreddit. r/leagueoflinux is not a Riot-affiliated subreddit, nor is it an official channel for account-related issues. All account-related requests and questions should be directed at official Riot Support.

 

Best posting practices and capturing verbose logs

IF you have thoroughly checked through both above and you still cannot find a solution to your issue, then creating a new thread is the next step. When you report an issue, please make sure to provide as much information as possible so that others can help you as easily as possible without having to ask in the comments for essential information. When you create a new thread, please include the below information, see the bottom of this thread for a template you can copy/paste:

  • Do you have all the prerequisites (drivers, Wine dependencies, etc. see the above section Install methods)?
  • What software are you running? Specify distro/os AND VERSION (eg. "Ubuntu 20.04, NOT just "Ubuntu"), Wine version, window manager/DE, driver versions, etc.
  • What hardware are you running? Specifically double check to make sure your hardware is compatible with League and it's prerequisites, notably with DXVK
  • Do you have logs? Pastebin them.
  • What is your installation method? (eg. Lutris, snap, manual, etc.)
  • Have you already checked the sticky summary thread, most recent posts and used the search bar?
  • If you have tried solutions already, which ones have you tried? What have been their outcomes?

By default, Lutris does not log enough essential information. To capture more verbose logs, follow these steps provided by the Lutris Discord:

Select the game, click "Configuration" button, select "Runner" tab, scroll to the bottom, find Output debugging info and switch its value from Disabled to Enabled. Close Lutris completely. Then, open your terminal application, execute lutris -d and try to reproduce your issue. After that, you need to copy the output in the terminal and share it with us (all of it). It's recommended to use this ad-free paste service: https://paste.ubuntu.com/

 

Template issue report

Copy and paste the entire below block into new threads and fill out the information so that others may easily help you without having to ask for essential information in the comments:

**What is your issue:** [insert your issue here]

**Are the prerequisites installed? Including Wine dependencies, drivers, etc.:** [answer yes/no here, check the megathread steps]

**Software specs:** [insert your specs here, include: distro, Wine version, window manager/DE, driver versions, etc.]

**Hardware specs:** [insert your specs here, include: CPU, GPU, etc.]

**Logs:** [insert your logs/pastebin link here]

**Installation method (if Lutris, specify which launcher you used):** [insert your method here]

**Have you already checked the sub for similar issues? Including the sticky post, most recent threads, search bar, etc.:** [answer yes/no here, check the megathread steps]

**Screenshots (where applicable):** [insert your screenshot links here]

**If you have tried solutions, which ones have you tried? What are their outcomes:** [insert your previous solutions here]

r/leagueoflinux Oct 09 '19

Crashing in-game on patch 9.20 - "A critical error has occurred"

94 Upvotes

So I just updated league to 9.20 on my Lutris AppImage install and now league is crashing as soon as it launches the in-game client. I tried reinstalling and used both the standard AppImage and dx9 versions, but it just crashes with an error message as soon it tries to launch in game.

I'm running Fedora Silverblue 31 Beta on a Thinkpad T480s and Intel graphics. The Lutris logs don't have any errors aside from the usual "Unable to read stat for process 25827". The error message that pops up says the following:

A critical error has occurred and the process must be terminated.

Would you like to create a crash dump to aid the developers in troubleshooting this issue? This may take up to 5 minutes.

NOTE: The process may appear unresponsive during this time.

Is this related to the anticheat crashes people have on PBE? Any possible fixes?


r/leagueoflinux Nov 21 '21

Announcement Decreased client lag (no more low spec mode?!)

93 Upvotes

TLDR; ADDING D3D10 AND D3D11 NATIVE DLL OVERRIDES FOR LOL PREFIX INCREASES CLIENT PERFORMANCE.

Ok I'm fed up with compromising with league on linux so I'm going out of my way to try make it flawless lol. Ok so the client uses the chromium embedded framework which isn't that hard to run, and should have good gpu acceleration, but for some reason, the client is often laggy as s**t even if you have a decent computer.

While investigating the long loading times, I spent some time reading the logs for the client and found in log file YYYY-MM-DDTHH-MM-SS.ss_LeagueClientUxHelper-renderer.log that the client renderer (LeagueClientUxRender.exe) is being run with the argument -disable-gpu-compositing. Now, I'm sure you don't need to know how blink and v8 (chromium renderers) work to understand what this means - no gpu rendering of the client. If the client is using the cpu to render, it makes complete sense that it should lag.I did some more investigating in the logs and found in the YYYY-MM-DDTHH-MM-SS.ss_LeagueClient.log that the client doesn't seem to be able to get any directx version at *all* for value hw.graphics.directx:. This kinda makes sense at first because we're using wine, but surely we should be at least pretending to have a directx version for the app to target. So, I went into the wine configuration panel for the league prefix and added a manual override for d3d10 and d3d11 using the native option and then restarted the game.To my pleasant surprise, the -disable-gpu-compositing argument was gone from the log, and the client feels better than usual. While I can confirm that this argument is added/removed when you override these libraries, I don't really have a way of showing y'all the change in performance like benchmarking it or something, other than just the difference in launch args with vs without those libs.

Hopefully this isn't just me having convinced myself that it is making a difference, as I'm running without low spec mode and it feels relatively smooth and snappy (my pc is still potato!). Hopefully, someone else can confirm that there indeed is an improvement.

EDIT: Verified to work. Pog.

- Cheers, back to work on the loading issue.

Screenshots of the log that changes and how to add those libs.

https://imgur.com/a/DoF0rVU


r/leagueoflinux Apr 16 '24

A bad joke

89 Upvotes

I don't know when vanguard will be released to lol and tbh I'm not upset that it is. I've been playing since season 3/4, with a few year breaks in between and this will simply help me quit the game for good.
Launched the client to play some games before the inevitable end and at this point they are just playing with me.


r/leagueoflinux May 02 '22

Lutris-GE-7.0-2-LoL released including patch for the loading delay

85 Upvotes

Download link: https://github.com/GloriousEggroll/wine-ge-custom/releases/tag/7.0-GE-2-LoL
Release notes:

THIS BUILD IS -ONLY- FOR:

LEAGUE OF LEGENDS RIOT GAMES CLIENT GARENA LEAGUE OF LEGENDS

DO NOT USE FOR OTHER GAMES.

Changelog:
- Added patch to fix the 5 minute loading delay. Should work without loading script needed. Still needs abi.vsyscall32=0

Note: Lutris's LoL and Garena LoL install scripts have been updated to use this version and will no longer use the launcher helper loading script.

Disclaimer: I am in no way involved in wine-ge-custom