#
…

2021-02-02

00:08Namidairo has joined #asahi
00:18zkrx has quit [Ping timeout: 240 seconds]
00:25raster has joined #asahi
00:27Namidairo has quit [Ping timeout: 240 seconds]
00:29Namidairo has joined #asahi
00:33zkrx has joined #asahi
01:00choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
01:17alvaro_fe has quit [Ping timeout: 240 seconds]
01:19alvaro_fe has joined #asahi
01:20modwizcodeInterseting they talk about kernel support for Rosetta.
01:20modwizcodeI used to be super interested in xnu because of it's microkernel origins and I think the way mach does some things is pretty clever. But like the codebase is a sort of impenetrable mess
01:22davidrysk[m]> CAVEAT: the kmutil configure-boot process will only work on the first macOS volume. If you have multiple bootable volumes, you will only be able to boot a custom kernel on the first installation.
01:24modwizcodeIs that even right? I read that and that sounds wrong?
01:25davidrysk[m]it's definitely not intended behaior
01:27modwizcodeIsn't marcan's setup using a second volume?
01:27davidrysk[m]I thought it was
01:33raster has quit [Quit: Gettin' stinky!]
02:02Namidairo has quit [Read error: Connection reset by peer]
02:03Namidairo has joined #asahi
02:04coderobe has quit [Ping timeout: 246 seconds]
02:04DarthCloud has quit [Ping timeout: 268 seconds]
02:07davidrysk[m]also uhh still no kernel symbols for t8101 in this KDK
02:11modwizcodeWhat's the t8101?
02:20coderobe has joined #asahi
02:34Glanzmann has quit [Ping timeout: 265 seconds]
02:38davidrysk[m]the t8103 is the M1, the t8101 is the A14 but Apple labels the kernel for the M1 "t8101"
02:38davidrysk[m]since it's compatible with both
02:44odmir has joined #asahi
02:45Tokamak has quit [Ping timeout: 240 seconds]
02:45alvaro_fe has quit [Ping timeout: 265 seconds]
02:50Glanzmann has joined #asahi
02:54marcandavidrysk[m]: that's a bug and it's not the "first"
02:54marcanit's "some order"
02:54marcanit works fine for me on the second volume on both machines; I think I got lucky
02:54marcanI'm not sure if it's fixed in 11.2 final yet; it might
02:54marcanI should try it
02:55davidrysk[m]marcan: so is Apple's engineer wrong? :D
02:55marcanthey are :)
02:55marcanas to the specifics of the bug anyway
02:55marcanit might be the "first discovered" or "first in UUID order" or "first according to some random hashtable implementation"
02:55marcanit's definitely not the first on disk
03:00odmir has quit []
03:00odmir has joined #asahi
03:01Tokamak has joined #asahi
03:15odmir has quit [Remote host closed the connection]
03:15odmir has joined #asahi
03:20odmir has quit [Ping timeout: 246 seconds]
03:21alvaro_fe has joined #asahi
03:29PhilippvK has joined #asahi
03:29phiologe has quit [Ping timeout: 264 seconds]
03:46odmir has joined #asahi
03:55odmir has quit [Ping timeout: 240 seconds]
04:23odmir has joined #asahi
04:27amw has quit [Ping timeout: 258 seconds]
04:28odmir has quit [Ping timeout: 258 seconds]
04:31amw has joined #asahi
04:40amw has quit [Ping timeout: 264 seconds]
04:41awesomebing1 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
04:42awesomebing1 has joined #asahi
04:46marvin24 has quit [Ping timeout: 260 seconds]
04:46marvin24 has joined #asahi
04:52amw has joined #asahi
05:12Tokamak has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:20a3541 has joined #asahi
05:52modwizcodeIt seems like an odd bug to have.
06:25odmir has joined #asahi
06:29VinDuv has joined #asahi
06:35dhewgmost bugs are
06:37odmir has quit [Ping timeout: 240 seconds]
07:10mndza has joined #asahi
07:25VinDuv has quit [Quit: Leaving.]
08:49ncason has quit [Ping timeout: 246 seconds]
08:51ch has quit [Ping timeout: 260 seconds]
08:51ncason has joined #asahi
09:15jaXvi has quit [Quit: Leaving]
09:15a3541 has quit [Remote host closed the connection]
09:20jaXvi has joined #asahi
09:30ephe_meral has joined #asahi
09:34klaus has joined #asahi
09:35furkan has quit [Read error: Connection reset by peer]
09:35furkan has joined #asahi
09:45furkan has quit [Ping timeout: 246 seconds]
09:46furkan has joined #asahi
09:53klausi understand asahi linux is at the very first stage of implementation, but i wanted to ask: in the long run, is something like rosetta2 planned for it ? how will it be possible to run x86_64 programs inside asahi linux ? (with reasonable speed and gfx passthrough)
09:54j`eyklaus: qemu!
09:54klausj`ey : is qemu working the way i described ? (good speed and gfx passthrough)
09:54never_releasedqemu isn't a nice answer though...
09:55klausotherwise any emu would have been a valid answer, like bosch and others..
09:55never_releasedyou will not have graphics working with a user-mode Linux x86_64 -> arm64 compatibility layer today
09:55never_releasedbecause you'll need a second ioctl32 interface for that
09:55never_releasedor a very heavy hack
09:56never_releaseddon't worry, people are working on it
09:56klausnever_released : really ? that is good to hear
09:56never_releasedklaus: yeah, as part of the FEX project
09:57klausi can see many cases where the ability of running x86_64 code from inside a native arm64 OS is desirable.
09:57klausthanks for the link, i go read that
10:00klaushmm so cpu instruction translation is being worked on, but you were saying no gfx passthrough ? does that mean programs that run through fex will be term only, or just no gfx hardware acceleration ? (software rendering )
10:00dhewgthere's also https://github.com/ptitSeb/box86 which some ppl use to run wine x86 on their arm boxen
10:00never_releaseddhewg: box86 isn't sustainable
10:00never_releasedand is useless on m1
10:01never_released(it translates x86 32-bit -> 32-bit arm)
10:01j`ey> Box86 is useless on 64-bit only systems
10:01dhewgyeah, i know, but still, some ppl run it successfully
10:01never_releasedyeah, on 32-bit systems
10:01never_releasedon 64-bit box86 won't get you anywhere
10:02never_releasedit's a nice approach though, with thunking to use native libraries for tons of stuff
10:02dhewgif you install a 32bit userland it'll work there too
10:02dhewgbut yeah, not that clean and nice
10:02never_releaseddhewg: M1 does *not* have ARMv7 support in hardware
10:02klausasahi linux won't be able to run arm32 bit softs ? like on x64 users have ability to run x86 code through multilib ?
10:03never_releasedklaus: the hardware doesn't support ARMv7 code exec
10:03klausnever_released hmm
10:03dhewgoh hehe
10:03dhewgok, i've seen reports of other aarch64 users running that, but if that's the case that onviously won't help on m1
10:04never_releasedyeah those added aarch32 libs
10:04dhewgstill interesting, some are even using that with an amd gpu and using box86 with gallium nine
10:05never_releasedyep, and you can't mechanically build a 32 <-> 64 thunking layer
10:05never_releasedso the approach there is a dead end sadly
10:05dhewgyeah m1 yeah
10:05never_releasednot even just the M1
10:05never_releasedthe Cortex-A78 successor, Matterhorn is the last Cortex-A big core with ARMv7 code exec
10:06never_releasedMakalu, the gen after that, can no longer run AArch32 code
10:06klausi understand it's very early to talk about all that, but it's interesting so start planning early too so i'm voicing concern about it..the ability to run x86_64 from inside asahi linux would be a must have .. just like macos does it's rosetta2.. they made it quite nicely, wine for example runs fast..
10:06j`eyklaus: it's a separate topic really
10:07dhewgyeah, that's a long term dead end indeed
10:07klausi understand it's a separate topic
10:07klausyou're right
10:07klausjust as a future user i'm thinking about what i'll probably need :)
10:08dhewgfor wine there was also another translation project, "hangover" iirc?
10:09never_releaseddhewg: Hangover depends on an external JIT
10:09never_releasedwhich can be Qemu or FEX today
10:09never_releasedit doesn't include its own x86->arm JIT
10:10ch has joined #asahi
10:11dhewghaven't really followed that as i don't have a use case myself
10:11dhewgbut that works with fex today? nice
10:16nspaced has quit [Ping timeout: 260 seconds]
10:17klausfex looks good
10:17klausthanks for telling
10:18baryluk has quit [Ping timeout: 265 seconds]
10:20irl25519 has joined #asahi
10:23nspaced has joined #asahi
10:24baryluk has joined #asahi
10:34odmir has joined #asahi
10:35raster has joined #asahi
10:38amw has quit [Ping timeout: 240 seconds]
10:40irl25519 has quit [Quit: irl25519]
10:40amw has joined #asahi
10:41odmir has quit [Ping timeout: 240 seconds]
10:58acelogic has quit [Ping timeout: 260 seconds]
11:03TheJollyRoger has quit [Ping timeout: 268 seconds]
11:05TheJollyRoger has joined #asahi
11:29ephe_meral has quit [Ping timeout: 264 seconds]
11:43amw has quit [Ping timeout: 256 seconds]
11:53tomtastic has quit [Quit: ZNC - https://znc.in]
11:54tomtastic has joined #asahi
12:14loruu has quit [Quit: .]
12:14loru has joined #asahi
12:14loru has joined #asahi
12:14loru has left #asahi [#asahi]
12:20ephe_meral has joined #asahi
12:39odmir has joined #asahi
12:43odmir has quit [Ping timeout: 258 seconds]
12:51opticronmaybe we need a wiki page linked in the topic regarding Rosetta2 and how that functionality relates to Asahi Linux and other projects
12:52opticronthere seems to be a high level of conflation between the M1 macs and magically running binaries from other arches
12:53opticronthe direct equivalent would be running linux x86[_64] binaries on the M1, but that never seems to be what people are asking about
12:53opticron(and that is mostly unnecessary since you're just pulling things from package repos or compiling locally)
13:06never_releasedopticron: it is _far_ from unnecessary
13:06never_releasedmy arm64 Linux systems all run at least some x86 apps
13:15choozy has joined #asahi
13:22ephe_meral has quit [Ping timeout: 258 seconds]
13:23ephe_meral has joined #asahi
13:26djhworld has quit [Ping timeout: 240 seconds]
13:30djhworld has joined #asahi
13:32klausthere's a reason why macos and windows both offer to translate and run x86_64 apps on amr
13:32klausi gave wine as one example but there's many use cases
13:33klausi have to agree with never_released here, it is desirable and useful
13:33opticronI didn't say it wasn't desirable or useful
13:34klauswe all agree then :)
13:35opticronmy issue is that apple says "M1 macs can run x86 code" and so it seems like the general takeaway is that it's a feature of the M1 hardware
13:37opticronit just sets an unreasonable base expectation for the Asahi Linux project
13:40opticronnever_released, if you don't mind me asking, what kinds of things do you run as x86 binaries on arm64 linux machines?
13:40opticronmy workflow is entirely devoid of non-native binaries
13:47odmir has joined #asahi
13:48never_releasedopticron: Microsoft Teams, Zoom notably
13:48never_releasedthe browser versions just don't cut it
13:49opticronah, that makes sense
14:06Namidairo has quit [Ping timeout: 240 seconds]
14:11Bublik has quit [Ping timeout: 260 seconds]
14:14Bublik has joined #asahi
14:18Namidairo has joined #asahi
14:56FanfweApple just released final Big Sur 11.2
15:10Tokamak has joined #asahi
15:17overa_ has joined #asahi
15:22DarthCloud has joined #asahi
15:33overa_ has quit [Ping timeout: 264 seconds]
15:51marvin24_ has joined #asahi
15:51marvin24 has quit [Ping timeout: 260 seconds]
16:35korzq has quit [Quit: The Lounge - https://thelounge.chat]
16:37korzq has joined #asahi
16:38ephe_meral has quit [Ping timeout: 258 seconds]
16:39stemnic9 has joined #asahi
16:39stemnic has quit [Read error: Connection reset by peer]
16:39stemnic9 is now known as stemnic
16:41ephe_meral has joined #asahi
16:42stemnic has quit [Client Quit]
16:45stemnic has joined #asahi
16:56Tokamak_ has joined #asahi
16:58Tokamak has quit [Ping timeout: 240 seconds]
17:13DarthCloud has quit [Ping timeout: 268 seconds]
17:16DarthCloud has joined #asahi
17:16artemist has quit [Changing host]
17:16artemist has joined #asahi
17:22ephe_meral has quit [Ping timeout: 264 seconds]
17:42shadaj[m] has joined #asahi
17:49VinDuv has joined #asahi
18:02zkrx has quit [Ping timeout: 264 seconds]
18:07Tokamak_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:35zkrx has joined #asahi
18:40marvin24_ has quit [Ping timeout: 258 seconds]
18:40marvin24 has joined #asahi
18:42irl25519 has joined #asahi
18:55marcanhere's a new toy, before I go to sleep :) https://github.com/AsahiLinux/macvdmtool
18:56marcanyou can get a serial console and use m1n1 proxyclient with just another M1 device and a normal type C cable
18:56j`eymarcan: it *has* to be M1 to M1?
18:57j`eyhow come?
18:58svennice :)
19:00marcanj`ey: because only the M1s have this feature as far as I know
19:00marcanthe VDM stuff may or may not work on some Intel macs, but I'm pretty sure the serial console won't
19:06irl25519 has quit [Quit: irl25519]
19:11isacc has joined #asahi
19:14stemnic has quit [Ping timeout: 264 seconds]
19:22mndza has quit []
19:26stemnic has joined #asahi
19:27mndza has joined #asahi
19:39bastilianmarcan: nice! Does the target M1 need to be in DFU already or is there any other requirement to start a console, or is it basically just "plug and play"?
19:39marcanno requirement
19:39marcanyou can literally hard reboot it if it's in macos
19:40bastilianSweet! Awesome! Thank you!
19:40marcanobviously to actually *get* anything on serial you need to have installed m1n1; iBoot and macOS won't speak serial by default (but if you reduce security and tweak the nvram you can get macOS debug spew on serial)
19:41marcanthe remote reboot stuff is super handy for a fast test cycle
19:41marcanjust one command chain to reboot, chainload a new m1n1 and/or kernel, etc
19:41marcanno need to hold down the power button for ages
19:42marcanthere is also a command to go into DFU mode
19:42marcanit's the same as that `areboot` thing I've been doing on my streams with the arduino/USB-PD rig
19:42marcan(the regular reboot that is, I wasn't using DFU)
19:43irl25519 has joined #asahi
19:43bastilianCool! I was just waiting for this tool to start testing and playing around, without having to build a USB-PD cable!
19:43marcanI figured enough people would have two of them for this to be useful :)
19:44bastilianTruth be told, I did get a second M1, because I hoped this would work.
19:51marcanglad I could deliver then :)
19:56EmantorI like the disclaimer.
20:02marcanI am barely a macos user (as of late) and *definitely* not a macos programmer
20:02marcan(I suspect that will have to change pretty soon...)
20:15raster has quit [Quit: Gettin' stinky!]
20:22irl25519 has quit [Quit: irl25519]
20:24davidrysk[m]marcan: is there any point testing this on a T2 Mac?
20:25roxfanthose are probably easier to get right now
20:39ShizI have no idea what I'm doing with IOKit and CoreFoundation -marcan"
20:39davidrysk[m]IOCreatePlugInInterfaceForService fails
20:43amw has joined #asahi
20:52mndza has quit [Ping timeout: 256 seconds]
20:58bastiliandavid.rysk: i think the T2/Intel machines do not have the serial component.
20:59davidrysk[m]bastilian: how does the serial component display itself in the ioreg tree?
21:01bastiliandavid.rysk: On the M1s I found it by just looking for uart or "serial-console" the same or a similar entry isn't there on T2/Intel machines.
21:23zkrx has quit [Ping timeout: 246 seconds]
21:29davidrysk[m]okay, that was user error. It sees the device, it sees the M1 Mac, but unlocking fails.
21:30bastilianYou mean you can establish a connection from an Intel -> M1?
21:31davidrysk[m]it's in APP mode
21:32davidrysk[m]when the Intel and M1 are connected, it sees the M1 in APP mode\
21:32davidrysk[m]but it does not appear that changing modes works
21:34davidrysk[m]the reset command (Gaid) does work though :)
21:45zkrx has joined #asahi
21:49maor26 has joined #asahi
21:49VinDuv has quit [Quit: Leaving.]
21:50maor26 has quit [Client Quit]
22:06Glanzmannmarcan: Perfect, I order a new mac.
22:23isacc has quit [Ping timeout: 258 seconds]
22:27isacc has joined #asahi
22:29Tokamak has joined #asahi
22:30klaus has quit [Quit: Textual IRC Client: www.textualapp.com]
22:34x4m3 has quit [Read error: Connection reset by peer]
22:52isacc has quit [Quit: isacc]
22:52isacc has joined #asahi
22:56isacc has quit [Client Quit]
23:04taziden has quit [Ping timeout: 260 seconds]
23:07the-mentor has quit [Quit: The Lounge - https://thelounge.chat]
23:08the-mentor has joined #asahi
23:11taziden has joined #asahi
23:53isacc has joined #asahi
23:53isacc has quit [Client Quit]
…