#
…

2022-09-11

00:11thelounge7571340 has joined #asahi
00:35zzywysm has joined #asahi
01:03SSJ_GZ has quit [Read error: Connection reset by peer]
01:03e1eph4nt has quit [Ping timeout: 480 seconds]
01:03SSJ_GZ has joined #asahi
01:11thelounge7571340 has quit [Remote host closed the connection]
01:13e1eph4nt has joined #asahi
01:30e1eph4nt has quit [Ping timeout: 480 seconds]
01:37e1eph4nt has joined #asahi
02:16mabiolaAnyone else seeing this on shutdown: apple-mca 238400000.mca: ASoC: error at snd_soc_dai_set_sysclk on mca-i2s-2: -167
02:29audiojaguar has joined #asahi
02:33audiojaguar_ has quit [Ping timeout: 480 seconds]
02:37bluetailmabiola I think I don't have it. I ran 'journalctl -b-1 | grep systemd' and 'sudo dmesg | grep mca' and in both cases I had no match
02:44e1eph4nt has quit [Ping timeout: 480 seconds]
03:15vx has quit [Quit: G-line: User has been permanently banned from this network.]
03:16vx has joined #asahi
03:22e1eph4nt has joined #asahi
04:02marvin24 has joined #asahi
04:04duban has joined #asahi
04:06marvin24_ has quit [Ping timeout: 480 seconds]
04:08manuelzamoratetherbtcusa[m]I didn’t trust you at first, I will truly say I risk my $1,500 by investing it in your platform and thanks to God you did according to your promise. I can see now you are so transparent in your deals and I love that so much. This is a very huge profit made with $1,500 wow, this investment is really good and a blessing to... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/dcABeITcRbKyKUXPXQDZAmgf)
04:18manuelzamoratetherbtcusa[m] has left #asahi [#asahi]
04:27e1eph4nt has quit [Ping timeout: 480 seconds]
04:37e1eph4nt has joined #asahi
04:46Stroller has quit [Quit: Stroller]
05:10julio7359 has joined #asahi
05:44e1eph4nt has quit [Ping timeout: 480 seconds]
05:45e1eph4nt has joined #asahi
05:54e1eph4nt has quit [Ping timeout: 480 seconds]
05:58julio7359 has quit [Ping timeout: 480 seconds]
06:02e1eph4nt has joined #asahi
06:12e1eph4nt has quit [Ping timeout: 480 seconds]
06:22e1eph4nt has joined #asahi
06:35julio7359 has joined #asahi
07:03DVano[m] has joined #asahi
07:04DVano[m] is now known as phoxmeh
07:08rpirea has quit [Read error: Connection reset by peer]
07:10Ry_Darcy has joined #asahi
07:10LinuxUserHaiku has joined #asahi
07:11LinuxUserHaiku has left #asahi [#asahi]
07:29e1eph4nt has quit [Ping timeout: 480 seconds]
07:44vx has quit [Quit: G-line: User has been permanently banned from this network.]
07:44vx has joined #asahi
07:47e1eph4nt has joined #asahi
07:56e1eph4nt has quit [Ping timeout: 480 seconds]
07:57jelly-hme is now known as jelly
08:01jluthra_ has quit [Remote host closed the connection]
08:02jluthra_ has joined #asahi
08:16roxfan2 is now known as roxfan
08:22Null_A[m] has joined #asahi
08:34e1eph4nt has joined #asahi
09:19rpirea has joined #asahi
09:30bestouff[m]Does anyone know why gnome-she
09:31bestouff[m]s/she/shell pegs at 50%-100% on one CPU, even doing nothing ? I suspect there's something else than just missing a GPU driver going on .../
09:32bestouff[m] * Does anyone know why `gnome-shell` pegs at 50%-100% on one CPU, even doing nothing ? I suspect there's something else than just missing a GPU driver going on ...
09:35marcanno idea, but here's a guess: it's running something every frame, and our simple framebuffer has no vsync so that runs uncapped
09:35marcan(that would be a bug in gnome-shell: doing something every frame even when idle is a major waste of power on any platform)
09:39e1eph4nt has quit [Ping timeout: 480 seconds]
09:42jannaubestouff[m]: which gnome session are you using? with "Gnome (wayland)" I see 10-25% cpu load for gnome shell
09:43jannaufor some reason distributed over all cpu cores
09:45IcaroDextris[m]<bestouff[m]> "Does anyone know why gnome-she" <- I’m using gnome-shell with m1 MacBook Air m1 and is 10 or less
09:46IcaroDextris[m]jannau: Confirm
10:03e1eph4nt has joined #asahi
10:11e1eph4nt has quit [Ping timeout: 480 seconds]
10:19e1eph4nt has joined #asahi
10:25AbhayNayar[m] has quit [Quit: Client limit exceeded: 20000]
10:48GllmR[m] has joined #asahi
10:50GllmR[m]Hi, I'm stuck with no mouse or keyboard on the login screen, on a macbook pro 14, do you know why i can enter my password ?
10:52jannauGllmR[m]: consistently? the power button should work and a short press will power down the macbook
10:53GllmR[m]Yes, i can shutdown the computer, but can't enter my password... :)
10:55M4t64[m]GllmR[m]: are you pressing down the power button until you see "continue holding to load startup options"
10:55jannauhow many times have you tried?
10:55GllmR[m]Two times
10:56GllmR[m]Yes i can boot asahi, no problem, but my keyboard and touchpad don't work, so i can not type my psswrd
10:56jannaucan you try again. Do you have anything connected to the usb ports? Can you try disconnecting the devices?
10:57jannauGllmR[m]: is this a fresh installation or something which just started happeing?
10:57GllmR[m]jannau: No, nothing connected... I'll try again
10:57GllmR[m]jannau: It's fresh
10:59jannaudoes the keyboard work in u-boot? There is a prompt "Press any key to stop auto boot". does it stop when you press a key? you can continue by typing "run apple_bootcmd"
11:02GllmR[m]It work after a reboot 🤷
11:02GllmR[m]Thanks jannau !
11:13mpsI noticed strange behavior on m1pro macbook when tested 6.0-rc1 kernel. It doesn't boot but when I few keys blindly and then poweroff->boot cycle it replay keys in u-boot I pressed previously
11:15mpslike it remember keys in some keyboard buffer, which aren't read by 6.0-rc1 kernel, and when u-boot starts it reads them from this buffer
11:15mpsand even after poweroff-poweron cycle
11:26e1eph4nt has quit [Ping timeout: 480 seconds]
11:31off^ has quit [Remote host closed the connection]
11:52e1eph4nt has joined #asahi
12:41thelounge7571340 has joined #asahi
13:00e1eph4nt has quit [Ping timeout: 480 seconds]
13:00Moprius has joined #asahi
13:08Moprius has quit [Quit: bye]
13:09e1eph4nt has joined #asahi
13:09Stroller has joined #asahi
13:17e1eph4nt has quit [Ping timeout: 480 seconds]
13:24e1eph4nt has joined #asahi
13:28LukeTheWalker has joined #asahi
13:30Race has quit [Ping timeout: 480 seconds]
13:33e1eph4nt has quit [Ping timeout: 480 seconds]
13:34LukeTheW_ has joined #asahi
13:35LukeTheWalker has quit [Read error: Connection reset by peer]
13:40thelounge7571340 has quit [Remote host closed the connection]
13:41thelounge7571340 has joined #asahi
13:44LukeTheW_ has quit [Quit: Leaving...]
13:58e1eph4nt has joined #asahi
14:18thelounge7571340 has quit [Ping timeout: 480 seconds]
14:43rpirea has quit [Read error: Connection reset by peer]
14:45rpirea has joined #asahi
15:06e1eph4nt has quit [Ping timeout: 480 seconds]
15:19thelounge7571340 has joined #asahi
15:20ethantwardy[m]mps: I've seen this a couple of times on the latest kernel version in the asahi package repo. I haven't been able to reliably reproduce it though.
15:30e1eph4nt has joined #asahi
15:39e1eph4nt has quit [Ping timeout: 480 seconds]
15:42e1eph4nt has joined #asahi
15:42Fischmiep has quit []
15:45mpsethantwardy[m]: also I can't reproduce it reliably
15:51yamii has quit [Remote host closed the connection]
15:51yamii has joined #asahi
15:53bestouff[m]<jannau> "bestouff: which gnome session..." <- The default one, which is wayland I think. For me it's on only 1 CPU.
15:57bestouff[m](Well, one core slightly under 100% and the others slightly under 10%)
16:06jannauany applications running or just gnome-shell
16:11bestouff[m]2 firefox windows doing nothing, 1 evolution window doing nothing, 1 terminal showing htop
16:11bestouff[m](only the terminal is on-screen)
16:18thelounge7571340 has quit [Remote host closed the connection]
16:20bestouff[m]Hey I didn't know you could suspend the Mac !
16:20rpirea_ has joined #asahi
16:21bestouff[m]I just pressed the 🌔 key and my Mac went to sleep. Pressed it again and it woke up. Neat !
16:21rpirea has quit [Read error: Connection reset by peer]
16:21thelounge7571340 has joined #asahi
16:25jannaugnome-terminal? that doesn't render correctly for me but no high load either. I didn't start evolution though
16:25rpirea__ has joined #asahi
16:26jannauthat probably just turns the screen off
16:26rpirea_ has quit [Read error: Connection reset by peer]
16:33bestouff[m]Tilix, which renders perfectly.
16:33bestouff[m]Oh, try using custom colors, it should be better.
16:34bestouff[m]You're right i can still ssh
16:48Moprius has joined #asahi
16:49e1eph4nt has quit [Ping timeout: 480 seconds]
16:52e1eph4nt has joined #asahi
17:00e1eph4nt has quit [Ping timeout: 480 seconds]
17:00e1eph4nt has joined #asahi
17:07ifeeltiredboss[m] has joined #asahi
17:08ifeeltiredboss[m] has left #asahi [#asahi]
17:09e1eph4nt has quit [Ping timeout: 480 seconds]
17:11e1eph4nt has joined #asahi
17:20gladiac has joined #asahi
17:21thelounge7571340 has quit [Remote host closed the connection]
17:22thelounge7571340 has joined #asahi
17:24e1eph4nt has quit [Remote host closed the connection]
17:25e1eph4nt has joined #asahi
17:34e1eph4nt has quit [Ping timeout: 480 seconds]
17:36isdedev[m] has quit [Quit: Client limit exceeded: 20000]
17:54e1eph4nt has joined #asahi
18:02jeppojepsthe kernel that m1n1 boots is an ELF or a MACH-O?
18:02jeppojepsseems I can't compile the kernel as MACH-O
18:15jannauwe don't have to deal with mach-o either, apple added raw image support in mac os 12.1
18:15jannauthe only case where we still have to deal with mach-o is the HV starting darwin
18:16blevins has quit [Quit: WeeChat 3.4]
18:21thelounge7571340 has quit [Remote host closed the connection]
18:25thelounge7571340 has joined #asahi
18:35jeppojeps<jannau> so how exactly it works the boot process, m1n1, starts and it's a mach-O, how it jumps and works with the arm64 format kernel?
18:39povikone m1n1 is loaded into memory and started, it doesn't matter that it was loaded as a macho object
18:39poviks/one/once
18:39poviki guess you need to ask a more specific question
18:39povikotherwise the details of how it works are in the document jannau linked
18:41gladiac has quit [Quit: k thx bye]
18:53waldijeppojeps: which kernel do you mean? m1n1 is usualy used to load uboot, then grub and only then a linux kernel
18:54waldiand in a UEFI environment, the linux kernel is a PE binary
18:56ashutoshsao[m] is now known as zshroot[m]
18:57rayanamukami30 has joined #asahi
18:58jeppojepsyes I wanted to load the linux kernel
18:59jeppojepsso I need m1n1 for stage 1 + uboot + grub, that seems an infinite chain
18:59jeppojepsbut maybe before that I can just load an example initramfs with an hello world
19:00jeppojepsI will check the documentation
19:00jeppojepsand get you back
19:00jeppojepsseemed easier looking at how they boot XNU
19:00jeppojepsI thought there wasn't much difference with Linux
19:01jannaujeppojeps: m1n1 can load a standard arm64 kernel image directly
19:01jeppojepsOK but you know the linker makes sth dirty
19:01jeppojepslike the PYLD section is beyond EOF
19:02jeppojepsthat thing doesn't seem to be legal on the emulator (which BTW I can change) but I have to understand why I can just make it fit within by knowing the size of the blobs I append
19:02e1eph4nt has quit [Ping timeout: 480 seconds]
19:02jeppojepslike instead of leaving arbitrary appends
19:02jannauthat's intentional. it allows appending unknown payloads to the m1n1 mach-o binary and get them loaded
19:03jeppojepsyeah but I guess the M1 likes that format
19:03rayanamukami30 is now known as rayanamukami3
19:03jeppojepsin my case I think I have to do the math and prepare the recipe myself
19:03jannauapple boot loader can handle that format
19:04jeppojepshow funny on qemu-t8030 it fails miserably
19:04jeppojepsso the implementation is somewhat not faithful
19:04jeppojepsor it's just because it's a iPhone emulator
19:04jeppojepsit complains about the size going after EOF
19:04jannaufrom our point of view iboot is a not replaceable part of the system
19:05jeppojepsyes I understand
19:05jeppojepsin my case iboot doesn't exist
19:05jannaunah, a system emulator should be able to run iboot
19:05jeppojepsit does, but I guess it's in the kernelcache
19:05jeppojepsif I provide m1n1 as a kernel
19:06jeppojepsso it's a kinda of bare-metal iPhone
19:06Moprius has quit [Remote host closed the connection]
19:06jeppojepsthe rationale it's just to understand the best way or the more compatible way to do it
19:06jeppojepswhacking the emulator shouln't be that hard, doing it properly likely it takes a bit more
19:07jannauwhat does the simulator provide? an apple device tree or a linux device tree?
19:07jeppojepsapple device tree coming from one of the blobs downloadable for iPhone
19:07jeppojepsso I normally give them as separated params
19:08jeppojepsthen the code puts everything together
19:08jeppojepsindeed I looked at the one of Asahi and it's pretty similar
19:08jeppojepswe are talking here that iPhone apps run on M1 seamlessly
19:08jeppojepsso the difference shouldn't be that huge
19:09jeppojepsthe emulator is capable to boot bash on top of XNU right now
19:09jeppojepsbut I wanted to boot Asahi to check few things on the DCP in the kernel
19:10jeppojepssince you already have something worked on the ramfb
19:10jeppojepsand right now I can't update my M1, stuck on 11.4 (work reason)
19:10jeppojepsotherwise I could have installed on the bare metal
19:12jannauthat sounds if the emulator exposes the iboot2 / os kernel interface and just has problems with the open payload
19:14jannaudoes the emulator support the uart (or dwc3)? if yes you could build m1n1 without payload and the correct size and control/load payload via the proxy interface over uart
19:16jannauyou could install m1n1 manually on 11.4
19:19jeppojeps1 it does support UART
19:19jeppojeps2 you are right, I can install m1n1, manually but w/o Asahi
19:19jeppojepscould you explain how would you do the UART thingy?
19:19jeppojepsas in the m1n1 dev tutorial?
19:22thelounge7571340 has quit [Ping timeout: 480 seconds]
19:25jeppojepsso I'd build the m1n1 macho normally, I have already commented out the PYLD section, and I have that binary, I have to get to the uart part
19:26jeppojepsit also has dwc3 support actually
19:27e1eph4nt has joined #asahi
19:29jeppojepspython3 proxyclient/tools/run_guest.py -s <PATH_TO_DEBUG_DWARF> <PATH_TO_DEVELOPMENT_KERNEL_CACHE> -- "debug=0x14e serial=3 apcie=0xfffffffe -enable-kprintf-spam wdt=-1"
19:30jeppojepsshould be this
19:36e1eph4nt has quit [Ping timeout: 480 seconds]
19:44off^ has joined #asahi
19:44os has joined #asahi
19:49e1eph4nt has joined #asahi
20:31thelounge7571340 has joined #asahi
20:59e1eph4nt has quit [Ping timeout: 480 seconds]
21:02jannaujeppojeps: no, tools/linux.py -b '$LINUX_BOOT_ARGS' Image.gz t8030.dtb [initramfs]
21:03jannaunot sure where you would get a t8030.dtb from, also you need to patch the kernel to support t0830
21:04jannauasahi kernel only supports t8103 and other m series SoCs
21:12off^ has quit [Ping timeout: 480 seconds]
21:12SSJ_GZ has quit [Read error: Connection reset by peer]
21:12SSJ_GZ has joined #asahi
21:18off^ has joined #asahi
21:23e1eph4nt has joined #asahi
21:30thelounge7571340 has quit [Remote host closed the connection]
21:32thelounge7571340 has joined #asahi
21:32SSJ_GZ has quit [Ping timeout: 480 seconds]
21:32duban has quit [Quit: I'm out]
21:34duban has joined #asahi
21:45Brainium has joined #asahi
21:51Ry_Darcy has quit [Remote host closed the connection]
22:08yrlf has joined #asahi
22:19marvin24_ has joined #asahi
22:23marvin24 has quit [Ping timeout: 480 seconds]
22:28marvin24 has joined #asahi
22:31e1eph4nt has quit [Ping timeout: 480 seconds]
22:31marvin24_ has quit [Ping timeout: 480 seconds]
22:31thelounge7571340 has quit [Remote host closed the connection]
22:33thelounge7571340 has joined #asahi
22:46e1eph4nt has joined #asahi
23:06off^ has quit [Ping timeout: 480 seconds]
23:06off^ has joined #asahi
23:25off^ has quit [Ping timeout: 480 seconds]
23:26off^ has joined #asahi
23:32thelounge7571340 has quit [Remote host closed the connection]
23:37thelounge7571340 has joined #asahi
23:55e1eph4nt has quit [Ping timeout: 480 seconds]
23:58grgy has joined #asahi
…