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: 18.1.5->18.1.2 [revert] #44383
Conversation
Thanks for tracking this down! I think this is okay for now, but eventually we will want to update mesa. We should file an issue in the mesa tracker & maybe someone there will have an idea as to what caused this. |
Hmm, the AMD situation is getting complex here. |
I use AMDGPU. In fact, I have little choice. |
I seem to have some issues here and there, such as mpv not being able to use the GPU for decoding, or flickering in Electron apps, but these are not because of 18.1.2. I'd been running 18.1.2 for weeks without an issue, but the recent rebuild of my system off staging seems to have borked something else. |
It would seem there's no reason to revert now, instead we should look into deleting the mesa cache on upgrade possibly.
|
Should be fixed by #44575 |
My bad, whenever it gets merged to master. |
It does indeed fix my issues, and also explains why the only version that worked for me was the one that worked before.
El 12 de agosto de 2018 6:55:41 GMT+01:00, "チルノ" <notifications@github.com> escribió:
…Should be fixed by #44575
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#44383 (comment)
--
Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.
|
Yeah, and it might explain why different users needed to roll back to different mesa versions. |
Nevermind, I'm dumb. Enabling hardware acceleration in those apps fixed it. |
Motivation for this change
Holy hell, did this ever take debugging. So after
nixos-unstable-small
was finally unstuck, I eagerly rebased my branch and went onto rebuilding. Just to find that Xorg was segfaulting whenever I got past sddm and into an actual session. See sample log excerpt below.I took to bisecting the nixpkgs tree, with eternal rebuilds, and eventually isolated the problem: mesa. I know this seems obvious in retrospect, but seeing
radeonsi
in the trace had me thinking the kernel might be at fault, what with all the new AMDGPU code being merged and me running a fancy Vega card.Anyway, I tried 18.1.5, found that it did not fix it, and so I reverted that and the bump to 18.1.4 as well. 18.1.2 seems to run fine for me. Let's wait for another release before updating mesa maybe.
Things done
I've reverted two commits that bump mesa to 18.1.4 and then to 18.1.5
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)