#
…

2024-01-02

00:03zumi_ has joined #asahi-alt
00:03zumi has quit [Remote host closed the connection]
00:08zumi_ is now known as zumi
00:44lactose has joined #asahi-alt
00:45tbm has quit [Quit: .]
00:47tbm has joined #asahi-alt
01:12kidplayer666 has quit [Quit: Connection closed for inactivity]
01:35possiblemeatball has quit [Quit: Quit]
01:47possiblemeatball has joined #asahi-alt
03:03lactoseHello, I'm thinking of installing Void Linux and/or Slackware, but I don't know where to get started
03:04chadmedyou will notice that neither of those have maintainers
03:06lactoseBut could it be theoretically done?
03:06chadmedyeah for sure
03:07lactoseBecause at least for Void they offer rootfs images so maybe you could set it up to be bootable via chroot?
03:07chadmedthere 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
03:08chadmedmuch of the actually useful functionality for this platform is not yet upstreamed, so canned arm64 images from ~all distros will not work properly
03:10lactoseeven with an asahi distribution kernel?
03:19chadmedwell yeah if you add our kernel to the image
03:19chadmedbut that requires manual work is my point
03:20chadmedsomeone forked my gentoo stuff and rejigged it for slackware
03:22lactosewell i know it would be manual but i just want it to see it run
03:23lactoseanyway i will eat dinner and give that a read, thanks again
03:54jeisom has quit [Ping timeout: 480 seconds]
04:27eiln has quit [Quit: WeeChat 4.1.2]
05:50possiblemeatball has quit [Quit: Quit]
06:00lactose has quit [Quit: Leaving]
06:01lactose has joined #asahi-alt
06:03lactosechadmed: 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?
06:06zumi_ has joined #asahi-alt
06:06chadmedlactose: it triggers a dracut module that mounts the specified squashfs image as a loopback device and pivots to it as the rootfs
06:06zumi has quit [Remote host closed the connection]
06:11zumi_ is now known as zumi
07:04lactose>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
07:04lactoseHow would one go about the former? I can see that the Gentoo stuff does the latter
07:06lactoseMainly looking at Debian as an example, it seems to have its own install script?
07:17chadmedyoud need to first basically build a fully configured rootfs in a ramdisk or similar and dump it out to an image
08:19kidplayer666 has joined #asahi-alt
09:12leiochadmed: the libkrun[-gpu] failure is from it still looking for virglrenderer.pc with it, and in that case it's not pulled in
09:12leiooh, it's not pulled in with USE=gpu either
09:14chadmedit happens from a clean build too so i think we just make gpu unconditional
09:14leiodoesn't matter, you don't have the dep even with USE=gpu
09:15chadmedyeah i didnt get around to it
09:15chadmedlet me ssh into my studio to see if i started
09:15chadmed(im kinda bedridden rn :p)
09:15leiohow do you have these things compile with clang as system compiler? All cbindgen stuff fails on cc calls for me
09:16leioboth gpu and -gpu fail for me in rust stuff, https://dpaste.com/45M56M7B3
09:16leio(unrelated to the clang question, I'm forcing gcc now)
09:17chadmedwas cbindgen built with gcc?
09:17chadmedi think its a perl/ruby situation there where the compile time settings are baked into it
09:17leiothat needs fixing at some point then, but that's a gentoo topic
09:18leioand yes, it was built with gcc, because its own build calls cc and fails
09:18leiowhen trying to build with clang
09:19chadmedit builds fine for me even with my spicy *FLAGS
09:19chadmedi only have a handful of packages set for gcc override
09:19leioit doesn't honor linker choice there
09:19leioso ld failure from calling it with cc
09:27j`eylactose: for void there's some stuff here https://github.com/void-linux/void-packages/pull/36390
09:33sam_my feeling is there's something more to the cbindgen situation
09:33sam_feel like this would've come up before
09:33sam_then again, there is one element I never fully understood which gyakovlev mentioned every so often
09:33sam_something like rust-bin having different behaviour to ruxt
09:34leioI am on rust-bin
09:34leionot quite sure why :D
09:35sam_we can ask ionen about whatever the -bin thing is
09:35sam_he may have more of a hint
09:41chadmedleio: we also need to do the checks for kernel config options for virtio-net support in libkrun
09:41chadmedim about to push the virglrenderer dep fix
09:41chadmedbut i am in no fit state to do the kernel config checks
09:41chadmedPRs welcome
09:41chadmedthere is also interactions with the kernel config used to build libkrunfw so that will need some work too
09:41leiono idea what options it needs, and can't compile the crates anyhow
09:42leio(unrelated to cbindgen)
09:42chadmedwhat error is it giving
09:43chadmedi build this time and time again from the ebuild before pushing, on multiple systems
09:43sam_can i teach you ansifilter leio
09:43sam_please
09:43chadmedoh you mean just with -gpu
09:43leiouse of undeclared crate or module `thiserror` and so forth
09:43sam_install ansifilter, then PORTAGE_LOG_FILTER_FILE_CMD="bash -c \"ansifilter -c; exec cat\"" in make.conf
09:44sam_console logs have colour, on disk has filtered
09:44leiobut how do I get the colors then after pastebin download for easier red spotting? :P
09:44leiochadmed: this kind of error is with both -gpu and gpu
09:44chadmedoh thats new then
09:47chadmedworked fine here
09:47chadmedwith USE="gpu"
09:48leiosam_: 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
09:48leiooh me :D
09:48chadmedonly breaks with USE="-gpu"
09:48sam_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
09:48sam_but yeah, there's some magic which uh.. xfce-terminal? does
09:48sam_it has some pastebin integration where it dumps as html
09:49leioI wrote ANSI understanding HTML generation back in 2004, it's not rocket science for a pastebin to do :)
09:52chadmedi think the only fix for this right now given the vendored pipewire crate spaghetti is to make --features gpu unconditional so that it builds
09:52chadmeddoesnt really bother me that much since thats what youre clearly here for if youre installing this downstream fork of libkrun
09:54leiochadmed: I think I figured out the difference - you don't seem to use FEATURES=test for the stuff you maintain?
09:55leioit also reports this from iwdevtools:
09:55leio * VDB: detected possibly incorrect RDEPEND (dev-libs/libkrun-1.6.0)
09:55leio * > media-libs/virglrenderer
09:55leio * > media-video/pipewire:=
09:55leioso virglrenderer we figured out before, but pipewire looks kind of obvious need then too :)
09:58chadmedoh duh yeah...
09:58chadmed*sigh* -r2 coming in
09:58leiobut yeah, it passes if I don't run tests
09:59leioso that'll be a problem for main tree later
09:59chadmedyeah this will definitely need cleaning up
09:59chadmedi think these ones are special cases since theyre a bit janky
10:00chadmedonce all this stuff is merged properly it shouldnt need such delicate handling
10:00leioit's possible to just force disable tests if it is too hard to fix
10:00leiobut might be just an outdated crate or smth too
10:01leionow what can I do with these libkrun libraries further? :)
10:01chadmedi believe the primary use case is isolating any OCI image into a VM
10:02leiothink it might be worth IUSE default enabling native-context on overlays virglrenderer as the main use case for it in overlay?
10:02chadmedand 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
10:02leioand same for gpu on libkrun
10:03leio(IUSE default like IUSE="static-libs +native-context")
10:04leioalso 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
10:10veritas has joined #asahi-alt
10:10veritasHi 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 ?
10:20veritas_ has joined #asahi-alt
10:24veritas has quit [Read error: No route to host]
10:26veritas_ has quit [Quit: Leaving]
10:26veritas_ has joined #asahi-alt
10:39kidplayer666 has quit [Quit: Connection closed for inactivity]
10:54mpsanyone have working hyprland config for macbook
10:59lactose has quit [Read error: Connection reset by peer]
12:04zumi_ has joined #asahi-alt
12:04zumi has quit [Remote host closed the connection]
12:05kidplayer666 has joined #asahi-alt
12:09zumi_ is now known as zumi
12:54leioand virglrenderer fails with ../virglrenderer-cacafff69205a62758a22ef73c1334057f72e5d6/vtest/vtest_server.c:244:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
12:54veritas_ has quit [Remote host closed the connection]
12:55leioi guess it figured to -Werror
12:55chadmedyeah i set a gcc override for that guy
14:09jeisom has joined #asahi-alt
15:00possiblemeatball has joined #asahi-alt
15:02john-cabaj has joined #asahi-alt
15:04mpsquestion for alt-distro maintainers, are you enabled speakers for distros?
15:09zzywysm_NixOS for Apple Silicon has those patches
15:12eslerm has joined #asahi-alt
15:15demon_in_a_jar has joined #asahi-alt
15:16eiln has joined #asahi-alt
15:25jacksonchen666 has joined #asahi-alt
15:47john-cabaj has quit [Quit: john-cabaj]
15:47john-cabaj has joined #asahi-alt
16:02tobhemps: currently only in testing for ubuntu, but everything looks good so I might publish them to the regular channel soon
16:05mpstobhe: thanks for info
17:56jacksonchen666 has quit [Ping timeout: 480 seconds]
18:03zumi_ has joined #asahi-alt
18:04zumi has quit [Remote host closed the connection]
18:04jacksonchen666 has joined #asahi-alt
18:08zumi_ is now known as zumi
19:27lactose has joined #asahi-alt
19:39lactose has quit [Read error: Connection reset by peer]
19:55lactose has joined #asahi-alt
19:56lactose has quit [Read error: Connection reset by peer]
20:06lactose has joined #asahi-alt
20:08lactose has quit [Remote host closed the connection]
20:14mpsinteresting, speakers block video playing from mpv and firefox while sounds work and on headphone everything is ok.
20:14lactose has joined #asahi-alt
20:14mpsffplay and telegram-desktop works fine on both, speakers and mpv
20:15mpstried with X, sway and hyprland
20:16lactose has quit [Read error: Connection reset by peer]
20:19lactose has joined #asahi-alt
20:22lactose has quit [Remote host closed the connection]
20:27lactose has joined #asahi-alt
20:28lactose has quit [Read error: Connection reset by peer]
20:30lactose has joined #asahi-alt
20:32lactose has quit [Read error: Connection reset by peer]
20:40lactose has joined #asahi-alt
20:44lactose has quit [Read error: Connection reset by peer]
20:52lactose has joined #asahi-alt
20:53lactose has quit [Read error: Connection reset by peer]
20:55lactose has joined #asahi-alt
20:56lactose has quit [Read error: Connection reset by peer]
21:04lactose has joined #asahi-alt
21:10lactose has quit [Read error: Connection reset by peer]
21:13lactose has joined #asahi-alt
21:19lactose has quit [Quit: Quit]
21:57possiblemeatball has quit [Quit: Quit]
…