protonscr

Clarification please on wine-prefixes

dxvkclosed invalidnvidia proprietary
doitsujin/dxvk#253 · opened 2018-04-07 by addeps3 · updated 2018-04-07 · 1 comments · github
Aaddeps3 2018-04-07 github

Hi, I've had no joy in setting dxvk up, when running the setup_dxvk.sh script I'm not sure if I can point it to my default .wine prefix with preinstalled games, or if I'm supposed to create a new prefix and install games in to there.
Nonetheless cube.exe has not worked so far. The d3d11.dll file in my .wine prefix links to the correct location, no idea why it breaks.

For what it's worth I'll post the backtrace, oh, and thank you so much for implementing Kepler support!

Unhandled exception: page fault on write access to 0x7f9db648f720 in 64-bit code (0x00007f9db62bdb52).
Register dump:
 rip:00007f9db62bdb52 rsp:000000000023e740 rbp:000000000000000c eflags:00010202 (  R- --  I   - - - )
 rax:00007f9db5f51fe0 rbx:00007f9db654cc08 rcx:00007f9db5f51fe0 rdx:0000000000000004
 rsi:00007f9db648f720 rdi:0000000000000000  r8:0000000000000000  r9:000000000000000f r10:00007f9dbd9b37c0
 r11:0000000000000202 r12:00007f9db2a75a59 r13:0000000000000014 r14:000000007ddd89f0 r15:00007f9db2aac588
Stack dump:
0x000000000023e740:  000000007df12e00 000000007defa890
0x000000000023e750:  0000000000000008 00007f9db2aac588
0x000000000023e760:  000000007ddd89f0 000000007defb550
0x000000000023e770:  000000007defaa00 00007f9db62be502
0x000000000023e780:  000000007defb550 0000000000000000
0x000000000023e790:  0000000000000007 000000000023e860
0x000000000023e7a0:  00007f9d00001256 00007f9d00000045
0x000000000023e7b0:  0000000000000023 000000007defb620
0x000000000023e7c0:  0000000000000000 00007f9db654cd00
0x000000000023e7d0:  00000007b65476a0 00007f9db654cb00
0x000000000023e7e0:  0000001400000001 00007f9dbe426100
0x000000000023e7f0:  000000007dd628d0 000000007df12e00
Backtrace:
=>0 0x00007f9db62bdb52 in libglx_nvidia.so.0 (+0xadb52) (0x000000000000000c)
  1 0x00007f9db62be502 in libglx_nvidia.so.0 (+0xae501) (0x0000000000000008)
  2 0x00007f9db62c944b in libglx_nvidia.so.0 (+0xb944a) (0x00007f9db62c7950)
  3 0x00007f9db625e798 in libglx_nvidia.so.0 (+0x4e797) (0x00007f9db5f43a60)
  4 0x00007f9dbe20f43a call_init.part+0x59() in ld-linux-x86-64.so.2 (0x0000000000000002)
  5 0x00007f9dbe20f586 _dl_init+0x75() in ld-linux-x86-64.so.2 (0x0000000000000002)
  6 0x00007f9dbe213a5e dl_open_worker+0x38d() in ld-linux-x86-64.so.2 (0x000000000023eba0)
  7 0x00007f9dbd9b1b64 _dl_catch_error+0x83() in libc.so.6 (0x000000000023eda0)
  8 0x00007f9dbe21327a _dl_open+0xc9() in ld-linux-x86-64.so.2 (0x000000000023eda0)
  9 0x00007f9dbd618e86 GLIBC_2.3+0xe85() in libdl.so.2 (0x00007f9dbd618e30)
  10 0x00007f9dbd9b1b64 _dl_catch_error+0x83() in libc.so.6 (0x00007f9dbd618e30)
  11 0x00007f9dbd619587 in libdl.so.2 (+0x1586) (0x00007f9dbd618e30)
  12 0x00007f9dbd618f22 GLIBC_2.3+0xf21() in libdl.so.2 (0x000000000023f450)
  13 0x00007f9db6576eb0 in libvulkan.so.1 (+0x26eaf) (0x000000000023f450)
  14 0x00007f9db657b138 in libvulkan.so.1 (+0x2b137) (0x000000000023f654)
  15 0x00007f9db657cebf vkEnumerateInstanceExtensionProperties+0x19e() in libvulkan.so.1 (0x0000000000000002)
  16 0x00007f9db84552f2 in winex11 (+0x352f1) (0x000000000023f740)
  17 0x00007f9db86c8aa4 wine_vkEnumerateInstanceExtensionProperties+0x183() in winevulkan (0x000000000023f740)
  18 0x0000000180028565 in vulkan-1 (+0x28564) (0x000000000023f790)
  19 0x000000018002c2cc in vulkan-1 (+0x2c2cb) (0x000000000023f8f8)
  20 0x000000018003a755 in vulkan-1 (+0x3a754) (0x000000000023f930)
  21 0x0000000180041b6c in vulkan-1 (+0x41b6b) (0x0000000000000000)
  22 0x0000000140018072 in cube (+0x18071) (0x000000000023fb20)
  23 0x0000000140017c17 in cube (+0x17c16) (0x000000000023ffd0)
  24 0x0000000140015a42 in cube (+0x15a41) (0x000000000023ffd0)
  25 0x000000014001f0ef in cube (+0x1f0ee) (0x000000000023ffd0)
  26 0x000000007b47bd3a in kernel32 (+0x5bd39) (0x000000000023ffd0)
