https://bugs.winehq.org/show_bug.cgi?id=49055
Bug ID: 49055 Summary: Multiple .NET WPF 4.x applications show black screen or have broken user interface rendering Product: Wine Version: 5.7 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
separated from https://bugs.winehq.org/show_bug.cgi?id=45774#c6
Solmis v2.4 requires at least .NET Framework 4.5.2 ('winetricks -q dotnet452') Additionally 'winetricks -q corefonts' later.
http://solmis.agoraplus.com/ZippedInstall/Install.zip
With .NET Framework 4.5.2 installed, click-once installer technology (dfsvc) is used which downloads additional 88 MB.
After the splash window there is a login dialog supposedly shown but the client area is rendered (overlayed?) black. Moving the mouse cursor into bottom right corner and clicking the 'info' icon (briefly revealed) makes the user interface render.
--- snip --- $ WINEDEBUG=+process,+loaddll wine ./setup.exe >>log.txt 2>&1 ... 00e0:trace:process:SetEnvironmentVariableW (L"__COR_COMMAND_LINE_APP_FULL_NAME__" L"http://solmis.agoraplus.com/Solmis.Client.application#Solmis.Client.applicat..., Version=2.4.3.140, Culture=neutral, PublicKeyToken=bbf7981b5975ac11, processorArchitecture=x86/Solmis.Client.exe, Version=2.4.3.140, Culture=neutral, PublicKeyToken=bbf7981b5975ac11, processorArchitecture=x86"...)
00e0:trace:process:CreateProcessInternalW app (null) cmdline L""C:\users\focht\Local Settings\Application Data\Apps\2.0\WOQPTZWG.M8V\PQEDRA2Y.KYX\solm..tion_bbf7981b5975ac11_0002.0004_38571e05ef5065e8\Solmis.Client.exe""
00fc:fixme:dwmapi:DwmAttachMilContent (00030042) stub 0134:fixme:driver:GdiEntry13 stub 0134:fixme:dwrite:dwritefactory_CreateMonitorRenderingParams (0x1): monitor setting ignored 0134:fixme:d3d:wined3d_check_device_format_conversion output 0x4f47488, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 00fc:fixme:path:parse_url failed to parse L"PresentationFramework-SystemCore" 00fc:fixme:path:parse_url failed to parse L"PresentationFramework-SystemXml" 00fc:fixme:path:parse_url failed to parse L"PresentationFramework-SystemData" 00fc:fixme:path:parse_url failed to parse L"UIAutomationTypes" ... 0134:fixme:dwmapi:DwmIsCompositionEnabled 0F42FDF4 0134:fixme:d3d:wined3d_check_device_format_conversion output 0x4f47488, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 0144:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts. 0144:fixme:d3d:state_lastpixel Last Pixel Drawing Disabled, not handled yet 0134:fixme:path:parse_url failed to parse L"Solmis.Client.resources" 0134:fixme:d3d9:Direct3DShaderValidatorCreate9 Returning stub validator 0F464038. --- snip ---
Workaround:
https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/gr...
--- snip --- $ wine reg add "HKCU\SOFTWARE\Microsoft\Avalon.Graphics" /v DisableHWAcceleration /t REG_DWORD /d 1 /f --- snip ---
Although I mentioned this workaround in bug 45871 ("Several .NET 4.7 WPF applications crash with HLSL shader parsing failure when using builtin 'd3dcompiler_47.dll'") as well, d3dcompiler is not used in this case.
$ sha1sum Install.zip d406efdd6a61a7291bbb8a8dad58847182dfa557 Install.zip
$ du -sh Install.zip 40M Install.zip
$ wine --version wine-5.7-97-g7ccc45f754
Regards