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

hal/linux: Work around Intel+Nvidia presentation conflict #1898

Merged
merged 1 commit into from
Sep 2, 2021

Conversation

kvark
Copy link
Member

@kvark kvark commented Sep 2, 2021

Connections
This periodically shows up and is very annoying: #1877 (comment) and potentially #1672
Also fixed upstream around 4 month ago - https://gitlab.freedesktop.org/mesa/mesa/-/issues/4688
I think there is still value in handling that internally, at least until we can detect that the Intel driver is fixed.

Description
Vulkan on Linux: if we detect Intel iGPU + NVidia dGPU, we disable presentation on Intel.
The PR also fixes the compatible_surface argument in the util and framework.

Testing
Manually tested on my laptop!

@kvark kvark added the PR: needs back-porting PR with a fix that needs to land on crates label Sep 2, 2021
@kvark kvark merged commit d23288e into gfx-rs:master Sep 2, 2021
@kvark kvark deleted the hal/nvidia branch September 2, 2021 18:50
@kvark
Copy link
Member Author

kvark commented Sep 8, 2021

published in wgpu-hal-0.10.4

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.

2 participants