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

9.23 patch BugSplat error message #96

Closed ghost closed 4 months ago

ghost commented 4 years ago

League of Legends screen record with error; ...and one more link if the first will not work. In this video file all about the problem, as much as I may show. Error log after run league of legends from xterm. Lubuntu 18.10 cosmic x86_64 with Linux kernel 4.18.0-25-generic Anything additional information is needed?

$ snap list
Name                     Version          Rev   Tracking   Publisher     Notes
core                     16-2.42.1        8039  stable     canonical✓    core
core18                   20191030         1265  stable     canonical✓    base
gtk-common-themes        0.1-25-gcc83164  1353  stable     canonical✓    -
leagueoflegends          1.0              55    edge       mmtrt         devmode
wine-platform-4-staging  4.16             24    candidate  mmtrt         -
wine-platform-runtime    v1.0             56    beta       mmtrt         -
newhoa commented 4 years ago

UPDATE

Again compiled wine 4.20 with fixes from wine-lol repo and pushed wine-platform-4-staging to beta & candidate.

Tested this and it works fine now in snap side.

NOTE:

Those who had installed wine-platform-4-staging snap from link that I had posted here need to do this to get new update from snap server.

sudo snap revert wine-platform-4-staging
sudo snap update

This made it all work again AND the client is way more responsive and less laggy for me. Thank you!!

P264nuuk commented 4 years ago

Hi, I just created this account, to thank you for the work, just : snap update - is invalid cmd, need to use snap refresh ...

but all working, thanks

mmtrt commented 4 years ago

@drupalranger Thats really wierd I did not faced such issues in my main system kubuntu 19.10 though I'll test game in laptop to reproduce these issues.

@newhoa Yeah 4.20 wine have improved thing but rito have too fixed launcher performance issues could be that.

@P264nuuk Thanks updated post.

jpobeda commented 4 years ago

Hey, I'm having a weird issue. I was able to play a game with no issues at all but then I start the game without keyboard and after alt tab I get keyboard back but the camera get locked.

I know it might be something from Ubuntu but not sure. I normally play on my laptop with extended screens, not sure if that might be a problem now. It hasn't before.

Cheers.

jpobeda commented 4 years ago

I had to run snap run leagueoflegends.winecfg and check "Automatically capture the mouse in full-screen windows" although I still need to alt+tab once to get the keyboard working ..

Ignacy-s commented 4 years ago

This is interesting. I still get fonts bug and launcher crash after few seconds from when I enter password and log in. First I tried refreshing wine snaps to --beta and --candidate. Then I tried recreating WINEPREFIX from backed up game files and completely removed and reinstalled all snaps while at it. Tried two times, using backed up game files, and one time with a completely fresh install and running all the hacks needed for the game to run (winxp, chmod 0 of new launcher). leagueoflegends.winecfg shows that the wine is in version 4.20

Any ideas what could be wrong? What systems are you guys using? Which graphic cards?

@jpobeda

I was able to play a game with no issues at all but then I start the game without keyboard and after alt tab I get keyboard back but the camera get locked.

This happens sometimes. Restarting the game should help. Happened to me like a week ago.

Ignacy-s commented 4 years ago

I've spend a considerable amount of time on it today. I've upgraded Ubuntu 19.04 to 19.10, then installed OBS wine repo (howto). From the OBS repo I've installed i386 versions of winehq-staging and wine-staging using: sudo apt install --install-suggests winehq-staging:i386 wine-staging:i386 Now league can be run using system wine with: wine $HOME/snap/leagueoflegends/....../LeagueClient.exe Had to block the new launcher by changing owner of the launcher files.

All this allows to install and run the launcher and go past the character select. However, the game after character select doesn't work :(

I've stumbled upon something when trying to run winetricks on snap league: leagueoflegends.winetricks would say that:

You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.

Using winetricks 20190912-next - sha256sum: 192dadb0ef20e6925552c6ac6e43b5ea4956ee1ff401948686ca929b54f5660e with wine-4.20 (Staging) and WINEARCH=win64

Is it possible that for some reason snap-wine is x64 instead of 32bit? Could that explain persistence of the fonts issue that doesn't happen to other people?

Getta91 commented 4 years ago

Before creating your wineprefix, you should do: export WINEARCH=win32

Le dim. 24 nov. 2019 21:40, Ignacy notifications@github.com a écrit :

I've spend a considerable amount of time on it today. I've upgraded Ubuntu 19.04 to 19.10, then installed OBS wine repo (howto) https://www.linuxuprising.com/2019/09/how-to-install-wine-staging-development.html . From the OBS repo I've installed i386 versions of winehq-staging and wine-staging using: sudo apt install --install-suggests winehq-staging:i386 wine-staging:i386 Now league can be run using system wine with: wine $HOME/snap/leagueoflegends/....../LeagueClient.exe Had to block the new launcher by changing owner of the launcher files.

All this allows to install and run the launcher and go past the character select. However, the game after character select doesn't work :(

I've stumbled upon something when trying to run winetricks on snap league: leagueoflegends.winetricks would say that:

You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.

Using winetricks 20190912-next - sha256sum: 192dadb0ef20e6925552c6ac6e43b5ea4956ee1ff401948686ca929b54f5660e with wine-4.20 (Staging) and WINEARCH=win64

