protonscr

Rise of the Tomb Raider crashes with DXGI_ERROR_DEVICE_RESET

dxvkclosed intel anv
doitsujin/dxvk#3147 · opened 2022-12-25 by github-anton · updated 2023-04-04 · 6 comments · github
Ggithub-anton 2022-12-25 github

Rise of the Tomb Raider crashes in Soviet Installation 20% with DXGI_ERROR_DEVICE_RESET.

Second d3d11.log from this modified files:

dxvk_device.cpp:

void DxvkDevice::waitForIdle() {
this->lockSubmission();
VkResult status = m_vkd->vkDeviceWaitIdle(m_vkd->device()) ;
if ( status != VK_SUCCESS)
Logger::err(str::format("DxvkDevice: waitForIdle: Operation failed: ", status));
this->unlockSubmission();
}

d3d11_swapchain.cpp:

HRESULT STDMETHODCALLTYPE D3D11SwapChain::Present(
UINT SyncInterval,
UINT PresentFlags,
const DXGI_PRESENT_PARAMETERS* pPresentParameters) {
auto options = m_parent->GetOptions();

if (options->syncInterval >= 0)
  SyncInterval = options->syncInterval;

if (!(PresentFlags & DXGI_PRESENT_TEST)) {
  bool vsync = SyncInterval != 0;

  m_dirty |= vsync != m_vsync;
  m_vsync  = vsync;
}

HRESULT hr = S_OK;

if (!m_presenter->hasSwapChain()) {
  RecreateSwapChain(m_vsync);
  m_dirty = false;
}

if (!m_presenter->hasSwapChain())
  hr = DXGI_STATUS_OCCLUDED;

VkResult status = m_device->getDeviceStatus() ;
if (status != VK_SUCCESS) {
  hr = DXGI_ERROR_DEVICE_RESET;
  Logger::err(str::format("Present(): status=", status));
}

...

If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Name of the game, settings used etc.

System information

  • GPU: Intel iRISxe
  • Driver: mesa
  • Wine version: wine-8.0-rc1 (Staging)
  • DXVK version: dxvk-master-20221215

Apitrace file(s)

Don't run with apitrace files.

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

Ddoitsujin maintainer 2022-12-25 github

Yeah, that's a GPU driver crash. Game kinda runs fine on AMD/Nvidia so probably just a result of ANV not really getting as much testing as it deserves, especially since a native version exists.

IIglu47 2022-12-26 github

just another fresh confirmation: seems no crash at Nvidia Pascal.

Software information

Rise of the Tomb Raider [391220]
(non-Exlusive) Fullscreen 1080p, High preset

System information

Apitrace files

Log files

*The apitrace can be replayed on linux with Apitrace and something like wine64 d3dretrace.exe "C:/ROTTR.trace" command.

SSchlaefer 2023-01-09 github

The games crashes reproducible on DXVK (and even Linux native) in the game's build-in benchmark at the end of the second benchmark scene here.

System information
GPU: Intel Arc A750
Driver: mesa-git

Ddoitsujin maintainer 2023-01-10 github

If the native Linux version crashes then maybe report that to mesa?

We can't really fix Intel driver problems.

BBlisto91 2023-03-07 github

@github-anton Do i understand correct that this issue has been solved in mesa?

Nothing extracted yet.