mesa: Attempt to upgrade the drivers with a minimal rebuild impact#100712
Closed
primeos wants to merge 1 commit intoNixOS:masterfrom
Closed
mesa: Attempt to upgrade the drivers with a minimal rebuild impact#100712primeos wants to merge 1 commit intoNixOS:masterfrom
primeos wants to merge 1 commit intoNixOS:masterfrom
Conversation
dadc27a to
c15cc31
Compare
Member
Author
|
@vcunat what do you think about this? Is this worth a shot or a stupid idea? I guess there are the following drawbacks:
|
c15cc31 to
5a26268
Compare
10 tasks
Member
Author
|
This hacky idea isn't required anymore thanks to #118479 (see #118753 (comment)) :) |
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.
Motivation for this change
See #44831, though this is a more extreme approach.
Not sure yet if this is a stupid idea or a good way to quickly apply Mesa updates. This mainly makes sense under the assumption that minor/patch releases only update the drivers (
mesa.drivers) anyway. The plan would be to freezemesaatX.Y.1(first stable release of a series) and updatemesa_driverstoX.Y.1+Nwithout going through staging first. Or another idea would be to simultaneously updatemesaviastagingandmesa_driversviamaster.Personally I'm already using that approach to test Mesa updates and it seemed to be fine so far (though I only did very minimal testing). However with
lsofI can always see a few references to the previous Mesa version, though mainly(/only?) forlibgbmIIRC (e.g./nix/store/***-mesa-X.Y.Z/lib/libgbm.so.1.0.0). For that reasons it might make sense to simultaneously updatemesaviastagingor implement the approach from #44831.Note: The update to
20.1.10doesn't make sense since20.2.1is already in staging, it only serves as an example.Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)