Skip to content

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

Open

Description

@ranplayer

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

Activity

  1. Blisto91 commented on Aug 25, 2023

    @Blisto91
    Collaborator

    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.

  2. ranplayer commented on Aug 25, 2023

    @ranplayer
    Author

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

  3. K0bin commented on Aug 25, 2023

    @K0bin
    Collaborator

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

  4. ranplayer commented on Aug 26, 2023

    @ranplayer
    Author

    Yes... it didn't

  5. K0bin commented on Aug 26, 2023

    @K0bin
    Collaborator

    Can you make one with DXVK where it does crash?

  6. ranplayer commented on Aug 27, 2023

    @ranplayer
    Author

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

  7. mbriar commented on Aug 27, 2023

    @mbriar
    Contributor

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

  8. Blisto91 commented on Aug 27, 2023

    @Blisto91
    Collaborator

    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.

  9. ranplayer commented on Aug 27, 2023

    @ranplayer
    Author

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

  10. Blisto91 commented on Aug 29, 2023

    @Blisto91
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions