Heroes of the Storm crash (d3dcompile, nvapi)

Questions about Wine on Linux
Locked
Larsworm
Newbie
Newbie
Posts: 2
Joined: Tue Sep 28, 2021 10:40 pm

Heroes of the Storm crash (d3dcompile, nvapi)

Post by Larsworm »

Hi. First post. Need some guidance.

Getting this output from Wine when running Heroes of the Storm through Battle.net:

0104:fixme:shell:CustomDestinationList_SetAppID 0x11f592e0 (L"BlizzardEntertainment.Battlenet.beta"): stub
0104:fixme:shell:CustomDestinationList_BeginList 0x11f592e0 (0x70b450 {92ca9dcd-5622-4bba-a805-5e9f541bd8c9} 0x70b454): stub
06a4:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"BlizzardEntertainment.HeroesOfTheStorm.HeroesOfTheStorm": stub
06b0:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 000000000561CDF0, 43) stub
06b0:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00000001803EB578, 43) stub
06b8:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 000000000592FE10
06b0:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
06b0:fixme:hnetcfg:fw_profile_get_FirewallEnabled 0000000000238280, 00000000066FE8E8
06b0:fixme:ole:CoInitializeSecurity 0000000000000000, -1, 0000000000000000, 0000000000000000, 0, 3, 0000000000000000, 0, 0000000000000000 stub
06b0:fixme:wbemprox:client_security_SetBlanket 00000002419C2D60, 000000000024FCF0, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000
06b0:fixme:wbemprox:client_security_Release 00000002419C2D60
06d8:fixme:mpr:WNetGetUniversalNameW (L"C:\\Program Files (x86)\\Heroes of the Storm\\HeroesData\\data", 0x00000001, 000000000157CFC4, 000000000157CFC0): stub
0164:fixme:winsock:WSAIoctl unimplemented ioctl SIO_IDEAL_SEND_BACKLOG_QUERY
0164:fixme:winsock:server_ioctl_sock Unsupported ioctl 120348 (device=12 access=0 func=d2 method=0)
06b0:fixme:progress:ProgressWindowProc state 0003 not yet handled
0164:fixme:winsock:WSAIoctl unimplemented ioctl SIO_IDEAL_SEND_BACKLOG_QUERY
0164:fixme:winsock:server_ioctl_sock Unsupported ioctl 120348 (device=12 access=0 func=d2 method=0)
06b0:fixme:wevtapi:EvtSubscribe (0000000000000000 0000000000000000 L"System" L"*[System[(EventID=4101)]]" 0000000000000000 0000000000000000 0000000140CE08F0 1) stub
06b0:fixme:shell:SHGetPropertyStoreForWindow (0x40142 0x14269e480 0x66fefe8) stub!
06b0:fixme:shell:window_prop_store_SetValue 0x115b900, {{9f4c2855-9f79-4b39-a8d0-e1d42de1d5f3},9}, 0x66fefb0
06b0:fixme:shell:window_prop_store_Commit 0x115b900
06b0:fixme:shell:SHGetPropertyStoreForWindow (0x40142 0x14269e480 0x66feff0) stub!
06b0:fixme:shell:window_prop_store_SetValue 0x115b940, {{9f4c2855-9f79-4b39-a8d0-e1d42de1d5f3},5}, 0x66fefb0
06b0:fixme:shell:window_prop_store_Commit 0x115b940
06a4:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 000000000011FD70
06b0:fixme:msctf:ThreadMgr_ActivateEx Unimplemented flags 0x4
06b0:fixme:d3dcompiler:D3DCompile2 HLSL shader compilation is not yet implemented.
06c0:fixme:nvapi:unimplemented_stub function 0xe3640a56 is unimplemented!


I'm wondering about the last two lines there.... d3dcompiler and nvapi. Every other game I've tried running, with the Battle.net launcher, works fine and do not spit out these last to lines.

OS: Manjaro Linux x86_64
Kernel: 5.14.7-2-MANJARO
DE: Xfce 4.16
CPU: Intel i5-2500K (4) @ 3.700GHz
GPU: NVIDIA GeForce GTX 960
Memory: 4792MiB / 7924MiB


Any thoughts would be greatly appreciated. Thanks!
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Heroes of the Storm crash (d3dcompile, nvapi)

Post by jkfloris »

There are some tips and tricks on the AppDB:
Workarounds

Copy /${YOURFULLPATH}//Heroes of the Storm/Support64/d3dcompiler_47.dll to ~/.HotSPREFIX/drive_c/windows/system32/ for DX11.
Copy /${YOURFULLPATH}/Heroes of the Storm/Support64/d3dx11_42.dll to
~/.HotSPREFIX/drive_c/windows/system32/ resolves the screenshot issue.
Copy api-ms-win-crt-private-l1-1-0.dll and ucrtbase.dll from "...\Heroes of the Storm\Support64\" to C:\windows\system32\
Set api-ms-win-crt-private-l1-1-0 and ucrtbase to "Native, Bultin" via winecfg.
Larsworm
Newbie
Newbie
Posts: 2
Joined: Tue Sep 28, 2021 10:40 pm

Re: Heroes of the Storm crash (d3dcompile, nvapi)

Post by Larsworm »

Thanks, I'll look into this asap. Although I noticed that my home-dir doesn't have the HotSPREFIX-path... any guesses as to why? I installed Battle.net-launcher through Wine and then HOTS through Bnet... could this be the reason?
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Heroes of the Storm crash (d3dcompile, nvapi)

Post by jkfloris »

"HotSPREFIX" is just the name of the wineprefix. By default, this is ~/.wine. It seems that the author has chosen to install "Heroes of the Storm" in its own prefix.
Locked