0x00007f9db62bdb52: movq	%rax,(%rsi)
Modules:
Module	Address					Debug info	Name (76 modules)
ELF	        7b400000-        7b811000	Dwarf           kernel32<elf>
  \-PE	        7b420000-        7b811000	\               kernel32
ELF	        7bc00000-        7bd18000	Deferred        ntdll<elf>
  \-PE	        7bc20000-        7bd18000	\               ntdll
ELF	        7c000000-        7c004000	Deferred        <wine-loader>
PE	       140000000-       1400bc000	Export          cube
PE	       180000000-       1800ef000	Export          vulkan-1
ELF	    7f9db2610000-    7f9db2818000	Deferred        librt.so.1
ELF	    7f9db4150000-    7f9db5f50000	Deferred        libnvidia-glcore.so.390.48
ELF	    7f9db5f50000-    7f9db6154000	Deferred        libnvidia-tls.so.390.48
ELF	    7f9db6210000-    7f9db654d000	Dwarf           libglx_nvidia.so.0
ELF	    7f9db6550000-    7f9db67a7000	Dwarf           libvulkan.so.1
ELF	    7f9db67a8000-    7f9db69ae000	Deferred        libxfixes.so.3
ELF	    7f9db69b0000-    7f9db6bba000	Deferred        libxcursor.so.1
ELF	    7f9db6bc0000-    7f9db6dd1000	Deferred        libxi.so.6
ELF	    7f9db6dd8000-    7f9db6fdb000	Deferred        libxcomposite.so.1
ELF	    7f9db6fe0000-    7f9db71eb000	Deferred        libxrandr.so.2
ELF	    7f9db71f0000-    7f9db73fb000	Deferred        libxrender.so.1
ELF	    7f9db7400000-    7f9db7606000	Deferred        libxxf86vm.so.1
ELF	    7f9db7608000-    7f9db780b000	Deferred        libxinerama.so.1
ELF	    7f9db7810000-    7f9db7a16000	Deferred        libxdmcp.so.6
ELF	    7f9db7a18000-    7f9db7c1c000	Deferred        libxau.so.6
ELF	    7f9db7c20000-    7f9db7e49000	Deferred        libxcb.so.1
ELF	    7f9db7e50000-    7f9db818f000	Deferred        libx11.so.6
ELF	    7f9db8190000-    7f9db83a2000	Deferred        libxext.so.6
ELF	    7f9db8408000-    7f9db86a9000	Dwarf           winex11<elf>
  \-PE	    7f9db8420000-    7f9db86a9000	\               winex11
ELF	    7f9db86b0000-    7f9db88e7000	Dwarf           winevulkan<elf>
  \-PE	    7f9db86c0000-    7f9db88e7000	\               winevulkan
ELF	    7f9db88e8000-    7f9db8afc000	Deferred        api-ms-win-core-localization-l1-2-1<elf>
  \-PE	    7f9db88f0000-    7f9db8afc000	\               api-ms-win-core-localization-l1-2-1
ELF	    7f9db8b00000-    7f9db8d13000	Deferred        api-ms-win-core-fibers-l1-1-1<elf>
  \-PE	    7f9db8b10000-    7f9db8d13000	\               api-ms-win-core-fibers-l1-1-1
ELF	    7f9db8d18000-    7f9db8f2c000	Deferred        api-ms-win-core-synch-l1-2-0<elf>
  \-PE	    7f9db8d20000-    7f9db8f2c000	\               api-ms-win-core-synch-l1-2-0
ELF	    7f9db8f30000-    7f9db9157000	Deferred        imm32<elf>
  \-PE	    7f9db8f40000-    7f9db9157000	\               imm32
ELF	    7f9db9188000-    7f9db938f000	Deferred        libuuid.so.1
ELF	    7f9db9390000-    7f9db95c2000	Deferred        libexpat.so.1
ELF	    7f9db95c8000-    7f9db980b000	Deferred        libfontconfig.so.1
ELF	    7f9db9810000-    7f9db9a82000	Deferred        libpcre.so.1
ELF	    7f9db9a88000-    7f9db9cb4000	Deferred        libgraphite2.so.3
ELF	    7f9db9cb8000-    7f9db9fcf000	Deferred        libglib-2.0.so.0
ELF	    7f9db9fd0000-    7f9dba282000	Deferred        libharfbuzz.so.0
ELF	    7f9dba288000-    7f9dba49f000	Deferred        libz.so.1
ELF	    7f9dba4a0000-    7f9dba6d6000	Deferred        libpng16.so.16
ELF	    7f9dba6d8000-    7f9dba8e8000	Deferred        libbz2.so.1.0
ELF	    7f9dba8e8000-    7f9dbabb1000	Deferred        libfreetype.so.6
ELF	    7f9dbabb8000-    7f9dbae25000	Deferred        libncursesw.so.6
ELF	    7f9dbae28000-    7f9dbb0be000	Deferred        rpcrt4<elf>
  \-PE	    7f9dbae40000-    7f9dbb0be000	\               rpcrt4
ELF	    7f9dbb0c0000-    7f9dbb33b000	Deferred        setupapi<elf>
  \-PE	    7f9dbb0d0000-    7f9dbb33b000	\               setupapi
ELF	    7f9dbb340000-    7f9dbb559000	Deferred        cfgmgr32<elf>
  \-PE	    7f9dbb350000-    7f9dbb559000	\               cfgmgr32
ELF	    7f9dbb560000-    7f9dbb7ed000	Deferred        shlwapi<elf>
  \-PE	    7f9dbb570000-    7f9dbb7ed000	\               shlwapi
ELF	    7f9dbb7f0000-    7f9dbbc80000	Deferred        shell32<elf>
  \-PE	    7f9dbb810000-    7f9dbbc80000	\               shell32
ELF	    7f9dbbc80000-    7f9dbbe9a000	Deferred        version<elf>
  \-PE	    7f9dbbc90000-    7f9dbbe9a000	\               version
ELF	    7f9dbbea0000-    7f9dbc131000	Deferred        advapi32<elf>
  \-PE	    7f9dbbeb0000-    7f9dbc131000	\               advapi32
ELF	    7f9dbc138000-    7f9dbc4b4000	Deferred        gdi32<elf>
  \-PE	    7f9dbc150000-    7f9dbc4b4000	\               gdi32
ELF	    7f9dbc5b8000-    7f9dbc9f7000	Deferred        user32<elf>
  \-PE	    7f9dbc5e0000-    7f9dbc9f7000	\               user32
ELF	    7f9dbcaf8000-    7f9dbcd0a000	Deferred        libnss_files.so.2
ELF	    7f9dbd0b0000-    7f9dbd2c7000	Deferred        libgcc_s.so.1
ELF	    7f9dbd2c8000-    7f9dbd614000	Deferred        libm.so.6
ELF	    7f9dbd618000-    7f9dbd81c000	Dwarf           libdl.so.2
ELF	    7f9dbd880000-    7f9dbdc37000	Dwarf           libc.so.6
ELF	    7f9dbdc38000-    7f9dbde56000	Deferred        libpthread.so.0
ELF	    7f9dbde58000-    7f9dbe1fd000	Dwarf           libwine.so.1
ELF	    7f9dbe200000-    7f9dbe427000	Dwarf           ld-linux-x86-64.so.2
ELF	    7ffc1984b000-    7ffc1984c000	Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
	00000022    0
	0000001d    0
	00000015    0
	00000014    0
	00000013    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	0000001a    0
	00000019    0
	00000018    0
	00000017    0
	00000016    0
	00000012    0
0000001b plugplay.exe
	0000001f    0
	0000001e    0
	0000001c    0
00000020 winedevice.exe
	00000029    0
	00000026    0
	00000025    0
	00000024    0
	00000023    0
	00000021    0
00000027 explorer.exe
	0000002f    0
	0000002e    0
	0000002d    0
	0000002a    0
	00000028    0
0000002b (D) C:\VulkanSDK\1.1.70.1\Bin\cube.exe
	0000002c    0 <==
System information:
    Wine build: wine-3.5
    Platform: x86_64
    Version: Windows 7
    Host system: Linux
    Host version: 4.15.13-1-ARCH
Ddoitsujin maintainer 2018-04-07 github

While I would recommend creating a separate wine prefix for DXVK rather than using the default one, this crash happens inside the Nvidia driver. No idea what's wrong there, but it's not a DXVK bug since cube.exe (I assume you are talking about the one from the Vulkan SDK) uses Vulkan directly.

DLLs