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

[d3d9] SkyDrift: crashes on alt+tab #3639

Open
ranplayer opened this issue Aug 25, 2023 · 10 comments
Open

[d3d9] SkyDrift: crashes on alt+tab #3639

ranplayer opened this issue Aug 25, 2023 · 10 comments

Comments

@ranplayer
Copy link

Game crashes if you alt-tab (works fine with WineD3D). I've uploaded an API Trace, but it doesn't crash with it. From the Proton logs, the highlighted errors would be:

err:   DxvkMemoryAllocator: Memory allocation failed
err:     Size:      3145728
err:     Alignment: 16
err:     Mem types: 0,2,3,5,7,8,9,10
err:   Heap  Size (MiB)  Allocated   Used        Reserved    Budget
err:    0:     7908         112          75         111        7756      
err:    1:    12272        2154        1748        1834       11572      
1480.687:012c:0140:trace:seh:raise (22)
terminate called after throwing an instance of 'dxvk::DxvkError'

Software information

  • Game: SkyDrift (Steam Id: 91100)
  • Settings: any

System information

  • GPU: RX 6700 XT
  • Driver: Mesa 23.1.6
  • Wine version: Proton 7.0-6, 8.0-3 and Experimental (2023/08/23)
  • DXVK version: provided by Proton
  • DE: Plasma 5.27.7

Apitrace file(s)

Log files

@Blisto91
Copy link
Contributor

Blisto91 commented Aug 25, 2023

Thank you for the issue.
d3d9.allowDirectBufferMapping = False works around this. Just waiting for a dev to evaluate whether that would be the correct way or not.

@ranplayer
Copy link
Author

@Blisto91 I've just confirmed this workaround works on my end. Thank you for the quick feedback.

@K0bin
Copy link
Collaborator

K0bin commented Aug 25, 2023

It didn't crash when you made that apitrace, did it?

@ranplayer
Copy link
Author

Yes... it didn't

@K0bin
Copy link
Collaborator

K0bin commented Aug 26, 2023

Can you make one with DXVK where it does crash?

@ranplayer
Copy link
Author

Sure... how could I do it with DXVK ? The previously generated one I followed the wiki tutorial.

@mbriar
Copy link
Contributor

mbriar commented Aug 27, 2023

Just set the dll overrides to native instead of native,buildin.

@Blisto91
Copy link
Contributor

Blisto91 commented Aug 27, 2023

When using Proton just dropping the dll's next to the exe should be enough as when dxvk is used as the direct3d library (default) the overrides are already set.

@ranplayer
Copy link
Author

@Blisto91 I did exactly what you said to generate the already attached trace (but the crash doesn't happen)

@Blisto91
Copy link
Contributor

Blisto91 commented Aug 29, 2023

Managed to get one where it crashes with dxvk on Windows https://drive.proton.me/urls/NPBQT1CCNC#ysWLsQjt30Ks

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

No branches or pull requests

4 participants