Repository navigation
compat.slint depends on compat.glx-runtime (GL vendor); capability-provider lint - #871
Merged
Merged
Conversation
…r capabilities nobody provides Slint's windowed run aborted on an NVIDIA X11 desktop: libglvnd is only the dispatcher, and compat.slint named no package that wires the vendor (Mesa or NVIDIA) into it. compat.glfw already depends on compat.glx-runtime, which depends on xim:graphics; compat.slint now does the same on Linux. tests/check_capability_providers.lua reports a declared runtime capability that no package in the dependency closure provides (warning; --strict fails). It currently also reports compat.sdl2 and the two names compat.slint keeps on purpose (display, opengl.egl.driver). The plan records both.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
mcpp runof a Slint window aborted on an NVIDIA X11 desktop (argument does not name a valid config). Root cause: libglvnd is only a dispatcher. Nothing in compat.slint's dependency closure wires the GL vendor (Mesa, or NVIDIA throughnvidia-gl-host-link) into it, so GLX found no vendor. compat.glfw already depends oncompat.glx-runtime(->xim:graphics) for exactly this; compat.slint did not. Confirmed on the real machine two ways:xim:graphicsvia[xlings.workspace], andcompat.glx-runtime = "2026.09.11"in[dependencies]; both bring the window up.Change
pkgs/c/compat.slint.lua:linux.depsgainscompat.glx-runtime;dlopen_libsgainslibGLX.so.0; capabilities gainx11.displayandopengl.glx.driver; comments corrected.displayandopengl.egl.driverare kept on purpose (nothing provides them yet; Wayland EGL is a known gap).tests/check_capability_providers.lua(+ 8 unit tests): warns when a declared capability has no provider in the package's dependency closure. Warning for now;--strictfails. Wired into the lint job..agents/docs/2026-11-22-host-driver-link-and-display-path-plan.md.Known
x11.display(same shape; not reproduced on a real machine, left alone), and compat.slintdisplay/opengl.egl.driver(kept by decision).tests/mwrap/slint-ui,tests/mwrap/slint-ruleand the installed-template acceptance pass.