[Bug 55432] New: PlanetSide 2: White screen when running launcher
https://bugs.winehq.org/show_bug.cgi?id=55432 Bug ID: 55432 Summary: PlanetSide 2: White screen when running launcher Product: Wine Version: 8.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdiplus Assignee: wine-bugs(a)winehq.org Reporter: linards.liepins(a)gmail.com Distribution: --- I am using Steam, so when I click "Play" in Steam, the black screen whith DayBreak logo appears for a second or two, and then it says for few more moments black and then turns all white. After following the suggestion to add "--disable-gpu" in https://www.reddit.com/r/linux_gaming/comments/va7qag/planetside_2_only_load... , launcher starts just fine. After that, the BattleEye error occurs, blocking to run the game. System: $ inxi -Gxxx Graphics: Device-1: Intel DG2 [Arc A770] driver: i915 v: kernel arch: Gen-12.7 pcie: speed: 2.5 GT/s lanes: 1 ports: active: HDMI-A-1,HDMI-A-2 empty: DP-1, DP-2, DP-3, DP-4, HDMI-A-3 bus-ID: 03:00.0 chip-ID: 8086:56a0 class-ID: 0300 Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.9 compositor: gnome-shell v: 44.3 driver: gpu: i915 display-ID: 0 Monitor-1: HDMI-A-1 model: BenQ G2420HDBL serial: RAB03454SL000 res: 1920x1080 dpi: 92 size: 477x268mm (18.78x10.55") diag: 604mm (23.8") modes: max: 1920x1080 min: 720x400 Monitor-2: HDMI-A-2 model: Philips FTV serial: 16843009 res: 1920x1080 dpi: 76 size: 640x360mm (25.2x14.17") diag: 734mm (28.9") modes: max: 1920x1080 min: 640x480 API: OpenGL v: 4.6 Mesa 23.1.5 renderer: Mesa Intel Arc A770 Graphics (DG2) direct-render: Yes -- 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=55432 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Summary|PlanetSide 2: White screen |PlanetSide 2 launcher is |when running launcher |completely white (needs | |dcomp.dll.DCompositionCreat | |eDevice implementation) Component|gdiplus |-unknown --- Comment #1 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- It needs dcomp.dll.DCompositionCreateDevice implementation. Disabling dcomp.dll works around the problem as well. Please also follow bug guideline rules by at least attaching the terminal output, have a look at https://wiki.winehq.org/Bugs#How_to_report. -- 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=55432 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |dcomp -- 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=55432 --- Comment #2 from Linards <linards.liepins(a)gmail.com> --- (In reply to Gijs Vermeulen from comment #1)
It needs dcomp.dll.DCompositionCreateDevice implementation. Disabling dcomp.dll works around the problem as well.
Please also follow bug guideline rules by at least attaching the terminal output, have a look at https://wiki.winehq.org/Bugs#How_to_report.
Terminal output: $ wine "LaunchPad.exe" 093c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0050C300, 43) stub 093c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION info: Game: LaunchPad.exe info: DXVK: v2.2 info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa837c0 info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface warn: Skipping CPU adapter: llvmpipe (LLVM 16.0.6, 256 bits) info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT info: Intel(R) Arc(tm) A770 Graphics (DG2): info: Driver : Intel open-source Mesa driver 23.1.4 info: Memory Heap[0]: info: Size: 16288 MiB info: Flags: 0x1 info: Memory Type[0]: Property Flags = 0x1 info: Memory Type[2]: Property Flags = 0x7 info: Memory Heap[1]: info: Size: 23981 MiB info: Flags: 0x0 info: Memory Type[1]: Property Flags = 0xe info: Process set as DPI aware 093c:fixme:iphlpapi:SendARP (DestIP 0x0100a8c0, SrcIP 0x00000000, pMacAddr 0068430C, PhyAddrLen 00684038): stub 0940:fixme:ver:GetCurrentPackageId (020EFEF0 00000000): stub info: Game: LaunchPad.exe info: DXVK: v2.2 info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa837c0 info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface warn: Skipping CPU adapter: llvmpipe (LLVM 16.0.6, 256 bits) info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT info: Intel(R) Arc(tm) A770 Graphics (DG2): info: Driver : Intel open-source Mesa driver 23.1.4 info: Memory Heap[0]: info: Size: 16288 MiB info: Flags: 0x1 info: Memory Type[0]: Property Flags = 0x1 info: Memory Type[2]: Property Flags = 0x7 info: Memory Heap[1]: info: Size: 23981 MiB info: Flags: 0x0 info: Memory Type[1]: Property Flags = 0xe info: Process set as DPI aware 0958:fixme:ver:GetCurrentPackageId (0510FEF0 00000000): stub 093c:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 093c:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems 093c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 080E5A18, 43) stub 093c:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented! 0988:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0A0DFCFC, 00000000 0A0DFD00 0988:fixme:nls:get_dummy_preferred_ui_language (0x38 0x426 0A0DFCFC 00000000 0A0DFD00) returning a dummy value (current locale) 0988:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 0A0DFCFC, 08740E60 0A0DFD00 0988:fixme:nls:get_dummy_preferred_ui_language (0x38 0x426 0A0DFCFC 08740E60 0A0DFD00) returning a dummy value (current locale) 0988:fixme:winsock:WSALookupServiceBeginW (0A0DFA24 0xff0 0A0DFA64) Stub! 0988:fixme:iphlpapi:NotifyAddrChange (Handle 0A0DFBA4, overlapped 087419D4): stub 09c4:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 09c4:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems 09c4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 12ED5A18, 43) stub 09c4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0044C8C0, 43) stub 09c4:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented! 09f0:fixme:thread:QueryThreadCycleTime (00000118,0377FDF0): stub! 09c4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 040B76C0, 43) stub 09c4:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 04570C28, 43) stub info: Game: GameLauncherCefChildProcess.exe info: DXVK: v2.2 info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fa837c0 info: Built-in extension providers: info: Win32 WSI info: OpenVR info: OpenXR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface warn: Skipping CPU adapter: llvmpipe (LLVM 16.0.6, 256 bits) info: Intel(R) Arc(tm) A770 Graphics (DG2): info: Driver : Intel open-source Mesa driver 23.1.4 info: Memory Heap[0]: info: Size: 16288 MiB info: Flags: 0x1 info: Memory Type[0]: Property Flags = 0x1 info: Memory Type[2]: Property Flags = 0x7 info: Memory Heap[1]: info: Size: 23981 MiB info: Flags: 0x0 info: Memory Type[1]: Property Flags = 0xe warn: DXGI: Found monitors not associated with any adapter, using fallback warn: D3D11DeviceFeatures: External memory features not supported info: D3D11CoreCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_11_1 info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0 info: Device properties: info: Device : Intel(R) Arc(tm) A770 Graphics (DG2) info: Driver : Intel open-source Mesa driver 23.1.4 info: Enabled device extensions: info: VK_EXT_conservative_rasterization info: VK_EXT_custom_border_color info: VK_EXT_depth_clip_enable info: VK_EXT_extended_dynamic_state3 info: VK_EXT_fragment_shader_interlock info: VK_EXT_non_seamless_cube_map info: VK_EXT_robustness2 info: VK_EXT_shader_module_identifier info: VK_EXT_shader_stencil_export info: VK_EXT_transform_feedback info: VK_EXT_vertex_attribute_divisor info: VK_KHR_pipeline_library info: VK_KHR_swapchain info: Device features: info: robustBufferAccess : 1 info: fullDrawIndexUint32 : 1 info: imageCubeArray : 1 info: independentBlend : 1 info: geometryShader : 1 info: tessellationShader : 1 info: sampleRateShading : 1 info: dualSrcBlend : 1 info: logicOp : 1 info: multiDrawIndirect : 1 info: drawIndirectFirstInstance : 1 info: depthClamp : 1 info: depthBiasClamp : 1 info: fillModeNonSolid : 1 info: depthBounds : 1 info: multiViewport : 1 info: samplerAnisotropy : 1 info: textureCompressionBC : 1 info: occlusionQueryPrecise : 1 info: pipelineStatisticsQuery : 1 info: vertexPipelineStoresAndAtomics : 1 info: fragmentStoresAndAtomics : 1 info: shaderImageGatherExtended : 1 info: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 0 info: shaderInt64 : 1 info: variableMultisampleRate : 1 info: shaderResourceResidency : 0 info: shaderResourceMinLod : 1 info: sparseBinding : 0 info: sparseResidencyBuffer : 0 info: sparseResidencyImage2D : 0 info: sparseResidencyImage3D : 0 info: sparseResidency2Samples : 0 info: sparseResidency4Samples : 0 info: sparseResidency8Samples : 0 info: sparseResidency16Samples : 0 info: sparseResidencyAliased : 0 info: Vulkan 1.1 info: shaderDrawParameters : 1 info: Vulkan 1.2 info: samplerMirrorClampToEdge : 1 info: drawIndirectCount : 1 info: samplerFilterMinmax : 1 info: hostQueryReset : 1 info: timelineSemaphore : 1 info: bufferDeviceAddress : 0 info: shaderOutputViewportIndex : 1 info: shaderOutputLayer : 1 info: vulkanMemoryModel : 1 info: Vulkan 1.3 info: robustImageAccess : 0 info: pipelineCreationCacheControl : 1 info: shaderDemoteToHelperInvocation : 1 info: shaderZeroInitializeWorkgroupMemory : 0 info: synchronization2 : 1 info: dynamicRendering : 1 info: VK_AMD_shader_fragment_mask info: extension supported : 0 info: VK_EXT_attachment_feedback_loop_layout info: attachmentFeedbackLoopLayout : 0 info: VK_EXT_conservative_rasterization info: extension supported : 1 info: VK_EXT_custom_border_color info: customBorderColors : 1 info: customBorderColorWithoutFormat : 1 info: VK_EXT_depth_clip_enable info: depthClipEnable : 1 info: VK_EXT_extended_dynamic_state3 info: extDynamicState3AlphaToCoverageEnable : 0 info: extDynamicState3DepthClipEnable : 1 info: extDynamicState3RasterizationSamples : 0 info: extDynamicState3SampleMask : 1 info: VK_EXT_fragment_shader_interlock info: fragmentShaderSampleInterlock : 1 info: fragmentShaderPixelInterlock : 1 info: VK_EXT_full_screen_exclusive info: extension supported : 0 info: VK_EXT_graphics_pipeline_library info: graphicsPipelineLibrary : 0 info: VK_EXT_memory_budget info: extension supported : 1 info: VK_EXT_memory_priority info: memoryPriority : 0 info: VK_EXT_non_seamless_cube_map info: nonSeamlessCubeMap : 0 info: VK_EXT_robustness2 info: robustBufferAccess2 : 1 info: robustImageAccess2 : 1 info: nullDescriptor : 1 info: VK_EXT_shader_module_identifier info: shaderModuleIdentifier : 1 info: VK_EXT_shader_stencil_export info: extension supported : 1 info: VK_EXT_swapchain_colorspace info: extension supported : 0 info: VK_EXT_hdr_metadata info: extension supported : 0 info: VK_EXT_transform_feedback info: transformFeedback : 1 info: geometryStreams : 1 info: VK_EXT_vertex_attribute_divisor info: vertexAttributeInstanceRateDivisor : 1 info: vertexAttributeInstanceRateZeroDivisor : 1 info: VK_KHR_external_memory_win32 info: extension supported : 0 info: VK_KHR_external_semaphore_win32 info: extension supported : 0 info: VK_NVX_binary_import info: extension supported : 0 info: VK_NVX_image_view_handle info: extension supported : 0 info: Queue families: info: Graphics : 0 info: Transfer : 0 info: Sparse : n/a warn: DXVK: No state cache file found info: DXVK: Graphics pipeline libraries not supported info: Adapter LUID 0: 0:443 err: Failed to create shared resource: VK_KHR_EXTERNAL_MEMORY_WIN32 not supported warn: D3D11: Failed to write shared resource info for a texture warn: D3D11Texture2D::QueryInterface: Unknown interface query warn: 9d8e1289-d7b3-465f-8126-250e349af85d err: D3D11VideoDevice::GetVideoDecoderProfileCount: Stub err: Failed to create shared resource: VK_KHR_EXTERNAL_MEMORY_WIN32 not supported warn: D3D11: Failed to write shared resource info for a texture warn: D3D11Texture2D::QueryInterface: Unknown interface query warn: f8fb5c27-c6b3-4f75-a4c8-439af2ef564c 09e0:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 09e0:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems 09e0:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 12ED5A18, 43) stub 09e0:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0044C8C0, 43) stub 09e0:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented! 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 05477B54. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 05477B54. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 05477B54. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 05477B54. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 05477B54. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 0547480C. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 054748EC. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 054748EC. 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 054748EC. 09e0:fixme:gdi:GdiInitializeLanguagePack stub 09e0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 09c4:fixme:dcomp:DCompositionCreateDevice 04494BF8, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 054748EC. 09e8:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 09e8:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems 09e8:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 12ED5A18, 43) stub 09e8:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0044C8C0, 43) stub 09e8:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented! 09e8:fixme:gdi:GdiInitializeLanguagePack stub 09e8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 099c:fixme:file:NtLockFile I/O completion on lock not implemented yet -- 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=55432 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #3 from joaopa <jeremielapuree(a)yahoo.fr> --- DXVK is not supported in this bugzilla. You opened several bugs with such a setup. Please when reporting a bug, use only vanilla wine in a fresh prefix. You were already told that. -- 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=55432 --- Comment #4 from Linards <linards.liepins(a)gmail.com> --- (In reply to joaopa from comment #3)
DXVK is not supported in this bugzilla. You opened several bugs with such a setup. Please when reporting a bug, use only vanilla wine in a fresh prefix. You were already told that.
OK. Either way, the command line ( launch option in STeam ): "--disable-gpu" did the trick. The game then - once clicking "PLAY", is not launching due to EasyAntiCheat Error 1053 (See https://forum.winehq.org/viewtopic.php?t=33065). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55432 --- Comment #5 from lunarleafclover(a)outlook.com --- This also seemingly affects "Deelay" by Sixth Sample when being loaded into FL Studio, except instead of being white, it just doesn't render anything in the plugin window. It functions, but without its UI, its effectively useless outside of opening FL Studios with Deelay already pre-configured. I tested with Wine 10.0, and multiple other versions, like GE-Proton under Bottles, using GL, Vulkan, with or without DXVK or vkd3d. Disabling dcomp within Wine's configurations just simply causes it to not load at all within FL Studio, no matter what version I tried. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55432 Wehrwolfmann <wehrwolfmann@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wehrwolfmann@gmail.com --- Comment #6 from Wehrwolfmann <wehrwolfmann@gmail.com> --- Still present in wine-11.15 (vanilla, 64-bit, clean prefix). Since the reports in this bug so far were taken with DXVK, here is a measurement made without DXVK, without Steam and without any application -- a ~90 line program that only loads dcomp.dll and calls the three device creation entry points (attached as dcomp_min.c, build with x86_64-w64-mingw32-gcc dcomp_min.c -o dcomp_min.exe -ld3d11 -ldxgi -lole32): reported Windows version: 10.0 build 19045 D3D11CreateDevice hr=0x00000000 feature_level=0xb000 QI IDXGIDevice hr=0x00000000 DCompositionCreateDevice(IDCompositionDevice) hr=0x80004001 DCompositionCreateDevice2(IDCompositionDevice2) hr=0x80004001 DCompositionCreateDevice3(IDCompositionDesktopDevice) hr=0x80004001 fixme:dcomp:DCompositionCreateDevice ..., {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, ... fixme:dcomp:DCompositionCreateDevice2 ..., {75f6468d-1b8e-447c-9bc6-75fea80b5b25}, ... fixme:dcomp:DCompositionCreateDevice3 ..., {5f4633fe-1e08-4cb8-8c75-ce24333f5602}, ... The D3D11 device and its IDXGIDevice are created fine; only the DirectComposition device creation fails, which matches dlls/dcomp/device.c in current master, where all three entry points are FIXME + E_NOTIMPL. This is not limited to game launchers. Anything built on Chromium's compositor takes the same path once the prefix reports Windows 8.1 or newer, which currently includes every application embedding the WebView2 runtime -- see bug 58921, where forcing the Windows version down to win7/win8 for the Chromium process alone is the workaround. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55432 --- Comment #7 from Wehrwolfmann <wehrwolfmann@gmail.com> --- Created attachment 81789 --> http://bugs.winehq.org/attachment.cgi?id=81789 Minimal DirectComposition probe, no WebView2 or application required. 3. Save Changes. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55432 Stian Low <wineryyyyy@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wineryyyyy@gmail.com --- Comment #8 from Stian Low <wineryyyyy@gmail.com> --- (In reply to Wehrwolfmann from comment #7)
Created attachment 81789 [details] Minimal DirectComposition probe, no WebView2 or application required. 3. Save Changes.
Please retest with wine-staging which added some support for dcomp some months ago including some dcomp tweaks for compatibility with swapchain features to fix flicker bugs at the time: - https://bugs.winehq.org/show_bug.cgi?id=59631#c33 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=55432 --- Comment #9 from Wehrwolfmann <wehrwolfmann@gmail.com> --- (In reply to Stian Low from comment #8)
Please retest with wine-staging which added some support for dcomp some months ago
Retested -- thanks for the pointer, the staging dcomp patches do cover this, and they fix the application case as well. Setup: wine-staging 11.15 and vanilla wine 11.15, both distribution builds of the same version (Arch/CachyOS 11.15-1.1), the staging one unpacked into a separate tree so that the two could be measured back to back on one machine. Fresh 64-bit prefixes, no DXVK, no vkd3d, no Steam, no DLL overrides. Renderer is Mesa 26.1.6 radeonsi on an AMD Radeon 780M; the reported Windows version is the default 10.0 build 19045. 1. The probe from comment #6 / attachment 81789 (dcomp_min.exe) wine-11.15 (vanilla) DCompositionCreateDevice(IDCompositionDevice) 0x80004001 E_NOTIMPL DCompositionCreateDevice2(IDCompositionDevice2) 0x80004001 E_NOTIMPL DCompositionCreateDevice3(IDCompositionDesktopDevice) 0x80004001 E_NOTIMPL wine-11.15 (Staging) DCompositionCreateDevice(IDCompositionDevice) 0x00000000 S_OK DCompositionCreateDevice2(IDCompositionDevice2) 0x80004002 E_NOINTERFACE DCompositionCreateDevice3(IDCompositionDesktopDevice) 0x00000000 S_OK 2. A second probe, walking the exact sequence Chromium's viz process performs at startup (direct_composition_support.cc plus DCLayerTree::Initialize) -- the path that the PlanetSide 2 launcher and every WebView2/CEF based application take once the prefix reports Windows 8.1 or newer. On wine-staging 11.15 the whole sequence now succeeds: D3D11CreateDevice S_OK ID3D11Device::QueryInterface(IDXGIDevice) S_OK DCompositionCreateDevice -> IDCompositionDevice S_OK DCompositionCreateDevice2 -> IDCompositionDesktopDevice S_OK DCompositionCreateDevice2 -> IDCompositionDevice2 E_NOINTERFACE IDCompositionDesktopDevice::QI(IDCompositionDevice2) S_OK CreateWindowEx(WS_EX_NOREDIRECTIONBITMAP) ok IDCompositionDesktopDevice::CreateTargetForHwnd S_OK IDCompositionDevice2::CreateVisual S_OK IDCompositionTarget::SetRoot S_OK IDCompositionDevice2::Commit S_OK with only two fixmes left on that path: fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x20. fixme:dcomp:device_Commit iface ... semi-stub! On vanilla 11.15 the same probe stops at the third line, since dlls/dcomp/device.c in master is still three FIXME + E_NOTIMPL stubs and nothing else (47 lines), so nothing below the device can be reached. 3. Application level, same machine, one and the same prefix, only the wine build swapped: Razer Axon 2.9.1.0, whose entire UI is the WebView2 runtime (151.0.4129.78), reporting Windows 10, with no per-application Version override of any kind. vanilla 11.15: window stays blank. The GPU process retries and dies in a loop; nine separate processes each log one fixme:dcomp:DCompositionCreateDevice ... fixme:dcomp:DCompositionCreateDevice3 ... and no content is ever painted. staging 11.15: one DCompositionCreateDevice3 call, no restart loop, and the UI paints completely -- text, images, the banner carousel animating between frames. That last point matters beyond this bug: the standing workaround for WebView2 applications has been a per-application Version=win7/win8 override for msedgewebview2.exe (bug 58921). On wine-staging 11.15 that override is no longer needed -- I removed it and the UI renders at win10. On vanilla 11.15 it is still required. Two things that may be worth folding back into the staging patchset: a) DCompositionCreateDevice2 returns E_NOINTERFACE when IID_IDCompositionDevice2 is requested directly, while it succeeds for IID_IDCompositionDesktopDevice. On Windows both are accepted, and the object handed back for IID_IDCompositionDesktopDevice does implement IDCompositionDevice2, as the QueryInterface line above shows. Chromium is not affected because it asks for the desktop device and then QIs, but an application asking for IDCompositionDevice2 up front will still fail. b) In the Razer Axon run, WebView2 also queries {4ca97a18-cbfd-4b0d-89e1-f7fa86d8d63e} on the device and takes E_NOINTERFACE gracefully; visual_SetContent and device_Commit are semi-stubs. Everything still renders, so these are notes rather than blockers. I am attaching the second probe so the sequence can be reproduced without a game launcher or a WebView2 runtime; build with x86_64-w64-mingw32-g++ dcomp_chromium.cpp -o dcomp_chromium.exe \ -ld3d11 -ldxgi -ldcomp -lole32 -luser32 As for this bug's disposition: the failure it describes is gone in wine-staging but unchanged in mainline -- dlls/dcomp/device.c in master has not moved -- so from a mainline point of view it still reproduces in 11.15. Happy to retest anything specific on either 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.
http://bugs.winehq.org/show_bug.cgi?id=55432 --- Comment #10 from Wehrwolfmann <wehrwolfmann@gmail.com> --- Created attachment 81814 --> http://bugs.winehq.org/attachment.cgi?id=81814 Chromium viz startup sequence probe -- succeeds on wine-staging 11.15 -- 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.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla