Skip to content

backend/wayland/vulkan: Enable VK_EXT_physical_device_drm extension#280

Merged
ids1024 merged 1 commit intomasterfrom
vulkan-fix_noble
Feb 12, 2026
Merged

backend/wayland/vulkan: Enable VK_EXT_physical_device_drm extension#280
ids1024 merged 1 commit intomasterfrom
vulkan-fix_noble

Conversation

@ids1024
Copy link
Member

@ids1024 ids1024 commented Feb 6, 2026

Fixes a segfault when run with --no-default-features to disable wgpu.

This doesn't seem to change anything when built normally, but it seems like a good idea to do this correctly. I think the very simple Vulkan code here should otherwise be correct.

Fixes a segfault when run with `--no-default-features` to disable
`wgpu`.
@ids1024 ids1024 requested review from a team February 6, 2026 02:33
@ids1024 ids1024 merged commit d31c6db into master Feb 12, 2026
3 checks passed
@ids1024 ids1024 deleted the vulkan-fix_noble branch February 12, 2026 20:01
ids1024 added a commit that referenced this pull request Mar 12, 2026
It seems #280 was
just wrong. I didn't test it correctly, and it actually prevented
crashes simply because the Vulkan instance failed to create.

This failed because it's a device extension, not an instance extension
(and we already check for the device extension).

The *real* issue seems to be simply the fact this was using the
`Instance` after dropping the `Entry`. Which is easy enough to address.
mmstick pushed a commit that referenced this pull request Mar 13, 2026
It seems #280 was
just wrong. I didn't test it correctly, and it actually prevented
crashes simply because the Vulkan instance failed to create.

This failed because it's a device extension, not an instance extension
(and we already check for the device extension).

The *real* issue seems to be simply the fact this was using the
`Instance` after dropping the `Entry`. Which is easy enough to address.
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.

3 participants