#
…

2024-06-24

00:06chadmed_ has quit [Remote host closed the connection]
00:06zumi_ has joined #asahi-alt
00:06zumi has quit [Remote host closed the connection]
00:11zumi_ is now known as zumi
00:23chadmed_ has joined #asahi-alt
00:28cow123 has joined #asahi-alt
00:40cow123_ has joined #asahi-alt
00:44cow123 has quit [Ping timeout: 480 seconds]
00:47chadmed_ has quit [Remote host closed the connection]
00:48cow123_ has quit [Ping timeout: 480 seconds]
01:00KxCORP5894 has quit [Quit: Bye!]
01:00KxCORP5894 has joined #asahi-alt
01:01cow123 has joined #asahi-alt
01:04tobhe_ has quit [Quit: leaving]
01:04tobhe has joined #asahi-alt
01:04tobhe has quit []
01:05tobhe has joined #asahi-alt
01:21chadmed_ has joined #asahi-alt
01:43john-cabaj has quit [Quit: john-cabaj]
01:43john-cabaj has joined #asahi-alt
01:51john-cabaj has quit [Ping timeout: 480 seconds]
02:32Halian|Jardin has joined #asahi-alt
02:33Halian|JardinHemlo! I got Gentoo running on my M1 MBA (for real this time), but I can't get KDE working. I can start X and get into SDDM, but it doesn't list Plasma as an available DE, and entering my password kicks me back to the login screen. Pls help?
02:41john-cabaj has joined #asahi-alt
02:44cow123 has quit [Remote host closed the connection]
02:44cow123 has joined #asahi-alt
02:46cow123 has quit [Remote host closed the connection]
02:48cow123 has joined #asahi-alt
02:59chadmed_xorg is not supported, please use the wayland session
02:59chadmed_also did you emerge plasma-meta or some random combination of plasma-adjacent packages
02:59chadmed_also did you set your profile to desktop/plasma
03:28Halian|Jardinchadmed_: oh ok. plasma-meta. Yes.
03:29cow123 has quit [Remote host closed the connection]
03:29chadmed_once youve emerged plasma-meta youll have to remove all the packages you manually emerged from @world so that portage doesnt keep them around when there are no dependencies on them
03:29Halian|JardinWhy do I have to uninstall the entire system? </very confused>
03:29cow123 has joined #asahi-alt
03:35cow123 has quit [Remote host closed the connection]
03:36chadmed_no not the entire system, just the plasma packages you manually emerged
03:36chadmed_e.g. plasma-meta depends on plasma-desktop, so if you manually emerged plasma-desktop you will need to run emerge --deselect plasma-desktop
03:37chadmed_sorry that wasnt clear from my initial message
03:38Halian|JardinSorry about that
03:38chadmed_no thats my fault, i said "all packages" which is silly
03:38chadmed_i meant just the plasma-related ones :)
03:38Halian|JardinAlright, I depcleaned plasma-meta and xorg-server; I don't believe I manually emerged anything else that requires those
03:44* Halian|Jardininstalls Wayland and KDE
03:47chadmed_emerge -a plasma-meta should be all you need to do if your profile is set properly
03:48chadmed_and then the kde application metapackages you want
03:49Halian|JardinYeah, that's what I did
04:09zerdox has quit [Ping timeout: 480 seconds]
04:35Halian|JardinHrm, there's no `startplasma-wayland` command :(
04:40chadmed_can you paste the output of `eselect profile list` somewhere
04:47chadmed_huh that should be fine then
04:47chadmed_can you try emerge plasma-wayland-session
04:48Halian|JardinNo such ebuild
04:48Halian|JardinThere's -protocols but not -session
04:49chadmed_oh wait yeah thats not a thing anymore
04:49chadmed_do you have USE="wayland"
04:50sam_please show the output of emerge -pv plasma-meta
04:51Halian|Jardinchadmed_: Yes
04:52chadmed_so you didnt emerge plasma-meta
04:52Halian|JardinWTF. I *did* o_o
04:52Halian|JardinI distinctly remember running `sudo emerge -av plasma-meta`
04:52chadmed_maybe a package failed to emerge
04:52* Halian|Jardintries again
04:54john-cabaj has quit [Ping timeout: 480 seconds]
05:09Halian|JardinHrm, ffmpeg failed to emerge
05:09chadmed_add -soc to your USE
05:10chadmed_some stupid hand-tuned bullshit assembly for rpi that got magically enabled for all arm64 builds because rpis are the only arm64 machines ever apparently
05:10chadmed_i should probably raise a bug about that
05:11Halian|JardinThird time's the charm, hopefully
05:12chadmed_if you use mpv youll have to add -soc to USE for that as well
05:13Halian|JardinI just put it globally for now
05:13Halian|JardinmotherFUCKER it still failed to compile
05:13Halian|JardinSame exact error, too
05:13chadmed_post a build log
05:18chadmed_oh thats an odd one
05:19sam_it's not..
05:19sam_it's that stupid bloody thing
05:19sam_i mean, it's odd
05:19sam_but not new
05:19Halian|JardinI know I'm stupid but come on lol
05:19sam_bug 830165
05:19chadmed_odd in the sense that ive never seen it :p
05:19chadmed_can we invite wilikins
05:19sam_it's a gcc thing with native on Some ARM64 CPUs Where I Haven't Worked Out The Pattern
05:20chadmed_oh more gcc nonsense no wonder i havent seen it
05:20chadmed_for m1 you can safely set march=armv8.5-a and for m2 you can do armv8.6-a
05:20chadmed_or you can try bootstrap a systemwide clang toolchain but here be dragons
05:20sam_what annoys me is every so often I get in the mood to at least try figure it out a bit more, and then I can't reproduce it in the chroot I try
05:21sam_just pisses me off
05:21sam_it's a mix of ffmpeg being clever and obviously gcc getting something wrong
05:21* Halian|Jardinoffers virtual hugs
05:21chadmed_its probably related to gcc also exploding and dying at trying to figure out core features on these machines (and perhaps other heterogeneous systems?)
05:21Haliansam_: <3
05:22sam_I did try to get one of the gcc arm people's attention and I sort of succeeded but then they got distracted with sometihng else
05:22sam_thing*
05:23HalianWith -march=armv8.5-a -mtune=armv8.5-a it fails in the EXACT SAME WAY. With just -march=armv8.5-a it compiles. Grumble grumble.
05:23chadmed_forget mtune gcc has no core model for these machines
05:23HalianAs a hackintosher, I recognize Works On My Machine™ when I see it lol
05:23chadmed_clang is slightly better but its core model is for cyclone or something which was one of apples first arm64 cores lmfao
05:24chadmed_i still just recommend to everyone to switch to clang systemwide on these machines because youll get random crap like this with gcc because it can't into HMP
05:26chadmed_sam_: do you actually have an AS mac?
05:26chadmed_ah bugger, was gonna ask if you could quickly flash the livecd and try boot it
05:26sam_it just happens for me on one of our dev machines
05:26chadmed_i want at least one other successful boot before i go and spruik its existence
05:26sam_sorry!
05:26sam_leio should be up soon at least
05:27sam_honestly I would've bought one of them but I got screwed hard with a butterfly kb and I'm sour about it still
05:27chadmed_if we are going to go with this for an official install mechanism now that it works i cant host it on my personal infra because its too slow and im on the arse end of the world
05:27Halian|JardinI got the M1 MBA because Walmart had them for $700 and I was in the market for a new laptop
05:28sam_we can host it but we'd like to do the build in the official machinery if so
05:28chadmed_yeah absolutely, im just cleaning up the spec files to push to GH now :)
05:28chadmed_i dont expect official infra to host my scuffed unsigned builds
05:29Halian|JardinI would offer but I don't think off the top of my head that my host would appreciate getting hit that hard ^^;
05:29Halian|JardinOtherwise I'm not limited by space, just file count
05:31chadmed_i dont care about space, more just speed and my ISP asking questions :p
05:53chadmed_ has quit [Quit: Page closed]
06:03Halian|JardinI got KDE working \o/
06:34zerdox has joined #asahi-alt
06:49zerdox has quit [Remote host closed the connection]
06:52zerdox has joined #asahi-alt
07:09zerdox has quit [Remote host closed the connection]
07:11zerdox has joined #asahi-alt
07:24espo has joined #asahi-alt
07:28chaos_princesschadmed: i can test out your iso, what's the process, just install it with genstrap.sh?
07:31zerdox has quit [Ping timeout: 480 seconds]
07:32zerdox has joined #asahi-alt
07:33chadmedchaos_princess: nope! flash to usb, boot from usb
07:33chadmedyou can use an existing install's u-boot, i just need to know it boots. its essentially just a standard gentoo arm64 minimal image apart from the kernel
07:34chadmedif this works i can retire genstrap and the whole install-via-fedora thing entirely which is a massive PITA
07:34chadmed(we would also be the first install-like-you-would-on-a-pc distro which is neat)
07:37chaos_princessinstall-like-on-pc is more effort, you need to find a usb stick to do it :P
07:37* chaos_princessmight be spoiled from only using x86 machines that have a bmc for quite a while
07:39chadmedi had trouble finding one lying around to test it too heh
07:40chadmedhttps://github.com/chadmed/gentoo-asahi-releng cleaned up spec files are here for those curious (cc sam_, leio)
07:48jacksonchen666 has joined #asahi-alt
07:54chaos_princesschadmed: `run bootcmd_usb0` from u-boot shell? Cause that ended up booting systemd-boot from my existing install on internal
07:56chadmedchaos_princess: i actually dont think that works anymore, have a look at the logs for this channel someone found a set of commands that work last night some time i think
08:03chaos_princessEnded up "deleting" the esp. it boots, but then fails to find the modules for apple-mailbox and nvme, and then proceeds to reboot.
08:04chadmedi mustve busted something then
08:13zerdox has quit [Ping timeout: 480 seconds]
08:21zerdox has joined #asahi-alt
08:24u154ss has joined #asahi-alt
08:24u154ss@chadmed "if this works i can retire genstrap and the whole install-via-fedora thing entirely which is a massive PITA ". Would heartily agree... I will test your new .iso soon. Busy at the moment.
08:32leioI'm around, but I'm not sure I can really help beyond chatting atm until next month
08:33u154ss has quit [Remote host closed the connection]
08:38chadmedleio: no worries at all
08:39maxmatteo has joined #asahi-alt
08:40j`eychadmed: so this mean you can just asahi-installer -> UEFI -> USB into gentoo? no intermediate fedora step
08:40chadmedyep! once it works of course...
08:41cy8aerThat is the way we install e. g. debian dists.
08:41chadmedi booted successfully and even got wifi up last night so idk why this scuffed build chaos_princess just tried doesnt work... im spinning another one out now and will hopefully have it available before i go to the gym
08:42chadmedcy8aer: okay so we will be second, not first :p
08:42cy8aerBut IMHO @Glanzmann already built some modified install.sh
08:43cy8aerSo we did it the other way round.
08:47maxmatteo has quit [Quit: Leaving...]
08:50zerdox has quit [Ping timeout: 480 seconds]
08:51mpschaos_princess: this I found yesterday `boot_targets "usb" ; setenv bootmeths "efi" ; boot`
08:52mpsu-boot 2024.04
08:54mpshm, I need more coffee, it is `setenv boot_targets "usb" ; setenv bootmeths "efi" ; boot`
08:56mpsalso, yesterday I updated installer for alpine and tested it, but noticed that I've set 'root=$partition' wrongly in grub.cfg
08:57mpshave to find some time after work to fix it
09:53qdot has quit [Ping timeout: 480 seconds]
09:58cylm has joined #asahi-alt
10:05zerdox has joined #asahi-alt
10:07hightower2 has joined #asahi-alt
11:43u154ss has joined #asahi-alt
11:44chadmedyes you should be able to flash it to a usb stick and boot from it using the commands provided by m p s
11:47chadmedleio sam_: assuming this works, how do we go about getting official builds done and advertised? is that an -arm thing or a -releng thing?
11:49chaos_princesschadmed: same error except this time it also fails to find a disk with a "Gentoo" Label
11:49chadmedaaaaaaaaa
11:50chadmedi legit did not change anything between the build i tested that worked
11:50chadmedgoofy ahh releng
11:50u154ss_ has joined #asahi-alt
11:50u154ss_@chadmed et all should I hold off?
11:51chadmedu154ss_: yeah i guess if it aint workin
11:53u154ss_@chadmed will wait then..
12:10leiochadmed: both, I suppose
12:11qdot has joined #asahi-alt
12:19chadmedhmm dracut must be being sussy because both modules it says are missing are built and in /lib/modules
12:30chaos_princessDo you have them in initrd or on root fs?
12:33chadmedthey should be in the initramfs since theyre installed by our asahi dracut module
12:34Guest10498 has quit [Quit: Bridge terminating on SIGTERM]
12:34rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
12:37Jamie has joined #asahi-alt
12:38Jamie is now known as Guest10646
12:38rhysmdnz has joined #asahi-alt
12:40zerdox has quit [Ping timeout: 480 seconds]
12:42u154ss has quit [Remote host closed the connection]
12:56chadmedthe kernel has apple-mailbox builtin so it should not be eating shit looking for that at all
12:59chadmedoh i think i know why
13:00chadmedjannau: we need to change our localversion from 6.8.9-p7-asahi to 6.8.9_p7-asahi
13:00chadmedill do that tomorrow im eepy
13:07jannaufor asahi-sources? why? at least the kernel eclass has code to deal with '-' vs. '_', I don't remember if I checked other kernel ebuilds doing the same. dracut however should only care about 6.8.9-p7-asahi
13:07chadmedno this is asahi-kernel
13:08chadmedcatalyst only supports dracut with dist-kernels
13:08chadmedthe issue is that it uses equery to get the kernel version to pass into dracut --kver, and equery uses ${PV}
13:09chadmedso the first build i did, i just hard-coded our actual kver into the call to dracut
13:09chadmedthe second time, i wrote a thing to mv the module dir to where the upstream catalyst expects it to be
13:09jannauok. I was looking at that for asahi-kernel
13:09chadmedobviously once it goes into the initramfs in the wrong dir the kernel cant find it
13:09chadmedso the issue is one of skill on my part, should have realised that little trick wasnt going to work :p
13:10jannauif it uses ${PV} isn't '-asahi-dist' a problem as well?
13:11chadmedno its okay with that, dunno where it gets it from havent looked at the code
13:11jannauor does it append that automatically from $name-kernel?
13:13chadmedmaybe but how could it know that
13:14jannauI vaguely remmeber code in the kerne eclass which suggests that this might be expected
13:15chadmedyeah we overrode localversion in the first place because of that
13:15chadmedbut we just need to change - to _ in that string and everything will work out fine
13:16chadmedill do it tomorrow without a revbump since we're not breaking existing installs
13:55john-cabaj has joined #asahi-alt
14:03zerdox has joined #asahi-alt
14:20u154ss_ has quit [Remote host closed the connection]
15:12sam_chadmed: -releng but say leio and I endorse it
15:18espo has quit [Remote host closed the connection]
15:18espo has joined #asahi-alt
16:06cylm_ has joined #asahi-alt
16:13cylm has quit [Ping timeout: 480 seconds]
17:05hightower3 has joined #asahi-alt
17:06hightower2 has quit [Ping timeout: 480 seconds]
17:27jacksonchen666 is now known as Guest10670
17:28jacksonchen666 has joined #asahi-alt
17:34Guest10670 has quit [Ping timeout: 480 seconds]
18:14zerdox has quit [Remote host closed the connection]
18:17zerdox has joined #asahi-alt
18:32cow123 has joined #asahi-alt
19:07cyrinux30 has quit []
19:32cyrinux30 has joined #asahi-alt
20:02Halian|Jardin has quit [Quit: WeeChat 4.2.1]
20:11halian2 has joined #asahi-alt
20:11halian2 is now known as Halian|Jardin
20:11Halian|JardinNow there is the problem of “I get no sound”
20:22cylm has joined #asahi-alt
20:28cylm_ has quit [Ping timeout: 480 seconds]
22:03zerdox has quit [Read error: Connection reset by peer]
22:04zerdox has joined #asahi-alt
22:09john-cabaj has quit [Ping timeout: 480 seconds]
22:14chadmed_ has joined #asahi-alt
22:14chadmed_Halian|Jardin: rc-update add speakersafetyd default
22:15chadmed_(and then obviously start the service too)
22:16Halian|JardinYup, that did the trick
22:40nela has quit [Read error: Connection reset by peer]
22:55nela has joined #asahi-alt
23:13zerdox has quit [Ping timeout: 480 seconds]
23:20seb4nihel has joined #asahi-alt
23:25seb4nihe- has quit [Ping timeout: 480 seconds]
23:53jacksonchen666 is now known as Guest10691
23:53jacksonchen666 has joined #asahi-alt
23:58Guest10691 has quit [Ping timeout: 480 seconds]
…