protonscr

Cant start D2R "Failed to initialize graphic device"

vkd3dclosed
HansKristian-Work/vkd3d-proton#815 · opened 2021-09-27 by jerrytt · updated 2021-09-27 · 6 comments · github
Jjerrytt 2021-09-27 github

Diablo II Resurrected can't start
"Failed to initialize graphic device"

cmd:"DXVK_HUD=1 VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json DXVK_CONFIG_FILE=./dxvk.conf WINEPREFIX=/home/jerry/Games/d2r VKD3D_CONFIG=vk_debug VKD3D_DEBUG=trace wine D2R.exe"

output:

0268:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0278:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000420FE10
0268:fixme:exec:SHELL_execute flags ignored: 0x00000100
0288:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0288:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
0288:fixme:wbemprox:enum_class_object_Next timeout not supported
warn:  DXGIDeclareAdapterRemovalSupport: Stub
warn:  CreateDXGIFactory2: Ignoring flags
info:  Game: D2R.exe
info:  DXVK: v1.9.2-1-gdf578732
info:  Found config file: ./dxvk.conf
info:  Effective configuration:
info:    dxgi.nvapiHack = False
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
0288:fixme:ddraw:ddraw7_Initialize Ignoring guid {e2d0de6a-2bd3-848d-d8dd-796b9a383fd8}.
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  Quadro T1000:
info:    Driver: 470.63.1
info:    Vulkan: 1.2.175
info:    Memory Heap[0]:
info:      Size: 4096 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:    Memory Heap[1]:
info:      Size: 47956 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[8]: Property Flags = 0x6
info:      Memory Type[9]: Property Flags = 0xe
info:    Memory Heap[2]:
info:      Size: 246 MiB
info:      Flags: 0x1
info:      Memory Type[10]: Property Flags = 0x7
616:info:vkd3d_config_flags_init_once: VKD3D_CONFIG='vk_debug'.
616:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.4.0.
616:info:vkd3d_instance_init: vkd3d-proton - build: cafe99e223296e2.
616:err:vkd3d_instance_init: Failed to enumerate instance layers, will not use VK_LAYER_KHRONOS_validation!
616:err:vkd3d_create_vk_device: Failed to create Vulkan device, vr -3.
616:fixme:hresult_from_vk_result: Unhandled VkResult -3.
0288:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0244:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FD70

==========================================================
info: Quadro T1000:
info: Driver: 470.63.1
info: Vulkan: 1.2.175
Manjaro Linux 5.14.2-1-MANJARO

I was able to play on windows with same hardware .but failed on linux

HHansKristian-Work maintainer 2021-09-27 github

Usual nvidia modprobe issue.

Jjerrytt 2021-09-27 github

Usual nvidia modprobe issue.

I can play other game without problem . diable iii .
only dx12 game will cause error

Jjerrytt 2021-09-27 github
 lsmod |grep nvi
nvidia_drm             73728  6
nvidia_modeset       1200128  4 nvidia_drm
nvidia_uvm           1204224  0
nvidia              35319808  281 nvidia_uvm,nvidia_modeset
drm_kms_helper        303104  2 nvidia_drm,i915
drm                   585728  11 drm_kms_helper,nvidia,nvidia_drm,i915,ttm

Jjerrytt 2021-09-27 github

Usual nvidia modprobe issue.

what should i do ? driver issue?

OOschowa 2021-09-27 github

Run nvidia-modprobe -u -c=0 before trying to launch the game.

Jjerrytt 2021-09-27 github

Run nvidia-modprobe -u -c=0 before trying to launch the game.

wow. that works !!
Thanks !