mmtrt / leagueoflegends

Unofficial league of legends snap repo
https://snapcraft.io/leagueoflegends
GNU Lesser General Public License v2.1
220 stars 27 forks source link

Insane FPS Drop / Lag #182

Closed WarpWing closed 2 years ago

WarpWing commented 2 years ago

So I got the League snap working and now League uses Vulcan. However this leaves my League install lagging. Before without using Vulcan(I was using OpenGL I believe or whatever to render it by default), I was averaging 60-70fps no problem but now Vulkan is only running at 3-5fps on all low settings. Anyway to force OpenGL while still using Vulcan for the client? I know that I had to install a vulkan winetrick to get the client to work but it makes the game unplayable. Any ideas?

mmtrt commented 2 years ago

open winecfg command leagueoflegends.winecfg then add application exe from ~/snap/leagueoflegends/common/.wine/drive_c/Riot Games/League of Legends/Game/League of Legends.exe then set its dlloverrides as follows lolcfg

WarpWing commented 2 years ago

leagueoflegends.winecfg

Sorry I'm kind of a idiot, how do I add the application exe? I'm at winecfg, idk what to click xd

EDIT: I set d3d10core, d3d11, d3d9 and dxgi set to builtin, idk if thats what im supposed to do but let me check

EDIT 2: That reverts it back to Black Screen, im reverting it lmao

EDIT 3: I see, I add the exe in the "new override in library box"

WarpWing commented 2 years ago

image I added

~/snap/leagueoflegends/common/.wine/drive_c/Riot Games/League of Legends/Game/League of Legends.exe

To the new override for library box and set it to builtin and still doesn't work.

mmtrt commented 2 years ago

You are doing it wrong lol,

So in applications tab below there is add application button from there you have to select exe file should reside in that path then click ok then click on exe filename in Applications tab then add libraries it should show empty then its for that exe file so hit apply.

WarpWing commented 2 years ago

You are doing it wrong lol,

So in applications tab below there is add application button from there you have to select exe file should reside in that path then click ok then click on exe filename in Applications tab then add libraries it should show empty then its for that exe file so hit apply.

Lmao I'm an idiot. Sorry for misreading that. Did your instructions, It works perfectly. Thanks mate!

moxxos commented 1 year ago

I am having the same issue with a nvidia gpu driver version: 525.60.13. Client works fine but as soon as I get into game it is 3-5 fps even on everything low in settings. I used this snap previously (I'm guessing before vulkan update) with the same gpu and it worked great. I tried adding the LoL.exe with the manual dll in winecfg as instructed here but it is not working, fps is still extremely low. Anything else I can try?