You are not logged in.

#1 2014-07-08 01:39:59

luken
Member
Registered: 2014-06-26
Posts: 37

[Solved] How make to work League of Legends on Arch x64?

Hello,
I was trying to install LoL by using PlayOnLinux. The wiki describes it as "the easiest method." ( https://wiki.archlinux.org/index.php/Le … nux_Method ).
Unfortunately I cannot figure this out. I installed LoL just fine, I updated it, but when I'm clicking "Play" button, then I'm getting exception:

ALSA lib dlmisc.c:252:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
wine: Unhandled page fault on read access to 0x00001ff0 at address 0x1ff0 (thread 0043), starting debugger...

I was trying different wine versions without luck. It's hard to find anything useful about this by using google.

Anyone have any idea how to make it to work with playonlinux?

Last edited by luken (2014-07-08 21:51:10)

Offline

#2 2014-07-08 01:44:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How make to work League of Legends on Arch x64?

Try https://bbs.archlinux.org/viewtopic.php?pid=1433121

Edit: I see that OP edited the wiki yesterday.

Last edited by karol (2014-07-08 01:47:47)

Offline

#3 2014-07-08 01:46:35

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] How make to work League of Legends on Arch x64?

luken wrote:

It's hard to find anything useful about this by using google.

Really? Might be related to some aspects mentioned in this thread though.

Offline

#4 2014-07-08 09:06:51

joanmanel
Member
Registered: 2012-11-06
Posts: 250

Re: [Solved] How make to work League of Legends on Arch x64?

I know it's not the answer you expected but Dota2 runs 100% perfect native linux

Offline

#5 2014-07-08 21:50:44

luken
Member
Registered: 2014-06-26
Posts: 37

Re: [Solved] How make to work League of Legends on Arch x64?

Ok I got this. This was the actual fix: https://bbs.archlinux.org/viewtopic.php … 7#p1391227 . But it only let me into the Air launcher. I couldn't connect to any game. This wine version "1.7.18-LeagueOfLegends3" in playonlinux, did the job. Game run almost perfectly, I think there are some issues with sound, but I probably used wrong "DEVICE_NAME" in snippet, in the thread I linked to. There are also not all item icons in shop visible, but you can buy them, just icons looks like red squares on the minority of items, and only in shop - minor issue. Thanks for help!

Last edited by luken (2014-07-08 21:52:02)

Offline

#6 2014-07-08 22:03:31

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] How make to work League of Legends on Arch x64?

Use something like this instead:

pcm.!default {	type plug;
		slave.pcm {	@func getenv
				vars [ ALSA_DEFAULT_PCM ]
				default "DEFAULT_PCM_DEFINITION_GOES_HERE___CAN_BE_HW:0,0_OR_SIMPLY_DMIX";	}	}

Then change the ALSA_DEFAULT_PCM variable before running the game/application. The pcm definition the variable is pointing to must exist obviously. you can use one of the definitions with runtime arguments like for example dmix:0,0 or hw:0,0 or front:0,0. Using type hw directly is discouraged, unless you know what you are doing. Read the alsa wiki for more explanation.

Edit: As far as I recall that thread you linked, you still need to switch between configurations. With a more sophisticated pcm.default definition, this should be avoidable.

Last edited by emeres (2014-07-08 22:05:31)

Offline

#7 2014-07-13 21:24:45

luken
Member
Registered: 2014-06-26
Posts: 37

Re: [Solved] How make to work League of Legends on Arch x64?

It worked for me perfectly when I used dmix:0,0 smile . Can you elaborate why it is needed to switch on and off this configuration?

Offline

#8 2014-07-13 21:41:00

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] How make to work League of Legends on Arch x64?

In the referenced thread, pulseaudio was the default output, so to use it pulseaudio-alsa package rewrites pcm.default. PA is not considered in the configuration I suggested. Maybe a new pa definition and configuration of pa daemon to use pcm.dmix would be sufficient to stop switching. So in this case one would need to switch between the default pulseaudio configuration and the one using environment variables. In other words you need to switch if you use pulseaudio.

Side note: Simply using dmix should be sufficient, since the default is card and device is 0,0.

Offline

#9 2014-07-16 09:25:49

Kobibr
Member
Registered: 2014-07-16
Posts: 7

Re: [Solved] How make to work League of Legends on Arch x64?

I tried this
http://forums.euw.leagueoflegends.com/b … arch+linux
and it worked for me.

Offline

#10 2014-07-16 22:44:01

luken
Member
Registered: 2014-06-26
Posts: 37

Re: [Solved] How make to work League of Legends on Arch x64?

Thank you very much for the explanation smile . I have one more, and I think last question - If I will connect my headset, how can I find out what numbers should I use in "dmix:X,Y", so the sound would be going to my headset ?

Offline

#11 2014-07-16 23:32:10

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [Solved] How make to work League of Legends on Arch x64?

@luken trial-and-error method using speaker-test I would argue. Usually it should copy the front jack signal. Here are just a few:

speaker-test -c 2 -t wav -D dmix:0,0
speaker-test -c 2 -t wav -D dmix:0,1
speaker-test -c 2 -t wav -D dmix:0,2
speaker-test -c 2 -t wav -D dmix:1,0
speaker-test -c 2 -t wav -D dmix:1,1
speaker-test -c 2 -t wav -D dmix:1,2
# Depending on your setup, it might be necessary to use 8 channels with -c 8.
# Or in script form
MX=2;MY=3;
for X in $(seq 0 $MX); do for Y in $(seq 0 $MY); do speaker-test -c 2 -t wav -D dmix:$X,$Y; done; done

Should this not work, then you may want to look at hdajackretask from alsa-tools package and copy the front jack to the headphone one or disable jack sensing.

luken wrote:

Thank you very much for the explanation smile

You are welcome.

@Kobibr I fail to see what a tutorial and patch for wine for textures has to do with this thread. It is nice to see people getting involved though.

Offline

Board footer

Powered by FluxBB