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
zumi_ has joined #asahi-alt
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
lactose has joined #asahi-alt
tbm has quit [Quit: .]
tbm has joined #asahi-alt
kidplayer666 has quit [Quit: Connection closed for inactivity]
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi-alt
<lactose>
Hello, I'm thinking of installing Void Linux and/or Slackware, but I don't know where to get started
<chadmed>
you will notice that neither of those have maintainers
<lactose>
Because at least for Void they offer rootfs images so maybe you could set it up to be bootable via chroot?
<chadmed>
there are basically two ways you can implement support for alt distros: wire up an esp and roofs image for them into the official installer, or build uefi-bootable install media with our kernel
<chadmed>
much of the actually useful functionality for this platform is not yet upstreamed, so canned arm64 images from ~all distros will not work properly
<lactose>
even with an asahi distribution kernel?
<chadmed>
well yeah if you add our kernel to the image
<chadmed>
but that requires manual work is my point
<chadmed>
someone forked my gentoo stuff and rejigged it for slackware
<lactose>
well i know it would be manual but i just want it to see it run
<lactose>
anyway i will eat dinner and give that a read, thanks again
jeisom has quit [Ping timeout: 480 seconds]
eiln has quit [Quit: WeeChat 4.1.2]
possiblemeatball has quit [Quit: Quit]
lactose has quit [Quit: Leaving]
lactose has joined #asahi-alt
<lactose>
chadmed: I took a look at asahi-gentoosupport and saw the grub entry. I've never seen the root command line parameter be anything other than a block device. How does that work?
zumi_ has joined #asahi-alt
<chadmed>
lactose: it triggers a dracut module that mounts the specified squashfs image as a loopback device and pivots to it as the rootfs
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
<lactose>
>there are basically two ways you can implement support for alt distros: wire up an esp and roofs image for them into the official installer, or build uefi-bootable install media with our kernel
<lactose>
How would one go about the former? I can see that the Gentoo stuff does the latter
<lactose>
Mainly looking at Debian as an example, it seems to have its own install script?
<chadmed>
youd need to first basically build a fully configured rootfs in a ramdisk or similar and dump it out to an image
kidplayer666 has joined #asahi-alt
<leio>
chadmed: the libkrun[-gpu] failure is from it still looking for virglrenderer.pc with it, and in that case it's not pulled in
<leio>
oh, it's not pulled in with USE=gpu either
<chadmed>
it happens from a clean build too so i think we just make gpu unconditional
<leio>
doesn't matter, you don't have the dep even with USE=gpu
<chadmed>
yeah i didnt get around to it
<chadmed>
let me ssh into my studio to see if i started
<chadmed>
(im kinda bedridden rn :p)
<leio>
how do you have these things compile with clang as system compiler? All cbindgen stuff fails on cc calls for me
<leio>
use of undeclared crate or module `thiserror` and so forth
<sam_>
install ansifilter, then PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter -c; exec cat\"" in make.conf
<sam_>
console logs have colour, on disk has filtered
<leio>
but how do I get the colors then after pastebin download for easier red spotting? :P
<sam_>
oh u
<leio>
chadmed: this kind of error is with both -gpu and gpu
<chadmed>
oh thats new then
<chadmed>
worked fine here
<chadmed>
with USE="gpu"
<leio>
sam_: also, if ansifilter is desired, it should work out of the box, but really we should default wgetpaste to a pastebin that understands ANSI colors itself; the current default of bpa.st is also uselessly strict on size so I need to force dpaste often
<leio>
oh me :D
<chadmed>
only breaks with USE="-gpu"
<sam_>
I suspect people would moan if added ansifilter as a dep of portage or something so would need to have some pure python thing instead
<sam_>
but yeah, there's some magic which uh.. xfce-terminal? does
<sam_>
it has some pastebin integration where it dumps as html
<leio>
I wrote ANSI understanding HTML generation back in 2004, it's not rocket science for a pastebin to do :)
<chadmed>
i think the only fix for this right now given the vendored pipewire crate spaghetti is to make --features gpu unconditional so that it builds
<chadmed>
doesnt really bother me that much since thats what youre clearly here for if youre installing this downstream fork of libkrun
<leio>
chadmed: I think I figured out the difference - you don't seem to use FEATURES=test for the stuff you maintain?
<leio>
so virglrenderer we figured out before, but pipewire looks kind of obvious need then too :)
<chadmed>
oh duh yeah...
<chadmed>
*sigh* -r2 coming in
<leio>
but yeah, it passes if I don't run tests
<leio>
so that'll be a problem for main tree later
<chadmed>
yeah this will definitely need cleaning up
<chadmed>
i think these ones are special cases since theyre a bit janky
<chadmed>
once all this stuff is merged properly it shouldnt need such delicate handling
<leio>
it's possible to just force disable tests if it is too hard to fix
<leio>
but might be just an outdated crate or smth too
<leio>
now what can I do with these libkrun libraries further? :)
<chadmed>
i believe the primary use case is isolating any OCI image into a VM
<leio>
think it might be worth IUSE default enabling native-context on overlays virglrenderer as the main use case for it in overlay?
<chadmed>
and yes i suspect some of the deps for slp's forks are broken just by being out of date since its now a 3 month old fork with no updates
<leio>
and same for gpu on libkrun
<leio>
(IUSE default like IUSE="static-libs +native-context")
<chadmed>
yeah
<leio>
also virglrenderer fork has same tarball name which clashes with checksum of main tree one; should save it under a different name on the "->" redirect in SRC_URI
veritas has joined #asahi-alt
<veritas>
Hi all. I am having some issues with Hyprland running on M1 Pro after the 6.6 kernel update. It crashes for me at startup. I am using NixOS with the nixos-apple-silicon module, mesa driver using overlay mode, pinned all nixpkgs to the nixos-apple-silicon nixpkgs latest version. Now Hyprland fails with eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c). Anyone has any experience with a similar setup ?
veritas_ has joined #asahi-alt
veritas has quit [Read error: No route to host]
veritas_ has quit [Quit: Leaving]
veritas_ has joined #asahi-alt
kidplayer666 has quit [Quit: Connection closed for inactivity]
<mps>
anyone have working hyprland config for macbook
lactose has quit [Read error: Connection reset by peer]
zumi_ has joined #asahi-alt
zumi has quit [Remote host closed the connection]
kidplayer666 has joined #asahi-alt
zumi_ is now known as zumi
<leio>
and virglrenderer fails with ../virglrenderer-cacafff69205a62758a22ef73c1334057f72e5d6/vtest/vtest_server.c:244:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
veritas_ has quit [Remote host closed the connection]
<leio>
i guess it figured to -Werror
<chadmed>
yeah i set a gcc override for that guy
jeisom has joined #asahi-alt
possiblemeatball has joined #asahi-alt
john-cabaj has joined #asahi-alt
<mps>
question for alt-distro maintainers, are you enabled speakers for distros?