nhubaotruong / league-of-legends-linux-garena-script

86 stars 11 forks source link

Stuck on loading screen after launching the game via Garena #43

Closed xruifan closed 2 years ago

xruifan commented 2 years ago

Hi,

The client stuck on loading screen as the picture shown below. Screenshot_20220620_103954

The log: log.txt

Lutris Garena runner options: image image image

Lutris LOL runner options: image image image

System: OS: Debian GNU/Linux 11 bullseye Arch: x86_64 Kernel: 5.10.0-15-amd64 Desktop: KDE Display Server: x11

[CPU] Vendor: GenuineIntel Model: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Physical cores: 6 Logical cores: 12

[Memory] RAM: 15.5 GB Swap: 1.0 GB

[Graphics] Vendor: Intel OpenGL Renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2) OpenGL Version: 4.6 (Compatibility Profile) Mesa 20.3.5 OpenGL Core: 4.6 (Core Profile) Mesa 20.3.5 OpenGL ES: OpenGL ES 3.2 Mesa 20.3.5 Vulkan: Supported

I am looking forward to your reply. Fan

xruifan commented 2 years ago

When the client start, manually run pkexec sh -c 'sysctl -w abi.vsyscall32=0' before you start a game, if it works for you I'll update the repo

It looks like everything works fine now. I am closing this issue and I think you could update this repo.

2ndBillGates commented 2 years ago

gotta say the performance was better than i expected.

I'm getting 200fps initially, now running 60fps stable at 1366x768, mid settings

2ndBillGates commented 2 years ago

you just gotta set the screen to boardless, else the mouse will move out of the window

2ndBillGates commented 2 years ago

just finished an ARAM round with Riven, gotta say the performance is really good, no lag at all.

But the keyboard works really weird though, when I press q sometimes it does not respond and sometimes it press 2 times.

But that kind of performance, I take it.

FOREVERLY LEAVE rubbish WINDOWS

nxhdev2002 commented 2 years ago

just finished an ARAM round with Riven, gotta say the performance is really good, no lag at all.

But the keyboard works really weird though, when I press q sometimes it does not respond and sometimes it press 2 times.

But that kind of performance, I take it.

FOREVERLY LEAVE rubbish WINDOWS

you can try english keyboard, maybe fix this error

2ndBillGates commented 2 years ago

I am using english keyboard, us layout

I can reproduce it easily. when i click enter to open chat box, it never opens, it clicks 2 times, open and close it

khewweifeng commented 2 years ago

i ran "pkexec sh -c 'sysctl -w abi.vsyscall32=1'", lol.py and then pressed the play button in garena, but it took a while for the client to work, i tried with wine lutris-ge-lol-7.0.1 . if you want to connect to the match, you must set abi.vsyscall32=0

Hi @nxhdev2002 have to do it everytime or only 1 time ?

nxhdev2002 commented 2 years ago

i ran "pkexec sh -c 'sysctl -w abi.vsyscall32=1'", lol.py and then pressed the play button in garena, but it took a while for the client to work, i tried with wine lutris-ge-lol-7.0.1 . if you want to connect to the match, you must set abi.vsyscall32=0

Hi @nxhdev2002 have to do it everytime or only 1 time ? image I have to do it everytime, otherwise the client won't respond. i think we should wait for repo update

khewweifeng commented 2 years ago

i ran "pkexec sh -c 'sysctl -w abi.vsyscall32=1'", lol.py and then pressed the play button in garena, but it took a while for the client to work, i tried with wine lutris-ge-lol-7.0.1 . if you want to connect to the match, you must set abi.vsyscall32=0

Hi @nxhdev2002 have to do it everytime or only 1 time ? image I have to do it everytime, otherwise the client won't respond. i think we should wait for repo update

@nhubaotruong

longz3r commented 2 years ago

do i have to use lol.py with abi.vsyscall=1 or just use garena launch game directly ?

nhubaotruong commented 2 years ago

@khewweifeng It has to be done every time you start LOL client @longz3r Please use the lol.py with abi.vsyscall=1

khewweifeng commented 2 years ago

@khewweifeng It has to be done every time you start LOL client @longz3r Please use the lol.py with abi.vsyscall=1

@nhubaotruong will you update into appimage / the repo ?

nhubaotruong commented 2 years ago

Yes I will, trying to figure out how to make it more convenient for you guys

longz3r commented 2 years ago

image Splash screen will get color after few mins but it will disappear although abi.vsyscall=1 and lol.py

khewweifeng commented 2 years ago

I edited launchhelper2 and use lol.py with lutris lol 7.0.1

Screenshot from 2022-07-06 11-54-14

and the game stuck here Screenshot from 2022-07-06 11-56-20 Screenshot from 2022-07-06 11-53-49

khewweifeng commented 2 years ago

tried garena with lutris lol 7.0.1 = garena app will show flickering

xruifan commented 2 years ago

I edited launchhelper2 and use lol.py with lutris lol 7.0.1

@khewweifeng Hi, please accept my apologies for the late reply. Have you fixed the issue? If not, could you try to comment out the line pkexec sh -c 'sysctl -w abi.vsyscall32=0' in launchhelper2.sh and directly run pkexec sh -c 'sysctl -w abi.vsyscall32=1' before you run lol.py and start league? Don't forget to run pkexec sh -c 'sysctl -w abi.vsyscall32=0' before any match starts.

khewweifeng commented 2 years ago

how about this part ?

Screenshot_20220716_130618

khewweifeng commented 2 years ago

somtimes it will be redirected to riot games lol

longz3r commented 2 years ago

im tired of trying get it working im going for dualboot windows 10 ghost spectre and debian

xruifan commented 2 years ago

how about this part ?

Screenshot_20220716_130618

I think you would need to set it to run league, just click yes.

In my experience, I need to run many times of pkexec sh -c 'sysctl -w abi.vsyscall32=1', lol.py, and click play in Garena after the client fails in lutris log, to get the league client start normally. I am not sure if it has something to do with lanchhelper.sh in league that deals with ssh and timeout stuff, you will need to be patient with it.

In addition, in my way of understanding what is going on, I would start lutris with lutris -d to keep tracking the process, Garena runs pretty badly on linux.

simon2323 commented 2 years ago

Commenting out pkexec sh -c 'sysctl -w abi.vsyscall32=0' and specify python3 launchhelper2.py worked for me.

I'm on Ubuntu 20.04 and I have both python2 and python3 on my system. Running pkexec sh -c 'sysctl -w abi.vsyscall32=1' does fix the problem after the patch, but I'd only get the client to launch with a success rate of 1/20 or 1/30. Otherwise it'd be like what @longz3r experienced.

2ndBillGates commented 2 years ago

how about this part ? Screenshot_20220716_130618

I think you would need to set it to run league, just click yes.

In my experience, I need to run many times of pkexec sh -c 'sysctl -w abi.vsyscall32=1', lol.py, and click play in Garena after the client fails in lutris log, to get the league client start normally. I am not sure if it has something to do with lanchhelper.sh in league that deals with ssh and timeout stuff, you will need to be patient with it.

In addition, in my way of understanding what is going on, I would start lutris with lutris -d to keep tracking the process, Garena runs pretty badly on linux.

for me, i press no everytime and it works. BTW, i'm using lutris lol 7.0.2