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

Search for different versions of libwayland #2336

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

dsseng
Copy link
Contributor

@dsseng dsseng commented Dec 30, 2021

Connections
Fixes #2335

Description
Workaround for distributions that do not have symlinks for Wayland libraries.
If Wayland/EGL libraries are not found but system is running Wayland, we get a Wayland window handle from Winit, but the WSI that has been found is X11. This leads to error on systems that do not have versioned Wayland libraries symlinked to plain .so extension.

Testing
Tested on Fedora machine which I previously could not use WGPU_BACKEND=gl, now GL window is created successfully.

Workaround for distributions that do not have symlinks for Wayland libraries

Signed-off-by: Dmitry Sharshakov <[email protected]>
Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kvark kvark enabled auto-merge (rebase) December 30, 2021 15:47
@kvark kvark added the PR: needs back-porting PR with a fix that needs to land on crates label Dec 30, 2021
@kvark kvark merged commit 52f11d8 into gfx-rs:master Dec 30, 2021
@kvark
Copy link
Member

kvark commented Jan 10, 2022

published in wgpu-hal-0.12.2

@kvark kvark removed the PR: needs back-porting PR with a fix that needs to land on crates label Jan 10, 2022
@parasyte parasyte mentioned this pull request Jan 16, 2022
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

Successfully merging this pull request may close these issues.

Failed to initialize window when libwayland is not symllinked properly
2 participants