Skip to content

sdl3: fix dynamic loading of vulkan - #479024

Merged
emilazy merged 1 commit into
NixOS:stagingfrom
marcin-serwin:push-tkoqkkysumrk
Jan 11, 2026
Merged

emilazy merged 1 commit into
NixOS:stagingfrom
marcin-serwin:push-tkoqkkysumrk

Conversation

@marcin-serwin

Copy link
Copy Markdown
Contributor

Vulkan support broke after #439652 due to libsdl-org/SDL#14805.

Fixes: #478908

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

Vulkan support broke after NixOS#439652
due to libsdl-org/SDL#14805.

Fixes: NixOS#478908
Signed-off-by: Marcin Serwin <[email protected]>
@marcin-serwin

Copy link
Copy Markdown
Contributor Author

@IdaCryze could you check if this fixes vulkan renderer in xemu?

@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. labels Jan 11, 2026
@IdaCryze

IdaCryze commented Jan 11, 2026 •

Copy link
Copy Markdown
Contributor

@IdaCryze could you check if this fixes vulkan renderer in xemu?

Yes, sorry if it took a while.

@IdaCryze IdaCryze mentioned this pull request Jan 11, 2026
2 of 13 tasks
@marcin-serwin

Copy link
Copy Markdown
Contributor Author

Yes, sorry if it took a while.

All good, that was actually extremely quick for nixpkgs standards.

@emilazy emilazy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does SDL3 support Vulkan on macOS? If not, I suppose the dependency here is dead code on Darwin.

(non‐blocking, as the dependency is already unconditionally in the build inputs; just a passing thought, as it may increase reverse dependency closures)

@emilazy
emilazy added this pull request to the merge queue Jan 11, 2026
Merged via the queue into NixOS:staging with commit e86ddb1 Jan 11, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Jan 11, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-25.11:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Jan 11, 2026
@marcin-serwin

marcin-serwin commented Jan 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Does SDL3 support Vulkan on macOS? If not, I suppose the dependency here is dead code on Darwin.

It does though it probably needs additional patching to work with nixpkgs' moltenvk so it's likely dead. While writing this patch I was actually surprised that there is no vulkanSupport flag given how many other feature flags are present in the recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants