-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
mesa: update to version 24.0.2. #48480
Conversation
Note: the builds (currently) fail because of libdrm, don't mind them, i'll force a push to re-try those when libdrm will be updated. |
just put libdrm in this pr |
But there's already another PR opened for that (#48170)... |
@classabbyamp hey sorry for the ping, but in either cases, we should integrate the 23 branch latest patches before getting our hands in mesa 24, void still runs 23.3.2 as of now, and thus misses a lot of bugfixes from upstream. 😅 As for libdrm, i can add it in this PR if you want to, it's up to you to tell me if maintainers want to merge lbdrm PR then mesa 24 or both all together. 😄 |
9e3f339
to
359ec58
Compare
Updated the template to include changes made here. |
hey, 24.0.1 hit - f387192b08c471c545590dd12230a2a343244804b5fe866fec6aea02eab57613 |
Working on it, we still need that libdrm. |
if it's easier to put in here, w/e i'll close mine |
Copy that. |
359ec58
to
5059a33
Compare
Testing the changes
Local build testing
Modified PR for mesa 24.0.1. |
libdrm is now at 120, maybe you can rebase? |
Yeah imma do this tomorrow, it's 1 AM at my place and i didn't get much sleep lately 🥲 Thanks for reminding me tho 👌 Update: it's done. |
b2bdff0
to
d8c5b74
Compare
Just testing stuff... |
Nope, the aarch64 and arm builds are still broken, that reminds me of mesa 23... |
d8c5b74
to
ef12490
Compare
i see not sure how or where that's used? 1 or 2 other templates seem to have the var. try this in mesa template? idk rust really but quick search points to the bindgen cross build var (may want to do for only musl??? dont think it would matter but) post_configure() {
if [ "$CROSS_BUILD" ]; then
find -iname "*.ninja" -exec sed -i "{}" \
-e "/rustc/s; --sysroot ${XBPS_CROSS_BASE}/usr;;g" \
\;
BINDGEN_CFLAGS="--target=$XBPS_CROSS_TRIPLET \
--sysroot=${XBPS_CROSS_BASE} ${BINDGEN_INCLUDE_FLAGS}"
fi
} |
Strangely
|
oh ya, that is weird. i only looked at 1 of the errors but saw the last 1 was musl. fun |
ef12490
to
7594920
Compare
trying that... let's see how this turns out. |
naw it wont like dkwo just pointed out...thinking right above that checking for musl and unsetting or something |
ok so this works for x86, a64, a7l post_configure() {
if [ "$CROSS_BUILD" ]; then
find -iname "*.ninja" -exec sed -i "{}" \
-e "/rustc/s; --sysroot ${XBPS_CROSS_BASE}/usr;;g" \
-e "s|-isystem/usr/include||g" \
\;
fi
} it looks like ninja build has |
Noice imma try that once back at home. How do you manage to see all that? 😅 |
i was looking at rust related stuff and cross args but none of that made a difference. then i saw |
Wow... I'm a noob at compiling stuff, it's always impressive to see other's experience, not gonna lie. |
@zlice Do you think this line in
|
there's sysroot and targets to aarch64 after configure. maybe the system includes happened to work last time? or the new rust update to 69 is just doing stuff different idk rust enough |
c49576c
to
90ffd78
Compare
You just fixed mesa 24 on void, thanks ! |
can this be mesonbuild/meson#9993 ? |
If by chance a maintainer sees this, we should push 23.3.6 first before mesa 24.0.1, as it's the last bugfix release of the 23 branch according to the calendar, it's a 90%+ guarantee of it just working. 😄 |
90ffd78
to
9320e88
Compare
Testing the changes
Local build testing
Modified PR for mesa 24.0.2. |
looks the same on A770 for me 👍 |
Hello, @classabbyamp, i hope you're doing great. 😄 Looks good on our sides, please, may you take a look at the PR ? 🙏 Edit: My apologies for the ping, i thought mesa 24 got underwhelmed by newer PRs. |
@Duncaen Hello, my apologizes for the ping, i feel like an a-hole, pinging you and bothering you all the time. 😓 Welp, sorry again for the ping, may you take a look at it please ? 🙏 |
i think you will get a better luck to get maintainers attention to this PR in #xbps IRC-channel |
Agreed, i'll try here. |
9320e88
to
f45be09
Compare
Just added a patch as advised here. |
Testing the changes
Local build testing
This is it, the new version of mesa, 24.0.0.
Do keep in mind that it requires libdrm-2.4.119 to work.
As a consequence, this PR will stay as draft for as long as libdrm hasn't been updated.
Edit: Also please check out the 23 branch as Void lacks several bugfixes for this branch.
I removed the patch to fix meson builds as it doesn't seem to be necessary anymore.
This version of mesa brings a lot of good stuff, Ray tracing performance improvements and such !