https://bugs.winehq.org/show_bug.cgi?id=49441
Bug ID: 49441 Summary: Starting wine freezes with libstrangle and dxvk Product: Wine Version: 5.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winevulkan Assignee: wine-bugs@winehq.org Reporter: kjandrews0@gmail.com Distribution: ---
Upgrading from wine-staging 5.9-1 to 5.11-1 on Arch Linux has broken support for libstrangle.
https://gitlab.com/torkel104/libstrangle/-/issues/39#
Not sure if this is a wine or libstrangle bug yet, however would be nice to fix.
Currently Running:
wine-staging 5.11-1 nvidia-vulkan-dkms 440.66.17-1 dxvk/dx11 (inside winetricks - master) 64bit prefix arch linux - tried on latest/zen/lts kernels
Starting a game or winecfg in the terminal shows no output after:
Wine staging 5.11 is a testing version containing experimental patches Please mention your exact version when filing bug reports on winehq.org
After a considerable wait it will eventually print out:
boot event wait timed out
Downgrading to wine-staging 5.9-1 starts working again. Libstrangle also works fine through
strangle 30 glxgears
Please let me know if any further information is required and how to perform any testing needed.
https://bugs.winehq.org/show_bug.cgi?id=49441
Anya animegirl@stronzi.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |animegirl@stronzi.org
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #1 from Kevin Andrews kjandrews0@gmail.com --- Adding the environement variable for the strangle vulkan layer also freezes wine startup of any programs including iexplorer.exe:
ENABLE_VK_LAYER_TORKEL104_libstrangle=1
with both:
ENABLE_VK_LAYER_TORKEL104_libstrangle=1 strangle 30 wine iexplorer.exe and ENABLE_VK_LAYER_TORKEL104_libstrangle=1 wine iexplorer.exe
running
wine explorer.exe
works fine
More testing on wine staging versions
5.9-1 working fine with libstrangle 5.10-2 working with libstrangle 5.11-1 not working 5.11-2 not working
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #2 from Kevin Andrews kjandrews0@gmail.com --- Just tested 5.12-1 also not working with libstrangle
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #3 from Kevin Andrews kjandrews0@gmail.com --- Noticed I'd tested this with staging patches applied.
Testing without staging patches, working in 5.9 and stops working in 5.10 so this is not being caused by a staging patch.
https://bugs.winehq.org/show_bug.cgi?id=49441
Kevin Andrews kjandrews0@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|5.11 |5.10
https://bugs.winehq.org/show_bug.cgi?id=49441
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #4 from joaopa jeremielapuree@yahoo.fr --- Please, run a regression test: https://wiki.winehq.org/Regression_Testing
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #5 from Kevin Andrews kjandrews0@gmail.com --- Haven't been able to follow the bisect / regression testing yet, however an interesting finding:
Launching winecfg first, then running applications with strangle enabled works fine.
It seems if the wine boot process has completed and the server is available then applications can launch fine.
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #6 from Kevin Andrews kjandrews0@gmail.com --- After 6 hours of git bisect and compiling with 64bit support to test with the exact same configuration, (ccache is a huge help!):
145cfce1135a7e59cc4c89cd05b572403f188161 is the first bad commit commit 145cfce1135a7e59cc4c89cd05b572403f188161 Author: Zhiyi Zhang zzhang@codeweavers.com Date: Wed Jun 17 20:02:04 2020 +0800
winex11.drv: Add a Vulkan UUID property for GPUs.
A Vulkan UUID property is used to find the corresponding GPU in SetupAPI.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com Signed-off-by: Liam Middlebrook lmiddlebrook@nvidia.com Signed-off-by: Alexandre Julliard julliard@winehq.org
dlls/winex11.drv/display.c | 15 +++++-- dlls/winex11.drv/x11drv.h | 2 + dlls/winex11.drv/xrandr.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 113 insertions(+), 3 deletions(-)
Hopefully this should identify what needs changing... is there anything else I can try or help with?
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #7 from Kevin Andrews kjandrews0@gmail.com --- I've added a few debug statements into the new code in the above commit and getting the following:
9698.837:004c:0050:err:xrandr:xrandr14_get_gpus HERE BOSS 845 before get_vulkan_device_uuid
9698.837:004c:0050:err:vulkan:wine_vk_init HERE BOSS inside wine_vk_init before dlopen if statement / beginning of funct
9698.837:004c:0050:err:vulkan:wine_vk_init HERE BOSS inside wine_uk_init after dlopen true/positive end of funct
9698.837:004c:0050:err:xrandr:get_vulkan_device_uuid HERE BOSS xrandr.c 711 - get_vulkan_device_uuid post constants HERE BOSS 847 after get_vulkan_device_uuidCall ntdll.strlen(7cbf733c "NVIDIA-0") ret=7b04a8fb
9698.838:004c:0050:err:xrandr:xrandr14_get_gpus HERE BOSS 845 before get_vulkan_device_uuid
9698.838:004c:0050:err:xrandr:get_vulkan_device_uuid HERE BOSS xrandr.c 711 - get_vulkan_device_uuid post constants HERE BOSS 847 after get_vulkan_device_uuidCall ntdll.strlen(7cbf7a24 "modesetting") ret=7b04a8fb
9698.838:004c:0050:trace:x11drv:X11DRV_InitGpu GPU id:0x1e5 name:L"modesetting". 9704.401:0030:0034:warn:module:load_dll Failed to load module L"%1"; status=c0000135 9705.591:0030:0034:warn:module:load_dll Failed to load module L"%1"; status=c0000135 9710.555:0020:0024:err:vulkan:wine_vk_init HERE BOSS inside wine_vk_init before dlopen 9710.555:0020:0024:err:vulkan:wine_vk_init HERE BOSS inside wine_uk_init after dlopen positiveRet ntdll.RtlRunOnceExecuteOnce() retval=00000000 ret=7b08b869 9714.195:0030:0034:warn:module:load_dll Failed to load module L"%1"; status=c0000135 9716.718:0020:0024:warn:module:load_dll Failed to load module L"openvr_api_dxvk.dll"; status=c0000135
When starting without libstrangle in front we get:
10116.048:00c8:00cc:err:vulkan:wine_vk_init HERE BOSS inside wine_vk_init before dlopen 10116.048:00c8:00cc:err:vulkan:wine_vk_init HERE BOSS inside wine_uk_init after dlopen positiveRet ntdll.RtlRunOnceExecuteOnce() retval=00000000 ret=7b08b869
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #8 from Kevin Andrews kjandrews0@gmail.com --- Starting with libstrangle:
0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vulkan_funcs const struc def inside get_vulkan_device_uuid 8
0050:err:vulkan:wine_vk_init HERE BOSS starting dlopen inside wine_vk_init 0050:err:vulkan:wine_vk_init HERE BOSS finished loading vulkan handle 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 1 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 2 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 3 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 4 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 5 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 6 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 7 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 8 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 9 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 10 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 11 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 12 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 13 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 14 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 15 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 16 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 17 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 18 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 19 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 20 ^C0024:err:vulkan:wine_vk_init Failed to load Wine graphics driver supporting Vulkan. 0024:err:module:LdrInitializeThunk "winevulkan.dll" failed to initialize, aborting
And starting without:
0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vulkan_funcs const struc def inside get_vulkan_device_uuid 8 0050:err:vulkan:wine_vk_init HERE BOSS starting dlopen inside wine_vk_init 0050:err:vulkan:wine_vk_init HERE BOSS finished loading vulkan handle 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 1 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 2 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 3 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 4 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 5 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 6 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 7 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 8 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 9 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 10 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 11 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 12 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 13 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 14 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 15 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 16 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 17 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 18 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 19 0050:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 20 0050:err:vulkan:wine_vk_init undef LOAD FUNCPRT doneundef LOAD OPTIONAL FUNCPRT DONEHERE BOSS starting vulkan hwnd_context function callHERE BOSS finished vulkan hwnd_context callHERE BOSS finished vulkan funcs const struc defHERE BOSS starting LOAD_VK_FUNCHERE BOSS starting LOAD_VK_FUNCHERE BOSS starting LOAD_VK_FUNCHERE BOSS looping device idx 0 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 0 looping output_idx 0 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 0 looping output_idx 1 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 0 looping output_idx 2 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 0 looping output_idx 3 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 0 looping output_idx 4 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS looping device idx 1 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 1 looping output_idx 0 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 1 looping output_idx 1 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 1 looping output_idx 2 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 1 looping output_idx 3 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 1 looping output_idx 4 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vr collection via pvkGetRandROutputDisplayEXTHERE BOSS end collection of vr via pvkGetRandROutputDisplayEXTvr failed or vk_display is a null handle 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS starting vulkan_funcs const struc def inside get_vulkan_device_uuid 8 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS finished vulkan funcs const struc defHERE BOSS starting LOAD_VK_FUNCHERE BOSS starting LOAD_VK_FUNCHERE BOSS starting LOAD_VK_FUNCHERE BOSS looping device idx 0 0050:err:xrandr:get_vulkan_device_uuid HERE BOSS device idx 0 looping output_idx 0 0024:err:vulkan:wine_vk_init HERE BOSS starting dlopen inside wine_vk_init 0024:err:vulkan:wine_vk_init HERE BOSS finished loading vulkan handle 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 1 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 2 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 3 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 4 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 5 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 6 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 7 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 8 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 9 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 10 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 11 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 12 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 13 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 14 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 15 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 16 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 17 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 18 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 19 0024:err:vulkan:wine_vk_init HERE BOSS load funcptr calls starting 20 0024:err:vulkan:wine_vk_init undef LOAD FUNCPRT doneundef LOAD OPTIONAL FUNCPRT DONEHERE BOSS starting vulkan hwnd_context function callHERE BOSS finished vulkan hwnd_context call(00000000,-1,00000000,00000000,0,3,00000000,0,00000000) - stub!
So something is preventing wine from loading the vulkan dll (winevulkan.dll) when running through libstrangle.
https://bugs.winehq.org/show_bug.cgi?id=49441
--- Comment #9 from Kevin Andrews kjandrews0@gmail.com --- https://github.com/Frogging-Family/wine-tkg-git/issues/79#issuecomment-68763...
Setting the NODEVICE_SELECT=1 enables strangle and mangohud to both boot wine applications successfully on wine after the above identified commit:
145cfce1135a7e59cc4c89cd05b572403f188161
https://bugs.winehq.org/show_bug.cgi?id=49441
Liam Middlebrook loothelion@nvidia.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |loothelion@nvidia.com
https://bugs.winehq.org/show_bug.cgi?id=49441
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com Status|UNCONFIRMED |RESOLVED Resolution|--- |NOTOURBUG
--- Comment #10 from Zhiyi Zhang zzhang@codeweavers.com --- Fixed by Mesa 20.3.5. The related commits are https://gitlab.freedesktop.org/mesa/mesa/-/commit/14033ab6dc97e84227377d1713... and https://gitlab.freedesktop.org/mesa/mesa/-/commit/9a467b33bfb03683ce2f8256cb...
https://bugs.winehq.org/show_bug.cgi?id=49441
soredake broaden_acid002@simplelogin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|broaden_acid002@simplelogin | |.com |