[PATCH vkd3d] vkd3d: Do not report a root signature version higher than requested.

Sveinar Søpler cybermax at dexter.no
Fri Oct 25 14:24:27 CDT 2019


Yep, that seems to fix things for World of Warcraft

--

trace:d3d12_device_CheckFeatureSupport: Root signature requested 0x2.
trace:d3d12_device_CheckFeatureSupport: Root signature version 0x2.
trace:vkd3d_serialize_versioned_root_signature: desc 0x22f6b0, blob 
0x22f9d8, error_blob 0x22f660.
trace:d3d12_device_CreateRootSignature: iface 0x7cf17580, node_mask 
0x00000000, bytecode 0x7d457db0, bytecode_length 672, riid 
{c54a6b66-72df-4ee8-8be5-a946a1429214}, root_signature 0x412f238.
trace:d3d12_root_signature_create: Created root signature 0x7cee93f0.
trace:vkd3d_serialize_versioned_root_signature: desc 0x22f6b0, blob 
0x22f9d8, error_blob 0x22f660.
trace:d3d12_device_CreateRootSignature: iface 0x7cf17580, node_mask 
0x00000000, bytecode 0x7d298af0, bytecode_length 272, riid 
{c54a6b66-72df-4ee8-8be5-a946a1429214}, root_signature 0x412f240.
trace:d3d12_root_signature_create: Created root signature 0x7cc419d0.
trace:d3d12_device_CreateCommandSignature: iface 0x7cf17580, desc 
0x22f648, root_signature (nil), iid 
{c36a797c-ec80-4f0a-8985-a7b2475082d1}, command_signature 0x412f248.
trace:d3d12_command_signature_create: Created command signature 0x7d447e20.
trace:d3d12_device_CreateCommandSignature: iface 0x7cf17580, desc 
0x22f648, root_signature (nil), iid 
{c36a797c-ec80-4f0a-8985-a7b2475082d1}, command_signature 0x412f250.
trace:d3d12_command_signature_create: Created command signature 0x7d065150.
--

I used both these for wine-staging-4.18:

https://source.winehq.org/patches/data/171377

https://source.winehq.org/patches/data/171378

Aswell as the proposed patch in this thread, and the 
0001-vkd3d-Support-D3D12_FEATURE_D3D12_OPTIONS3.patch for vkd3d posted 
https://www.winehq.org/pipermail/wine-devel/attachments/20191023/7f53c2b0/attachment.obj

Sveinar

On 25.10.2019 20:12, Rémi Bernon wrote:
> On 10/25/19 4:26 PM, Sveinar Søpler wrote:
>> This patch, aswell as the patch from 
>> https://www.winehq.org/pipermail/wine-devel/2019-October/152984.html 
>> gives this error with World of Warcraft:
>>
>> trace:d3d12_device_CheckFeatureSupport: Root signature requested 0x2.
>> trace:d3d12_device_CheckFeatureSupport: Root signature version 0x2.
>> trace:d3d12_device_CheckFeatureSupport: iface 0x7dc9eea0, feature 
>> 0x7, feature_data 0x22f608, feature_data_size 4.
>> trace:d3d12_device_CheckFeatureSupport: Request shader model 0x64.
>> trace:d3d12_device_CheckFeatureSupport: Shader model 0x51.
>> trace:d3d12_device_CheckFeatureSupport: iface 0x7dc9eea0, feature 
>> 0x15, feature_data 0x22f4a0, feature_data_size 20.
>> fixme:d3d12_device_CheckFeatureSupport: No support for any 
>> D3D12_OPTIONS3 optional features.
>>
>> I guess WoW perhaps requests root signature 1.1, but it is not really 
>> supported?
>>
>> Reverting c002aee119b638d30eeb7cdc91099449ccafeafc works, and i guess 
>> forces 1.0 no matter what is requested. Perhaps something else is 
>> missing with proper root sig 1.1 support?
>>
>> Sveinar
>
> After testing a bit it looks like you're just going to need this wine 
> patch as well:
>
>   https://source.winehq.org/patches/data/171377
>
> With it I was able to run WoW on wine-staging and the latest vkd3d 
> (and eventually my patch but it doesn't change anything).



More information about the wine-devel mailing list