tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs
MIT License
743 stars 73 forks source link

gpu "overlay" mode broken? #152

Closed zzywysm closed 4 months ago

zzywysm commented 5 months ago

For a long time I've been using Plasma with "overlay" mode, and apart from the overnight build times, things worked fine. Recently it seems to have broken; my NixOS configuration builds but doesn't boot.

I switched to "replace" and things work fine again.

When I try to boot one of my failing NixOS generations, the error appears to be that weston is crashing with this error: did not find extension DRI_Mesa version 1\nfailed to bind extensions\n

My current working theory is that this nixpkgs commit for mesa: https://github.com/NixOS/nixpkgs/commit/4f9b3a7ec30f0a00d904f57084978df84ac43587

...combined with recent nixpkgs upgrades/changes to the llvmPackages have caused a version mismatch, which in turn is causing an "explosion" as described in the above commit.

zzywysm commented 4 months ago

I now suspect this is a dupe of https://github.com/tpwrules/nixos-apple-silicon/issues/160