Skip to content

mesa: 25.2.6 -> 25.3.0#461866

Merged
K900 merged 1 commit into
NixOS:masterfrom
K900:mesa-25.3
Nov 15, 2025
Merged

mesa: 25.2.6 -> 25.3.0#461866
K900 merged 1 commit into
NixOS:masterfrom
K900:mesa-25.3

Conversation

@K900

@K900 K900 commented Nov 15, 2025

Copy link
Copy Markdown
Contributor

Release notes currently N/A.

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.

@K900 K900 enabled auto-merge November 15, 2025 10:19
@K900 K900 added this pull request to the merge queue Nov 15, 2025
@nixpkgs-ci nixpkgs-ci Bot requested a review from vcunat November 15, 2025 10:23
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. labels Nov 15, 2025
Merged via the queue into NixOS:master with commit 7fc35dd Nov 15, 2025
32 of 36 checks passed
@K900 K900 deleted the mesa-25.3 branch November 15, 2025 10:28
@vcunat vcunat mentioned this pull request Nov 16, 2025
3 tasks
@yuyuyureka

Copy link
Copy Markdown
Contributor

I believe this is causing firefox crashes on Asahi

@yuyuyureka

Copy link
Copy Markdown
Contributor

@yuyuyureka

yuyuyureka commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

There are more reports of crashing firefoxes (on Arch with Intel graphics): https://gitlab.freedesktop.org/mesa/mesa/-/issues/14312

NixOS user with AMD graphics: https://crash-stats.mozilla.org/report/index/b0976a91-66ae-47ce-80b4-a64620251118

OpenSuse user with Intel graphics: https://crash-stats.mozilla.org/report/index/4fcdbf88-a682-4f0f-b2fa-a8cd50251117

And 82 crashes from (based on RAM size at least 3 distinct) NixOS Asahi users.

@vcunat

vcunat commented Nov 18, 2025

Copy link
Copy Markdown
Member

After all, upstream wrote as usual

Mesa 25.3.0 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 25.3.1.

@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/gnome-flickers-and-unresponsiveness-after-an-upgrade-to-kernel-version-6-17-8/72218/9

@vcunat

vcunat commented Nov 21, 2025

Copy link
Copy Markdown
Member

I don't know. This mesa update seems problematic for some people (e.g. another case here) and we're supposed to ship a stable NixOS 25.11 within a week. Maybe we go back to 25.2.x for now?

@K900

K900 commented Nov 21, 2025

Copy link
Copy Markdown
Contributor Author

I'm going to talk to upstream, but I'm down to revert to 25.2 on 25.11 if it doesn't get fixed quickly.

@yuyuyureka

yuyuyureka commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

One week after reporting the issue upstream, I see that more users (and device types) are affected, but no attempt for a fix yet.

@K900

K900 commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

That crash signature is unfortunately very incomplete so it will count every single Mesa crash. That said, I think we may have to revert, unless someone steps up to investigate this upstream, because the person who wrote the original change is on vacation...

@vcunat

vcunat commented Nov 24, 2025

Copy link
Copy Markdown
Member

Could these have also been caused by the gtk4 bug which got fixed in nixpkgs in the meantime?

@K900

K900 commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

No, Firefox is GTK3.

@yuyuyureka

Copy link
Copy Markdown
Contributor

The cause on Asahi / Crocus / Freedreno is well identified and documented. It's commit https://gitlab.freedesktop.org/mesa/mesa/-/commit/b3133e250e1c40496d98c4ba52386b7ae423d194 / merge request https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36296.

@K900

K900 commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

The offending commit is known, what is not known is why it's causing issues and how to fix them without reintroducing the overhead the original series was attempting to address.

@vcunat

vcunat commented Nov 24, 2025

Copy link
Copy Markdown
Member

Generally I'd expect to revert such a commit until more is known, but I don't know mesa's codebase and workflows in particular...

@K900

K900 commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

Just reverting that commit without context is extremely unlikely to work.

@yuyuyureka

yuyuyureka commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

That crash signature is unfortunately very incomplete so it will count every single Mesa crash.

Basically true, except we have some very good clues: Looking at the list of libgalium-25.2.6.so & libgallium-25.2.7.so, I only see a single crash (1 of 147) dereferencing the jemalloc poison address (0xe5e5e5e5e5e5e5e5). Most are null pointer derefs.

Meanwhile in the list of crashes with libgallium-25.3.0.so signature I see 585/632 or 92.6% with the jemalloc poison address (which all the reports of the crash, investigated by 3 distinct people had in common).

@yuyuyureka

yuyuyureka commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Just reverting that commit without context is extremely unlikely to work.

Why is that? The merge request makes it sound like a performance improvement / fix. Reverting to the old behavior of re-adding refcounting to those buffers until someone can re-do the change properly would make a lot of sense to me (except of course it doesn't cleanly revert, because 2 months of development happened since this wide-ranging change).

@K900

K900 commented Nov 24, 2025

Copy link
Copy Markdown
Contributor Author

Because future changes in the drivers already depend on newer APIs introduced by this change.

@vcunat

vcunat commented Nov 27, 2025

Copy link
Copy Markdown
Member

NixOS 25.11 release should happen quite soon, and I haven't noticed much progress, so we now revert to mesa 25.2.x on release-25.11, right?

@vcunat

vcunat commented Nov 27, 2025

Copy link
Copy Markdown
Member

And I'm not sure about 25.2.7, as regressions were reported with it on Fedora and they had to backport some fixes.

@juancnuno

Copy link
Copy Markdown

Inexperienced user here. Mesa 25.3.0 destabilized my GNOME until gtk4 was upgraded to 4.20.3. My GNOME has been rock solid since then.

@vcunat vcunat mentioned this pull request Nov 28, 2025
13 tasks
@vcunat

vcunat commented Nov 28, 2025

Copy link
Copy Markdown
Member

I might be late for release announcement, but opened
#466009

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

Labels

10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 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.

5 participants