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

MissingExtension VK_KHR_xlib_surface #165

Closed
JustMaximumPower opened this issue Jul 3, 2016 · 2 comments
Closed

MissingExtension VK_KHR_xlib_surface #165

JustMaximumPower opened this issue Jul 3, 2016 · 2 comments

Comments

@JustMaximumPower
Copy link

When I try to run the examples on Ubuntu 16.04 I get the following error:

thread '

' panicked at 'called Result::unwrap() on an Err value: SurfaceCreationError(MissingExtension { name: "VK_KHR_xlib_surface" })', ../src/libcore/result.rs:746

The vulkan samples from SaschaWillems all run fine, so I think its not a problem of the vulkan install.

I’m running vulkano on Ubuntu 16.04 x64 with an AMD R9 380X with AMDGPU-Pro 16.30.3.

@nicokoch
Copy link
Contributor

nicokoch commented Jul 3, 2016

The vulkan examples of SaschaWillems use xcb, not xlib.

Sadly, xlib support is not yet implemented in the intel linux driver. You can double check this with vulkaninfo | grep xlib.

You can however run vulkano in a wayland context (like weston) and the examples should run fine. (I get a segfault in libwayland_client at some point, but that I think is a bug in the intel driver.)

@tomaka
Copy link
Member

tomaka commented Jul 3, 2016

I'm going to close this, as the relevant issue is rust-windowing/winit#5

Unfortunately this is a problem with the windowing library used by the examples that only supports Xlib (and Wayland) and not XCB. Right now vulkano-win checks for wayland, and if it doesn't work assumes that xlib will work. Hence the problem.

@tomaka tomaka closed this as completed Jul 3, 2016
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

3 participants