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

Warning: Failed to CreateInstance in ICD 2. Skipping ICD #2

Open
giluis opened this issue Jul 5, 2021 · 1 comment
Open

Warning: Failed to CreateInstance in ICD 2. Skipping ICD #2

giluis opened this issue Jul 5, 2021 · 1 comment

Comments

@giluis
Copy link

giluis commented Jul 5, 2021

Hey, just followed this tutorial in order to allow for Vulkan on Wsl.
My goal is to use the Nannou framework in Rust.

While following this tutorial, everything went smoothly, except for two things:
When I put export DISPLAY=:1 on my .bashrc, most commands yield errors.
image

image

However, if I set DISPLAY env variable like this:

export DISPLAY=$(ip route | awk '/^default/{print $3}'):0

Then I get the expected results, but only if in XLaunch I let the display option be -1 instead of 1
image
All other configurations are the same as in the tutorial. I also had do toggle the "Disable Access Control" option on XLaunch, or else why would get this error
image

So, now everything is almost working. I can run vulkan info | grep -i deviceName
and I get the expected result:H
image
However, there is a small difference, which is the first line in the output.
image
This does not appear on the tutorial, but does appear on my machine.
I think this is strange. Why is this warning showing?
I must mention also that I can run the demo cube program and it runs fine

@gnsmrky
Copy link
Owner

gnsmrky commented Nov 9, 2021

Try to set the DISPLAY using the IP address with :1 and give it another shot.

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

No branches or pull requests

2 participants