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

dxc fails to run with error code 0x80004002 on linux #3152

Closed
udnaan opened this issue Sep 19, 2020 · 3 comments
Closed

dxc fails to run with error code 0x80004002 on linux #3152

udnaan opened this issue Sep 19, 2020 · 3 comments
Labels
linux Linux-specific work

Comments

@udnaan
Copy link

udnaan commented Sep 19, 2020

What

dxc fails with the following error

dxc failed : error code 0x80004002.

Where

Debian 10.5 X86_64

Why

The debugging leads to line 111 in dxcapi.use.h:
HRESULT hr = m_createFn(clsid, riid, (LPVOID*)pResult);

Which fails and throws an unknown exception.

Workaround

Investigation lead to it being caused due to LD_LIBRARY_PATH containing $VULKAN_SDK/lib directory. Still not sure why that would be or should be, still, taking out the $VULKAN_SDK/lib path fixes it.

Leaving it here in case someone else on linux runs into it.

@ehsannas ehsannas added the linux Linux-specific work label Sep 21, 2020
@ehsannas
Copy link
Contributor

Thanks for reporting @udnaan

@MarijnS95
Copy link
Contributor

This might have been a GCC-compiled libdxcompiler.so included in the Vulkan SDK? Either way that's solved now and IIDs are compared properly regardless of the compiler since #3062. I think/hope this is fixed and can be closed now from the DXC side 🙂.

@pow2clk
Copy link
Member

pow2clk commented Feb 14, 2023

Closing with the belief this is fixed. Please reopen or refile if it is not

@pow2clk pow2clk closed this as completed Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux Linux-specific work
Projects
None yet
Development

No branches or pull requests

4 participants