#
…

2022-04-27

00:03eroux has quit [Ping timeout: 480 seconds]
00:15minecrell6 has joined #asahi
00:20minecrell has quit [Ping timeout: 480 seconds]
00:21refi64 has quit [Quit: The Lounge - https://thelounge.chat]
00:23refi64 has joined #asahi
00:25laolmtdea^ has joined #asahi
01:01KDDLB has left #asahi [The Lounge - https://thelounge.chat]
01:23yuyichao has joined #asahi
01:44THX1984 has joined #asahi
01:49user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:20milek7 has quit [Remote host closed the connection]
02:21milek7 has joined #asahi
02:35PhilippvK has joined #asahi
02:38phiologe has quit [Ping timeout: 480 seconds]
02:49Moprius has quit [Ping timeout: 480 seconds]
03:08marvin24_ has joined #asahi
03:16marvin24 has quit [Ping timeout: 480 seconds]
03:16ptudor has joined #asahi
03:16user982492 has joined #asahi
03:19ptudor_ has quit [Ping timeout: 480 seconds]
03:20bluetail has joined #asahi
03:21kov has quit [Quit: Coyote finally caught me]
03:21kov has joined #asahi
03:26THX1984 has quit [autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2022-04-27 03:26:50)]
04:17nicolas17 has quit [Read error: Connection reset by peer]
04:20eroux has joined #asahi
04:23Ry_Darcy has quit [Remote host closed the connection]
04:23Ry_Darcy has joined #asahi
04:43mipimipi[m] has joined #asahi
04:53bluetail has quit [Ping timeout: 480 seconds]
05:02mipimipi[m] has left #asahi [#asahi]
05:03mipimipi[m] has joined #asahi
05:10w12101111 has joined #asahi
05:58user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:14guillaume_g has joined #asahi
06:22test has joined #asahi
06:22test has quit [Remote host closed the connection]
06:26zopieux has quit [Ping timeout: 480 seconds]
06:29zopieux has joined #asahi
06:51m42uko has quit [Quit: Leaving.]
07:02w12101112 has joined #asahi
07:02w12101111 has quit [Read error: Connection reset by peer]
07:02w12101112 is now known as w12101111
07:16w12101111 has quit [Read error: Connection reset by peer]
07:48test has joined #asahi
08:09giskard has quit [Read error: Connection reset by peer]
08:09test has quit [Read error: Connection reset by peer]
08:29the_lanetly_052__ has quit [Ping timeout: 480 seconds]
08:36kprasadvnsi[m]I made a custom image using asahi-alarm-builder. How can it test it on M1 Mac?
08:40millenialhacker has joined #asahi
08:41mpskprasadvnsi[m]: boot from usb?
08:43kprasadvnsi[m]mps: What tool i need to use for making this bootable USB drive?
08:44mpskprasadvnsi[m]: look here how I prepared alpine bootable image on usb disk https://arvanta.net/alpine/install-alpine-m1/
08:45mpsyou can see how it is done and can adapt it to your case
08:55millenia_ has joined #asahi
08:57gabuscus_ has quit [Ping timeout: 480 seconds]
09:00gabuscus has joined #asahi
09:01millenialhacker has quit [Ping timeout: 480 seconds]
09:15kprasadvnsi[m]<mps> "kprasadvnsi: look here how I..." <- Still not clear how can I make a USB disk
09:15kprasadvnsi[m]I can do "run usb_boot" from my current installation of Asahi linux
09:26the_lanetly_052__ has joined #asahi
09:26tanty has quit []
09:27tanty has joined #asahi
09:28c10l has quit [Remote host closed the connection]
09:28c10l has joined #asahi
09:38mpskprasadvnsi[m]: you have to break u-boot when timeout prompt appears on the screen
09:39mpskprasadvnsi[m]: and if you made distro image you have to use 'dd' command to 'copy' it to usb stick/disk
09:40mpsor I don't understand what your 'custom image' means
09:48millenia_ has quit []
09:50millenialhacker has joined #asahi
10:09bisko has joined #asahi
10:10m42uko has joined #asahi
10:10bisko has quit [Read error: Connection reset by peer]
10:12bisko has joined #asahi
10:17jluthra has quit [Remote host closed the connection]
10:17jluthra has joined #asahi
10:22the_lanetly_052___ has joined #asahi
10:28the_lanetly_052__ has quit [Ping timeout: 480 seconds]
10:35neggles has quit [Quit: bye friends - ZNC - https://znc.in]
10:35neggles has joined #asahi
10:39marcanasahi-alarm-builder does not build full disk images, it builds partition images and EFI trees
10:40marcanit's intended to be used with the installer, so you'd host the image on an HTTP server and run the installer with a custom bootstrap script pointing to it and whatever installer_data.json you want that has an entry for it
10:43kprasadvnsi[m]<mps> "or I don't understand what your..." <- I meant similar to this image https://cdn.asahilinux.org/os/asahi-plasma-20220321-1.zip
10:46neggles has quit [Quit: bye friends - ZNC - https://znc.in]
10:46mpsah, yes, I see now. it is not disk image in usual meaning but compressed content of filesystem
10:46neggles has joined #asahi
10:47neggles has quit []
10:48neggles has joined #asahi
10:48kprasadvnsi[m]How can I make this usb bootable?
10:50marcanyou have to make the partitions yourself. It also expects a specific UUID for the EFI partition so you'll have to set that for things to work properly.
10:50mpskprasadvnsi[m]: I posted above short guide with script for alpine linux. you could adapt it to your preferred distro
10:50marcanthen you copy the esp/ stuff to the EFI system partition and dd the root image on the root partition
10:50marcanI want to provide a USB boot option in the near future but it's not done yet
10:51mpsmarcan: I did already ;) though not for official distro
10:52mpsirritating thing is we cannot add wifi firmware for distributable disk image or iso
10:53marcanwhy is that irritating?
10:53marcanthe installer copies that to the ESP anyway
10:53mpswell, isn't it
10:53mpsyes, installer put it on nmve ESP
10:54mpsbut those who boot from usb must run script to put firmware on this usb disk
10:54marcanand you get that PARTUUID in the device tree, which you can use to find that ESP in your firmware copy script
10:54marcanthe firmware copy script is the distro's responsibility
10:54marcansame as the official image does
10:55mpsyes, that way I created this usb image for alpine and wrote short guide
10:55marcanyou don't need a guide, your image should do all this automatically on every boot
10:55marcansame as the official one
10:57mpsI thought about creating first-run script but have fear some things could go bad for 'who knows' reason and decided to write short instructions for users to this manually
10:58mpsdon't want to be blamed if someone destroy installation by some unknown reasons
11:00mpsthough yes, PARTUUID could be used to simplify process for users
11:13jakebot has quit [Quit: The Lounge - https://thelounge.chat]
11:13jakebot has joined #asahi
11:29mpshm, I don't have '/proc/device-tree/chosen/asahi,efi-system-partition' on my system. does that means I don't have correct or newest dtbs chainloaded
11:33_jannau_it probably means the 1st stage m1n1 was not installed be the installer
11:34mps_jannau_: ah, I upgraded it manually. thanks
11:36mpsand 2nd stage also with patched u-boot
11:40_jannau_patched u-boot is only required to boot from specified partition. the device tree property is handled by m1n1
11:41mps_jannau_: I added terminus fonts patches
11:44Glanzmannmps: These are the noted I made to manually install m1n1 with the esp partition. Also note that you need a rust m1n1 and u-boot from the release branch.
11:47mpsGlanzmann: yes, I know. and thanks for care
11:48mpsGlanzmann: btw, for about two weeks I'm using xf86-input-mtrack instead of xf86-input-libinput, found it more 'tweakable'
11:49mpseven some swipes works
12:03Moprius has joined #asahi
12:10bisko has quit [Read error: Connection reset by peer]
12:11bisko has joined #asahi
12:23w12101111 has joined #asahi
12:24Glanzmannmps: Sounds interesting. Could you send me your config for the same than i would like to try it.
12:24w12101111 has quit [Remote host closed the connection]
12:26Glanzmannmps: Thank you.
12:26mpsGlanzmann: also github with guide is here https://github.com/p2rkw/xf86-input-mtrack
12:27mpsGlanzmann: and this one helped me to understand some things https://int3ractive.com/blog/2018/make-the-best-of-macbook-touchpad-on-ubuntu/
12:28j`eymps: what kinda 'swipes'?
12:28bisko has quit [Ping timeout: 480 seconds]
12:28mpsleft and right, i.e, next and previous url in firefox
12:28j`eyah cool
12:29mpsthis is enough for me (for now at least)
12:30bisko has joined #asahi
12:30mpsthere is also https://github.com/BlueDragonX/dispad which disables touchpad while typing
12:32mpsbut I have to find some time to learn better about all this touchpad options
12:39Glanzmannmps: Cool, left right (url back) is the one I miss the most, because sometimes when I give training while I'm traveling, I use macos due to missing camera and microphone support.
12:50Glanzmannmps: I just tried the new config, but I like the old one better. I lost the focus from the browser url field while typing (I select it with ctrl-l). This happened multiple times, with the old config I had no such issue.
12:50mpsthree fingers swipe left -> previous url, three finger swipe right -> next url
12:50Glanzmannmps: I also tried the two and three finger swipe left/right. But it did not work for me.
12:50GlanzmannBut maybe mtrack in Debian is to old.
12:51mpsGlanzmann: yes, I also use vimium pluging with a keyboard shorcuts for most controls
12:52mpsGlanzmann: I've built mtrack from latest git commit for alpine
13:32Moprius has quit [Quit: Konversation terminated!]
13:43Ry_Darcy_ has joined #asahi
13:44yuyichao has quit [Ping timeout: 480 seconds]
13:56Cy8aer[m]> three fingers swipe left -> previous url, three finger swipe right -> next url
13:56Cy8aer[m]That is swapping desktops on Gnome42.
14:08bisko has quit [Read error: Connection reset by peer]
14:09bisko has joined #asahi
14:10Ry_Darcy_ has quit [Remote host closed the connection]
14:58yuyichao has joined #asahi
14:59apetresc1 has quit [Read error: Connection reset by peer]
14:59apetresc1 has joined #asahi
15:11minecrell6 has quit []
15:12minecrell6 has joined #asahi
15:14user982492 has joined #asahi
15:35bisko has quit [Read error: Connection reset by peer]
15:36bisko has joined #asahi
15:40guillaume_g has quit []
15:52nicolas17 has joined #asahi
16:17user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:23EugeneChen[m] has joined #asahi
16:28minecrell6 has quit []
16:29minecrell has joined #asahi
16:29millenialhacker has quit [Quit: Konversation terminated!]
16:29laolmtdea^ has quit [Remote host closed the connection]
16:58mipimipi[m] is now known as mipi[m]
17:00Cy8aer[m](swapping workspaces, sorry)
17:06bisko has quit [Read error: Connection reset by peer]
17:07bisko has joined #asahi
17:25millenialhacker has joined #asahi
17:31user982492 has joined #asahi
18:06refi64 has quit [Quit: The Lounge - https://thelounge.chat]
18:09refi64 has joined #asahi
18:26user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:28user982492 has joined #asahi
18:37bisko has quit [Read error: Connection reset by peer]
18:38bisko has joined #asahi
18:46qazcde[m] has joined #asahi
18:50user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:53bisko has quit [Ping timeout: 480 seconds]
18:54bisko has joined #asahi
18:55qazcde[m]hey. i want to enable luks encryption on my asahi partion. i am willing to delete everything and reinstall if necessary. i couldn't find any documentation on exactly how that would be possible. can anyone help?
18:57user982492 has joined #asahi
18:59Glanzmannqazcde[m]: Easiest way is if you use the debian live, create the luks partition, create a filesystem, extract arch root fs and make it bootable, if you have never done something like thta it might be challinging and you need one or two days to figure it out.
19:03qazcde[m]if i use debian, wouldn't i have to reinstall once the gpu patch comes out?
19:08Glanzmannqazcde[m]: Nope, you need to upgrade the stub partition, but you have to do that with every other distribution as well.
19:08GlanzmannIt might also be possible that we don't need to update the stub for gpu.
19:09Glanzmannqazcde[m]: With the above receipt you can also install every other distribution.
19:09Glanzmannqazcde[m]: That means you could use debian live system to setup arch or whatever distribution you fancy.
19:10GlanzmannThe benefit of the debian live is that it has a full featured (bloated) kernel and you can install packages in the ramdisk, so you have all the tools available that you might need.
19:24qazcde[m]<Glanzmann> "qazcde: That means you could use..." <- can i use debian to install asahi as well?
19:25Glanzmannqazcde[m]: Yes, but that requires you to that you understand the Linux on m1 boot chain.
19:25xfim has joined #asahi
19:26xfimHello all. I am evaluating whether to acquire a MAC for data science, having worked with Intel machines always.
19:27Cy8aer[m]qazcde: debian-live? Yes. My documentation is generic until the point "debootstrap..." that is the point where the debian stuff is installed. Every distribution has it's own method to bootstrap itself. For debian it is `debootstrap`. There you need the dist's special know how.
19:27qazcde[m]Glanzmann: then for me that would only be possible if there is a guide or documentation. or else i might brick my computer probably
19:28Glanzmannqazcde[m]: If you can follow the steps of Cy8aer[m] guide: https://g3la.de/hedgedoc/s/MIaCyVv1A# than go with it, if you don't than it is probably better to don't try it.
19:29xfimI'm a happy Gentoo user for more than a decade. I am not fully convinced about the purchase, and right now it depends basically on the ability to run Free software on the mac, that Asahi provides. My question is about "what works". In the Asahi webpage it says that Mac studio is not supported. The point is that having seen all Mac machines, mac Studio is right now the one that would be convenient. So: is it
19:29xfimplanned, to support Mac Studio? Are there fundamental differences between the rest of the Macs that make it harder to install / support Mac Studio? Thank you.
19:31tpw_rulesyes, it's supported. i think there are some snags wrt the m1 ultra
19:32tpw_ruless/supported/planned/
19:32Glanzmannxfim: But looking at the price tag, you might also want to consider a AMD ryzen which costs less and delivers more. At least I would never buy a studio for that price tag.
19:34nicolas17xfim: I think mac studio with m1 max chip will be supported soon, m1 ultra needs more work
19:34xfimThat is interesting, thank you Glanzmann. My main reason to go for such a machine is because I work basically with Bayesian inference, where multiple cores are not a big issue, but a single core speed is crucial. Here is where I have seen that the Mac excels. Am I correct?
19:34nicolas17Glanzmann: what about power use? :P
19:35nicolas17xfim: do you need a ton of RAM?
19:35j`eyxfim: mac studio works decently, just not in the "official" releases
19:35xfimYes, that is the point, nicholas17. I would like to go for 32 GB
19:35xfimThat is why I do not consider the mac mini
19:36j`eyim hoping there will be a mac mini with 32G at some point
19:36nicolas17the CPU cores are the same in all M1 chips, the difference is in having more of them, or more RAM, or more memory bandwidth
19:36xfimWait, I am trying to process the differences with max and ultra....
19:36nicolas17so if it wasn't for RAM, mac mini would be probably fine
19:37j`eynicolas17: studio still has more cores!
19:37xfimI was looking at the max, that you mention that is the one that is already supported. Is that correct?
19:37nicolas17j`ey: "having more of them" :P
19:37nicolas17j`ey: and xfim said they mostly need single core perf
19:37j`eynicolas17: im blind
19:38j`eyxfim: the studio, all models are still more WIP than the rest of the models
19:38xfimI would say that the cores is not a big issue. I usually need 4 at the most. Parallelization is not possible in the kind of jobs that I am interested.
19:39xfimBut let me go back to the AMD Ryzen - MAC discussion. Do you think that according to my needs an apple purchase is worthwhile?
19:39xfim(If I can abuse a bit more of your time and expertise)
19:45j`eyI guess you have to look at some representitive benchmarks
19:49xfimMy overall impression from them, so far j`ey, is that for the single core tasks they are on the same level. Unless a really serious Ryzen is chosen, where then the price becomes less of an issue. So that's why I'm undecided, and I was very curious after Glanzmann went directly to mention the AMD Ryzen. Plus, the challenge of learning and making it work and being able to explain it is also there.
19:51qazcde[m] has left #asahi [#asahi]
19:54j`eyGlanzmann went to Ryzen because he also had a threadripper ;)
19:56Cy8aer[m]I guess everyone has his own needs. Yes the m1 stuff is fast but...
19:56Cy8aer[m]the machine, there are also consequences for the software (if you want to use propriate stuff) and - of course - development.
19:56Cy8aer[m]... it is another architecture. Do you need it? I need it because I am sure that in the next 5 years we will have a point where we can find effordable aarch64 systems at cloud and on premise environments. And with it these systems are more power efficient and need less energy for more power. The mbp is ideal to create containers and test k8s stuff for aarch. And I do not like machines which breath anyways. AMD <-> ARM is not only the power of
20:01Glanzmannj`ey: hrhr. I never had a threadripper. But I'm havily invested in ryzens. I have 30 of them.
20:01Glanzmannj`ey: My workstation is the mac mini running Linux.
20:02Glanzmannj`ey: My earlier comment was related that I saw some benchmark studio vs 5950X. The studio lost, but costs at least 1000 EURs more.
20:02neatsquirrel1 has joined #asahi
20:03GlanzmannBut I was not looking at single thread performance. I think for single thread performance the new intels appear to be the fastest at the moment, but I don't care about that.
20:03xfimThat is a very good insight, Cy8aer. Basically this would imply that unless I am interested in experimenting, I should avoid moving to a new architecture. And only in the case that I want to go ahed of the "market" go for it.
20:03apetresc1 has quit [Quit: WeeChat 3.4.1]
20:04GlanzmannAnyhow, offtopic and I need to hit bed.
20:05xfimGood night, then Glanzmann and thank you for your input. Thank you all, in fact. I am relieved that at least the Mac Studio can be tried. But at the same time, I have more doubts now about whether to make such a move to apple or go for AMD.
20:05bisko has quit [Read error: Connection reset by peer]
20:08neatsquirrel has quit [Ping timeout: 480 seconds]
20:08neatsquirrel1 is now known as neatsquirrel
20:09j`eyGlanzmann: oh i thought 5950x was a threadripper, lol, i dont pay much attention ;P
20:09Cy8aer[m]xfim: it is just up to you and your needs. The question is what you expect from the actual implemented parts. I am sitting at the mbp and use it for my daily stuff - if I do not want to listen to music, do something via bluetooth and do not travel (because there is no power management by now). But I have a really fast aarch64 system. If you only need a fast server without a display, a m1 will do. If you want a really faster server, the studio
20:09Cy8aer[m]is great. If you expect great graphics with the studio - that is not implemented by now. If you want to see the implementation grow the actual time is great. If you want out-of-the box it is too early.
20:09bisko has joined #asahi
20:15xfimThat is precisely my impression, Cy8aer, having immersed in asahi for the last month and having read some tutorials (the gentoo one was very exciting, I have to say, https://blog.devgenius.io/installing-gentoo-linux-in-apple-macbook-pro-m1-49e163534898). But that is precisely my need: I can wait for better display, I can wait for the neural engines to work, and I am ready for a bit of experimentation and
20:15xfimlearning. My initial question was about the support for Mac Studio, and you have mentioned that for the M1 max is there, so I would say that after this chat today MAc and Asahi is still in the loop. But I am not yet 100% decided.
20:17Cy8aer[m]Then just try it 😉
20:18xfimWell, that is tempting. And if I go for it, I am sure in the following days I will be appearing here to ask for help. And hopefully also contribute back and encourage other data scientists to make the move. Thank you.
20:19Cy8aer[m]the problem is the time of entry: They build up m2 and I also guess that then there will be another time until the cpus are supported because the SoCs may have new hardware components to be implement it. So: Buy a m1, wait for the m2 or m3? It is an old story too...
20:26xfimCertainly that is also an issue to have in mind. But from what I have read, the M2 is not going to be a big revolution from a performance point of view, and will be more likely focused on efficiency (and adding more CPUs), that, as I have mention, is less relevant for my case. So I am safe here with the M1, I would say.
20:26xfimThank you, good night and see you around.
20:28Sobek[m]https://lwn.net/Articles/885941/ C99 or even C11 in Linux kernel, would this impact Asahi work (in a positive way ?)
20:28j`eySobek[m]: not in a meaningful way
20:30Sobek[m]xfim : if your workflow is really sensitive to single thread speed I think Apple’s curent micro arch isn’t necessarily the best thing. Apple micro arch is a performance/watt killer, and shines with multi core but the individual core speed is in the x86_64 world.
20:30Sobek[m]It may also depend if you have any interest in macOS. (But you probably aren’t in that case).
20:34user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:45xfimThank you for your input, Sobek. I need more inputs to make a decision. But I am not far from it. Good night everyone.
20:45xfim has quit [Quit: leaving]
20:55stoneaxe[m] has joined #asahi
21:09Moprius has joined #asahi
21:21eroc1990 has quit [Read error: No route to host]
21:22eroc1990 has joined #asahi
21:27alyssa has joined #asahi
21:27alyssafriendly reminder that #asahi-alt should be used for unsupported distributions~
21:28alyssa has left #asahi [#asahi]
21:34jannauthe m1 ultra studio is currently more "supported". I don't think anyone has created a dts for the m1 max studio. doing that shouldn't be be a problem even without access to a device
22:01neatsquirrel has quit [Read error: Connection reset by peer]
22:03bisko has quit [Read error: Connection reset by peer]
22:07bisko has joined #asahi
23:20user982492 has joined #asahi
23:51DarkShadow44 has quit [Ping timeout: 480 seconds]
…