Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEXCONV.EXE, possible bug #378

Closed
Kubera-Info opened this issue Jul 14, 2023 · 4 comments · Fixed by #381
Closed

TEXCONV.EXE, possible bug #378

Kubera-Info opened this issue Jul 14, 2023 · 4 comments · Fixed by #381
Labels

Comments

@Kubera-Info
Copy link

Kubera-Info commented Jul 14, 2023

Thank you for sharing knowledge about DirectX.

When I convert a PNG file, I have an error:
1>[Using DirectCompute 5.0 on "NVIDIA GeForce RTX 3070"]
1> FAILED [compress] (8000FFFF: Katastrofalny b��d. )

I am attaching the source file: https://www.kubera.info/ms/RV_Marble_3_baseColor.png

The destination should be: BC7_UNORM_SRGB

It worked in the past.

Code:
..\..\Bin\texconv.exe -nologo -y -gpu 0 -f BC7_UNORM_SRGB -srgb -m 3 -o DDS Images\RV_Marble_3_baseColor.png

P. S.
I am not the author of that image.

Greetings

@0xC0000054
Copy link
Contributor

It is working for me, but I am using an AMD GPU.
Are your NVIDIA drivers up to date?

texconv.exe -f BC7_UNORM_SRGB RV_Marble_3_baseColor.png
Microsoft (R) DirectX Texture Converter [DirectXTex] Version 2023.6.14.1
Copyright (C) Microsoft Corp.

reading RV_Marble_3_baseColor.png (4096x4096 R8G8B8A8_UNORM 2D a:Opaque) as
[Using DirectCompute 5.0 on "AMD Radeon RX 6650 XT"]
 (4096x4096,13 BC7_UNORM_SRGB 2D a:Opaque)
writing RV_Marble_3_baseColor.dds

@Kubera-Info
Copy link
Author

Kubera-Info commented Jul 14, 2023

Yes, they are.

@Kubera-Info
Copy link
Author

Version January 2023
works fine.

@walbourn walbourn linked a pull request Aug 1, 2023 that will close this issue
@walbourn
Copy link
Member

walbourn commented Aug 1, 2023

This is a bug in my code. Fixed in referenced PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants