-
Notifications
You must be signed in to change notification settings - Fork 319
Description
Not sure if Wine bug or a Gamescope bug.
Wine's wayland driver works correctly, but not under gamescope by using the flag --expose-wayland
Forcing a new enough (or patched) wine to use (non x)wayland with "wine reg.exe add HKCU\\Software\\Wine\\Drivers /v Graphics /d wayland" (does not need to unset DISPLAY in this way) makes it so launching under gamescope --expose-wayland -- wine (insert program) cannot produce a viable window with the following logs:
For notepad or gamescope --expose-wayland --debug-layers --debug-focus --debug-events -- wine notepad :
vblank: Using timerfd.
wlserver: [backend/headless/backend.c:67] Creating headless backend
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
vulkan: selecting physical device 'AMD Radeon RX 7800 XT (RADV NAVI32)': queue family 1 (general queue family 0)
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan: AR24 (0x34325241)
vulkan: XR24 (0x34325258)
vulkan: AB24 (0x34324241)
vulkan: XB24 (0x34324258)
vulkan: RG16 (0x36314752)
vulkan: NV12 (0x3231564E)
vulkan: AB4H (0x48344241)
vulkan: XB4H (0x48344258)
vulkan: AB48 (0x38344241)
vulkan: XB48 (0x38344258)
vulkan: AB30 (0x30334241)
vulkan: XB30 (0x30334258)
vulkan: AR30 (0x30335241)
vulkan: XR30 (0x30335258)
vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:17] Starting headless backend
wlserver: [xwayland/server.c:108] Starting Xwayland on :1
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
wlserver: [types/wlr_compositor.c:692] New wlr_surface 0x574e034be620 (res 0x574e0327c350)
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 66
event 28
event 88
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
pipewire: renegotiating stream params (size: 1280x720)
event 28
03a8:err:waylanddrv:wayland_process_init Wayland compositor doesn't support wl_subcompositor
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03a8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03c0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
03c0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
03a0:fixme:ver:GetCurrentPackageId (000000000021FEB0 0000000000000000): stub
Log without gamescope (opens correctly):
0468:fixme:ver:GetCurrentPackageId (000000000021FEB0 0000000000000000): stub
0440:fixme:ver:GetCurrentPackageId (000000000021FEB0 0000000000000000): stub
For a game running on DXVK/Vulkan or gamescope --expose-wayland --debug-layers --debug-focus --debug-events -- wine DBXV2.exe :
vblank: Using timerfd.
wlserver: [backend/headless/backend.c:67] Creating headless backend
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
vulkan: selecting physical device 'AMD Radeon RX 7800 XT (RADV NAVI32)': queue family 1 (general queue family 0)
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan: AR24 (0x34325241)
vulkan: XR24 (0x34325258)
vulkan: AB24 (0x34324241)
vulkan: XB24 (0x34324258)
vulkan: RG16 (0x36314752)
vulkan: NV12 (0x3231564E)
vulkan: AB4H (0x48344241)
vulkan: XB4H (0x48344258)
vulkan: AB48 (0x38344241)
vulkan: XB48 (0x38344258)
vulkan: AB30 (0x30334241)
vulkan: XB30 (0x30334258)
vulkan: AR30 (0x30335241)
vulkan: XR30 (0x30335258)
vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:17] Starting headless backend
wlserver: [xwayland/server.c:108] Starting Xwayland on :1
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
wlserver: [types/wlr_compositor.c:692] New wlr_surface 0x60af6e1447f0 (res 0x60af6e01d210)
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 66
event 28
event 88
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
event 28
vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
pipewire: renegotiating stream params (size: 1280x720)
event 28
03d8:err:waylanddrv:wayland_process_init Wayland compositor doesn't support wl_subcompositor
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
03d8:fixme:bitmap:NtGdiCreateBitmap planes = 0
info: Game: DBXV2.exe
info: DXVK: v2.3-34-g1568c263-gplasync
info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffffb103b40
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
03f0:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
03f0:err:vulkan:init_vulkan Failed to load Wine graphics driver supporting Vulkan.
info: Required Vulkan extension VK_KHR_surface not supported
err: DxvkInstance: Required instance extensions not supported
03f0:err:ole:CoUninitialize Mismatched CoUninitialize
03f0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
03f0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
03f0:fixme:ver:GetCurrentPackageId (000000000011FEB0 0000000000000000): stub
03d0:fixme:ver:GetCurrentPackageId (000000000021FEB0 0000000000000000): stub
Log without gamescope (opens correctly)
:
info: Game: DBXV2.exe
info: DXVK: v2.3-34-g1568c263-gplasync
info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffffb0d3b40
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_EXT_surface_maintenance1
info: VK_KHR_get_surface_capabilities2
info: VK_KHR_surface
info: VK_KHR_win32_surface
warn: Skipping CPU adapter: llvmpipe (LLVM 18.0.0, 256 bits)
info: AMD Radeon RX 7800 XT (RADV NAVI32):
info: Driver : radv 24.0.99
info: Memory Heap[0]:
info: Size: 48083 MiB
info: Flags: 0x0
info: Memory Type[2]: Property Flags = 0x6
info: Memory Type[5]: Property Flags = 0xe
info: Memory Type[6]: Property Flags = 0xe
info: Memory Type[8]: Property Flags = 0xc6
info: Memory Type[10]: Property Flags = 0xce
info: Memory Heap[1]:
info: Size: 16368 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0x1
info: Memory Type[1]: Property Flags = 0x1
info: Memory Type[3]: Property Flags = 0x7
info: Memory Type[4]: Property Flags = 0x7
info: Memory Type[7]: Property Flags = 0xc1
info: Memory Type[9]: Property Flags = 0xc7
warn: DXGI: Found monitors not associated with any adapter, using fallback
info: Adapter LUID 0: 0:430
warn: D3D11DeviceFeatures: External memory features not supported
info: D3D11InternalCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_12_1
info: D3D11InternalCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info: Device properties:
info: Device : AMD Radeon RX 7800 XT (RADV NAVI32)
info: Driver : radv 24.0.99
info: Enabled device extensions:
info: VK_AMD_memory_overallocation_behavior
info: VK_EXT_attachment_feedback_loop_layout
info: VK_EXT_conservative_rasterization
info: VK_EXT_custom_border_color
info: VK_EXT_depth_bias_control
info: VK_EXT_depth_clip_enable
info: VK_EXT_extended_dynamic_state3
info: VK_EXT_fragment_shader_interlock
info: VK_EXT_graphics_pipeline_library
info: VK_EXT_memory_priority
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_swapchain_maintenance1
info: VK_EXT_transform_feedback
info: VK_EXT_vertex_attribute_divisor
info: VK_KHR_maintenance5
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: wideLines : 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 : 1
info: shaderInt64 : 1
info: variableMultisampleRate : 1
info: shaderResourceResidency : 1
info: shaderResourceMinLod : 1
info: sparseBinding : 1
info: sparseResidencyBuffer : 1
info: sparseResidencyImage2D : 1
info: sparseResidencyImage3D : 1
info: sparseResidency2Samples : 0
info: sparseResidency4Samples : 0
info: sparseResidency8Samples : 0
info: sparseResidency16Samples : 0
info: sparseResidencyAliased : 1
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_depth_bias_control
info: depthBiasControl : 1
info: leastRepresentableValueForceUnormRepresentation : 1
info: floatRepresentation : 0
info: depthBiasExact : 1
info: VK_EXT_extended_dynamic_state3
info: extDynamicState3AlphaToCoverageEnable : 1
info: extDynamicState3DepthClipEnable : 1
info: extDynamicState3RasterizationSamples : 1
info: extDynamicState3SampleMask : 1
info: extDynamicState3LineRasterizationMode : 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 : 1
info: VK_EXT_line_rasterization
info: rectangularLines : 1
info: smoothLines : 1
info: VK_EXT_memory_budget
info: extension supported : 1
info: VK_EXT_memory_priority
info: memoryPriority : 1
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_swapchain_maintenance1
info: swapchainMaintenance1 : 1
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_KHR_maintenance5
info: maintenance5 : 1
info: VK_KHR_present_id
info: presentId : 0
info: VK_KHR_present_wait
info: presentWait : 0
info: VK_NVX_binary_import
info: extension supported : 0
info: VK_NVX_image_view_handle
info: extension supported : 0
info: VK_KHR_win32_keyed_mutex
info: extension supported : 0
info: Queue families:
info: Graphics : 0
info: Transfer : 1
info: Sparse : 2
info: Memory type mask for sparse resources: 0x7ad
warn: DXVK: No state cache file found
info: DXVK: Graphics pipeline libraries supported
info: DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
04a4:fixme:system:NtUserQueryDisplayConfig flags 0x2, paths_count 0x11be38, paths 0x12bd500, modes_count 0x11be3c, modes 0x12b7770, topology_id (nil) semi-stub
err: readMonitorEdidFromKey: Failed to get EDID reg key size
err: DXGI: Failed to parse display metadata + colorimetry info, using blank.
info: AMD Radeon RX 7800 XT (RADV NAVI32):
info: Driver : radv 24.0.99
info: Memory Heap[0]:
info: Size: 48083 MiB
info: Flags: 0x0
info: Memory Type[2]: Property Flags = 0x6
info: Memory Type[5]: Property Flags = 0xe
info: Memory Type[6]: Property Flags = 0xe
info: Memory Type[8]: Property Flags = 0xc6
info: Memory Type[10]: Property Flags = 0xce
info: Memory Heap[1]:
info: Size: 16368 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0x1
info: Memory Type[1]: Property Flags = 0x1
info: Memory Type[3]: Property Flags = 0x7
info: Memory Type[4]: Property Flags = 0x7
info: Memory Type[7]: Property Flags = 0xc1
info: Memory Type[9]: Property Flags = 0xc7
warn: DXGI: Found monitors not associated with any adapter, using fallback
04a4:fixme:system:NtUserQueryDisplayConfig flags 0x2, paths_count 0x11ba68, paths 0x12bd500, modes_count 0x11ba6c, modes 0x12b7920, topology_id (nil) semi-stub
err: readMonitorEdidFromKey: Failed to get EDID reg key size
err: DXGI: Failed to parse display metadata + colorimetry info, using blank.
04a4:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS)
04a4:fixme:system:NtUserSystemParametersInfo Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
04a4:fixme:system:NtUserSystemParametersInfo Unimplemented action: 51 (SPI_SETFILTERKEYS)
04a4:fixme:wbemprox:client_security_SetBlanket 00006FFFFB097E80, 000000000031F5A0, 10, 0, (null), 3, 3, 0000000000000000, 0
04a4:fixme:wbemprox:client_security_Release 00006FFFFB097E80
04a4:fixme:wbemprox:enum_class_object_Next timeout not supported
warn: DXGI: MakeWindowAssociation: Ignoring flags
info: Presenter: Actual swap chain properties:
info: Format: VK_FORMAT_R8G8B8A8_UNORM
info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info: Present mode: VK_PRESENT_MODE_MAILBOX_KHR (dynamic: yes)
info: Buffer size: 800x600
info: Image count: 5
info: Exclusive FS: 1
warn: DXGI: MakeWindowAssociation: Ignoring flags
info: DXVK: Using 24 compiler threads
0538:fixme:ver:GetCurrentPackageId (000000001C2FFF50 0000000000000000): stub
0534:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Pro Audio",000000001C1FFE6C): stub
info: Presenter: Actual swap chain properties:
info: Format: VK_FORMAT_R8G8B8A8_UNORM
info: Color space: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info: Present mode: VK_PRESENT_MODE_FIFO_KHR (dynamic: yes)
info: Buffer size: 949x1004
info: Image count: 5
info: Exclusive FS: 1
0534:fixme:avrt:AvRevertMmThreadCharacteristics (0000000012345678): stub
047c:fixme:ver:GetCurrentPackageId (000000000021FEB0 0000000000000000): stub
Setting WAYLAND_DISPLAY and/or DISPLAY on the right side of gamescope command to various strings including blank, wayland-0 and gamescope-0 does not help like it does to Firefox for example (#808). Foregoing --expose-wayland doesn't help either as, as stated above, with this registry edit wine will ONLY use native wayland, which rules out the DISPLAY="" requirement and associated interfecences with gamescope.
I have observed the same behavior from at least one other user, and I'm waiting on a second. A quick and dirty way to get access to a precompiled wine with wayland driver ability if your distro does not offer it is to grab one of the binaries over at Tk-Glitch's wine-tkg avaiable for a variety of distros: link
gamescope: git master (dc81258)
wine: 9.0.r2.ge045af48 ( TkG Staging Esync Fsync )
wm: sway 1.9-dev-ae33f4eb
mesa: 24.1.0-devel (git-c3a64f8dd1)
kernel: 6.7.1 (CachyOS)