-
Notifications
You must be signed in to change notification settings - Fork 92
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
Only llvmpipe
is detected as GPU backend on latest release
#63
Comments
Looks like the Asahi kernel module isn't build 🤔 |
I also have this issue I think. Sway has been super laggy since yesterday. Haven't yet checked if it's using llvmpipe though, but I highly suspect. |
Yeah, my KDE is also super laggy, so probably the same! I didn't yet figure out why the module isn't build. |
Okay, I found the commit that broke it: NixOS/nixpkgs@e999433 Reverting this commit fixes it for me. Now I need to find out why it breaks. |
Thanks! For anyone wondering, using the pinned nixpkgs version from this repo works fine (since it is pinned to a commit before the offending one). Now that I have a usable system I'm going to debug too. |
When commenting out this line it works again. I don't get what |
- tpwrules/nixos-apple-silicon#63 Signed-off-by: Ville Ilvonen <ville.ilvonen@unikie.com>
Given that this issue is solved via changing something upstream, perhaps it should be raised upstream as well? or should it be fixed in the experimental kernel config instead? i don't really understand what's the path towards dealing with this issue |
The reason asahi driver is not built is a faulty script in kernel source. By adding this patch to diff --git a/scripts/rust_is_available.sh b/scripts/rust_is_available.sh
index aebbf1913..b7b0a4abc 100755
--- a/scripts/rust_is_available.sh
+++ b/scripts/rust_is_available.sh
@@ -102,8 +102,7 @@ fi
# Check that the `libclang` used by the Rust bindings generator is suitable.
bindgen_libclang_version=$( \
LC_ALL=C "$BINDGEN" $(dirname $0)/rust_is_available_bindgen_libclang.h 2>&1 >/dev/null \
- | grep -F 'clang version ' \
- | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' \
+ | grep -oP 'clang version \K[0-9]+\.[0-9]+\.[0-9]+' \
| head -n 1 \
)
bindgen_libclang_min_version=$($min_tool_version llvm) |
Gottem |
I build the latest release with the experimental mesa GPU driver, but only
llvmpipe
is detected as backend. Anyone seen this issue as well?The text was updated successfully, but these errors were encountered: