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

85 stars 11 forks source link

Error of Failed request: BadValue with latest update #5

Closed WasteOfO2 closed 3 years ago

WasteOfO2 commented 3 years ago

Hello!

I recently updated LoL and now the patch no longer works, here is what the script gives as an output

--garena-plus-token=r+mVNRs/GSBnRQ7ALUmdAJ1joDvyy5HczcOXGR3lqd2sy626cBBMq2W214iZhzBxH24/gaZkOFY/D+MEbVW/0/tw94RKKCuDBeskqHvuuoWZDofMhwJFtn0iCyR+O9Alp/GUZB0prQoCNDlChrMy355mapeQhGLsTn0RAe4VDangqosqvf9cVMBNH1oRxGKMSqza9UhqL8S6PHy2g59JtHn1MLOrmJi2DGK+N0KDx0pvb0Y17rrBz8btFsdpqa3NqFQ+qBU4ZmPiSrXRpQEmy45a6t1mHtUd+WZNINKml+QCchTdhM+MH3bzb6mc7//Gsj6oLouL+q9o/jmmjFmV8w== --region=SG -- --locale=en_SG --landing-token=94bddc65d09c6f148bd41df7b49289352f28f72ea9df3aa93851f1f8cf5c72c0 --servers.chat.chat_host=sg1.chat.si.riotgames.com --servers.lcds.lcds_host=prod.lol.garenanow.com --servers.lcds.login_queue_url=https://lq.lol.garenanow.com/login-queue/rest/queues/lol --region=SG --parent-client=GarenaPC
lutris game id: 1
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  151 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  110
  Current serial number in output stream:  111
2021-08-12 23:51:16,848: glxinfo call failed: Command '['glxinfo', '-B']' returned non-zero exit status 1.
2021-08-12 23:51:16,849: No available glxinfo output
2021-08-12 23:51:16,849: Invalid glxinfo received
2021-08-12 23:51:17,053: No cores found

here is the lutris log file when garena is launched, the patch is applied and the when i hit Play

https://pastebin.ubuntu.com/p/MFG9Sjk9qJ/

Willing to provide additional info :)

nhubaotruong commented 3 years ago

This is not the script failing but your NVIDIA driver is, what kind of NVIDIA driver are you using 🤔, Optimus or NVIDIA Prime, and what is the driver version ? This happend before on older NVIDIA driver: https://www.reddit.com/r/leagueoflinux/comments/jeokoo/x_error_of_failed_request_badvalue_integer/

WasteOfO2 commented 3 years ago

Sorry for the delayed response, in class atm

to elaborate further, I use GTX 1650(nvidia ver- 470.63.01)

This is the only dGPU i own, so no prime or optimus, it is a desktop graphics card without any integrated graphics on the CPU

Lutris does seem to detect it correctly, (OS info, DE and Display server included)

[System]
OS:              Fedora 34 
Arch:            x86_64
Kernel:          5.13.8-200.fc34.x86_64
Desktop:         GNOME
Display Server:  x11

[CPU]
Vendor:          AuthenticAMD
Model:           AMD Ryzen 3 1300X Quad-Core Processor
Physical cores:  4
Logical cores:   4

[Memory]
RAM:             15.6 GB
Swap:            8.0 GB

[Graphics]
Vendor:          NVIDIA Corporation
OpenGL Renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL Version:  4.6.0 NVIDIA 470.63.01
OpenGL Core:     4.6.0 NVIDIA 470.63.01
OpenGL ES:       OpenGL ES 3.2 NVIDIA 470.63.01
Vulkan:          Supported

here is the output of glxinfo | grep OpenGL

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1650/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.63.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 470.63.01
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 470.63.01
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

sorry for blaming it at the script :P

nhubaotruong commented 3 years ago

I don't own an NVIDIA gpu so I cannot test it myself, have you tried turning off DXVK like the reddit post said ?

WasteOfO2 commented 3 years ago

I don't own an NVIDIA gpu so I cannot test it myself, have you tried turning off DXVK like the reddit post said ?

will try and edit this comment if i do get it working

nhubaotruong commented 3 years ago

I found this issue on this forums: https://forums.gentoo.org/viewtopic-t-1102186-start-0.html Try adding your user into the video group and then reboot

sudo usermod -aG video $USER
WasteOfO2 commented 3 years ago

Will do!

Sorry I am a bit slow on replying :P

WasteOfO2 commented 3 years ago

Yep, that fixed the issue! Thx a ton

U are one of the most responsive devs I have met!

Keep up the good work and I pray for ur success!

nhubaotruong commented 3 years ago

Thanks, have fun playing !