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
[staging-20.09] mesa bugfix releases #105936
Conversation
OK in principle, but I'd feel safer if a few people (with different GPUs) tried this on their 20.09 system before we merge it into It should be sufficient to test without a large rebuild. In past I've been using config like this (adapted to current version): {
imports = [
(let mkDrivers = pkgs: (pkgs.mesa.overrideAttrs (a_: rec {
branch = "20.1";
version = "${branch}.10";
src = pkgs.fetchurl {
urls = [
"ftp://ftp.freedesktop.org/pub/mesa/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/${version}/mesa-${version}.tar.xz"
"ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
"https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
];
sha256 = "17zfqvc3q2pxy2bjwg8zp5sqqjlsv4rpizdx9k5rzb5d22csdnxi";
};
})).drivers;
#pkgs = import (builtins.fetchTarball https://github.com/nixos/nixpkgs/archive/nixos-20.03.tar.gz) {};
in { /*pkgs,*/... }: {
hardware.opengl = {
package = mkDrivers pkgs;
package32 = mkDrivers pkgs.pkgsi686Linux;
};
}
)
];
} |
I'm on a Radeon RX 5600 (Navi 10) with amdgpu on 20.09 and I have the same issue with Trine 4 (what a coincidence!). One thing to note, while @ajs124 is on X11 with KDE, I'm on Wayland with Sway, so I'm indirectly testing the patch on Wayland as well ;) |
Well so… I wanted to say it all runs fine… until I chose to pick up a collectible letter I didn't have yet: So you're probably fine unless you pick up letters (?) Additional note: I really like how they incorperated my status bar and the rightmost part of my terminal into the game. Really gives me some good overview of my current PC state. |
For anyone trying to reproduce this: SpoilerStart at checkpoint 15, place a plank in the spikes to your right. Dash onto the plank with the knight, discover the secret area.Place a box inside the contraption, jump onto the contraption, jump to the left, and dash to the right with the knight. Pick up the letter, see the game crashing. |
Well, I'm mainly concerned about big regressions making desktop unusable, etc. If nothing like that happens, maintenance updates sound a good idea even if it doesn't (fully) fix the Trine 4 case. I don't have this version of Trine myself. |
@dasJ can reproduce :'( I'm on a RX580. This should still be merged IMHO, but more testing can't hurt. |
How long do we want to wait for testers? Guess we only had amdgpu testers up to now. Unfortunately I'm on unstable with amdgpu as well. |
I could also try an older Intel (Sandy Bridge, HD Graphics 3000), within a few days. |
⬆️ I tried: desktop stuff, glxgears + glxinfo. I don't normally use this notebook, so no big testing. |
Motivation for this change
A game (Trine 4) has recently been crashing on me. Using a newer mesa bugfix release seems to solve this.
The last commit isn't a cherry-pick, because 20.1.10 was never on master, as it went to 20.2.x after 20.1.9.
Release notes:
cc @vcunat @primeos
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)