Please upload an apitrace, I can't do anything without being able to reproduce it.
Is there an easy way to make an apitrace for DX10? https://github.com/doitsujin/dxvk/wiki/Common-issues#apitrace Isn't working for me.
If not could someone else do the trace please. Thanks.
Just do it the regular way, i.e. apitrace.exe trace -a dxgi game.exe. If you have game on Steam, put Z:\path\to\apitrace.exe trace -a dxgi %command% into the launch options.
I did it but it crashes now:
[0820/191013.906:ERROR:network_change_notifier_win.cc(157)] WSALookupServiceBegin failed with: 8
[0820/191014.293:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: gpu-process
[0820/191019.165:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
[0820/191020.399:ERROR:gpu_process_transport_factory.cc(1029)] Lost UI shared context.
[0820/191020.736:INFO:crash_reporting.cc(215)] Crash reporting enabled for process: renderer
apitrace: loaded into F:\ryan.local\share\lutris\runners\winesteam\prefix\drive_c\Program Files\Steam\steamapps\common\Special Edition\DevilMayCry4SpecialEdition.exe
[0820/191022.444:WARNING:cert_verify_proc_win.cc(101)] Unknown error -2146762482 mapped to net::ERR_FAILED
apitrace: tracing to F:\ryan.local\share\lutris\runners\winesteam\prefix\drive_c\Program Files\Steam\steamapps\common\Special Edition\DevilMayCry4SpecialEdition.2.trace
apitrace: warning: caught exception 0xc0000005
apitrace: flushing trace
wine: Unhandled page fault on read access to 0xd690e030 at address 0x17a45f0 (thread 00d4), starting debugger...
What am I doing wrong?
Try with Lutris master. I haven't tested as I don't have any DX10 games but Lutris doesn't currently work with DXVK's DX10.
I found this to work well with game launchers. I've done it lots of times with Lutris:
Download: https://people.freedesktop.org/~jrfonseca/apitrace/apitrace-msvc-latest.7z
apitrace.exe to game.exe and game.exe to game_o.exetrace -a dxgi game_o.exe to steam launch optionsI tried, same issue. Haven't tried lutris master, I will wait for an update.
Hello,
I have the same issue, but I managed to get an apitrace.
I do need to precise that I got this using steam play, and that I have the standard edition (but which seem to have the same engine/problems)
DevilMayCry4_DX10.zip
That trace is 3kb which means something went wrong while recording it. It should be somewhere between 300mb - 5gb
Hmm I am no expert on apitrace, but the crash is almost immediate, so I don't know if it is much surprising that the trace be so small. After that, I did try all method I could find, and the one from AccountOneOff is the one which gave me the trace.
But I do get a crash with trace as follows (Error is the same with wine-staging+dxvk):
Unhandled exception: unimplemented function d3d11.dll.D3D11CoreCreateDevice called in 32-bit code (0x7bc541f1).
Okay, after investigation the bug happens without dxvk anyway, so I guess trace or not is not important here... Will report to proton/wine instead.
Did you run winetricks d3dx10_43 -- first?
Please apply the following patch to DXVK, re-run the game and post the resulting log files. It won't solve any problems, but rather add a more useful error message. It appears that it uses an image format that DXVK currently doesn't support.
Here goes the log, with your patch.
But with every new prefix I create, I can no longer obtain that same error... Only on a steam prefix I reused and with Steam Play/proton...
Instead there I get a good old page fault... (I joined the terminal log too). I also no longer can get an apitrace, I suppose the pf kills apitrace before the dump...
Guess I will try to make a dump with reinstalling patched dxvk on my other prefix tomorrow morning too.
dxvk-log.zip
The new log is useless because it doesn't contain the old error. Please make sure to get it running again, otherwise we'll never find out what's going on here.
Here is the log I get, with patched dxvk and the right error. I don't see any sign of your new exception, but now the wine debugger fail and I can 't get a full backtrace.
DXVK log:
1 info: Game: DevilMayCry4_DX10.exe
2 info: DXVK: v0.70-8-g73cbf5b
3 warn: OpenVR: Failed to locate module
4 info: Enabled instance extensions:
5 info: VK_KHR_get_physical_device_properties2
6 info: VK_KHR_surface
7 info: VK_KHR_win32_surface
8 info: GeForce GTX 1070:
9 info: Driver: 396.51.0
10 info: Vulkan: 1.1.70
11 info: Memory Heap[0]:
12 info: Size: 8192 MiB
13 info: Flags: 0x1
14 info: Memory Type[7]: Property Flags = 0x1
15 info: Memory Type[8]: Property Flags = 0x1
16 info: Memory Heap[1]:
17 info: Size: 12016 MiB
18 info: Flags: 0x0
19 info: Memory Type[0]: Property Flags = 0x0
20 info: Memory Type[1]: Property Flags = 0x0
21 info: Memory Type[2]: Property Flags = 0x0
22 info: Memory Type[3]: Property Flags = 0x0
23 info: Memory Type[4]: Property Flags = 0x0
24 info: Memory Type[5]: Property Flags = 0x0
25 info: Memory Type[6]: Property Flags = 0x0
26 info: Memory Type[9]: Property Flags = 0x6
27 info: Memory Type[10]: Property Flags = 0xe
28 info: GeForce GTX 1070:
29 info: Driver: 396.51.0
30 info: Vulkan: 1.1.70
31 info: Memory Heap[0]:
32 info: Size: 8192 MiB
33 info: Flags: 0x1
34 info: Memory Type[7]: Property Flags = 0x1
35 info: Memory Type[8]: Property Flags = 0x1
36 info: Memory Heap[1]:
37 info: Size: 12016 MiB
38 info: Flags: 0x0
39 info: Memory Type[0]: Property Flags = 0x0
40 info: Memory Type[1]: Property Flags = 0x0
41 info: Memory Type[2]: Property Flags = 0x0
42 info: Memory Type[3]: Property Flags = 0x0
43 info: Memory Type[4]: Property Flags = 0x0
44 info: Memory Type[5]: Property Flags = 0x0
45 info: Memory Type[6]: Property Flags = 0x0
46 info: Memory Type[9]: Property Flags = 0x6
47 info: Memory Type[10]: Property Flags = 0xe
48 warn: DxgiFactory::QueryInterface: Unknown interface query
49 warn: 7632e1f5-ee65-4dca-87fd-84cd75f8838d
50 warn: DxgiFactory::QueryInterface: Unknown interface query
51 warn: 1bc6ea02-ef36-464f-bf0c-21ca39e5168a
52 warn: DxgiFactory::QueryInterface: Unknown interface query
53 warn: 25483823-cd46-4c7d-86ca-47aa95b837bd
54 warn: DxgiAdapter::QueryInterface: Unknown interface query
55 warn: 645967a4-1392-4310-a798-8053ce3e93fd
Relevant wine log:
wine: Call from 0x7bc79441 to unimplemented function D3D11.DLL.D3D11CoreCreateDevice@24, aborting
apitrace: warning: caught exception 0x80000100
apitrace: flushing trace
wine: Unimplemented function D3D11.DLL.D3D11CoreCreateDevice@24 called at address 0x7bc79441 (thread 0086), starting debugger...
If i remove the apitrace.exe trick from AccountOneOff, I get a page fault. With apitrace.exe I get this. On pure wine with clean prefix everything works in any case (apitrace, no apitrace). With dxvk prefix but with "WINEDLLOVERRIDES="d3d11,dxgi=b" wine game.exe" the game still fails in the same way.
And in proton it fails in the same way, but I get the full backtrace.
wine: Call from 0x7bc79441 to unimplemented function D3D11.DLL.D3D11CoreCreateDevice@24, aborting
This error indicates that you're using an invalid d3d11.dll.
Please run it without apitrace, without any builtin wine DLLs (dxgi, d3d10 and d3d11 have to be set to native), and without any special options that might interfere with the game, just the way you did in your original report so that the new error pops up.
Any logs without the error about the texture not being created are completely useless.
Also, please attach your log files as text files, or create a gist, put them on pastebin or whatever, but please don't paste them directly into your comments. It makes them unreadable.
Any update?
Is dxvk-texture-log.patch.txt in the latest dxvk (0.80)? I am waiting on a fix for lutris if so I may send a log.
It starts now (latest dxvk 0.80) under Proton but crashes when I try to run the frame rate test in the game.
I ran "PROTON_LOG=1 %command%" (with no quotes) under latest Proton beta, here is the log:
steam-329050.log
@romulasry
AFAIK Proton currently not using d3d10 libs from DXVK.
@romulasry
AFAIK Proton currently not using d3d10 libs from DXVK.
Darn... :(
Here is a log from the latest dxvk (0.81), with the command
lutris -d devil-may-cry-4-special-editi-steam &> dxvk.log
With the latest master, I have been playing with memory sizes, the best I got is setting this. It runs just past the Capcom logo then dies.
dxgi.maxDeviceMemory = 2048
dxgi.maxSharedMemory = 2048
Anyone tried it in a 32bit prefix?, Wine's WOW64 could be the problem or it's just a 32bit app been flaky.
I tried to get an api trace but it was pain to set up and it failed.
Could we get an api dump within DXVK as a build option, to make make it easier to debug?
+1
the stupid game starts with DX11 and then goes to DX10
well done capcom smh cant even get it working on Windows DXVK just errors when trying to swap over to dx10
Devil may cry 4 special edition works
0.95 thx for the update will report if it crashes (i mean just report lol)
PROTON_LOG=1x1 2018-09WINEDLLOVERRIDES="d3d11,dxgi=b"x1 2018-08d3d11.dllx3 2018-080x80000100x1 2018-080xc0000005x1 2018-08
Software information
Devil May Cry Special Edition DX10 app
System information
Log files