marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | 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
tpw_rules has joined #asahi
<tpw_rules> hi hello. is the installer script available anywhere for some curl | sh action?
<jannau> tpw_rules: https://mrcn.st/alxsh
<tpw_rules> does it have any prerequisites?
<jannau> you need either empty space or an empty apfs container on the internal SSD (2-3 GB are iirc enough), should be executed from 1tr
<tpw_rules> if i want to install my own build of m1n1 later, can i simply run kmutil as in https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart ?
<jannau> yes, but it's so annoying that you will soon just chainload your m1n1 current build
<tpw_rules> ah
<tpw_rules> seems there was a bit of a snag and it didn't correctly figure out the name of the new volume it created. it told me to run /Volumes/''/step2.sh . i found step2.sh in /Volumes/Linux\ 1/ and ran it and everything worked fine though.
<tpw_rules> m1n1 is running and i see the uarts over usb. neat!
slicey has quit [Quit: zzz]
darkapex4 has joined #asahi
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi
darkapex3 has quit [Ping timeout: 480 seconds]
minecrell has quit [Quit: Ping timeout (120 seconds)]
minecrell has joined #asahi
bps has quit [Ping timeout: 480 seconds]
<tpw_rules> is there a way to change the m1n1 framebuffer resolution? it's reporting 640x1136 which is really weird and i'm wondering if that's why i see nothing on the display. or maybe i am misunderstanding
<sorear> that's the size of framebuffer the bootloader gives you if it doesn't detect a display at all. iphone 5 native resolution
<tpw_rules> do i have a lame display? it's some acer 1080p hdmi monitor that works fine in macos
<tpw_rules> i imagine if no display is detected then changing the resolution will not help me
slicey has joined #asahi
<tpw_rules> no luck with another display
slicey has quit [Quit: zzz]
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
<tpw_rules> what monitors have people used that have worked? i tried a tv too which didn't help
slicey has joined #asahi
<tpw_rules> can the bootloader even use an external display? or is this intended for like the internal display on the laptops?
DarkShadow44 has joined #asahi
slicey has quit [Quit: zzz]
slicey has joined #asahi
riker77_ has joined #asahi
riker77 has quit [Ping timeout: 480 seconds]
riker77_ is now known as riker77
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
<tpw_rules> so i've got u-boot running under the hypervisor but it seems to constantly read \x1b escape characters when i try to talk to it over /dev/ttyACM1
<tpw_rules> oh
<tpw_rules> i had a usb keyboard plugged in with something resting on the escape key. well good to know that usb keyboards are working
Hinata[m] has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
yuyichao has joined #asahi
milesyucht has joined #asahi
milesyucht has quit []
sailorek1234 has joined #asahi
<jannau> tpw_rules: the broken boot display is a bug in macos 12. Not fixed in 12.1 as of beta 4 so I'm not optimistic that it is fixed in 12.1
the_lanetly_052___ has joined #asahi
<jannau> yes, not fixed in 12.1
catblepats has joined #asahi
slicey has quit [Quit: cya]
catblepats has quit [Quit: Leaving]
<marcan> yeah, if you build your m1n1 partition off of macOS 11.4 (in the installer) it will work
<marcan> I really need to do something about this... it's kind of a release blocker :/
KDDLB has quit [Quit: Ping timeout (120 seconds)]
KDDLB has joined #asahi
timokrgr has quit [Quit: User left the chat]
timokrgr has joined #asahi
legarts[m] has joined #asahi
<legarts[m]> So just so I understand we need to use 11.4 as a base for m1n1? I have been playing with developer quickstart and so far I have no feedback on the screen during boot, only 1TR works after rebooting, no SuperSpeed cable to see what's wrong so far
<chadmed> damn did we suffer a regression while i was gone? i thought everything was working pretty well with the 12.1 betas
sailorek1234 has quit []
<landscape15[m]> chadmed: also with 12.0.1 works well.
<kettenis> isn't the regression restricted to the mini and some monitor models?
<FireFox317> only mini indeed, not sure about the monitor models
<_jannau_> it's certainly restricted to the mac mini, built-in displays work as expected. some 12.0 beta release were not affected but I believe it affects all displays
sailorek1234 has joined #asahi
<NightRaven[m]> I have a question why is this showing
<NightRaven[m]> Everything is right
<FireFox317> NightRaven[m], what do you mean? everything in the picture seems fine
<NightRaven[m]> It won't boot
<NightRaven[m]> To Linux
<NightRaven[m]> It just stays there
<j`ey> NightRaven[m]: are you sure that sdc is the right root partition?
<NightRaven[m]> Yes
<NightRaven[m]> I have tried sda too
<NightRaven[m]> I will try something else
<mps> safer thing is to use PARTUUID
sailorek1234 has quit []
<mps> NightRaven[m]: I'm not sure what you specified for 'root=' in cmdline
yuyichao has quit [Ping timeout: 480 seconds]
<NightRaven[m]> I fixed it
<NightRaven[m]> But do I have to install Mac os on the 80gb partion
<NightRaven[m]> I thought we put our rootFS there
<j`ey> if you use the asahi installer you dont need to install mac
<NightRaven[m]> But the asahi installer only resizes the driver too 200gb
<NightRaven[m]> And makes a partion with Linux 80gb
yuyichao has joined #asahi
<j`ey> point is, the macOS thing was just a workaroun before theres a proper installer
<NightRaven[m]> Hmm ok
<mini> if I *do* want to get linux on a m1 mac mini (I only want it for headless uses, as long as the CPU and ethernet work I'm set), is the installer the way to go?
<marcan> kettenis: mini and all HDMI output, not just some models
<NightRaven[m]> Looks like now I am getting this
<FireFox317> did someone already report the mini framebuffer issue to apple?
<marcan> firefox317: yes
<FireFox317> the apple logo is also gone right? I would guess apple wants that back xd
<FireFox317> marcan, check
<j`ey> NightRaven[m]: looks like your rootfs is borked
<j`ey> mini: yes I think you should use the installer
<j`ey> mini: better than installing macOS
<marcan> the apple logo is gone if you boot e.g. 11.4 on 12.0.1 or later firmware, until DCP initializes
<marcan> after DCP initializes the graphics stack redraws the logo
<marcan> (on the mini)
<NightRaven[m]> j`ey: What do you mean by borked ?
<marcan> before DCP you get a progress bar and no logo, as the older 2nd stage iBoot2 initializes DCP but doesn't draw the logo :)
<j`ey> NightRaven[m]: broken
<NightRaven[m]> But how it is new
<j`ey> NightRaven[m]: /sbin/init was not executable for some reason
<NightRaven[m]> Hmm so is it the drive itself or the file
<NightRaven[m]> s/file/files/
<FireFox317> NightRaven[m], I also had this issue and it was indeed caused by not properly copying the rootfs to the file. Make sure to properly sync and unmount when writing the rootfs to drive, such that all the data gets written
<FireFox317> s/file/drive
<NightRaven[m]> firefox317: But how can I copy it I just do sudo cp -r * ../
<FireFox317> NightRaven[m], a cp in linux will not necessarily mean that the data is also written to the usb stick (or whatever storage you are using). Linux namely caches the data. To make sure all the data is actually written to the disk, make sure you run, `sync` and correctly unmount the folder after you did the copy
<NightRaven[m]> Oh ok thx
aleasto has joined #asahi
<tpw_rules> marcan: so is this problem solvable by using 11.4 as a base?
<tpw_rules> also, is there somewhere i should report that issue i found in the installer? it told me to look for step2.sh in the volume ''
<NightRaven[m]> so question it is installing the mac os stub where do i put the rootFS
<NightRaven[m]> i thought i was supposed to put it in linux
<NightRaven[m]> nvm now i am getting this any idea ?
<NightRaven[m]> but i have this
<tpw_rules> this time it found the volume correctly
<NightRaven[m]> <NightRaven[m]> "Screenshot 2021-12-14 at 15.55.2..." <- yep but any idea why i get this
<tpw_rules> alright, this time i have a display! but only on one of my monitors
<tpw_rules> (as in i tried multiple monitors, one at a time, and only one works)
<kettenis> yes, that is expected
<tpw_rules> some displays aren't compatible? the one i found that works is kind of unstable
<NightRaven[m]> so i restarted that the thing wokrs
<NightRaven[m]> s/wokrs/works/
<NightRaven[m]> s/wokrs/workd/
<NightRaven[m]> s/wokrs/works/
<NightRaven[m]> but how it keeps restarting
<j`ey> NightRaven[m]: btw I think its best you dont use matrix's edit message feature, it just sends it as multiple messages on the irc side
<NightRaven[m]> oh ok sorry
<NightRaven[m]> and like it does not go to the proxy
<NightRaven[m]> and where do i put the rootFS
<NightRaven[m]> ?
<j`ey> at this point it might be easier to wait a few months for a proper installer
<NightRaven[m]> but how can i still install it on my nvme ?
<NightRaven[m]> do i just boot from an external drive and do i format the partion to ext4 and put the rootFS there or not ?
<mps> NightRaven[m]: ^ that is how I installed it on nvme
<NightRaven[m]> but like any idea why my one keeps restarting
<NightRaven[m]> and like how do i install the rootFS
<NightRaven[m]> ?
<NightRaven[m]> oh nvm
<NightRaven[m]> mps: ok then how did you boot from it like ?
<mps> I build kernels and create macho file, boot to 1TR download macho with curl, run kmutil
<NightRaven[m]> oh ok
<mps> when building macho files I look partuuid of drive/s and put it in kernel cmdline
<NightRaven[m]> hmm ok
<mps> I'm not macos user so I can't write 'guide' how to do all these things safely
<NightRaven[m]> Hmm ok
<NightRaven[m]> Thx
gladiac has quit [Quit: k thx bye]
gladiac has joined #asahi
the_lanetly_052__ has joined #asahi
<NightRaven[m]> hmm ok so if i run the sh file again... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/OEUOINeNhKIVeknCrTEYbwVY)
<NightRaven[m]> i get this
<NightRaven[m]> because disk0s4 is ext4 and it has rootFS in it
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
Graypup_ has quit [Quit: meow]
Graypup_ has joined #asahi
<landscape15[m]> NightRaven: I think the boatloader (m1n1.macho) must be contained in the stub macOS partition as well, and not in a separated FAT32 partition.
<NightRaven[m]> hmm ok thanks i think i got it
___nick___ has joined #asahi
<landscape15[m]> NightRaven: yeah maybe it’s due to boot security policy.
___nick___ has quit []
<NightRaven[m]> true
___nick___ has joined #asahi
Dcow_ has joined #asahi
the_lanetly_052__ has quit [Ping timeout: 480 seconds]
drwhax[m]1 has joined #asahi
<NightRaven[m]> Any idea how I can fix this
babagurrgurr has joined #asahi
artectrex[m] has joined #asahi
<NightRaven[m]> Fixed it
<NightRaven[m]> TP-Link Archer T3U AC1300 Dual Band WLAN Adapter (867Mbit / s (5GHz), 400Mbit / s (2.4GHz) 802.11ac, USB 3.0, MU MIMO, supports Windows 10 / 8.1 / 8/7 / XP, Mac OS X ) black https://www.amazon.de/dp/B07M69276N/ref=cm_sw_r_apan_glt_i_KGGCDCC0GYJ90MGBD4S6 but would this work for the WiFi
aleasto has quit [Remote host closed the connection]
<mps> just for info, I tested mainline kernel on rk3399 gru-kevin chromebook and firefox works fine, also f2fs works without any problem. very strange these two doesn't work on m1
<mps> I mean, kernel 5,16-rc4
___nick___ has quit [Ping timeout: 480 seconds]
josipknezovic[m] has joined #asahi
babagurrgurr has quit [Quit: Connection closed for inactivity]
<NightRaven[m]> So I have a problem how can I put container disk 3 back to disk 4 macintosh hd
Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dcow_ has joined #asahi
Glanzmann has joined #asahi
<Glanzmann> NightRaven[m]: In the diskutility, you click on partition and delete the s3 Partition. Important: DO NOT DELETE the last partition since it is 1tr. and click okay. Example: https://ab34.de/u/Screenshot_2021-12-14_at_23.05.41.png
<NightRaven[m]> There is no minus button available is there any commands ?
<Glanzmann> NightRaven[m]: There is, again open disk utility, click on partition on the top right, select the partition and click '-'. See my Screenshot.
<NightRaven[m]> Ok wait I have tried something but I have this
<NightRaven[m]> diskos3 is the ext4 I think
<Glanzmann> NightRaven[m]: Read my words. 'Click on Partition'.
<NightRaven[m]> Oh nvm now it is fixed thanks : )
<Glanzmann> Welcome, good night sleep.
Glanzmann has quit [Quit: EOF]
<NightRaven[m]> Good night
arahael3 has quit [Ping timeout: 480 seconds]
arahael3 has joined #asahi
kgarrington has joined #asahi
kgarrington has quit [Remote host closed the connection]
Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]