The forum

League of Legends on Ubuntu 12.04

Launcher, PVP.Net Client & Lol Client working

Author Replies
Sup3rDry Wednesday 31 July 2013 at 18:17
Sup3rDry

Hello fellow PoL-users;

Over the past few days, I've been trying hard to get some bugs ironed out while running League of Legends through PoL. Here's the results of my tinkering:

Wine version: 1.5.24-LeagueOfLegendsShop
Distribution: Ubuntu
Distribution version: 12.04 (Precise)
Graphics card: Nvidia Geforce GT 630
Graphics card driver: nvidia_current (The recommended one)
RAM: 8GB Dual Channel Memory DDRII (Old motherboard)
Comments: I've added a little piece of code to the 'Command to exec before running this program' in the Miscellaneous section of the wineprefix Configuration:

rm /home/$whoami/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot\\ Games/League\\ of\\ Legends/RADS/projects/lol_air_client/releases/0.0.1.35/S_OK

This forces the LoL-Launcher to recheck a tiny bit of the content everytime, thus bypassing the 0% loading & 33% calculating hangs. It does not work 100% of the time, but it definitely increased the chances of being able to press 'play' on the first try by alot.

The PVP.net client works perfectly, except for the GIANT ANNOYING thing where the shop window stays black and never loads. I've played around a bit with SSL and TLS settings in the registry of the virtual drive, but to no avail. All I get now is a dialog telling me the website has an unconfirmed certificate and asks me if I want to allow it. Even if I allow it, it still does not load the shop.

Here is the debugger output of the problem mentioned above:
http://pastebin.com/utE1Bt3a

Other than that, everything is amazing. Getting a very stable ~30+ FPS consistently, (I put my FPS settings to stable, not benchmark or a specific one) and no problems whatsoever in connecting to normal or even ranked games. The only connection problem seems to be that the PVP.Net shop is not able to establish a secure connection. Does anyone have any experience/thoughts on this issue?

Thanks for reading; I hope you're able to install and play as smoothly as I did.
Ronin DUSETTE Wednesday 31 July 2013 at 18:28
Ronin DUSETTE

The SSL stuff is all handled by your linux system, not wine. Wineserver passes that stuff to your system, allowing for native execution.

make sure you have the following packages installed in your linux system (not POL/wine):

curl
winbind
gnutls
openssl

I also recommend installing the newest driver for your card from Nvidia's website. It MUCH more up to date than that one thats installed.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Sup3rDry Wednesday 31 July 2013 at 22:28
Sup3rDry

Thanks for replying so quickly;

I did not have gnutls installed. Had the newest versions for the other packages though. Only by installing that package did not fix the blackscreen; according to the League of Legends forums, it could indeed be outdated graphics drivers.

However, I have been unsuccesful in installing the newest drivers for my card (319.32 is the latest supported version). Something about installing this made my window manager fail to startup when I rebooted. Luckily I had a Live CD laying around and reinstalled 304.88, but now I'm kind of torn. I possible did something wrong while installing the new driver though. I'll try looking for it in synaptic to have a slightly safer install that's a bit more guided than my typing (possible faulty) commands in the terminal. I'll edit this post as soon as I find the results of that.
Ronin DUSETTE Wednesday 31 July 2013 at 22:44
Ronin DUSETTE

I never said that it would fix the black screen. That was simply for the PVP thing.

     
Thanks for replying so quickly;

I did not have gnutls installed. Had the newest versions for the other packages though. Only by installing that package did not fix the blackscreen; according to the League of Legends forums, it could indeed be outdated graphics drivers.

However, I have been unsuccesful in installing the newest drivers for my card (319.32 is the latest supported version). Something about installing this made my window manager fail to startup when I rebooted. Luckily I had a Live CD laying around and reinstalled 304.88, but now I'm kind of torn. I possible did something wrong while installing the new driver though. I'll try looking for it in synaptic to have a slightly safer install that's a bit more guided than my typing (possible faulty) commands in the terminal. I'll edit this post as soon as I find the results of that.

Quote



Nooooooooooooooooooooo.... It didnt install correctly.

You have to do the following (print this out or something)

Download newest nvidia driver for your system to ~/Downloads (your downloads folder)

press CTRL + ALT + F1, sign in with your username and password. The password doesnt show. Just type it and press enter.

sudo apt-get install build-essential

after that finishes:

cd ~/Downloads

chmod +x NVIDIA-nameofdriver.run

sudo service lightdm stop

sudo ./NVIDIA-nameofdriver.run

Follow ALL PROMPTS carefully, and say yes when asked to:

build DKMS module
install 32 bit libraries
go over current driver
configure xorg.conf

after its done, simply type:

sudo restart

and it should boot up to your system just fine.

If its not done EXACTLY like this (obviously you need to be in the right folder) the install will fail.

Again, you can try Additional Hardware and get the NEWEST (experimental or whatever they call it now), but I have always had great luck with the above method. Been doing it for years.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Sup3rDry Thursday 1 August 2013 at 20:39
Sup3rDry

Hi again;

Apparently there were still some damaged packages/files left over from the first time I failed to install those latest drivers, so now as I tried to do it, it told me something was wrong with the nouveau kernel. (Something about having installed a driver previously through a different way than the one I was doing - which makes sense, I've updated them through the normal package manager.) I proceeded to exit out of everything and tried to reboot, but unfortunately that ment only having a login terminal and no lightdm at all.

I messed around trying to get it back a bit, but in the end I just copied all of my files to a different HDD, formatted & reinstalled Ubuntu 12.04. I've just installed the driver that was working with LoL just fine (304.88), and I'm installing League of Legends again through PoL. This time I got to install all of the packages you mentioned earlier though, so hopefully they will make a difference in the PVP.net store.
petch Thursday 1 August 2013 at 21:50
petch

If you find a way to get the store to work reliably, I'm sure people will be interested.
Sup3rDry Friday 2 August 2013 at 1:11
Sup3rDry

Ohey petch, I actually got it working before; but I can't seem to repeat the process with a clean install. Just finished reinstalling everything; the game itself and the launcher work like magic, possibly even better than before. But I can still not for the life of me get the store to function.

Even when I did get the store working though, it was always still difficult to get the rune page to display. I realize it's not a major part of the store and most people will not need to use it anymore/won't need to use it yet, but it always took at least 5 minutes of loading before it would show up for me. It always loaded, but for some reason it took WAY longer than it took to load the champions that are for sale.

I've installed all of the linux ssl/tls packages I can think of and can find, but if I find something to make it work, I will definitely post it here so everyone can enjoy ;)
Sup3rDry Saturday 3 August 2013 at 0:02
Sup3rDry

Allright; I got the store to work just as well as I got it before. The store loads nearly instantly, and I can purchase RP, get champions/skins and everything, except for the rune page. To get those icons seems to still take a few minutes.

What I did was install all of the packages for SSL/TLS that Yosha mentioned, and then I merely changed my settings in firefox to not use SSL/TLS, while my LoL client was open. At that point, the store still did not work; I tried it several times.

But then, however, I shut down firefox, restarted it, enabled SSL/TLS again, shut down LoL, restarted that, and now it works perfectly.
As advice for anyone that is trying to get this to work: You will need a bunch of patience; the first time it loads, it might be VERY slow and annoying, but eventually it will work just as well as I've seen it work on windows. It is slightly problematic that the rune page does not work as well, though.

If anyone tried this or something different to get it to work, please let me know, so I can make sure what made the difference. Thanks ;)
Ronin DUSETTE Saturday 3 August 2013 at 0:19
Ronin DUSETTE

:)

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts