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
benzmac16v has quit [Remote host closed the connection]
benzmac16v has joined #asahi-alt
benzmac16v has quit []
benzmac16v has joined #asahi-alt
benzmac16v has quit []
renatorabelo has quit [Ping timeout: 480 seconds]
jamespmo_ has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
digicyc has quit [Remote host closed the connection]
digicyc has joined #asahi-alt
renatorabelo has joined #asahi-alt
jacksonchen666 has quit [Ping timeout: 480 seconds]
jacksonchen666 has joined #asahi-alt
clandmeter has joined #asahi-alt
<ncopa> has the asahi kernel a usable defconfig?
<j`ey> there's some stuff which is 'default ARCH_APPLE' which helps
<ncopa> so it is not added as a defconfig to asahi branch
<j`ey> ah, right, no
<mps> ncopa: could you tell list of dir vendorfw on ESP you created with installer
<mps> is there cpio file or tar?
<ncopa> dont know yet, i have only installed uefi on it so far
<mps> I cannot try to reinstall these days to check myself
<ncopa> i'd like to build my own alpine boot image
<mps> ncopa: when you installed in uefi mode it creates some dirs on ESP, one is extracted firmware
<j`ey> I just untar'd the minimal alpine (VM?) image :D
<ncopa> the alpine-virt iso image?
<j`ey> yeah I guess it was that
<j`ey> alpine-minirootfs-3.15.0-aarch64.tar.gz
<mps> ncopa: you could try to flash this https://dev.alpinelinux.org/%7Emps/m1/m1-usb-alpine-install.img.xz on usb stick and boot it from usb
<ncopa> thats the tarball for docker image. it does not even have any kernel
<ncopa> mps, i know, i'd just like to build my own image, that let me run alpine from tmpfs
<mps> yes, that is what I think should be final image for install alpine
<ncopa> so, i guess what i really should do is to have 2 alpine installs
<ncopa> one for my actual work
<ncopa> and one for testing the alpine installer
<mps> this will be possible when m1n1+u-boot is ready for loading from different ESPs
<mps> not sure if anyone tested this, yet
<mps> maybe it is tested with openBSD
renatorabelo has quit [Ping timeout: 480 seconds]
renatorabelo has joined #asahi-alt
renatorabelo has quit [Read error: Connection reset by peer]
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Lewa has joined #asahi-alt
Lewa has quit []
Lewa has joined #asahi-alt
<Glanzmann> j`ey: Any idea what I can make to fix that? https://pbot.rmdir.de/mXV-xtxapqHATYFGXFHiTQ
<Glanzmann> I try to adapt the standard debian kernel config with the asahi options.
<Glanzmann> Debian users writing me emails about missing config options that they need every other hour ...
<j`ey> CONFIG_OF_DYNAMIC=y
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Glanzmann> j`ey: Thanks. That seems to be rabbit hole: https://tg.st/u/screenshot-mini-2022-12-13-16_16_24.png
<Glanzmann> So I need CONFIG_OF_UNITTESTS=y
<Glanzmann> And what does that select by [n] mean? Does it mean if any of the conditions are true it is set to 'n'?
<j`ey> try enabling CONFIG_OF_OVERLAY
<Glanzmann> j`ey: Yeah, that did the trick. Thank you.
<Glanzmann> Now lets see if it compiles. And if it compiles, if it boots. And if it boots if usb is working. :-)
<j`ey> and if usb is working is it usb3 etc
<Glanzmann> yep.
<Glanzmann> Btw. I have a nice new usb bug, but sven probably don't want to hear about it or knows it anyway. Here it goes: U-boot is slow on the mini to boot if there is a usb-c device connected. So I press a lot of buttons to speed up loading of u-boot, grub and kernel/initrd loading. In the old days I pressed 'shift' but now during kernel I just type random crap on the keyboard. If I do so than Linux appears
<Glanzmann> to loose keystrokes if I type fast. If I use left and right shift to speed up the kernel loading, I don't have this issue.
<Glanzmann> Now I know why maz is running legacy u-boot.
* sven doesn't care about u-boot
<Glanzmann> 2023 is year of the Asahi Developers running their own code on the desktop. Than they'll care.
<Glanzmann> sven: But what is strange is that when I press random keys on the keyboard while the kernel is loading. The kernel appears to loose characters from my usb keyboard when I type to fast. When I press shift to speedup kernel/initrd, it does not. But maybe it is just my immagination but I think I can reproduce it.
<sven> I don't care about u-boot because other people do
<Glanzmann> Good thing than that we have kettenis otherwise we would all run with a raspberry pie around.
<Glanzmann> sven: But my hypothesis is, that if I press random characters during kernel/initrd loading this somehow gets the hardware or linux driver in a state that it looses keystrokes. But maybe I'm only imagining things.
<Glanzmann> Oh and of course Linus Torvalds which just bought an m2 air so Hector wrote a keyboard driver for the m2/u-boot.
<sven> 🤨
<Glanzmann> Does someone have a font for alacritty that he can recommend that has svens smileys in?
Ry_Darcy has joined #asahi-alt
<Ry_Darcy> @Glanzmann running 6.1.0-rc8-asahi #51 at the moment. Are there known wireless activation issues?
<Glanzmann> j`ey: The kernel boots, has no oops, no deferred probing, dcp, gpu, usb-a and usb-c and boots on the mini and the air. So lets ship it.
<Glanzmann> Ry_Darcy: Wifi does not work with wpa3, I think. Why? what problem do you have?
<Ry_Darcy> Cannot get wlan0 to activate. See https://paste.debian.net/1263941/
<Glanzmann> Debian folks: We have a working kernel with the distro options taken from config-6.0.0-5-arm64
<Glanzmann> Ry_Darcy: can you paste the output of 'ip a s' and 'dmesg'?
<mps> Glanzmann: you ship gpu to end users?
<_jannau_> isn't wpa3 working for months, some wpa-enterprise configs missed a crypto option in asahi
<Glanzmann> mps: Yes.
<Glanzmann> jannau: Yes, I saw that. Probably the debian kernel had that so it was working most of the time for me. And I wondered why the others complained. Anyway I still have access points that asahi will not associate with just with psk. With macos it works ...
<mps> Glanzmann: and you ship unstable mesa?
<mps> _jannau_: yes, kernel option was missing, forgot which one because I enabled this from the start on alpine kernel
<Glanzmann> mps: Yes. Debian soon freezes. So even if mesa would release it would take another 3-4 years to get into Debian.
<mps> Glanzmann: heh, for debian this makes sense :-)
<Glanzmann> Ry_Darcy: Looks good. Have you tried to do a ifup 'wlan0' after editing /etc/wpa/wpa_supplicant.conf ?
<_jannau_> wasn't wpa3 broken with wpa_supplicant?
<mps> hmm, so I have to think about enabling gpu by default for alpine (and push mesa-asahi pkg)
<_jannau_> please don't
<mps> _jannau_: iirc it was broken earlier but about 2-3 months ago it is fixed
<mps> _jannau_: ok, will follow your advice
<_jannau_> providing an option to get testing packages for mesa and kernel with gpu driver enabled is probably fine there is no expection of support unless reproduced with asahi
<Ry_Darcy> @Glanzmann had an old wpa config file that works. Copied same into the right place and ca marche. Thanks.
<Glanzmann> Debian folks: patch_kernel_config.pl can now take a Debian upstream config and turn it into an asahi config.
<Glanzmann> Ry_Darcy: Perfect.
<Ry_Darcy> Thanks.
<_jannau_> but it should not be the default which requires dcp+gpu to disabled explicitly in the case of problems
Ry_Darcy has quit [Remote host closed the connection]
cylm has joined #asahi-alt
zzywysm has joined #asahi-alt
iaguis has joined #asahi-alt
zzywysm_ has quit [Ping timeout: 480 seconds]
zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cylm has quit [Ping timeout: 480 seconds]
zzywysm has joined #asahi-alt
zzywysm has quit []
zzywysm has joined #asahi-alt
<Glanzmann> mps: I'm currently on a phone with a friend and he pointed me to 'compton' which is a compositor for x11. And guess what the tearing is gone for me when I play videos. Konfig: https://tg.st/u/.compton.conf
<Glanzmann> The config has shadows, not that I see them when running my windows in fullscreen.
<mps> Glanzmann: I don't see any tearing when playing your video with mpv on m1pro
<mps> yes, I know for comptom but never tried it
<mps> comton*
<mps> compton*
<Glanzmann> I see.
<Glanzmann> mps: I can see it on my mini clearly.
<Glanzmann> But only when I play the high resolution videos. But with compton it is gone.
<mps> hm, could be because I use clients (apps) in awesome without any decors, just plain on screen
<mps> even without window handles
<Glanzmann> mps: Same for me. I have 1 pixel border that's it.
<mps> uhm, I removed xfce else I could try with it
<mps> Glanzmann: did I told that I don't use '--vo=gpu' with mpv, only xv or x11
<mps> with --vo=gl or --vo=gpu tearing is there ofc
<mps> and I still didn't upgraded gallium driver to latest commit
<mps> oh, and I think playing long videos with 'mpv --vo=xv $filename' could crash X servers, but didn't yet confirmed
<Glanzmann> mps: I do the same gpu is to slow at least for the high resolution/high fps video.
<Glanzmann> mps: FOr me x never crashed. Okay once it froze when I tried the tear free patch.
<mps> I just upgraded gallium/mesa to latest commit, lets see will it be more stable
<Glanzmann> mps: I already have it while at the latest commit.
<mps> I don't see any difference in speed, just hope mpv will be stable with --vo=xv
<mps> but overall it is quite fine
<mps> (now I can search for riscv notebook and forget apple :) )
<Glanzmann> mps: Yes, for me it is also stable. Only thing that is not working for me is xfreerdp. Sometimes I need it, but than I switch to the nuc on my table.
<mps> last thing that is missing is color temperature, and I will add another machine on my pile of arm notebooks. "meine liebe mit apple ist ende" :)
<Glanzmann> :-)
<mps> seriously now when ncopa stepped to make alpine better on apple m1 (and I'm sure he will do a lot better than I did) I will step back and move to riscv development
<Glanzmann> I see. I look forward until everything is upstream but that will take quiet a while.
<Glanzmann> mps: Which riscv system you will work with?
<mps> Glanzmann: for now I have starfive visionfivev1 SBC
<mps> it is not 'first class' SBC but good enough for experimenting
<Glanzmann> I see. I didn't know it before you posted it but found it on ali express.
<mps> I maintain opensbi, u-boot and kernel for riscv64 on alpine
<mps> actually riscv foundation sent 4 boards to some alpine devs, one of them I'm
<Glanzmann> I see. Cool.
kujeger- has joined #asahi-alt
kujeger has quit [Ping timeout: 480 seconds]
beeblebrox has quit [Quit: Konversation terminated!]
jamespmorgan has joined #asahi-alt
jamespmo_ has quit [Ping timeout: 480 seconds]
jamespmo_ has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]