ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
SalimTer- has joined #asahi-alt
SalimTerryLi has quit [Read error: Connection reset by peer]
KxCORP5894 has quit [Quit: Bye!]
KxCORP5894 has joined #asahi-alt
nela has joined #asahi-alt
nela has quit [Quit: bye!]
nela has joined #asahi-alt
tobhe has joined #asahi-alt
tobhe_ has quit [Ping timeout: 480 seconds]
chadmed_ has quit [Remote host closed the connection]
jeisom has quit [Ping timeout: 480 seconds]
chadmed_ has joined #asahi-alt
cylm has joined #asahi-alt
andymandias_ has quit [Quit: ZNC 1.9.0 - https://znc.in]
andymandias has joined #asahi-alt
andymandias_ has joined #asahi-alt
andymandias has quit [Remote host closed the connection]
andymandias has joined #asahi-alt
ryan2 has joined #asahi-alt
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
ryan2 has quit [Remote host closed the connection]
andymandias_ has quit [Quit: ZNC 1.9.0 - https://znc.in]
andymandias has quit [Remote host closed the connection]
andymandias has joined #asahi-alt
chadmed_ has quit [Remote host closed the connection]
oneiros has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
mkurz has joined #asahi-alt
SalimTerryLi has joined #asahi-alt
KDDLB has quit [Remote host closed the connection]
kode549 has joined #asahi-alt
SalimTer- has quit [Ping timeout: 480 seconds]
KDDLB has joined #asahi-alt
kode54 has quit [Read error: Connection reset by peer]
kode549 has quit []
kode549 has joined #asahi-alt
kode549 has quit []
kode54 has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #asahi-alt
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #asahi-alt
hightower4 has quit [Remote host closed the connection]
hightower4 has joined #asahi-alt
chadmed has quit [Quit: Konversation terminated!]
jeisom has joined #asahi-alt
kraem has quit [Remote host closed the connection]
kraem has joined #asahi-alt
matteo has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi-alt
mkurz has quit [Remote host closed the connection]
matteo has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-alt
chadmed has quit [Remote host closed the connection]
matteo has joined #asahi-alt
chadmed has joined #asahi-alt
<flokli>
tpw_rules: yuka: hmh, did a nixos update to latest master, and the graphical session doesn't come up. gdm crashes X, eglinfo shows SIGILL in loader_bind_extensions.
<flokli>
running sway as root works
<yuka>
flokli: check if your mesa store path is corrupted
<yuka>
are you running lix?
<flokli>
ewgh
<flokli>
no
<yuka>
good to know!
<flokli>
I use this replaceRuntimeDependencies thing
<yuka>
quick check: "for i in /nix/store/*-mesa-24.1.0-drivers/lib/dri/apple_dri.so ; do cat $i | xz -9 | wc -c ; done"
<yuka>
if any of the paths has a significantly lower entropy than the others, your store is haunted
<yuka>
if this is the case it would be tremendously useful because it means this issue is not lix specific
<flokli>
for i in /nix/store/*-mesa-24.1.0-drivers/lib/dri/apple_dri.so ; do cat $i | xz -9 | wc -c ; done
<flokli>
3175560
<flokli>
3039308
<flokli>
3176884
<flokli>
2513936
<yuka>
yeah that looks suspicious
<yuka>
let me guess, the one with 2.5M is the one referenced by your current system?
<yuka>
(add a "echo $i" in the loop to find out which one it is)
<flokli>
yes
<yuka>
okay
<yuka>
we don't really understand what's going on there, but you are at least the third person to run into this
<flokli>
is there an issue tracking this somehow?
<yuka>
well, I guess i'll transfer the issue from lix to nixos-apple-silicon now
<flokli>
and I guess I can reboot into an older generation without that, delete the store path and then build again and it might fix itself?
<flokli>
this is cursed as hell
<flokli>
I however don't know if I built it on the M1 box or another aarch64 builder
<yuka>
flokli: should work. or add an overlay that changes the derivation hash of mesa somehow (for example : "final: prev: { mesa-asahi-edge = prev.mesa-asahi-edge.overrideAttrs (oldAttrs: { src = lib.cleanSource oldAttrs.src; }); }"
<yuka>
I suspect that it happens when mesa is built under load (while simultaneously building a kernel)
<yuka>
for completeness: which nix version are you running? (locally and on the remote build machine)
<flokli>
I'm happy to drop a comment into the issue
<tpw_rules>
bah, i've seen that before, posted a bit more in that issue
<LarstiQ>
oho, I've had the same thing as flokli is having, I thought some change finally fixed it but maybe it's ghosts
<tpw_rules>
any gentoo folks or asahi devs seen something like this? i suspect nixos people have compiled mesa the most
<LarstiQ>
fwiw, I don't have any remote builders. The bad generations got gced already though so can't confirm with the entropy trick
<flokli>
LarstiQ: tpw_rules: I uploaded my cursed path to the issue
<flokli>
stripping (with command strip and flags -S -p) in /nix/store/4l0i08n1v3rwhmznwl821binph1k2nvn-mesa-24.1.0-debug/lib
<flokli>
mv: missing file operand
<flokli>
Try 'mv --help' for more information.
<flokli>
patching script interpreter paths in /nix/store/sns2xgw85787sghv25b95fmcckxf0601-mesa-24.1.0/bin/mesa-overlay-control.py
<flokli>
is this normal and supposed to happen? (from the build log I just attached)
mkurz has joined #asahi-alt
<LarstiQ>
flokli: that seems to happen in all my mesa-24.1.0 derivations
<flokli>
LarstiQ: but only some are haunted the way these are?
<LarstiQ>
yeah
<flokli>
ok
<flokli>
🤷
matteo has quit [Remote host closed the connection]
<LarstiQ>
I'll try switching from replace to overlay, that causes quite a bit of load and maybe more chance of a haunting
mkurz has quit [Quit: Konversation terminated!]
mkurz has joined #asahi-alt
matteo has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
<LarstiQ>
huh, build failed due to: error: ca hash mismatch importing path '/nix/store/3z420xrnjjv5bvxlyd7kv6gsj26jq6l5-chromium-124.0.6367.118.tar.zstd';
<LarstiQ>
trying again it's zig that hits `/nix/store/i77y0adr2a79fd1ipswzmrl43a0zbh5f-clang-16.0.6-dev/include/clang/AST/ExprCXX.h:2414:3: internal compiler error: in tree_node_structure_for_code, at tree.cc:523` and now firefox is no longer responding to input
mkurz has quit [Quit: Konversation terminated!]
<LarstiQ>
aaand webkitgtk, also `/build/webkitgtk-2.44.1/build/WTF/Headers/wtf/Vector.h:1080:26: internal compiler error: Segmentation fault`, so not completely deterministic which of the builds fails first, but pretty reproducible just by `nixos-rebuild --show-trace switch |& nom` when I have zig, chromium and webkitgtk needing rebuilds
<flokli>
hurr durr
Juest has quit [Ping timeout: 480 seconds]
Juest has joined #asahi-alt
<flokli>
yuka: forcing a rebuild like above does work indeed. cursed.
hightower4 has quit [Ping timeout: 480 seconds]
Juest is now known as Guest6343
Juest has joined #asahi-alt
xal has quit []
xal has joined #asahi-alt
cylm has joined #asahi-alt
Guest6343 has quit [Ping timeout: 480 seconds]
xal has quit []
xal has joined #asahi-alt
xal has quit []
xal has joined #asahi-alt
xal has quit []
xal has joined #asahi-alt
oneiros has joined #asahi-alt
xal has quit []
xal has joined #asahi-alt
hightower2 has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-alt
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
Guest2501 has quit [Quit: Bridge terminating on SIGTERM]
Jamie has joined #asahi-alt
Jamie is now known as Guest6353
rhysmdnz has joined #asahi-alt
jacksonchen666 has quit [Remote host closed the connection]
jacksonchen666 has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
matteo has joined #asahi-alt
matteo has quit [Remote host closed the connection]