Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocket League crashing with 0.10 #93

Closed
AccountOneOff opened this issue May 11, 2019 · 42 comments
Closed

Rocket League crashing with 0.10 #93

AccountOneOff opened this issue May 11, 2019 · 42 comments

Comments

@AccountOneOff
Copy link

AccountOneOff commented May 11, 2019

I've crashed three times now during competitive unfortunately I had logging disabled. Opening this in case it happens again.

Software information

Settings: Screenshot from 2019-05-07 02-18-38

System information

  • GPU: GTX 960
  • Driver: 418.56
  • Wine version: Staging 4.6
  • D9VK version: 0.10

Apitrace file(s)

Log files

@tannisroot
Copy link

Can you try with latest master?

@AccountOneOff
Copy link
Author

AccountOneOff commented May 11, 2019

RocketLeague_d3d9.log

Makes sense it's a 32bit game after all.

More: rl-d9vk-crash.txt

@tannisroot
Copy link

So it still crashes with master? It's just there were some fixes that were meant to address allocation issues.
If the issue persists, try setting WINE_LARGE_ADDRESS_AWARE envar to 1.

@misyltoad
Copy link
Owner

This should be fixed by 6573579, can you retest?

@AccountOneOff
Copy link
Author

@tannisroot yup, used that with that follow up. @Joshua-Ashton will retest later when I have time.

@AccountOneOff
Copy link
Author

This time it crashed in Training while it was loading up a match.

RocketLeague_d3d9.log

Warning, Unknown language extension . Defaulting to INT
ScriptWarning, URL is empty


	WebCache_X Transient.WebCache_X_0


	Function ProjectX.WebCache_X:SyncDataInternal:0020


Script call stack:
	Function TAGame.CDNObject_TA:Construct
	Function TAGame.CDNObject_TA:HandleUrlChanged
	Function TAGame.CDNObject_TA:Init
	Function ProjectX.CacheTimer_X:SetEnabled
	Function ProjectX.CacheTimer_X:OnEnabled
	Function ProjectX.CacheTimer_X:OnExpired
	Function TAGame.CDNObject_TA:HandleCacheExpired
	Function ProjectX.OnlineResource_X:SyncData
	Function ProjectX.OnlineResource_X:RetrySync
	Function ProjectX.WebCache_X:SyncData
	Function ProjectX.WebCache_X:SyncDataInternal

RPC Error (failure): Service=Clubs/GetPlayerClubDetails, Type=ClubNotFound, Code=-1, Message=
\src\common\html\chrome_ipc_client.cpp (763) : Assertion Failed: Failed to connect to master html process, created shared memory (spawn time 60.12)
PsyNetStaticData could not find class 'PsyNetUrl_X'
FJsonStructReader - cannot find property URL because Struct has not been set.
Warning, Failed to load 'SwfMovie GFx_LoadingScreen.LoadingScreen': Failed to find object 'SwfMovie GFx_LoadingScreen.LoadingScreen'
AL lib: (EE) ReleaseThreadCtx: Context 0x7c4728c0 current for thread being destroyed, possible leak!
Timed out waiting for game mapping!
Setting breakpad minidump AppID = 252950
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198259545524 [API loaded no]

@misyltoad
Copy link
Owner

That's not my error.

@Bettehem
Copy link

I have Rocket League crashing after installing d9vk too. The game won't start again before I restart steam completely. The crashes seem to happen at random intervals, so I don't quite know what specific event in game would cause this.

@kelvinhbo
Copy link

kelvinhbo commented Jun 2, 2019

I have the same problem with Rocket League, it just crashes randomly. None of this options work PROTON_FORCE_LARGE_ADDRESS_AWARE
WINE_LARGE_ADDRESS_AWARE
Too bad because the performance is way better using D9VK than with the native port , I hope this gets resolve soon.

@misyltoad
Copy link
Owner

Logs and any crash reports would be helpful

@kelvinhbo
Copy link

Sorry about that, here is the log.

steam-252950.log

@K0bin
Copy link
Contributor

K0bin commented Jun 2, 2019

err:   DxvkMemoryAllocator: Memory allocation failed
  Size:      223608832
  Alignment: 256
  Mem flags: 0x7
  Mem types: 0x681

If the game is 32bit, please try setting the Large Address Aware flag.

@kelvinhbo
Copy link

kelvinhbo commented Jun 2, 2019

I have tried this two options both on the set launch options of Steam and on the user_settings.py in the Proton folder, but the game still crashes randomly.

Steam launch option:
PROTON_FORCE_LARGE_ADDRESS_AWARE=1 %command%
WINE_LARGE_ADDRESS_AWARE=1 %command%

user_settings.py
"PROTON_FORCE_LARGE_ADDRESS_AWARE":"1",
"WINE_LARGE_ADDRESS_AWARE":"1",

@z0n
Copy link

z0n commented Jul 11, 2019

Hi, I'm also experiencing crashes in Rocket League using D9VK 0.12. I've installed it using Steam Play and am running it using Lutris (Lutris runtime is disabled in the options though).

