https://bugs.winehq.org/show_bug.cgi?id=51378
Bug ID: 51378
Summary: Failures with `DetourCreateProcessWithDllEx` for
Microsoft's Detours Library
Product: Wine
Version: 6.11
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: andrew.jones(a)vector.com
Distribution: ---
Created attachment 70234
--> https://bugs.winehq.org/attachment.cgi?id=70234
stderr from WINEDEBUG
I am trying to work with a third-party tool that use Microsoft's Detours
Library:
https://github.com/microsoft/Detours
but it seems that the API call `DetourCreateProcessWithDllEx` inside of Detours
does not work correctly when run under Wine.
The implementation for `DetourCreateProcessWithDllEx{A/W}` can be found here:
https://github.com/microsoft/Detours/blob/bc7688373bbbb185277788c04f68ae67b…https://github.com/microsoft/Detours/blob/bc7688373bbbb185277788c04f68ae67b…
Helpfully, Detours includes with a sample application `withdll.exe` that
utilises the `DetourCreateProcessWithDllEx` API:
https://github.com/microsoft/Detours/blob/fe7216c037c898b1f65330eda85e6146b…
I built Detours from git (fe7216c037c898b1f65330eda85e6146b6e3cb85) on Windows
10 (19042.1052) using MSVC 19.29.30038.1; this gave me the resulting binaries
`withdll.exe` and `simple64.dll`. Running `withdll.exe` to inject
`simple64.dll` on Windows 10 gives:
```
C:\Users\avj\Downloads\Detours-master\bin.X64>withdll.exe /d:simple64.dll
withdll.exe
withdll.exe: Starting: `withdll.exe'
withdll.exe: with
`C:\Users\avj\Downloads\Detours-master\bin.X64\simple64.dll'
simple64.dll: Starting.
simple64.dll: Detoured SleepEx().
Usage:
withdll.exe [options] [command line]
Options:
/d:file.dll : Start the process with file.dll.
/v : Verbose, display memory at start.
/? : This help screen.
simple64.dll: Removed SleepEx() (result=0), slept 0 ticks.
```
However, running this under a fresh Wine 6.11 built (64-bit only;
WINEARCH=win64) on openSUSE (gcc 10.3.0) gives me this:
```
withdll.exe: Starting: `withdll.exe'
withdll.exe: with `Z:\tmp\wine\simple64.dll'
withdll.exe: DetourCreateProcessWithDllEx failed: 2
```
I have attached the stderr from running
`WINEDEBUG=+timestamp,+process,+tid,+seh,+module wine64 withdll.exe
/d:simple64.dll withdll.exe 2>log.txt` to this case.
I have also uploaded the two binary files (`withdll.exe` and `simple64.dll`) to
Google Drive:
https://drive.google.com/file/d/1DmFHYcm4-quslIAsHV1fwbzi6-JxRZse/view?usp=…
Note: the source code for these files are MIT licensed, so there should be no
issues in me sharing my binary builds (i.e., I do not consider these files
proprietary).
Is it obvious what's wrong here? Is this a Wine bug or some configuration issue
that I can resolve?
--
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.
https://bugs.winehq.org/show_bug.cgi?id=41157
Bug ID: 41157
Summary: DX11 game "Heretics" crashes with an error message
after game menu is loaded
Product: Wine
Version: 1.9.16
Hardware: x86
OS: Windows
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: directx-d3d
Assignee: wine-bugs(a)winehq.org
Reporter: svyatpro(a)gmail.com
Created attachment 55378
--> https://bugs.winehq.org/attachment.cgi?id=55378
Heretics crash screenshot
When you run "Heretics" using WineD3D on Windows you recieve an error message.
Here is a link where you can find Heretics binaries and sources.
https://zachhoefler.com/portfolio/heretics/
Can somebody test it on Linux?
--
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.
https://bugs.winehq.org/show_bug.cgi?id=54580
Bug ID: 54580
Summary: Secret Files: Sam Peters crashes due to HLSL syntax
error 'unexpected KW_TECHNIQUE'
Product: vkd3d
Version: 1.6
Hardware: x86-64
OS: Linux
Status: NEW
Severity: minor
Priority: P2
Component: hlsl
Assignee: wine-bugs(a)winehq.org
Reporter: andrey.goosev(a)gmail.com
Distribution: ---
065c:err:d3dcompiler:D3DCompile2 Failed to compile shader, vkd3d result -4.
065c:err:d3dcompiler:D3DCompile2 Shader log:
065c:err:d3dcompiler:D3DCompile2 <anonymous>:1:1: E5000: syntax error,
unexpected KW_TECHNIQUE
065c:err:d3dcompiler:D3DCompile2
1.6-171-gb1e13d6e
--
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.
https://bugs.winehq.org/show_bug.cgi?id=55079
Bug ID: 55079
Summary: Rayman Origins needs SM1 'cos' support
Product: vkd3d
Version: 1.7
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: hlsl
Assignee: wine-bugs(a)winehq.org
Reporter: gijsvrm(a)gmail.com
Distribution: ---
0024:err:d3dcompiler:D3DCompile2 <anonymous>:147:21: E5017: Aborting due to
not yet implemented feature: SM1 "cos" expression.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=55080
Bug ID: 55080
Summary: Rayman Origins needs support for instruction type
HLSL_IR_IF
Product: vkd3d
Version: 1.7
Hardware: x86-64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: hlsl
Assignee: wine-bugs(a)winehq.org
Reporter: gijsvrm(a)gmail.com
Distribution: ---
0024:err:d3dcompiler:D3DCompile2 <anonymous>:51:1: E5017: Aborting due to
not yet implemented feature: Instruction type HLSL_IR_IF.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=51713
Bug ID: 51713
Summary: Deus Ex Mankind Divided needs "D3DCompile2 HLSL shader
compilation"
Product: vkd3d
Version: 1.2
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: vkd3d
Assignee: wine-bugs(a)winehq.org
Reporter: berillions(a)gmail.com
Distribution: ---
Created attachment 70588
--> https://bugs.winehq.org/attachment.cgi?id=70588
WINEDEBUG=+vkd3d VKD3D_DEBUG="trace" output log
Hello,
I tried to launch with vkd3d + vulkan renderer and it crashes at launch with
these error lines :
babaowhisky@debian-desktop:~/GOG Games/Deus Ex Mankind Divided/retail$ wine
DXMD.exe
0108:err:winediag:wined3d_dll_init Using the Vulkan renderer.
0108:fixme:heap:RtlSetHeapInformation 0000000002810000 0 000000000011F720 4
stub
0108:fixme:ntdll:NtQuerySystemInformation info_class
SYSTEM_PERFORMANCE_INFORMATION
0110:fixme:ver:GetCurrentPackageId (000000002349FE10 0000000000000000): stub
0120:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated.
Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in
the winbind package of your distribution.
0120:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0120:err:winediag:ntlm_check_version ntlm_auth was not found or is outdated.
Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in
the winbind package of your distribution.
0120:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0108:fixme:d3d:get_vulkan_physical_device Multiple physical devices available.
0108:fixme:d3d:adapter_vk_init_driver_info Failed to retrieve GPU description
for device "AMD RADV POLARIS11" 1002:67ff.
0108:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x237a36d0, format
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB, flags 0, mode_count 0x11dcb0, modes (nil)
partial stub!
0108:fixme:dxgi:dxgi_output_GetDisplayModeList iface 0x237a36d0, format
DXGI_FORMAT_R8G8B8A8_UNORM_SRGB, flags 0, mode_count 0x11dcb0, modes
0x7f49adc0cc90 partial stub!
0108:fixme:system:SystemParametersInfoW Unimplemented action: 59
(SPI_SETSTICKYKEYS)
0108:fixme:d3d:get_vulkan_physical_device Multiple physical devices available.
0108:fixme:d3d:adapter_vk_init_driver_info Failed to retrieve GPU description
for device "AMD RADV POLARIS11" 1002:67ff.
01b0:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet
implemented.
01b0:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet
implemented.
01b0:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet
implemented.
01b0:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet
implemented.
01b0:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet
implemented.
System :
- Debian Sid 64bits
- AMD RX560 4Gb
- Mesa 21.2.1
- Plain wine-6.16
- vkd3d-1.2-460-gb5251b3
--
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.
https://bugs.winehq.org/show_bug.cgi?id=51584
Bug ID: 51584
Summary: Zafehouse: Diaries demo needs support for pixel format
DXT5 in D3DXSaveSurfaceToFileInMemory
Product: Wine
Version: 6.14
Hardware: x86-64
URL: https://web.archive.org/web/20160606064900if_/https://www.zafehouse.com/files/getdemo.php?demo=1
OS: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: directx-d3d-util
Assignee: wine-bugs(a)winehq.org
Reporter: gijsvrm(a)gmail.com
Distribution: ---
Created attachment 70435
--> https://bugs.winehq.org/attachment.cgi?id=70435
output
Needs 'winetricks -q d3dcompiler_47' to work around bug 37676.
This happens with both native dotnet and wine-mono.
I'm running Manjaro with a GTX750Ti with driver 470.57.02.
$ sha1sum ZafehouseDiariesDemoSetup.exe
0c15d5024c9a1e327ac7383fee48ad55a6fec35a ZafehouseDiariesDemoSetup.exe
$ du -sh ZafehouseDiariesDemoSetup.exe
31M ZafehouseDiariesDemoSetup.exe
--
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.
https://bugs.winehq.org/show_bug.cgi?id=57126
Bug ID: 57126
Summary: CEF sample application crashes in 64-bit wineprefix
Product: Wine
Version: 9.16
Hardware: x86-64
URL: https://cef-builds.spotifycdn.com/cef_binary_127.3.5%2
Bg114ea2a%2Bchromium-127.0.6533.120_windows32_client.t
ar.bz2
OS: Linux
Status: NEW
Keywords: download, source
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: imwellcushtymelike(a)gmail.com
Distribution: Ubuntu
Created attachment 77021
--> https://bugs.winehq.org/attachment.cgi?id=77021
Backtrace
Both the 32- and 64-bit versions of the Chromium Embedded Framework sample
application crash in a 64-bit wineprefix, unless using the new WOW64 build.
--
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.
https://bugs.winehq.org/show_bug.cgi?id=56837
Bug ID: 56837
Summary: Bad file pointer after a file write in appending mode
Product: Wine
Version: unspecified
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: sldev(a)free.fr
Distribution: Other
Created attachment 76648
--> https://bugs.winehq.org/attachment.cgi?id=76648
bug-demo program and its source file
When writing for append into a file, Wine returns a bad ftell() file pointer
unless a fflush() is performed before querying with ftell().
See the bug-demo program (run it under bare metal Windows, then under Wine).
This bug has existed like forever (Wine 6 and newer, for sure).
--
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.
https://bugs.winehq.org/show_bug.cgi?id=56377
Bug ID: 56377
Summary: Microsoft Edge freezes almost immediately after
launching
Product: Wine
Version: 9.3
Hardware: x86-64
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
Assignee: wine-bugs(a)winehq.org
Reporter: asdfghrbljzmkd(a)outlook.com
Distribution: ---
Microsoft Edge will freeze about 1-3 seconds after launching.
Steps to reproduce:
1. Download and install WebView2 (which includes Edge) from
https://developer.microsoft.com/en-us/microsoft-edge/webview2/
2. Run:
wine "/PATH/TO/PREFIX/drive_c/Program Files
(x86)/Microsoft/EdgeCore/VERSIONNUMBER/msedge.exe" --no-sandbox --disable-gpu
--no-first-run
Edge will launch, it will respond to inputs for a very short time, then freeze
completely.
--no-sandbox is required for it to launch at all, I will also file a bug for
this issue.
--disable-gpu is required wine wined3d, it can be dropped if using DXVK.
--no-first-run disables the first run prompting you to sign in and such, it has
no bearing on the bug itself. (If omitted, Edge still freezes, including the
dialog.)
--
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.