Is it possible that for some reason snap-wine is x64 instead of 32bit? Could that explain persistence of the fonts issue that doesn't happen to other people?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mmtrt/leagueoflegends/issues/96?email_source=notifications&email_token=AMCKLYLHQOTTXEZJM4LF3FDQVLREBA5CNFSM4JPLRTG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFAULGQ#issuecomment-557925786, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCKLYKIJFQHNYYF7PMJ4CTQVLREBANCNFSM4JPLRTGQ .

mmtrt commented 4 years ago

updated League + os updated as well snaps on my laptop which were not done since months on this system and then I recreated wineprefix and booted up game all worked as expected.

OS Manjaro Linux

Screenshot_20191125_135750

Ignacy-s commented 4 years ago

@mmtrt @Getta91 Thanks for your support guys! You are awesome! In two weeks I'll be back home and I'll have another go. I'd rather try Manjaro or Arch than install Windows ^^

drupalranger commented 4 years ago

So for me the game partly works, it still fails to open some screens like Hotkey list in settings, Collection page, I've tried to reinstall it again, and scanned logs again, I see strange segfaults, this is what I get when I try to open Collections page :

000028.287|  ERROR| Assertion failed!
#####################
000117.931|  ERROR| BrowserProcess::OnRenderProcessTerminated browserId = 1, status = "segmentation fault"
000117.961|  ERROR| Browser Process Info:
Process Memory:
    1193M free.
    2548M reserved.
     353M commited.
    Largest free block is 1022M.

    PageFaultCount: 0
    PeakWorkingSetSize: 279M
    WorkingSetSize: 243M
    QuotaPeakPagedPoolUsage: 0M
    QuotaPagedPoolUsage: 0M
    QuotaPeakNonPagedPoolUsage: 0M
    QuotaNonPagedPoolUsage: 0M
    PagefileUsage: 186M
    PeakPagefileUsage: 186M
    PrivateUsage: 0M

Process Info:
    ThreadCount: 38
000117.961|  ERROR| Render process terminated with exit code -3

#################

LeagueClientUxRender caused ACCESS_VIOLATION in module LeagueClientUxRender

Write to location 00000000 caused an access violation.

User Information:
    User Name: drupalranger
    Computer Name: tornado

OS Info:
    Windows XP Service Pack 2 Professional, x64

System Information:
    12 processor(s), type 586.
    31% of memory in use.
    31756M total physical memory.
    21809M free physical memory.
    35664M total paging file.
    25717M free paging file.
    4095M total virtual memory.
    4095M free virtual memory.

Process Memory:
    1126M free.
    2438M reserved.
     530M commited.
    Largest free block is 129M.

    PageFaultCount: 0
    PeakWorkingSetSize: 444M
    WorkingSetSize: 435M
    QuotaPeakPagedPoolUsage: 0M
    QuotaPagedPoolUsage: 0M
    QuotaPeakNonPagedPoolUsage: 0M
    QuotaNonPagedPoolUsage: 0M
    PagefileUsage: 326M
    PeakPagefileUsage: 326M
    PrivateUsage: 0M

Process Info:
    ThreadCount: 37
Ignacy-s commented 4 years ago

$: WINEARCH=win32 leagueoflegends.winecfg > wine: WINEARCH set to win64 but '/home/igi/snap/leagueoflegends/common/.wine' is a 32-bit installation.

Wine inside the snap doesn't read the env variable. Is there a way to set a variable inside of the snap? Tried with export too, echo $WINEARCH returns win32, but the snap complains that the WINEARCH is set to win64.

mmtrt commented 4 years ago

wine arch env is hardcoded thats why it wouldn't accept user define env, I'll make it user changeable in morning.

Ignacy-s commented 4 years ago

Thanks Taki!

On Tue, Dec 24, 2019, 20:13 Taqi Raza <> wrote:

Preview: wine arch env is hardcoded thats why it wouldn't accept user --> SPAM? CLICK to BLOCK https://dnt.abine.com/#/block_email/bd1cb5c6@opayq.com/

This email is Masked using Blur - it was sent from github.com to bd1cb5c6@opayq.com (your reply stays Masked). To protect your privacy https://www.abine.com/faq.html#caniaddcc, do not forward this message, or add new recipients like CCs or BCCs.

Thanks for being a Blur customer! If you haven't yet, [ Try DeleteMe at a discount. https://joindeleteme.com/?utm_campaign=blur-offer&utm_source=masked-email-header ]

wine arch env is hardcoded thats why it wouldn't accept user define env, I'll make it user changeable in morning.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mmtrt/leagueoflegends/issues/96?email_source=notifications&email_token=AF3UWI5Y4PCBDOCJSYF5MB3Q2JNO5A5CNFSM4JPLRTG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHTRPDY#issuecomment-568792975, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF3UWI7RAMZJSRVCFOY6RSTQ2JNO5ANCNFSM4JPLRTGQ .

Ignacy-s commented 4 years ago

@mmtrt Can confirm that it's a purely Ubuntu related issue. Got the game working on Manjaro without any work, just pulled the league snap, refreshed wine snaps to candidates and the game worked without fixing fonts or anything like that. Thanks again taki!

Makes me wonder if the workarounds shouldn't be removed from the README, eventually replaced with suggestion to use another system. What do you think?