protonscr

WineHQ/DXVK: DirectX Corruption.

dxvkclosed can't reproduceprobably not our bug
doitsujin/dxvk#4831 · opened 2025-04-05 by jorikdeleeuw · updated 2025-05-19 · 8 comments · github
Jjorikdeleeuw 2025-04-05 github

Hi

Unfortunately DirectX on Fedora Linux 41 has corrupted after abrupt termination of active program and update and since then it has failed to properly display or communicate with X11.

  • The program is running is visible in the kernel.
  • The program is not 'opening' not displaying a active icon in the bar nor displaying a X11 window.
  • running DxDiag seems running correctly but does not display info.
  • running VkCube.exe from the SDK worked and own applications for testing did work.
  • Other application gave a assertionerror for vkGetDeviceMemoryImageRequirements

Wine DXDIAG

wine dxdiag
002c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
002c:fixme:winediag:loader_init wine-staging 10.4 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0078:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0024:fixme:winediag:loader_init wine-staging 10.4 is a testing version containing experimental patches.
0024:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0124:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
012c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
012c:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x3.
012c:err:winediag:wined3d_dll_init Using the GLSL shader backend.
012c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
012c:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
012c:fixme:wbemprox:enum_class_object_Next timeout not supported
info:  Game: dxdiag.exe
info:  DXVK: v2.5.3
info:  Build: x86_64 gcc 14.2.1
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffff7fae6d0
info:  Built-in extension providers:
info:    Platform 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 19.1.7, 256 bits)
info:  D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:    Driver : radv 25.0.2
info:    Memory Heap[0]: 
info:      Size: 2816 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 7963 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 Heap[2]: 
info:      Size: 256 MiB
info:      Flags: 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:  Process set as DPI aware
012c:err:d3d_sync:wined3d_cs_create Forcing serialization of all command streams.
012c:fixme:ddraw:ddraw7_Initialize Ignoring guid {00000000-0001-0000-0000-000000000000}.
012c:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
012c:fixme:dxdiag:wWinMain Information dialog is not implemented

wine +x11drv

