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

Entering a game causes a crash #184

Closed TrueNohaynicks closed 3 months ago

TrueNohaynicks commented 2 years ago

When I create a custom game, an error message appears and on the client the message to reconnect. The crash report system creates a .tmp i can't open. I can't upload the file too.

blaisdellma commented 2 years ago

I have a similar issue. I joined a PvP game and got through champion selection but then the game crashes and kicks me back to the client's reconnect screen. Reconnecting results in the same crash and getting kicked back to the client. I was able to get github to upload the .tmp crash log by manually changing the extension to .log PKM9565.log

mmtrt commented 2 years ago

Snap now uses dxvk which is required for client to work still could break game launch for some with incapable vulkan gpu. Make sure install required vulkan drivers and vulkan libs for both amd64 i386

OR

one could disable dxvk for game main exe see https://github.com/mmtrt/leagueoflegends/issues/182

TrueNohaynicks commented 2 years ago

With the settings on #182 it works, but on left top corner there is a debug thing. I can play perfectly but it's a pretty annoying. imagen

mmtrt commented 2 years ago

Thats dxvk hud you can disable it see #183

TrueNohaynicks commented 2 years ago

I don't understand how can i change that.

blaisdellma commented 2 years ago

I verified that I had already installed the vulkan drivers and libraries (vulkan-icd-loader, vulkan-intel, vulkan-radeon, lib32-vulkan-icd-loader, lib32-vulkan-intel, and lib32-vulkan-radeon are installed by default on Manjaro).

I tried the fix in #182 but I'm still getting the same crash on game launch.

mmtrt commented 2 years ago

@blaisdellma did you install dxvk itself in wineprefix see https://github.com/mmtrt/leagueoflegends/issues/180#issuecomment-907626553 also post log if any errors.

blaisdellma commented 2 years ago

Yes, I did.

Here's the .tmp file (changed to .log to upload to github) generated by the crash report system. I don't know how to read/decipher it though. PKM2822.log

Edit: The full crash report is too large to upload to github so I threw it up on dropbox: https://www.dropbox.com/s/gt55hi240bl2a79/PKM2441.tmp?dl=0

Is there another log that would be relevant here?

mmtrt commented 2 years ago

@blaisdellma that tmp file is useless, run league from terminal snap run leagueoflegends should log, is this fresh install or old install before 11.17 update if yes then do fresh install also which gpu you have, is this laptop by any chance.

blaisdellma commented 2 years ago

Yes, this is on a Thinkpad T480 with i5-8250U and Intel UHD 620. I did install before 11.17 and I'm going to do a fresh install now.

blaisdellma commented 2 years ago

Did a fresh install and now the fix works. Thanks for your help.