[Bug 45430] Improve diagnostics of 'D3DxxCreateDevice' failures for warp driver type ( D3D10_DRIVER_TYPE_WARP or D3D_DRIVER_TYPE_WARP)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 13 18:04:57 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45430

--- Comment #3 from Anastasius Focht <focht at gmx.net> ---
Hello Henri,

with the patch applied it prints the diagnostics and then runs into bug 45431
("Crash Bandicoot N. Sane Trilogy (Steam, D3D11 game) deadlocks in
IDXGISwapChain::ResizeTarget while trying to resize window") due to hardware
fallback.

--- snip ---
$ pwd
/home/focht/wine-games/wineprefix64-cb/drive_c/Program Files (x86)/Crash
Bandicoot N Sane Trilogy

$ wine ./CrashBandicootNSaneTrilogy.exe -help

Usage: game  [OPTION] ... @[FILE]
Game Engine

Testing:
  -st, --smoketest ARG         Execute smoketest.
  -stm, --smoketestmap ARG     Map(s) being smoke tested
  -sth, --smoketestheroes ARG  Hero(s) being smoke tested
  -fst, --finalsmoketest       Final build smoke test (cruder version of full
smoketest)
  -gt, --gametest              Execute Game Engine Tests
  -cc, --codecoverage ARG      Run code coverage.
  -sttr, --smoketestthreadedrenderAllow threaded render during smoketest
(breaks golden images)
  -sp, --saveprogress          If we want to save our SmokeTest progress
  -dx, --debugxml              Load the debug.xml file during smoketest.
  -frh, --forcereporthandler   Force the report handler callback.
  -mm, --memorymonitor         Enable Memory Monitor
  -sr, --setregistry ARG       Set a registry key
  -wfdh, --waitForDurangoHost  Spam CTRL-Z at the end of smoketest so that
DurangoHost.py can quit gracefully.
  -om, --overridemap ARG       Map to use in place of debug map from
configuration file.

Build:
  -b, --build                  Attempt to start and connect to a build server
instance just for this process.
  -bs, --build-server ARG      Address and port of a build server
(localhost:1000)
  -ba, --build-arguments ARG   Command-line arguments to pass to the build
server
  -bfd, --build-final-data     Request final data from the build server.
  -ps4dm, --ps4developmentmode PS4 Development Mode

Online:
  -mmtid, --matchmaking-title-id ARGThe title id to use for online matchmaking

Misc:
  -pc, --primarycontroller ARG The primary controller to use [1,2,3,4] when
launching into a map.
  -wd, --windowdatafile ARG    The window settings datafile to use. Defaults to
WindowData.igx.
  -h, --host ARG               Name of host computer.
  -dn, --dotnet ARG            Port to use for DotNet debugging (7265)
  -wfdd, --waitForDotNetDebuggerWait for the DotNet debugger to fully connect
before starting a level.
  -wfvd, --waitForVscDebugger  Wait for the Visual Script debugger to fully
connect before starting a level.
  -gc, --gamecomm ARG          Port to use for Game Communication (30001)
  -hm, --headlessMode          Run in headless mode.
  -gm, --gameMode ARG          Set the game mode.
  -warp, --dx11warp            Use the DX11 Warp software renderer on Windows
platforms.

Cutscene:
  -cdf, --cutscene-dump-frames Dump frames when playing cutscenes.
  -ca, --cutscene-animation ARGPlay a specific animation in a cutscene after
level load.
  -cn, --cutscene ARG          Play cutscene immediately after level load.

Havok:
  -hdp, --havok-debugger-port ARGWhich port to use for the havok debugger.

Online:
  -join, --join ARG            Gamertag to auto-join.

Misc:
  -4kf, --4k-fullscreen        Forces 4K resolution and fullscreen in the
window.
  -4kb, --4k-borderless        Forces 4K resolution and borderless in the
window.
  -perf, --perf                Enable perf reporter for levels at a 1080p
resolution.
  -perf4k, --perf4k            Enable perf reporter for levels at a 4k
resolution.
  -gpuWrite, --gpuWrite        Enable writing GPU info to file on PC
--- snip ---

Explicitly requesting DX11 Warp software renderer via '-warp' command line
option:

--- snip ---
$ wine ./CrashBandicootNSaneTrilogy.exe -warp
...
002e:fixme:win:EnumDisplayDevicesW ((null),0,0x23e6d0,0x00000000), stub!
002e:fixme:d3d11:D3D11CreateDevice WARP driver not implemented, falling back to
hardware.
002e:fixme:dxgi:dxgi_factory_MakeWindowAssociation iface 0xc2fb90, window
0x10058, flags 0x2 stub!
005e:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering, Scaling and
SwapEffect.
005e:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering, Scaling and
SwapEffect.
002e:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
002e:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
002e:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
002e:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
002e:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
0056:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier
0x800000c2. 
...
0056:fixme:d3d_shader:shader_sm4_read_instruction_modifier Unhandled modifier
0x00155543.
[Streaming] Loaded chunk 'shaders_win64:MP_PERMANENT' in 1179ms (load: 1179ms
pending: 0ms)
0060:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
0060:fixme:d3d11:d3d11_immediate_context_Flush iface 0xc39da0 stub!
002e:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x51bc20a0, format
DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x23f950, desc (nil) partial
stub!
002e:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x51bc20a0, format
DXGI_FORMAT_R8G8B8A8_UNORM, flags 0, mode_count 0x23f950, desc 0x1de959d0
partial stub!
002e:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering, Scaling and
SwapEffect.
002e:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering, Scaling and
SwapEffect.
002e:fixme:dxgi:d3d11_swapchain_GetDesc Ignoring ScanlineOrdering, Scaling and
SwapEffect.
005e:err:ntdll:RtlpWaitForCriticalSection section 0x7ff9534afbc0
"/home/focht/projects/wine/mainline-src/dlls/wined3d/wined3d_main.c:
wined3d_cs" wait timed out in thread 005e, blocked by 002e, retrying (60 sec) 
--- snip ---

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list