Ubuntu 14.04 LoL Settings & Optimizations
This is a just an example of a working LoL download on ubuntu 14.04 and its almost lag-less settings. There were guides on how to install LoL on ubuntu, but not much follow-up on the best settings for it, so I decided to post what I have. ** Contents (ctrl+f the numbers for teh lazy people):** 1x - Installing LoL on ubuntu 14.04 2x - PlayOnLinux Settings 3x - League Settings 4x - Network Setting 5x - Disabling Mouse Acceleration
1x - Installing LoL on ubuntu 14.04 I just switched over to linux (ubuntu) because my windows crashed and I rage-quit microsoft. There's already some working guides on how to install LoL on linux (PlayOnLinux) but few mentions of how to optimize the settings for league.
Here's the guide that I used to install LoL: http://www.sysads.co.uk/2014/06/install-league-legends-ubuntu-14-04/
As a linux noob, I had a hard time with this, but eventually got it when I re-clean installed ubuntu and edited some of the folder paths for tarball using "cd"... my main point being, it works, mess around with only the stuffs you KNOW. Follow it step by step, religiously, like your gaming life depends on it. Screw around with the Ubuntu system itself once you ABSOLUTELY know how the codes work (learned this the hard way T^T).
2x - PlayOnLinux Settings Here's the settings I use on PlayOnLinux:
At PlayOnLinux, select League of Legends, and click "configure".
Under the General Tab: Wine version should be "1.7.19-LeagueOfLegends2". If not, go to the "+" sign next to it, find it in the list, and add it.
Under the** Display **Tab:
GLSL Support-----------------------------------Disabled Direct Draw Renderer-------------------*** opengl *** (OpenGl is supposedly faster than DirectX) Video Memory Size-------------------------***4096 ***(Depends on video card, but this was my highest setting) Offscreen Rendering Mode---------***pbuffer *** (Supposed to work well with OpenGl) Render Target Mode lock------------Disabled Multisampling------------------------------------Disabled Strict Draw Ordering----------------------Disabled
These settings are reversible. If something screws up in-client, set everything back to default. I personally switched the settings one-by-one to make sure that my game worked after each one.
This is the only place I dare touch.
3x - League Settings Inside League itself: Make a custom game, turn EVERYTHING low. Bad graphics? I'd take this over bad lag any day. I even have my fps limited at 30, though might change it to 60 later if I deem it stable enough. **Don't go above 60: your monitor probably doesn't support it, and the difference is imperceivable above it, though some claim to be able to sense it. **
4x - Network Setting My Ubuntu network settings: I've done a couple things here and there, but the** one thing that helped out the most ** was **turning off 802.11n **in my network. What the heck is that? Well here. Apparently, some operating systems run into problems when they use this instead of the other ones 802.11g and 802.11a. In theory, it should improve internet speeds, but for ubuntu, it has the effect of slowing it dooooooooowwwwnnnnn.... you get the point.
Go to the command line (Ctrl + Alt + T): To turn off 802.11n temporarily to check if it works (restart should reset) :
sudo sh -c 'modprobe -r iwlwifi && modprobe iwlwifi 11n_disable=1'
To turn off 802.11n permanently:
sudo sh -c 'echo "options iwlwifi 11n_disable=1" >> /etc/modprobe.d/iwlwifi.conf'
Basically, it adds (replaces?) a line to the configuration setting file.
Click Here for a more comprehensive read.
5x - Disabling Mouse Acceleration Here's a little extra for those tryhards. jk In all seriousness though, mouse acceleration messes with your accuracy since your mouse is not moving at a constant rate. Sadly, there's no obvious settings in ubuntu to turn this off (wtf?). We're going to make a start-up file to 1) disable mouse acceleration and 2) set a decent speed for the pointer.
Go to the terminal. The first step is finding out the code and settings for your mouse. Input:
xinput list
A whole listing of stuffs should splurge out :D Find your mouse in there, look to the right. There should be an "id" number. In my case, it was "Logitech usb receiver ----------- id=10".
Next, type in:
xinput list-props [idnumber]
replace [idnumber] with your device id, mine would look like "xinput list-props 10"
Almost there. Look for "Device Accel Profile" and "Device Constant Deceleration". Note and record the numbers next to them. In my case, it looked like:
Device Accel Profile (263): -1 Device Accel Constant Deceleration (264): 0.300000
So I note down the "263" and "264". I like to call them [SettingNumbers], probably not right but serves the purpose for now.
Here's the main part. Open up a text editor (gedit is pretty nice), and copy/paste. nomouseacc frame
Here's what the completed code looks like, using my mouse. My Example The format is something like "xinput set-prop [idnumber] [SettingNumber] [SettingValue]" Save it to your desktop, name it nomouseacc
The "-1" at the end turns off the mouse acceleration, and the "0.3" helps to speed up the mouse. As a note, you can make the "0.3" section lower or higher. Above "1", it slows down the mouse. Between 0 and 1, it speeds it up. I tried "0.1" here, but it was waaaay too fast, so I stuck with "0.3"; adjust according to preference.
From terminal, navigate to your desktop.
cd /home/[YOUR COMP NAME]/Desktop
Run this to make the code usable:
chmod +x nomouseacc
Go to StartUp applications from the ubuntu search. Click Add, name it whatever you want, and browse for the "nomouseacc" file. Add it to startup, and you're....DONE! Restart computer for it to start working.
You can edit the values any time you want. Just go into the nomouseacc file and switch up the digits to your liking. If it somehow screws the computer up (highly doubt it would), just take the file off of the startup list and restart.
That's it folks. Currently running LoL successfully with these settings. I apologize for the forum formatting, tried to make it as readable as possible but so hard with the tools here x.x
Like I mentioned before, I just started ubuntu, so I won't be able to do tech support. Any other reasonable, consistent, and working tweaks will be appreciated.