marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
yuyichao_ has quit [Ping timeout: 480 seconds]
Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yuyichao has joined #asahi
hspak has quit [Quit: The Lounge - https://thelounge.chat]
hspak has joined #asahi
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi
Lightsword_ has quit []
Lightsword has joined #asahi
darkapex4 has joined #asahi
darkapex3 has quit [Ping timeout: 480 seconds]
kov` has quit [Quit: Coyote finally caught me]
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
kov` has joined #asahi
<Glanzmann> j`ey: What is the type-c issue?
<Glanzmann> mps: Have you found a way to do the swipe left to right two fingure gesture under linux to back one page in firefox?
<Glanzmann> jannau / mps: Geat work on the spi and touchpad configuration, it works really good. I would even argue that it better works when working from the bed than macos. :-) In macos the touchpad refuses to work when the part of the sheet is over the touchpad, but in Linux it does. :-)
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
the_lanetly_052__ has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
boardwalk has quit [Quit: Ping timeout (120 seconds)]
KDDLB has quit [Quit: Ping timeout (120 seconds)]
kode54 has quit [Quit: Ping timeout (120 seconds)]
KDDLB has joined #asahi
kode54 has joined #asahi
boardwalk has joined #asahi
m42uko has joined #asahi
arekm has quit [Remote host closed the connection]
arekm has joined #asahi
MajorBiscuit has joined #asahi
<j`ey> Glanzmann: there was a NULL pointer derefence
<mps> Glanzmann: I didn't tried to configure swipes, I don't use them anywhere. on firefox I use vimium plugin
* mps is heavy keyboard user
<Glanzmann> I see. Maybe I should do that, too.
<Glanzmann> j`ey: I see.
Dcow has joined #asahi
<mps> Glanzmann: using awesome wm with a lot key shortcuts/actions mouse is just something which impede work
<mps> but some poor programs are unusable without mouse
<Glanzmann> mps: I use fvwm2 and also have approx. 70 keyboard shortcuts so I use the mouse not that often, too.
<Glanzmann> But using the touchpad on macos want me to use the back stroke on firefox. But yes, you're right, I should use vimium.
MajorBiscuit has quit [Quit: WeeChat 3.3]
MajorBiscuit has joined #asahi
<Glanzmann> mps: I should have used vimium ages ago ...
<landscape15[m]> jannau: is it possible to implement this choice in the Asahi installer? So you can manually set the right volume (especially if you enter the wrong mode)
VinDuv has quit [Ping timeout: 480 seconds]
<mps> Glanzmann: eh, vimium is poor substitute for vimperator
<Glanzmann> Okay, I'll try vimperator.
marcin1 has joined #asahi
<mps> Glanzmann: vimperator doesn't work for about two years, else I wouldn't use vimium
<Glanzmann> I see. So the thing to use at the moment is vimium, right?
<mps> yes, or maybe tridactyl, but I'm more comfortable with vimium
<Glanzmann> I see.
<mps> and vim vixen worth to try and decide if it fits
aleasto has joined #asahi
<Glanzmann> Will do so.
vnogueira has quit [Ping timeout: 480 seconds]
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi
VinDuv has joined #asahi
<_jannau_> landscape15[m]: I don't understand your question
Mary has quit [Quit: The Lounge - https://thelounge.chat]
<landscape15[m]> jannau: I mean the possibility to run kmutil from the correct volume to set the boot object, in the case you are in the wrong recovery.
Mary has joined #asahi
<Glanzmann> landscape15[m]: I tried it yesterday. You can download kmutil, make it executable and run it. I ran it yesterday from the ramdisk.
<Glanzmann> wget https://tg.st/u/kmutil; chmod +x kmutil; ./kmutil ....
<Glanzmann> I was lucky that a friend refuses to update his mini because he always says you have to wait a few months before upgrading major macos releases. His mac was reachable via ssh because mine are already running the latest and greatest.
<_jannau_> landscape15[m]: I don't think that make sense. the installer will only support 12.1 or later anyway. marcan is working on initializing the display in m1n1 and I've started updating the dcp abi in the linux driver to 12.0
<_jannau_> you can get the older kmutil also from the 'Big Sur' installer from the app store or from the IPSW
nico_32 has quit [Ping timeout: 480 seconds]
nico_32 has joined #asahi
dianshi has joined #asahi
Zaprit has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
<landscape15[m]> Ok thanks. I asked because on my Mac I installed both macOS 11.0.1 and 12.1 just to try this
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
<_jannau_> I don't think it makes sense to spend extra effort in the installer for a problem which will vanish while we become ready for end users
<Glanzmann> I agree.
<Glanzmann> jannau: But thank you for finding a workaround we can use right now. :-)
jix_ has quit [Remote host closed the connection]
jix has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
Zaprit has quit [Quit: Leaving.]
Zaprit has joined #asahi
the_lanetly_052__ has joined #asahi
marcin1 has joined #asahi
___nick___ has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
___nick___ has quit []
MajorBiscuit has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi
the_lanetly_052___ has joined #asahi
Zaprit has quit [Quit: Leaving.]
MajorBiscuit has joined #asahi
Major_Biscuit has joined #asahi
Zaprit has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
Zaprit has quit [Quit: Leaving.]
MajorBiscuit has quit [Ping timeout: 480 seconds]
Zaprit has joined #asahi
Zaprit has quit [Quit: Leaving.]
vnogueira has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
amw has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
amw has joined #asahi
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
yuyichao has quit [Ping timeout: 480 seconds]
Techcable has quit [Ping timeout: 480 seconds]
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
yuyichao has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
marcin1 has joined #asahi
marcin1 has quit [Ping timeout: 480 seconds]
Zaprit has joined #asahi
Zaprit has quit []
marcin1 has joined #asahi
darkapex has joined #asahi
darkapex4 has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit [Ping timeout: 480 seconds]
<marcin1> quit
marcin1 has quit [Quit: WeeChat 3.4]
balrog has quit [Quit: Bye]
balrog has joined #asahi
Techcable has joined #asahi
Zaprit has joined #asahi
Zaprit has quit [Quit: Leaving.]
Major_Biscuit has joined #asahi
RurajJoshi[m] has joined #asahi
Major_Biscuit has quit [Ping timeout: 480 seconds]
alexstore06 has joined #asahi
alexstore06 has quit [Quit: Leaving...]
AlexWeir[m] has joined #asahi
AlexWeir[m] is now known as alexstore06[m]
mlq_ has joined #asahi
<alexstore06[m]> Sorry if this is the wrong place to ask (or if this is a dumb question), but is Asahi at the point that I could install it just to play around with it? This machine (MBA) is my daily driver, and I don't have alternative devices, so I can't afford to break it, but I've been feeling more and more restricted in MacOS. I'm reasonably experienced in Linux stuff, but I'm unfortunately new to MacOS.
mlq has quit [Ping timeout: 480 seconds]
<opticron> alexstore06[m], you can install it alongside MacOS and dual boot, iirc, but you'll have to shrink the MacOS partition enough to give Linux some space. I don't have a M1 device yet, so that's about all I can give you
<mps> alexstore06[m]: I use MBP as daily driver, with usb sound card
<ChaosPrincess> asahi install is unlikely to kill your macos install, and it is somewhat usable
<alexstore06[m]> mps: because the built-in speakers aren't supported yet? I seem to remember hearing something like that
<alexstore06[m]> i'm happy to shrink my MacOS partition if I could get Asahi working. What sections in the developer quick start should I ignore, given that I'm not a developer?
<mps> alexstore06[m]: actually driver doesn't work, else I would use it with headphone
<j`ey> alexstore06[m]: there's an alpha installer that you can use now too
<jannau> alexstore06[m]: getting asahi+linux installed will be annoying if you don't have a second computer with usb
<Glanzmann> I should write a guide and make a video how to install asahi Linux on m1 devices, now that jannau fixed my hdmi.
<Glanzmann> alexstore06[m]: I also have a macbook air. This morning I booted asahi linux on it, because I had to do some work which I could have not done on macos that fast ...
<jannau> you need to prepare the linux installation to have grub and asahi-kernel, should be doable from a linux vm in macos
<Glanzmann> alexstore06[m]: Macbook air works well on Linux. Currently the following is missing: Camera, sound, thunderbolt, poweroff, gpu dirver.
<jannau> you need to boot m1n1 (asahi's bootloader) with u-boot as payload
yuyichao_ has joined #asahi
<jannau> this is currently not really documented anywhere (to my knowledge)
<jannau> the usb ports are also only usb-2 and not usb-3
yuyichao has quit [Ping timeout: 480 seconds]
<Glanzmann> What hypervisor is recommended to use under Macos? qemu? parallels?
<mps> I used qemu for some time
<jn> hypervisor.framework + QEMU, i guess
<jn> (i have no opinion on parallels, it might be very good too)
<Glanzmann> jn: Is there a quickstart guide?
<jannau> I guess UTM for having a nice interface for qemu (I haven't used it)
<jn> i don't know one, but someone (https://randomblock1.com/blog/qemu-windows-mac/) says, qemu 6.2 should just work
<jn> (plus any general qemu guide, for the parts that aren't macos or M1 specific)
<mps> jannau: my son tried UTM but was not happy with it and removed it, he starts qemu with shell script
<Glanzmann> I see.
<mps> jn: yes qemu 6.2 got HVF accelerator, no need for patches anymore
<Glanzmann> Btw. does anyone know how to tell u-boot to boot the grub from the nvme vfat when it has the wrong type (e.g. no eps)? Because if I had that, I could do a self contained Debian installer.
<Glanzmann> Or I have to do two steps, boot Debian the first time using m1n1+linux and than once in Linux set the partition type to esp and than it would be self contained.
<jannau> I thought diskutil can set set the partition type
<Glanzmann> jannau: It can?
<Glanzmann> jannau: I found nothing. I think it can only set the partition type for FAT and APFS but not for eps. But I like to be proven wrong here.
<Glanzmann> The other approach would of course be to patch u-boot.
<Glanzmann> jannau: It seems that 'gpt' on mac can change the partition type.
<rkjnsn[m]> I thought I read that there was a way to create a custom partition type by specifying a raw UUID? I haven't actually tried it myself, though, and something other than diskutil would be required to put a FAT filesystem on the created partition.
<jannau> Glanzmann: `diskutil disk0sX %EFI% %noformat% 1g`
<Glanzmann> jannau: Thank you.
<mps> Glanzmann: from my try and error I think u-boot will boot even if the boot partition is v/fat if it find EFI/boot/bootaa64.efi there
<mps> but I didn't tested this thoroughly
<Glanzmann> I thought, that I tried that but maybe this was when I still had the wrong filename.
<Glanzmann> I'll test it now and let you now.
<Glanzmann> jannau: I was able to create the efi parition with your command. However when I try to format it with 'newfs_msdos -v efi /dev/disk0s4' it tells me 'Resource busy'. I'll try to reboot.
<Glanzmann> After rebooting, I'm able to create the filesystem.
___nick___ has quit [Ping timeout: 480 seconds]
<jannau> not sure if it's possible to format the partition in the addPartition step. The diskutil help is a little vague on that
<Glanzmann> jannau: It does not matter, I'll now just dd it onto it.
<Glanzmann> jannau: It works. I'm in grub using u-boot, now I just have to polish it a little bit and than we have a debian quickstart asahi.
<Glanzmann> jannau: Btw. This also works: diskutil addPartition disk0s4 %Linux% %noformat% 91.6G
<mps> Glanzmann: I guess you will update your guide
<Glanzmann> Yes, I'll. Give me a second. Just doing a poc.
<Glanzmann> When that works, I right the unpolished stuff down and than I'll polish it and record it using obs and upload a video with some talking.
yuyichao_ has quit [Quit: Konversation terminated!]
yuyichao_ has joined #asahi
<Glanzmann> mps: But basically what I did. I ran the asahi installer till step 2, but do not execute step2. Than I install m1n1+dtbs+u-boot.macho, create two partition (efi and Linxu root) and dd efi and linux root on the partitions and reboot.
<Glanzmann> This should make it possible to have a Linux up and running in something like 20 minutes.
<Glanzmann> without a second pc.
<mps> I think I will go with usb to install alpine
<Glanzmann> Than I have to write some scripts that build the kernel, u-boot and the rootfs so that it is reproducable.
<Glanzmann> mps: Of course that would be much cleaner. And to be honest, I should also build a debian installer with the asahi kernel, and I would be done.
jeffmiw has joined #asahi
yuyichao has joined #asahi
yuyichao_ has quit [Ping timeout: 480 seconds]
wCPO has quit [Quit: The Lounge - https://thelounge.chat]
wCPO has joined #asahi
Zaprit has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
ids1024 has joined #asahi
Zaprit has quit [Quit: Leaving.]