$ WINEDEBUG=+x11drv wine dxdiag
017c:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0174:trace:x11drv:init_pixmap_formats depth 1, bpp 1, pad 32
0174:trace:x11drv:init_pixmap_formats depth 4, bpp 8, pad 32
0174:trace:x11drv:init_pixmap_formats depth 8, bpp 8, pad 32
0174:trace:x11drv:init_pixmap_formats depth 15, bpp 16, pad 32
0174:trace:x11drv:init_pixmap_formats depth 16, bpp 16, pad 32
0174:trace:x11drv:init_pixmap_formats depth 24, bpp 32, pad 32
0174:trace:x11drv:init_pixmap_formats depth 32, bpp 32, pad 32
0174:trace:x11drv:init_visuals default visual 21 class 4 argb 83
0174:warn:x11drv:get_work_area _GTK_WORKAREAS is not supported, fallback to _NET_WORKAREA. Work areas may be incorrect on multi-monitor systems.
0174:trace:x11drv:get_work_area work_rect:(0,0)-(1920,1036).
0174:trace:x11drv:xinerama_init monitor 0x0: (0,0)-(1920,1080) work (0,0)-(1920,1036) (primary)
0174:trace:x11drv:X11DRV_DisplayDevices_SetHandler Display device functions are now handled by: Xinerama
0174:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: NoRes.
0174:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: XF86VidMode.
0174:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: XRandR 1.0.
0174:trace:x11drv:X11DRV_DisplayDevices_SetHandler Display device functions are now handled by: XRandR 1.4
0174:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: XRandR 1.4.
0174:trace:x11drv:X11DRV_XComposite_Init XComposite is up and running error_base = 0
0184:fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls" (6.0.0.0)
0184:trace:x11drv:init_pixmap_formats depth 1, bpp 1, pad 32
0184:trace:x11drv:init_pixmap_formats depth 4, bpp 8, pad 32
0184:trace:x11drv:init_pixmap_formats depth 8, bpp 8, pad 32
0184:trace:x11drv:init_pixmap_formats depth 15, bpp 16, pad 32
0184:trace:x11drv:init_pixmap_formats depth 16, bpp 16, pad 32
0184:trace:x11drv:init_pixmap_formats depth 24, bpp 32, pad 32
0184:trace:x11drv:init_pixmap_formats depth 32, bpp 32, pad 32
0184:trace:x11drv:init_visuals default visual 21 class 4 argb 83
0184:warn:x11drv:get_work_area _GTK_WORKAREAS is not supported, fallback to _NET_WORKAREA. Work areas may be incorrect on multi-monitor systems.
0184:trace:x11drv:get_work_area work_rect:(0,0)-(1920,1036).
0184:trace:x11drv:xinerama_init monitor 0x0: (0,0)-(1920,1080) work (0,0)-(1920,1036) (primary)
0184:trace:x11drv:X11DRV_DisplayDevices_SetHandler Display device functions are now handled by: Xinerama
0184:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: NoRes.
0184:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: XF86VidMode.
0184:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: XRandR 1.0.
0184:trace:x11drv:X11DRV_DisplayDevices_SetHandler Display device functions are now handled by: XRandR 1.4
0184:trace:x11drv:X11DRV_Settings_SetHandler Display settings are now handled by: XRandR 1.4.
0184:trace:x11drv:X11DRV_XComposite_Init XComposite is up and running error_base = 0
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x300a6, swp_flags 0x14, shaped 0, rects { window (0,0)-(119,34), client (0,0)-(119,34), visible (0,0)-(119,34) }
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x300a6, swp_flags 0x10, shaped 0, rects { window (0,0)-(119,34), client (3,29)-(116,31), visible (0,0)-(119,34) }
0184:err:winediag:wined3d_dll_init Setting multithreaded command stream to 0x3.
0184:err:winediag:wined3d_dll_init Using the GLSL shader backend.
0184:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0184:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x30
0184:fixme:wbemprox:enum_class_object_Next timeout not supported
info:  Game: dxdiag.exe
info:  DXVK: v2.5.3
info:  Build: x86_64 gcc 14.2.1
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6ffff7c7e6d0
info:  Built-in extension providers:
info:    Platform 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 19.1.7, 256 bits)
info:  D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
info:    Driver : radv 25.0.2
info:    Memory Heap[0]: 
info:      Size: 2816 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[1]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 7963 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 Heap[2]: 
info:      Size: 256 MiB
info:      Flags: 0x1
info:      Memory Type[3]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0x7
info:  Process set as DPI aware
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x400a4, swp_flags 0x14, shaped 0, rects { window (10,10)-(129,44), client (10,10)-(129,44), visible (10,10)-(129,44) }
0184:trace:x11drv:update_user_time user time window 4400020
0184:trace:x11drv:set_mwm_hints 0x400a4 setting mwm hints to 0,3e (style 4cf0000 exstyle 100)
0184:trace:x11drv:X11DRV_create_win_data win 0x400a4/4600001 window (10,10)-(129,44) whole (10,10)-(129,44) client (10,10)-(129,44)
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x400a4/4600001 new_rects { window (10,10)-(129,44), client (10,10)-(129,44), visible (10,10)-(129,44) } style 04cf0000 flags 0000003c
0184:trace:x11drv:set_mwm_hints 0x400a4 setting mwm hints to 0,3e (style 4cf0000 exstyle 100)
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x300be, swp_flags 0x14, shaped 0, rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) }
0184:trace:x11drv:set_mwm_hints 0x300be setting mwm hints to 0,4 (style 8c000000 exstyle 0)
0184:trace:x11drv:X11DRV_create_win_data win 0x300be/4600002 window (0,0)-(1,1) whole (0,0)-(1,1) client (0,0)-(1,1)
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x300be/4600002 new_rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) } style 8c000000 flags 0000003c
0184:trace:x11drv:set_mwm_hints 0x300be setting mwm hints to 0,4 (style 8c000000 exstyle 0)
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x300be, swp_flags 0x10, shaped 0, rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) }
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x300be/4600002 new_rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) } style 8c000000 flags 00000018
0184:trace:x11drv:set_mwm_hints 0x300be setting mwm hints to 0,4 (style 8c000000 exstyle 0)
0184:trace:x11drv:window_set_config window 0x300be/4600002, requesting config (0,0)-(1,1) above 1, serial 109
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x400a4, swp_flags 0x10, shaped 0, rects { window (10,10)-(129,44), client (14,40)-(125,40), visible (10,10)-(129,44) }
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x400a4/4600001 new_rects { window (10,10)-(129,44), client (14,40)-(125,40), visible (14,40)-(125,41) } style 04cf0000 flags 00000018
0184:trace:x11drv:set_mwm_hints 0x400a4 setting mwm hints to 7a,3e (style 4cf0000 exstyle 100)
0184:trace:x11drv:window_set_config window 0x400a4/4600001, requesting config (14,40)-(125,41) above 1, serial 113
0184:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x1a010052 drawable 4600001 dc_rect (0,0)-(111,0)
0184:trace:x11drv:create_client_window 0x400a4 xwin 4600001/440002b
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x400a4, swp_flags 0x181f, shaped 0, rects { window (10,10)-(129,44), client (14,40)-(125,40), visible (10,10)-(129,44) }
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x400a4/4600001 new_rects { window (10,10)-(129,44), client (14,40)-(125,40), visible (14,40)-(125,41) } style 04cf0000 flags 0000181f
0184:trace:x11drv:set_mwm_hints 0x400a4 setting mwm hints to 7a,3e (style 4cf0000 exstyle 100)
0184:trace:x11drv:destroy_whole_window win 0x300be xwin 4600002/0
0184:trace:x11drv:destroy_whole_window win 0x400a4 xwin 4600001/440002b
0184:trace:x11drv:detach_client_window 0x400a4/4600001 detaching client window 440002b
0184:trace:x11drv:destroy_client_window 0x400a4 destroying client window 440002b
0184:err:d3d_sync:wined3d_cs_create Forcing serialization of all command streams.
0184:fixme:ddraw:ddraw7_Initialize Ignoring guid {00000000-0001-0000-0000-000000000000}.
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x500a4, swp_flags 0x14, shaped 0, rects { window (0,0)-(1920,1080), client (0,0)-(1920,1080), visible (0,0)-(1920,1080) }
0184:trace:x11drv:set_mwm_hints 0x500a4 setting mwm hints to 0,4 (style cc00000 exstyle 100)
0184:trace:x11drv:X11DRV_create_win_data win 0x500a4/4600003 window (0,0)-(1920,1080) whole (0,0)-(1920,1080) client (0,0)-(1920,1080)
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x500a4/4600003 new_rects { window (0,0)-(1920,1080), client (0,0)-(1920,1080), visible (0,0)-(1920,1080) } style 0cc00000 flags 0000003c
0184:trace:x11drv:set_mwm_hints 0x500a4 setting mwm hints to 0,6 (style cc00000 exstyle 100)
0184:trace:x11drv:window_set_net_wm_state window 0x500a4/4600003, requesting _NET_WM_STATE 0x2 serial 142
0184:trace:x11drv:update_net_wm_fullscreen_monitors window 0x500a4/4600003, requesting _NET_WM_FULLSCREEN_MONITORS 0,0,0,0 serial 143
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x500bc, swp_flags 0x14, shaped 0, rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) }
0184:trace:x11drv:set_mwm_hints 0x500bc setting mwm hints to 0,4 (style 8c000000 exstyle 0)
0184:trace:x11drv:X11DRV_create_win_data win 0x500bc/4600004 window (0,0)-(1,1) whole (0,0)-(1,1) client (0,0)-(1,1)
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x500bc/4600004 new_rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) } style 8c000000 flags 0000003c
0184:trace:x11drv:set_mwm_hints 0x500bc setting mwm hints to 0,4 (style 8c000000 exstyle 0)
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x500bc, swp_flags 0x10, shaped 0, rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) }
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x500bc/4600004 new_rects { window (0,0)-(1,1), client (0,0)-(1,1), visible (0,0)-(1,1) } style 8c000000 flags 00000018
0184:trace:x11drv:set_mwm_hints 0x500bc setting mwm hints to 0,4 (style 8c000000 exstyle 0)
0184:trace:x11drv:window_set_config window 0x500bc/4600004, requesting config (0,0)-(1,1) above 1, serial 172
0184:trace:x11drv:X11DRV_WindowPosChanging hwnd 0x500a4, swp_flags 0x10, shaped 0, rects { window (0,0)-(1920,1080), client (3,29)-(1917,1077), visible (0,0)-(1920,1080) }
0184:trace:x11drv:X11DRV_WindowPosChanged win 0x500a4/4600003 new_rects { window (0,0)-(1920,1080), client (3,29)-(1917,1077), visible (3,29)-(1917,1077) } style 0cc00000 flags 00000018
0184:trace:x11drv:set_mwm_hints 0x500a4 setting mwm hints to a,4 (style cc00000 exstyle 100)
0184:trace:x11drv:window_set_net_wm_state window 0x500a4/4600003, requesting _NET_WM_STATE 0 serial 176
0184:trace:x11drv:window_set_config window 0x500a4/4600003, requesting config (3,29)-(1917,1077) above 1, serial 177
0188:trace:x11drv:X11DRV_ExtEscape SET_DRAWABLE hdc 0x1a010052 drawable 4600003 dc_rect (0,0)-(1914,1048)
0188:trace:x11drv:create_client_window 0x500a4 xwin 4600003/4400035
0184:trace:x11drv:destroy_whole_window win 0x500bc xwin 4600004/0
0184:trace:x11drv:destroy_whole_window win 0x500a4 xwin 4600003/4400035
0184:trace:x11drv:detach_client_window 0x500a4/4600003 detaching client window 4400035
0184:trace:x11drv:destroy_client_window 0x500a4 destroying client window 4400035
0184:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0184:fixme:dxdiag:wWinMain Information dialog is not implemented

Ddoitsujin maintainer 2025-04-05 github

What "program" are you talking about and what is even your actual problem?

Sorry but I literally don't understand what this is supposed to be about at all.

wine dxdiag.exe works fine on my end.

Jjorikdeleeuw 2025-04-05 github

This only happens to DirectX applications they are not displaying anything. Not functioning or not working correctly. Excuse me the convenience. I'll try to be as clear as i can.

When i run dxdiag i get commandline output which seems to be functioning but also no 'window' and no 'icon' in the taskbar.

I have purged and reinstalled the wine prefix and wine packages but it did not resolve this issue.

I was able to run wine vkcube.exe the testapplication from the Vulkan SDK.

Ddoitsujin maintainer 2025-04-05 github

I mean, it even says that it doesn't create a window?

0134:fixme:dxdiag:wWinMain Information dialog is not implemented

not sure what the expectation is here, in order for you to see a window and a task bar icon, the application has to be programmed in such a way to actually create a window and a task bar icon, which this is not. wine's dxdiag is a command line application only.

Jjorikdeleeuw 2025-04-05 github

I expected the dxdiag window to pop up and might display some information regarding Wine/DirectX handling of Display configuration to trace trouble i am having with some of the games i play on wine run but have stopped functioning.

Elder Scrolls Online gave a AssertionError in getDeviceMemoryRequirement
Borderlands 3 - Runs but nothing happens, has ran before. No errors. Task visible in task manager and top.
World of Warcraft - Run nothing happns, has ran before. No errors. Task visible in task manager and top.
Fallout4 - Black screen. Has worked with F4se using a startup script.
Battle.net - Runs working.
Own test applications - run
VkCube.exe - runs in Wine with no problem.
Steam - Runs

Manually wiped SPIRV/GLSL shader cache but there could be remnant left unhandled.

I have been having a lot of trouble with Vulkan corrupting installation on Windows 10 with the standard driver. I have to reinstall the computer every 3 months due to the current circumstances. Of all times the driver tries to map memory from a onboard GPU which is not possible on my computer.

At this moment due to the frequency of the BSOD's i am not able to access my win10 partition due to recovery loops.

Ddoitsujin maintainer 2025-04-05 github

yeah idk, sounds like something on your setup is fucked. Not much to go on here.

Jjorikdeleeuw 2025-04-06 github

Yes.... I have really outdone myself this time.

$ wmctrl -l
0x0140001e -1 pretty_name.home Desktop @ QRect(0,0 1920x1080)
0x01400036 -1 pretty_name.home plasmashell
0x0340000e 0 pretty_name.home ~ : bash — Konsole
0x03800000 0 N/A N/A

Segmentation Fault

rt_sigreturn({mask=[]}) = 3221225477
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x0000000000000000 in ?? ()

BBlisto91 2025-05-18 github

@jorikdeleeuw Did you figure out the issue?

Jjorikdeleeuw 2025-05-19 github

A regression / driver bug introduced by Pebkag 1d1-0t abuse of logical query interrupt.

This has been 'solved' as of the introduction of a new version of the OS. An upgrade solved this problem.

But other things do reintroduce severely damaging crashes such as driver Overrides requiring the usage of Vulkan or are written in Vulkan because it 'actually' does improve everything even on Older Cards still do "Swap chaining" on motherboards that can not; this will shortcircuit.

Apparently something had corrupted PATH

I found out the problem here is not DXDiag but a regression caused by AMD drivers.

The official date which they was eventually solved was around 2 weeks after this.

Launch options

DLLs