Closed FireBurn closed 4 years ago
The same happens with 64bit too:
DRI_PRIME=0 wine64 /usr/lib64/ninewinecfg.exe.so
Unhandled exception: page fault on read access to 0x00000010 in 64-bit code (0x00007f6155120369).
Register dump:
rip:00007f6155120369 rsp:000000000023c9a8 rbp:000000000023ca80 eflags:00010202 ( R- -- I - - - )
rax:0000000000000010 rbx:0000555555db2190 rcx:00007f6151cda000 rdx:0000000000000000
rsi:0000000000000010 rdi:000000000023ca10 r8:00007f61555af100 r9:0000000000000000 r10:00007f6151cda1c8
r11:00007f6154debd80 r12:000000000023ca05 r13:000000000023c9e0 r14:0000555555db8490 r15:000000000023ca10
Stack dump:
0x000000000023c9a8: 00007f615502adca 0000555555cb8c10
0x000000000023c9b8: 0001000000000000 000000000023cb20
0x000000000023c9c8: 000000000023c9dc 0000555555db0df0
0x000000000023c9d8: 00b71b0055ce2e4c 0000000000000000
0x000000000023c9e8: 0000000000000003 0001000000000000
0x000000000023c9f8: 0000000000000000 6972695555cb95e0
0x000000000023ca08: 0000623139315f73 0000555555cc8ef0
0x000000000023ca18: 844c6d8a08ea8800 0000555555db0df0
0x000000000023ca28: 00007f61585f9064 0000555555cb8c10
0x000000000023ca38: 00007f61554f3bf0 0000000000000010
0x000000000023ca48: 844c6d8a08ea8800 0000555555db0e10
0x000000000023ca58: 000000000023caa0 000000000023cb20
Backtrace:
=>0 0x00007f6155120369 D3DAdapter9GetProc+0xffffffffffffffff() in d3dadapter9.so.1 (0x000000000023ca80)
1 0x00007f615502adca D3DAdapter9GetProc+0xffffffffffffffff() in d3dadapter9.so.1 (0x000000000023ca80)
2 0x00007f61554cdf3f D3DAdapter9GetProc+0xffffffffffffffff() in d3dadapter9.so.1 (0x000000000023cb20)
3 0x00007f61554ca5bf D3DAdapter9GetProc+0xffffffffffffffff() in d3dadapter9.so.1 (0x0000555555db0620)
4 0x00007f61558af186 present_create_adapter9+0x95() in d3d9-nine
I've just tried disabling amdgpu on my system - it still has the same issue
I think this might be a general issue with Iris & Nine rather than being PRIME related
So I've done a bit more digging, it appears it's related to linking mesa with gold rather than bfd
Here's a backtrace with the debugging symbols:
Backtrace:
=>0 0x00007fbc1a91bea9 LockUnknown_SetPrivateData+0x1d8c99() in d3dadapter9.so.1 (0x000000000023d710)
1 0x00007fbc1a9eae35 LockUnknown_SetPrivateData+0x2a7c24() in d3dadapter9.so.1 (0x000000000023d710)
2 0x00007fbc1a9eab66 LockUnknown_SetPrivateData+0x2a7955() in d3dadapter9.so.1 (0x000000000023d770)
3 0x00007fbc1a68a4a7 dd_screen_get_name+0xffffffffffffffff() in d3dadapter9.so.1 (0x0000555555e2c6a0)
4 0x00007fbc1a78332e LockUnknown_SetPrivateData+0x4011d() in d3dadapter9.so.1 (0x0000555555e2c6a0)
5 0x00007fbc1a689e3a dd_screen_get_name+0xffffffffffffffff() in d3dadapter9.so.1 (0x0000555555e2c6a0)
6 0x00007fbc1afaa88d present_create_adapter9+0x4b() in d3d9-nine
Just to be clear, nine works with Iris when Mesa is linked with bfd, but doesn't when linked with gold. Nine works with radeonsi when mesa is linked with gold or bfd.
I did attempt at linking with llvm's new lld, but it didn't get past the test compile in the meson configure but that's a seperate issue
Looks like noone else tried that combination... Is there an upstream bug you can link to? In any case, I don't think there's anything we can do here, so closing
DRI_PRIME=1 wine /usr/lib/ninewinecfg.exe.so works fine with radeonsi using nir
DRI_PRIME=0 wine /usr/lib/ninewinecfg.exe.so using the Iris driver errors with the following message:
Unhandled exception: page fault on read access to 0x00000010 in 32-bit code (0xf72414c6). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:f72414c6 ESP:0033e0c0 EBP:f7a33088 EFLAGS:00010202( R- -- I - - - ) EAX:0033e0e3 EBX:0033e0e3 ECX:00000000 EDX:f76a8680 ESI:00000010 EDI:00000010 Stack dump: 0x0033e0c0: 0033e0e3 f7a33088 0033e0d8 f714eeca 0x0033e0d0: f3cfd390 f3cfcdd0 73697269 3139315f 0x0033e0e0: f7ab0062 f7807ff4 f7a33088 f72430ec 0x0033e0f0: f75d3989 0000003f f7aa3ba0 cb348e00 0x0033e100: f7ab1330 f7807ff4 f742955d cb348e00 0x0033e110: f7807ff4 f7a33174 f7807ff4 f715348a Backtrace: =>0 0xf72414c6 D3DAdapter9GetProc+0xffffffff() in d3dadapter9.so.1 (0xf7a33088) 1 0xf714eeca D3DAdapter9GetProc+0xffffffff() in d3dadapter9.so.1 (0xf7a33088) 2 0xf715348a D3DAdapter9GetProc+0xffffffff() in d3dadapter9.so.1 (0xf7a33088) 3 0xf75c89eb D3DAdapter9GetProc+0xffffffff() in d3dadapter9.so.1 (0xf7807ff4) 4 0xf75c52e3 D3DAdapter9GetProc+0xffffffff() in d3dadapter9.so.1 (0xf7807ff4) 5 0xf7987df0 present_create_adapter9+0x9f() in d3d9-nine (0x004d0059)
6 0xf7980492 D3DPERF_SetRegion+0x1681() in d3d9-nine (0x0033e7d8)
7 0xf7981020 d3dadapter9_new+0x7f() in d3d9-nine (0x0033e818)
8 0xf797e9e3 Direct3DCreate9Ex+0x42() in d3d9-nine (0x0033e858)
9 0x7efe509c main+0x24fb() in ninewinecfg (0x0033e8c8)
10 0x7de2762c WINPROC_wrapper+0x1b() in user32 (0x0033e908)
11 0x7de27f1b EditWndProcA+0x7da() in user32 (0x0033e958)
12 0x7de2a4f2 CallWindowProcW+0x211() in user32 (0x0033e988)
13 0x7dd90461 DefDlgProcW+0xb0() in user32 (0x0033e9d8)
14 0x7de2762c WINPROC_wrapper+0x1b() in user32 (0x0033ea18)
15 0x7de27e2d EditWndProcA+0x6ec() in user32 (0x0033ea68)
16 0x7de2a123 EditWndProcA+0x29e2() in user32 (0x0033eab8)
17 0x7ddd11ee TranslateAcceleratorA+0x40d() in user32 (0x0033eb28)
18 0x7dddabf8 SendMessageW+0x197() in user32 (0x0033ebb8)
19 0x7dd95fee GetNextDlgGroupItem+0x105d() in user32 (0x0033efc8)
20 0x7dd9771e CreateDialogIndirectParamW+0x2d() in user32 (0x0033eff8)
21 0x7d63866f HIMAGELIST_QueryInterface+0x38b0e() in comctl32 (0x0033f068)
22 0x7d63b3c2 PropertySheetA+0x891() in comctl32 (0x0033f0f8)
23 0x7d63d2ec PropertySheetA+0x27bb() in comctl32 (0x0033f528)
24 0x7de2762c WINPROC_wrapper+0x1b() in user32 (0x0033f568)
25 0x7de27f1b EditWndProcA+0x7da() in user32 (0x0033f5b8)
26 0x7de2a4f2 CallWindowProcW+0x211() in user32 (0x0033f5e8)
27 0x7dd90461 DefDlgProcW+0xb0() in user32 (0x0033f638)
28 0x7de2762c WINPROC_wrapper+0x1b() in user32 (0x0033f678)
29 0x7de27e2d EditWndProcA+0x6ec() in user32 (0x0033f6c8)
30 0x7de2a123 EditWndProcA+0x29e2() in user32 (0x0033f718)
31 0x7ddd11ee TranslateAcceleratorA+0x40d() in user32 (0x0033f788)
32 0x7dddabf8 SendMessageW+0x197() in user32 (0x0033f818)
33 0x7dd95fee GetNextDlgGroupItem+0x105d() in user32 (0x0033fc28)
34 0x7dd9771e CreateDialogIndirectParamW+0x2d() in user32 (0x0033fc58)
35 0x7d6390f1 HIMAGELIST_QueryInterface+0x39590() in comctl32 (0x0033fcd8)
36 0x7d63efbf PropertySheetW+0x15e() in comctl32 (0x0033fd08)
37 0x7efe55b7 WinMain+0x376() in ninewinecfg (0x0033fe48)
38 0x7efe2c63 main+0xc2() in ninewinecfg (0x0033fee8)
39 0x7efe6237 common_del_registry_key+0x1d6() in ninewinecfg (0x0033ff18)
40 0x7b49d3a9 call_process_entry+0x18() in kernel32 (0x0033ff48)
41 0x7b49fe90 ExitProcess+0x2ad3() in kernel32 (0x0033ffd8)
42 0x7b49d3ba call_process_entry+0x29() in kernel32 (0x0033ffec)
0xf72414c6 D3DAdapter9GetProc+0xffffffff in d3dadapter9.so.1: movzbl 0x0(%edi),%eax
Modules:
Module Address Debug info Name (135 modules)
ELF 7b400000-7b874000 Dwarf kernel32
-PE 7b430000-7b874000 \ kernel32
ELF 7bc00000-7bd8d000 Deferred ntdll
-PE 7bc30000-7bd8d000 \ ntdll
ELF 7c000000-7c004000 Deferred
ELF 7c92f000-7c96f000 Deferred uxtheme
-PE 7c940000-7c96f000 \ uxtheme
ELF 7c96f000-7c976000 Deferred libxfixes.so.3
ELF 7c976000-7c983000 Deferred libxcursor.so.1
ELF 7cc18000-7cc20000 Deferred libuuid.so.1
ELF 7cc20000-7cc4f000 Deferred libexpat.so.1
ELF 7cc4f000-7cca9000 Deferred libfontconfig.so.1
ELF 7cca9000-7cd2c000 Deferred libpcre.so.1
ELF 7cd2c000-7cd48000 Deferred libgcc_s.so.1
ELF 7cd48000-7cd6d000 Deferred libgraphite2.so.3
ELF 7cd6d000-7cebe000 Deferred libglib-2.0.so.0
ELF 7cebe000-7cf9a000 Deferred libharfbuzz.so.0
ELF 7cf9a000-7cfb9000 Deferred libz.so.1
ELF 7cfb9000-7d006000 Deferred libpng16.so.16
ELF 7d006000-7d01c000 Deferred libbz2.so.1
ELF 7d01c000-7d0ff000 Deferred libfreetype.so.6
ELF 7d0ff000-7d114000 Deferred libxi.so.6
ELF 7d114000-7d124000 Deferred libxrandr.so.2
ELF 7d124000-7d131000 Deferred libxrender.so.1
ELF 7d131000-7d139000 Deferred libxxf86vm.so.1
ELF 7d139000-7d1dc000 Deferred setupapi
-PE 7d150000-7d1dc000 \ setupapi
ELF 7d1dc000-7d20a000 Deferred libxcb.so.1
ELF 7d20a000-7d36f000 Deferred libx11.so.6
ELF 7d36f000-7d389000 Deferred libxext.so.6
ELF 7d389000-7d44e000 Deferred winex11
-PE 7d3b0000-7d44e000 \ winex11
ELF 7d44e000-7d488000 Deferred libtinfo.so.6
ELF 7d488000-7d4b9000 Deferred libncurses.so.6
ELF 7d4f8000-7d521000 Deferred imm32
-PE 7d500000-7d521000 \ imm32
ELF 7d521000-7d587000 Deferred usp10
-PE 7d530000-7d587000 \ usp10
ELF 7d587000-7d713000 Dwarf comctl32
-PE 7d5c0000-7d713000 \ comctl32
ELF 7d713000-7d72f000 Deferred aclui
-PE 7d720000-7d72f000 \ aclui
ELF 7d72f000-7d7d3000 Deferred rpcrt4
-PE 7d750000-7d7d3000 \ rpcrt4
ELF 7d7d3000-7d952000 Deferred ole32
-PE 7d810000-7d952000 \ ole32
ELF 7d952000-7d979000 Deferred shcore
-PE 7d960000-7d979000 \ shcore
ELF 7d979000-7da78000 Deferred msvcrt
-PE 7d9a0000-7da78000 \ msvcrt
ELF 7da78000-7dade000 Deferred kernelbase
-PE 7da90000-7dade000 \ kernelbase
ELF 7dade000-7daf5000 Deferred version
-PE 7dae0000-7daf5000 \ version
ELF 7daf5000-7db95000 Deferred advapi32
-PE 7db10000-7db95000 \ advapi32
ELF 7db95000-7dd22000 Deferred gdi32
-PE 7dbc0000-7dd22000 \ gdi32
ELF 7dd22000-7dfae000 Dwarf user32
-PE 7dd60000-7dfae000 \ user32
ELF 7dfae000-7e01c000 Deferred shlwapi
-PE 7dfc0000-7e01c000 \ shlwapi
ELF 7e01c000-7ea6b000 Deferred shell32
-PE 7e050000-7ea6b000 \ shell32
ELF 7eee4000-7eef3000 Deferred libnss_files.so.2
ELF 7eef3000-7efc1000 Deferred libm.so.6
ELF 7efc1000-7efc5000 Deferred libxcomposite.so.1
ELF 7efc5000-7efcc000 Deferred libxdmcp.so.6
ELF 7efcc000-7efd1000 Deferred libxau.so.6
ELF 7efd1000-7efec000 Dwarf ninewinecfg
-PE 7efe0000-7efec000 \ ninewinecfg
ELF 7efec000-7f000000 Deferred wow64cpu
-PE 7eff0000-7f000000 \ wow64cpu
ELF f3d09000-f3d12000 Deferred libxcb-xfixes.so.0
ELF f3d12000-f3d16000 Deferred libxcb-present.so.0
ELF f3d55000-f3dcf000 Deferred libllvmasmparser.so.9svn
ELF f3dcf000-f3e6a000 Deferred libllvmdebuginfodwarf.so.9svn
ELF f3e6a000-f3f0b000 Deferred libllvmdebuginfocodeview.so.9svn
ELF f3f0b000-f3f43000 Deferred libllvmdemangle.so.9svn
ELF f3f43000-f3f52000 Deferred libllvmremarks.so.9svn
ELF f3f52000-f3f75000 Deferred libllvmlinker.so.9svn
ELF f3f75000-f4068000 Deferred libllvminstrumentation.so.9svn
ELF f4068000-f4070000 Deferred libllvmirreader.so.9svn
ELF f4070000-f40b9000 Deferred libllvmbitwriter.so.9svn
ELF f40b9000-f4121000 Deferred libllvmbitreader.so.9svn
ELF f4121000-f4134000 Deferred libllvmaggressiveinstcombine.so.9svn
ELF f4134000-f4195000 Deferred libllvmmcparser.so.9svn
ELF f4195000-f426a000 Deferred libllvmvectorize.so.9svn
ELF f426a000-f42a9000 Deferred libllvmmirparser.so.9svn
ELF f42a9000-f42cb000 Deferred libllvmbinaryformat.so.9svn
ELF f42cb000-f432d000 Deferred libllvmamdgpuutils.so.9svn
ELF f432d000-f4425000 Deferred libllvmobject.so.9svn
ELF f4425000-f442c000 Deferred libllvmx86utils.so.9svn
ELF f442c000-f478f000 Deferred libllvmselectiondag.so.9svn
ELF f478f000-f47f3000 Deferred libllvmprofiledata.so.9svn
ELF f47f3000-f4894000 Deferred libllvmglobalisel.so.9svn
ELF f4894000-f4ccd000 Deferred libllvmcodegen.so.9svn
ELF f4ccd000-f4dad000 Deferred libllvmasmprinter.so.9svn
ELF f4dad000-f4db6000 Deferred libllvmmcdisassembler.so.9svn
ELF f503a000-f505c000 Deferred libelf.so.1
ELF f505c000-f5069000 Deferred libdrm_amdgpu.so.1
ELF f5069000-f5079000 Deferred libdrm_radeon.so.1
ELF f5079000-f5090000 Deferred libsensors.so.5
ELF f5090000-f526b000 Deferred libllvmsupport.so.9svn
ELF f526b000-f557d000 Deferred libllvmcore.so.9svn
ELF f557d000-f564b000 Deferred libllvmmc.so.9svn
ELF f564b000-f59c8000 Deferred libllvmanalysis.so.9svn
ELF f59c8000-f5b4a000 Deferred libllvmtransformutils.so.9svn
ELF f5b4a000-f5c64000 Deferred libllvminstcombine.so.9svn
ELF f5c64000-f5f02000 Deferred libllvmscalaropts.so.9svn
ELF f5f02000-f6041000 Deferred libllvmipo.so.9svn
ELF f6041000-f62a8000 Deferred libllvmamdgpudesc.so.9svn
ELF f62a8000-f640f000 Deferred libllvmamdgpuasmparser.so.9svn
ELF f640f000-f641f000 Deferred libllvmtarget.so.9svn
ELF f641f000-f672b000 Deferred libllvmamdgpucodegen.so.9svn
ELF f672b000-f6798000 Deferred libllvmruntimedyld.so.9svn
ELF f6798000-f697c000 Deferred libllvmx86desc.so.9svn
ELF f697c000-f6d90000 Deferred libllvmx86codegen.so.9svn
ELF f6d90000-f6f29000 Deferred libllvmx86disassembler.so.9svn
ELF f6f29000-f78ba000 Dwarf d3dadapter9.so.1
ELF f7913000-f7938000 Deferred libllvmexecutionengine.so.9svn
ELF f7938000-f7948000 Deferred libllvmmcjit.so.9svn
ELF f7948000-f795f000 Deferred libdrm.so.2
ELF f7962000-f7968000 Deferred libxcb-dri3.so.0
ELF f7968000-f799e000 Dwarf d3d9-nine
ELF f79c3000-f79ce000 Deferred libnss_db.so.2
ELF f7ad0000-f7ad6000 Deferred libdl.so.2
ELF f7ad6000-f7cbc000 Deferred libc.so.6
ELF f7cbc000-f7cde000 Deferred libpthread.so.0
ELF f7ce3000-f7ce6000 Deferred libx11-xcb.so.1
ELF f7ce6000-f7ce9000 Deferred libllvmamdgpuinfo.so.9svn
ELF f7ce9000-f7cec000 Deferred libllvmx86info.so.9svn
ELF f7d12000-f7d1d000 Deferred librt.so.1
ELF f7d1d000-f7ee6000 Dwarf libwine.so.1
ELF f7ee8000-f7f12000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000008 (D) Z:\usr\lib\ninewinecfg.exe
[Z:\usr\lib\ninewinecfg.exe.so]
00000009 0 <==
0000000e services.exe
00000022 0
0000001c 0
00000015 0
00000010 0
0000000f 0
00000011 plugplay.exe
00000019 0
00000018 0
00000012 0
00000013 explorer.exe
00000028 0
00000027 0
00000026 0
00000014 0
0000001a winedevice.exe
0000001f 0
0000001e 0
0000001d 0
0000001b 0
00000020 winedevice.exe
00000025 0
00000024 0
00000023 0
00000021 0
0000002b explorer.exe
0000002f 0
0000002e 0
0000002d 0
0000002c 0
System information:
Wine build: wine-4.11 (Staging)
Platform: i386 (WOW64)
Version: Windows 7
Host system: Linux
Host version: 5.2.0-rc2-agd5f+