protonscr

[d3d11] Risk of Rain 2 object flickering.

dxvkclosed
doitsujin/dxvk#3735 · opened 2023-12-06 by m-soweli · updated 2025-01-21 · 6 comments · github
Mm-soweli 2023-12-06 github

When playing Risk of Rain 2 once in game, parts of the level pop in and out of view, even if the player is not moving. Sometimes objects flicker in and out of view rapidly. It seems to depend on the proximity to the camera.

Software information

  • Name: Risk of Rain 2
  • Steam App ID: 632360
  • Steam Build ID: 12605776

System information

  • GPU: Intel(R) Xe Graphics (TGL GT2) [8086:9a49]
  • Driver: Mesa 23.2.1 (LLVM 16.0.6)
  • Wine version: Proton 1701294061 experimental-8.0-20231129
  • DXVK version: v2.3-19-g91f7f43c35f2402

Apitrace file

steam-632360.trace

Generated with DXVK because setting PROTON_USE_WINED3D=1 resulted in a crash at launch.

Log files

steam-632360.log

Mm-soweli 2023-12-10 github

I have tested this game with forcing DirectX 12 instead of DirectX 11 and I cannot reproduce the flickering, so I do not think that this is an issue with Mesa. Unfortunately the game crashes frequently when using DX12.

Mmbriar 2023-12-10 github

DX11 and DX12 can trigger different bugs in the driver, on Intel I would always suspect a Mesa/driver issue first, unless it's proven to happen on AMD/Nvidia as well.

Mm-soweli 2023-12-15 github

You are probably correct. Looking into this it's rather likely that this is this mesa bug. I will add to that report with my traces.

BBlisto91 2024-12-21 github

@m-soweli Is this still an issue?
I've tried testing it with my new Arc b580 but have been unable to reproduce so far. The earliest mesa i have been able to test with is 24.3.0 24.2.2

BBlisto91 2025-01-14 github

@m-soweli Double friendly ping

Mmia-soweli 2025-01-21 github

@m-soweli Is this still an issue? I've tried testing it with my new Arc b580 but have been unable to reproduce so far. The earliest mesa i have been able to test with is ~24.3.0~ 24.2.2

Whoops. I don't have access to that account anymore. A workaround was developed in Mesa, with a test branch here and was merged so this should be fixed.

Edit: Ran a quick test on Fedora 41 on the same hardware and the issue is not present, so this can probably be closed.

Launch options