System information

  • OS: Arch Linux
  • GPU: GTX 1080 Ti
  • Driver: 430.26
  • Wine version: Proton 4.2 installed via Steam
  • D9VK version: 0.12

I've taken inspiration from this Lutris install script, I didn't install BakkesMod though.

My environment variables as configured in Lutris:

  • PROTON_FORCE_LARGE_ADDRESS_AWARE: 1
  • WINE_LARGE_ADDRESS_AWARE: 1
  • VK_INSTANCE_LAYERS: VK_LAYER_LUNARG_standard_validation
  • DXVK_LOG_LEVEL: debug
  • __GL_THREADED_OPTIMIZATIONS: 1
  • mesa_glthread: 'true'

Here are some logs, hope they help:

This crash happened in the middle of a 3vs3 competitive game. I've also experienced crashes and freezes when launching the game (before the first logo) or in the main menu.

Feel free to ask if you need more information.

Edit: Just noticed 0.13 is out, I did a quick test and I still see crashes/freezes, I didn't take any new logs though.

@Bettehem
Copy link

I have noticed that the crashes occur most often when going to the main menu after playing a match

@z0n
Copy link

z0n commented Aug 27, 2019

Decided to try 0.20 and unfortunately, it still crashes occasionally.

@kelvinhbo
Copy link

kelvinhbo commented Sep 1, 2019

I have been without crashes in this game for about 3 days now, not an ideal solution but completely disabling swap memory seems to be doing the trick for me.
Disabled the swap point in /etc/fstab, and set /proc/sys/vm/swappiness to 0
I also installed this custom version of Proton https://github.com/GloriousEggroll/proton-ge-custom/releases/tag/4.14-GE-2

My System:
Arch x86_64
GFX Card: GTX 1080
NVIDIA Driver Version: 435.21
CPU: Intel 4700k
System Memory: 32GB
Rocket League Video Settings: Everything max @ 3440x1440p

@kelvinhbo
Copy link

Never mind, it still crashes, same memory problem.

@raiscan
Copy link

raiscan commented Sep 24, 2019

I have the same issue with v0.90-1931-gd5ebe85ac (the one bundled in proton-4.11-6); crashes
randomly when joining a new match (usually more likely as time goes on), or when party members switch their car a lot in the main menu.

steam-252950.log

This log is from me launching the game and heavily navigating around the garage-related menus. It triggered it after a few minutes, but it happens much quicker when you are in an online party, too.

I'm happy to help with any testing as d9vk makes Rocket League perform phenomenally on Linux!

misyltoad added a commit that referenced this issue Oct 29, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
@misyltoad
Copy link
Owner

Please test with https://git.froggi.es/joshua/d9vk/-/jobs/954

@lodriguez
Copy link

lodriguez commented Oct 29, 2019

still crashing
steam-252950.log

I tried again and got the same result. Game freezes after 2-3 games.

err:   DxvkMemoryAllocator: Mapping memory failed with VK_ERROR_MEMORY_MAP_FAILED
err:   DxvkMemoryAllocator: Mapping memory failed with VK_ERROR_MEMORY_MAP_FAILED
err:   DxvkMemoryAllocator: Mapping memory failed with VK_ERROR_MEMORY_MAP_FAILED
err:   DxvkMemoryAllocator: Memory allocation failed
err:     Size:      33554432
err:     Alignment: 16
err:     Mem flags: 0x6
err:     Mem types: 0xf
err:   Heap 0: 1792 MB allocated, 1163 MB used, 1884 MB allocated (driver), 3363 MB budget (driver), 3840 MB total
err:   Heap 1: 16 MB allocated, 4 MB used, 16 MB allocated (driver), 197 MB budget (driver), 256 MB total
err:   Heap 2: 992 MB allocated, 701 MB used, 1131 MB allocated (driver), 3713 MB budget (driver), 4096 MB total
err:   DxvkMemoryAllocator: Memory allocation failed

misyltoad added a commit that referenced this issue Nov 2, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
misyltoad added a commit that referenced this issue Nov 9, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
@misyltoad
Copy link
Owner

Hi I'm completely unable to replicate this crash... I've played a few matches (albeit with bots as I don't have any friends with this game)

Is anyone here playing on AMD and experiencing this?

If you're playing on NV, please ensure you have the latest D9VK and the latest NV drivers (and whatever fix was needed for dxvk 1100 for dkms stuff)

@lodriguez
Copy link

would an apitrace help you to track it down?

@misyltoad
Copy link
Owner

No, I own the game.

@Nonecaster
Copy link

I'm playing on AMD and experiencing crashes using D9VK (Proton 4.11-8). The crashes mostly happen before/after online matches, and more frequently if I choose "leave match" right after a match has ended.

@misyltoad
Copy link
Owner

Can you test on master?

@Nonecaster
Copy link

I tried it briefly (hopefully did it right), and it didn't crash. However, the game hung on every menu screen for a long time, and the initial load was very long too. I only had time to play two matches but the gameplay seemed fine. I took a few screenshots if you want to see the DXVK HUD and game stats which you can find here: https://www.dropbox.com/sh/6yz5vqlmgeq4ndn/AADUMoAOFbv8Hbfu40nT4PbIa?dl=0

Sorry for the large images. I'm playing at 4K and only realized to change the resolution for the last one!

misyltoad added a commit that referenced this issue Nov 17, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
@kelvinhbo
Copy link

With Proton 4.11-8 the game runs but extremely laggy to the point where is unplayable, with D9VK version .30 the game crashes constantly when playing online, I had to downgrade to Proton 4.11-7, with this version the game is stable and works great.

@misyltoad
Copy link
Owner

misyltoad commented Nov 20, 2019

This isn't my bug, see the Proton issue for Rocket League.

misyltoad added a commit that referenced this issue Nov 20, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
@VGHS-lucaruby
Copy link

I have tested with the latest master using Proton-TKG to circumvent proton 4.11.8's loading issues.
The game is still crashing after a few games sadly :(
Here are my D3D9 log and DXGI logs hope these help in some way but they are the same as my others from earlier versions :(
RocketLeague_d3d9.log
RocketLeague_dxgi.log

@misyltoad
Copy link
Owner

I can't fix it without a solid repro case and I've played 5 matches and got no crashes here.

@VGHS-lucaruby
Copy link

I'm more than happy to help you, either test or work out differences that make other peoples crash repeatably and yours not.

@misyltoad
Copy link
Owner

Well the bug only seems to be happening on people with NV atm, I am curious as to if anyone can repro it on AMD.

@VGHS-lucaruby
Copy link

Nonecaster, says he's on AMD with the same issues. Though he could not test master due to 4.11.8 issues.

@kelvinhbo
Copy link

Keep in mind that the crashes don't happen for me on my Fedora GTX1060 laptop and my Arch Desktop with a GTX 1080 ti while using Proton 4.11-7.

@VGHS-lucaruby
Copy link

Strange though as people seem to have been having the issue on 4.11-7 aswell.

I have just been looking around Reddit to see if this issue has ever been present on windows, which its seems to have been. I'm starting to think that this is an issue with the game which windows does a better job of handling vs DXVK but I really hope not, as the chances of Pysonix fixing an issue like that.

I've been doing testing most of the day trying to find the cause but I'm no closer :( so back to trying to find a cause lol

@kelvinhbo
Copy link

The game is not the problem I have been playing it since it came out on Windows on a multitude of cards, never had the crash there, the native Linux port is bad, you get a fraction of the frame rate and the controls have a huge delay, for me with D9VK the game actually runs better than on Windows.

Try this:
Delete this folder: ~/.local/share/Steam/steamapps/compatdata/252950/
Then install Proton 4.11-7 on: ~/.local/share/Steam/compatibilitytools.d/

@VGHS-lucaruby
Copy link

I'm in the process of trying a fresh install with the latest master release and have only had 2 crashes on the initial startup after the reinstall so far but will have to wait and see if there are any in-game. If I do crash time to try 4.11-7, and yes I find it super unlikely to be the game but I thought I throw out the fact that this issue has also been seen on windows with this title .

@VGHS-lucaruby
Copy link

VGHS-lucaruby commented Nov 23, 2019

Well just played for over an hour now on a fresh prefix and install of RL with the latest master DXVK and Proton-TKG. This is much longer than I had been able to in the past so I believe my prior statement that master doesn't work is wrong and it does, it was likely that my prefix was messed up from previous version/crashes.

Edit:
Well I take all of that back lol, after a restart of the game its back to crashing

misyltoad added a commit that referenced this issue Nov 26, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
misyltoad added a commit that referenced this issue Nov 27, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
misyltoad added a commit that referenced this issue Dec 6, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
misyltoad added a commit that referenced this issue Dec 13, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
misyltoad added a commit that referenced this issue Dec 16, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
misyltoad added a commit that referenced this issue Dec 16, 2019
…re by default

This allows us to use more than 4GB of VRAM in games.

This behaviour changed in the Fall Creators update (https://www.neowin.net/news/windows-10-fall-creators-update-fixes-the-directx-9-memory-allocation-bug)
But lets keep it around in case some game depend on the old behaviour! (It's D3D9 after all...)

May impact #93, #170, #383 and #438
@cain05
Copy link

cain05 commented Dec 20, 2019

I tried the game the other day, and after a match it froze and I got a pop up saying it ran out of video memory, similar to what's happening in Borderlands 2 when I have textures set above medium. #170 I was using the newest proton, 4.11-11 I think it is.

@VGHS-lucaruby
Copy link

This issue has for me at least gotten better to the point where to only crashes in menus but the issue is still very much present after a few games. As I said before I am happy to offer up my system to help you test as you have stated you can not reproduce the issue.

@z0n
Copy link

z0n commented Dec 21, 2019

It's still crashing to desktop for me during matches (happened once in 2vs2 competitive today).
Other than that, it crashed a few times after casual 2vs2 and 3vs3 matches. I can play a few matches without crashes but it's still not fully working unfortunately.
My current setup:

  • OS: Arch Linux
  • Kernel: 5.4.5-1-ck-skylake
  • GPU: GTX 1080 Ti
  • NVIDIA driver: 440.44
  • Proton version: 4.11-11 with PROTON_USE_D9VK=1

I didn't catch any logs unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests