https://bugs.winehq.org/show_bug.cgi?id=51575
Bug ID: 51575 Summary: Texconv fails with mipmap error unless "-nowic" is supplied to disable WIC use Product: Wine Version: 6.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: windowscodecs Assignee: wine-bugs@winehq.org Reporter: winebugs@63bit.net Distribution: ---
Texconv.exe returns mysterious errors about mipmaps if "-nowic" is not passed. This appears to be some problem in the interaction between windowscodecs.dll and texconv mipmap level detection.
Example (probably any DDS will work to repro): Texconv.exe -nologo -y -sepalpha -f BC7_UNORM -bc q -o "C:\blah\out" "C:\blah\TamrielTreeLod.dds"
returns FAILED [mipmaps] (80070057: Invalid parameter.)
Source for texconv is here: https://github.com/microsoft/DirectXTex/blob/54ce2c8da97c3508899c31f80bfb1ec...
Binary is available here: https://github.com/microsoft/DirectXTex/releases/tag/aug2021
Passing "-nowic" parameter succeeds, causing me to suspect windowscodecs.dll
https://bugs.winehq.org/show_bug.cgi?id=51575
winebugs@63bit.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/microsof | |t/DirectXTex/releases/downl | |oad/aug2021/texconv.exe
https://bugs.winehq.org/show_bug.cgi?id=51575
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr --- Created attachment 75728 --> https://bugs.winehq.org/attachment.cgi?id=75728 dds sample to test
Looks like it is fixed for me in wine-9.0.rc2
0110:fixme:msvcp:locale__Locimp__Makexloc (00007FFFFE1FE410 63 00007FFFFE7E6FE0 0000000000000000) semi-stub 0110:fixme:msvcp:locale__Locimp__Makewloc (00007FFFFE1FE410 63 00007FFFFE7E6FE0 0000000000000000) semi-stub 0110:fixme:msvcp:locale__Locimp__Makeushloc (00007FFFFE1FE410 63 00007FFFFE7E6FE0 0000000000000000) semi-stub reading sample_640×426.dds (640x426 BC1_UNORM 2D) as0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
[Using DirectCompute on "ATI Radeon HD 5600 Series"] 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). (640x426,10 BC7_UNORM 2D à:Opaque) writing /home/test\sample_640×426.dds
WARNING: Direct3D requires BC image to be multiple of 4 in width & height
https://bugs.winehq.org/show_bug.cgi?id=51575
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=51575
winebugs@63bit.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/microsof | |t/DirectXTex/releases/downl | |oad/aug2021/texconv.exe
https://bugs.winehq.org/show_bug.cgi?id=51575
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #1 from joaopa jeremielapuree@yahoo.fr --- Created attachment 75728 --> https://bugs.winehq.org/attachment.cgi?id=75728 dds sample to test
Looks like it is fixed for me in wine-9.0.rc2
0110:fixme:msvcp:locale__Locimp__Makexloc (00007FFFFE1FE410 63 00007FFFFE7E6FE0 0000000000000000) semi-stub 0110:fixme:msvcp:locale__Locimp__Makewloc (00007FFFFE1FE410 63 00007FFFFE7E6FE0 0000000000000000) semi-stub 0110:fixme:msvcp:locale__Locimp__Makeushloc (00007FFFFE1FE410 63 00007FFFFE7E6FE0 0000000000000000) semi-stub reading sample_640×426.dds (640x426 BC1_UNORM 2D) as0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:wincodecs:BitmapScaler_Initialize unsupported mode 3 0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
[Using DirectCompute on "ATI Radeon HD 5600 Series"] 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). 0110:fixme:d3d_shader:shader_set_limits Unexpected shader version "4.0" (shader type 5). (640x426,10 BC7_UNORM 2D à:Opaque) writing /home/test\sample_640×426.dds
WARNING: Direct3D requires BC image to be multiple of 4 in width & height
https://bugs.winehq.org/show_bug.cgi?id=51575
Esme Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com