#
…

2022-12-13

00:00benzmac16v has quit [Remote host closed the connection]
00:00benzmac16v has joined #asahi-alt
00:03benzmac16v has quit []
00:08benzmac16v has joined #asahi-alt
00:09benzmac16v has quit []
00:48renatorabelo has quit [Ping timeout: 480 seconds]
04:02jamespmo_ has joined #asahi-alt
04:08jamespmorgan has quit [Ping timeout: 480 seconds]
04:15digicyc has quit [Remote host closed the connection]
04:15digicyc has joined #asahi-alt
07:23renatorabelo has joined #asahi-alt
08:31jacksonchen666 has quit [Ping timeout: 480 seconds]
08:31jacksonchen666 has joined #asahi-alt
09:46clandmeter has joined #asahi-alt
09:47ncopahas the asahi kernel a usable defconfig?
09:48j`eythere's some stuff which is 'default ARCH_APPLE' which helps
09:51ncopaso it is not added as a defconfig to asahi branch
09:51j`eyah, right, no
09:53mpsncopa: could you tell list of dir vendorfw on ESP you created with installer
09:54mpsis there cpio file or tar?
09:54ncopadont know yet, i have only installed uefi on it so far
09:54mpsI cannot try to reinstall these days to check myself
09:54ncopai'd like to build my own alpine boot image
09:55mpsncopa: when you installed in uefi mode it creates some dirs on ESP, one is extracted firmware
09:55j`eyI just untar'd the minimal alpine (VM?) image :D
09:56ncopathe alpine-virt iso image?
09:56j`eyyeah I guess it was that
09:56j`eyalpine-minirootfs-3.15.0-aarch64.tar.gz
09:57mpsncopa: 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
09:57ncopathats the tarball for docker image. it does not even have any kernel
09:57ncopamps, i know, i'd just like to build my own image, that let me run alpine from tmpfs
09:58mpsyes, that is what I think should be final image for install alpine
09:59ncopaso, i guess what i really should do is to have 2 alpine installs
09:59ncopaone for my actual work
09:59ncopaand one for testing the alpine installer
10:01mpsthis will be possible when m1n1+u-boot is ready for loading from different ESPs
10:01mpsnot sure if anyone tested this, yet
10:02mpsmaybe it is tested with openBSD
10:24renatorabelo has quit [Ping timeout: 480 seconds]
10:29renatorabelo has joined #asahi-alt
10:30renatorabelo has quit [Read error: Connection reset by peer]
11:12Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:25Lewa has joined #asahi-alt
11:27Lewa has quit []
14:58Lewa has joined #asahi-alt
15:12Glanzmannj`ey: Any idea what I can make to fix that? https://pbot.rmdir.de/mXV-xtxapqHATYFGXFHiTQ
15:12GlanzmannI try to adapt the standard debian kernel config with the asahi options.
15:12GlanzmannDebian users writing me emails about missing config options that they need every other hour ...
15:12j`eyCONFIG_OF_DYNAMIC=y
15:14Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:17GlanzmannSo I need CONFIG_OF_UNITTESTS=y
15:17GlanzmannAnd what does that select by [n] mean? Does it mean if any of the conditions are true it is set to 'n'?
15:18j`eytry enabling CONFIG_OF_OVERLAY
15:20Glanzmannj`ey: Yeah, that did the trick. Thank you.
15:20GlanzmannNow lets see if it compiles. And if it compiles, if it boots. And if it boots if usb is working. :-)
15:21j`eyand if usb is working is it usb3 etc
15:27GlanzmannBtw. 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
15:27Glanzmannto 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.
15:27GlanzmannNow I know why maz is running legacy u-boot.
15:33* svendoesn't care about u-boot
15:35Glanzmann2023 is year of the Asahi Developers running their own code on the desktop. Than they'll care.
15:36Glanzmannsven: 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.
15:37svenI don't care about u-boot because other people do
15:37GlanzmannGood thing than that we have kettenis otherwise we would all run with a raspberry pie around.
15:39Glanzmannsven: 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.
15:39GlanzmannOh and of course Linus Torvalds which just bought an m2 air so Hector wrote a keyboard driver for the m2/u-boot.
15:46GlanzmannDoes someone have a font for alacritty that he can recommend that has svens smileys in?
15:49Ry_Darcy has joined #asahi-alt
15:50Ry_Darcy@Glanzmann running 6.1.0-rc8-asahi #51 at the moment. Are there known wireless activation issues?
15:51Glanzmannj`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.
15:52GlanzmannRy_Darcy: Wifi does not work with wpa3, I think. Why? what problem do you have?
15:54Ry_DarcyCannot get wlan0 to activate. See https://paste.debian.net/1263941/
15:54GlanzmannDebian folks: We have a working kernel with the distro options taken from config-6.0.0-5-arm64
15:54GlanzmannRy_Darcy: can you paste the output of 'ip a s' and 'dmesg'?
15:54mpsGlanzmann: you ship gpu to end users?
15:55_jannau_isn't wpa3 working for months, some wpa-enterprise configs missed a crypto option in asahi
15:56Glanzmannjannau: 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 ...
15:56mpsGlanzmann: and you ship unstable mesa?
15:57mps_jannau_: yes, kernel option was missing, forgot which one because I enabled this from the start on alpine kernel
15:57Glanzmannmps: Yes. Debian soon freezes. So even if mesa would release it would take another 3-4 years to get into Debian.
15:57mpsGlanzmann: heh, for debian this makes sense :-)
15:58GlanzmannRy_Darcy: Looks good. Have you tried to do a ifup 'wlan0' after editing /etc/wpa/wpa_supplicant.conf ?
15:59_jannau_wasn't wpa3 broken with wpa_supplicant?
15:59mpshmm, so I have to think about enabling gpu by default for alpine (and push mesa-asahi pkg)
16:00_jannau_please don't
16:00mps_jannau_: iirc it was broken earlier but about 2-3 months ago it is fixed
16:01mps_jannau_: ok, will follow your advice
16:04_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
16:04Ry_Darcy@Glanzmann had an old wpa config file that works. Copied same into the right place and ca marche. Thanks.
16:05GlanzmannDebian folks: patch_kernel_config.pl can now take a Debian upstream config and turn it into an asahi config.
16:05GlanzmannRy_Darcy: Perfect.
16:05_jannau_but it should not be the default which requires dcp+gpu to disabled explicitly in the case of problems
16:13Ry_Darcy has quit [Remote host closed the connection]
16:27cylm has joined #asahi-alt
19:24zzywysm has joined #asahi-alt
19:28iaguis has joined #asahi-alt
19:31zzywysm_ has quit [Ping timeout: 480 seconds]
19:32zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:32cylm has quit [Ping timeout: 480 seconds]
19:36zzywysm has joined #asahi-alt
19:37zzywysm has quit []
19:38zzywysm has joined #asahi-alt
20:25Glanzmannmps: 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
20:25GlanzmannThe config has shadows, not that I see them when running my windows in fullscreen.
20:32mpsGlanzmann: I don't see any tearing when playing your video with mpv on m1pro
20:35mpsyes, I know for comptom but never tried it
20:35mpscomton*
20:35mpscompton*
20:36Glanzmannmps: I can see it on my mini clearly.
20:37GlanzmannBut only when I play the high resolution videos. But with compton it is gone.
20:38mpshm, could be because I use clients (apps) in awesome without any decors, just plain on screen
20:39mpseven without window handles
20:39Glanzmannmps: Same for me. I have 1 pixel border that's it.
20:40mpsuhm, I removed xfce else I could try with it
20:42mpsGlanzmann: did I told that I don't use '--vo=gpu' with mpv, only xv or x11
20:43mpswith --vo=gl or --vo=gpu tearing is there ofc
20:45mpsand I still didn't upgraded gallium driver to latest commit
20:47mpsoh, and I think playing long videos with 'mpv --vo=xv $filename' could crash X servers, but didn't yet confirmed
21:05Glanzmannmps: I do the same gpu is to slow at least for the high resolution/high fps video.
21:06Glanzmannmps: FOr me x never crashed. Okay once it froze when I tried the tear free patch.
21:16mpsI just upgraded gallium/mesa to latest commit, lets see will it be more stable
21:17Glanzmannmps: I already have it while at the latest commit.
21:18mpsI don't see any difference in speed, just hope mpv will be stable with --vo=xv
21:19mpsbut overall it is quite fine
21:20mps(now I can search for riscv notebook and forget apple :) )
21:23Glanzmannmps: 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.
21:25mpslast 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" :)
21:29mpsseriously 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
21:32GlanzmannI see. I look forward until everything is upstream but that will take quiet a while.
21:32Glanzmannmps: Which riscv system you will work with?
21:33mpsGlanzmann: for now I have starfive visionfivev1 SBC
21:34mpsit is not 'first class' SBC but good enough for experimenting
21:35GlanzmannI see. I didn't know it before you posted it but found it on ali express.
21:35mpsI maintain opensbi, u-boot and kernel for riscv64 on alpine
21:36mpsactually riscv foundation sent 4 boards to some alpine devs, one of them I'm
21:38GlanzmannI see. Cool.
21:56kujeger- has joined #asahi-alt
21:57kujeger has quit [Ping timeout: 480 seconds]
22:32beeblebrox has quit [Quit: Konversation terminated!]
22:42jamespmorgan has joined #asahi-alt
22:47jamespmo_ has quit [Ping timeout: 480 seconds]
22:53jamespmo_ has joined #asahi-alt
23:00jamespmorgan has quit [Ping timeout: 480 seconds]
…