#
…

2023-07-30

00:05jjanzic has joined #asahi
00:21Moprius has joined #asahi
00:29rappet has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
00:31rappet has joined #asahi
00:33rappet has quit []
00:36rappet has joined #asahi
00:49Brainium has quit [Quit: Konversation terminated!]
00:49Moprius has quit [Quit: bye]
00:57ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:58ourdumbfuture has joined #asahi
01:00novafacing9 has joined #asahi
01:09mikelee has joined #asahi
01:26ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
01:27roxfan2 has joined #asahi
01:31roxfan has quit [Ping timeout: 480 seconds]
01:32ourdumbfuture has joined #asahi
01:39jeisom has quit [Ping timeout: 480 seconds]
01:48mikelee has quit [Ping timeout: 480 seconds]
01:51_whitelogger has joined #asahi
02:00gabuscus has quit []
02:03novafacing9 has quit [Ping timeout: 480 seconds]
02:14ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:16ourdumbfuture has joined #asahi
02:29mikelee has joined #asahi
02:31gabuscus has joined #asahi
02:36david2 has joined #asahi
03:10david2 has quit [Quit: david2]
03:16bgb has joined #asahi
03:17mikelee has quit [Ping timeout: 480 seconds]
03:26mikelee has joined #asahi
03:29ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:58mikelee has quit [Ping timeout: 480 seconds]
04:02JoshHeyse has joined #asahi
04:10mikelee has joined #asahi
04:12bgb has quit [Quit: WeeChat 4.0.2]
04:26JoshHeyse has quit [Ping timeout: 480 seconds]
04:30bgb has joined #asahi
04:33hightower3 has joined #asahi
04:39hightower2 has quit [Ping timeout: 480 seconds]
04:55novafacing9 has joined #asahi
05:01mikelee has quit [Ping timeout: 480 seconds]
05:02mikelee has joined #asahi
05:10rvalue has quit [Ping timeout: 480 seconds]
05:24mikelee has quit [Ping timeout: 480 seconds]
05:42mkurz has quit [Ping timeout: 480 seconds]
05:42cylm_ has quit [Ping timeout: 480 seconds]
05:51mikelee has joined #asahi
06:12mikelee has quit [Ping timeout: 480 seconds]
06:36mikelee has joined #asahi
06:55nsklaus has joined #asahi
07:13crabbedhaloablut has joined #asahi
07:28mikelee has quit [Ping timeout: 480 seconds]
07:30mikelee has joined #asahi
07:35thelounge60655 has quit [Read error: No route to host]
07:36thelounge60655 has joined #asahi
08:09mikelee has quit [Ping timeout: 480 seconds]
08:15rvalue has joined #asahi
08:16chadmed has quit [Ping timeout: 480 seconds]
08:19mikelee has joined #asahi
08:58outrageouscook has joined #asahi
09:11mikelee has quit [Ping timeout: 480 seconds]
09:22mikelee has joined #asahi
09:24malte has quit [Remote host closed the connection]
09:25malte has joined #asahi
09:27Zrenny has joined #asahi
09:44mikelee has quit [Ping timeout: 480 seconds]
09:46shalokshalom has joined #asahi
09:54mikelee has joined #asahi
09:54ZrennyDoes asahi support m2 ultra (mac studio)?
10:04Zrenny has quit [Quit: Page closed]
10:32mikelee has quit [Ping timeout: 480 seconds]
10:34jjanzic has quit [Ping timeout: 480 seconds]
10:37leiofwiw, that doesn't mention m2 ultra in any way, though presumably it would be equal or more to do than m2 pro/max?
10:37mikelee has joined #asahi
10:37shalokshalomHi there. Early rumors of the M1 platform suggested, that Apple is using dedicated hardware, to improve performance of the x86_64 compatibility layer, Rosetta 2.
10:38leioto correct myself, it is in the first table, but not the separate ones
10:38shalokshalomNow, I am asking: Are there any plans, to utilize that hardware? Does it even exist, or was this a false rumor?
10:38shalokshalomCan we expect any kind of support for x86 hardware accelerated emulation?
10:38shalokshalomThanks a lot
10:39sventhey have a way to enable TSO (total store ordering) to make stores work like they do on x86
10:40svenother than that it’s also a lot of software engineering that went into Rosetta
10:40jannauleio: take the absence as a hint that it's (not yet) supported
10:41stintelis there any documentation on extracting the various firmwares from macOS? like apple/tpmtfw-j415.bin brcmbt4387c2-apple,snake-u.bin etc ?
10:42sventhere’s code to do that in the installer and that’s probably the only documentation there is
10:42jannaustintel: asahi_firmware in asahi-installer
10:42mpsfirst time I created tarball of firmware from macos
10:42shalokshalomsven: I am not aware about stores within that context.
10:42shalokshalomWhat is the exact state of running x86 on Asahi, and also about the roadmap for it, please?
10:43mpss/first time/two years ago/
10:43jannauthere is no roadmap
10:43ChaosPrincessqemu-system-x64 or whatever it is called exists, but its most likely not what you want :P
10:44ChaosPrincessfor fex, you need 4k pages for it to even work, and TSO for it to work faster.
10:44ChaosPrincesstso is in repo, 4k pages is not ready for public use yet
10:44shalokshalomthanks a lot
10:44marcanshalokshalom: we already support TSO and that feature is integrated into FEX, which is the single most important feature for x86 performance
10:44shalokshalomSo none as of yet, and unknown as for when, if at all, correct?
10:44shalokshalomAh, ok, cool.
10:45shalokshalomSo the foundation is there and the rest unknown. :)
10:45ChaosPrincessbox86 or whatever it is called will never work, because it requires 32 bit arm and m-chips dont do that
10:45marcanthere is no "accelerated emulation". there are three (to our knowledge), very specific, minor but useful features
10:45marcanTSO, the flags stuff, and a pre-standard version of what ARM standardized as AFP
10:45marcanit's unclear whether we care to support the latter two, we'll see
10:45marcanTSO matters
10:45shalokshalomThere is a new x86 emu software layer on the block, although idk how much it will help
10:45shalokshalomIt even seems to be Windows exclusive?
10:45mikelee has quit [Ping timeout: 480 seconds]
10:46ChaosPrincessalmost all of them would want 4k pages for it to work sanely
10:46marcanalso Rosetta isn't particularly fast or efficient, it's just AoT and well tuned for these CPUs. it's the CPUs that are fast, and not dealing with TSO helps.
10:46shalokshalomOh, and it's not even open source (Cassia)
10:46ChaosPrincessbecause if you dont have that - you either have to pray that the software is page size agnostic, or emulate the entire mmu which murders your performance
10:46marcanFEX is already much faster for emulating 32-bit x86 because it has a mode to not bother with accurate 80-bit FPU emulation, while Rosetta does some horrible slow software emulation which makes many 32-bit games unplayable
10:47shalokshalommarcan: So you are saying other x86 emulation layers can be comparable speedy and comparably speedy CPUs?
10:47shalokshalomIs there dedicated hardware, to accelerate these operations?
10:47marcanI'm saying FEX is already better than Rosetta at some things
10:47shalokshalomOn the Apple silicon
10:47marcanas with everything, there will be things one technology is better at and others it is worse at
10:48marcanstuff gets a lot more complicated without hardware TSO support, e.g. the Windows emulation stuff does a lot of tricks there to try to fake some of it for performance
10:49marcanbut we do have hardware TSO so that is moot
10:50j`eydo you know if any bencharks were done with fex+tso?
10:50marcandunno, "a lot better than without TSO" :p
10:50marcanFEX isn't very good at TSO emulation yet AIUI
10:53marcanFWIW, I might as well say this now: I have no plans to integrate FEX into Asahi-ALARM
10:54shalokshalomI am talking about running Proton and Steam on the Mac Mini 2020 specifically
10:54marcanmaking FEX work seamlessly with a distro is a big project and basically uncharted territory, and not something we can spend time on for multiple completely unrelated distros
10:54marcanso when that comes it will be for $next_distro
10:54marcanyou can do it yourself on Arch if you want, just don't expect an easy "install package and x86 emu works now"
10:54shalokshalomYeah, I see.
10:55marcan(and of course anyone is welcome to volunteer do the work for Arch ARM)
10:56mikelee has joined #asahi
10:56j`eymarcan: what kinda integration do you mean? like opening a .exe and have it open in FEX automatically?
10:58jannauusing native libraries if possible (thunks) and having the x86 chroot easily available I guess
10:59linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
10:59shalokshalomIs it possible to run Proton games?
10:59j`eyI have no reason to use FEX, but it seems interesting
11:01shalokshalomI consider running a Mac Mini as a gaming streaming machine, and possibly about creating a DIY handheld around it's mainboard, if that is feasible, both hard and software wise.
11:01chadmed has joined #asahi
11:01outrageouscook has quit [Remote host closed the connection]
11:02linuxgemini has joined #asahi
11:02shalokshalomI interpret the above lines, part particularly that one about $next_distro, that Asahi is never going to provide an easy to use x86_64 emulation?
11:02shalokshalomOr am I reading this wrong?
11:02j`eyyou read it wrong
11:03j`eymaking FEX work seamlessly is not going to happen with the current Arch-based distro
11:03shalokshalomAh. So Asahi is going to use....?
11:04j`eysomething else :P
11:04shalokshalomAnd what does it take now, that differentiates it from 'seamless' please?
11:04jannauthere was someone on youtube transplanting the mac mini board into 3d printed case around the size of an ipad mini display, I don't remember what happened with the power supply
11:04shalokshalomAha, ok. So something independendly developed, based on LFS? Gentoo? *speculating*
11:04jannaujust wait
11:04shalokshalomjannau: sounds great
11:04shalokshalomsure, thanks
11:05jannauyou have to configure and install everything yourself for FEX running well and it will be a considerable effort
11:06shalokshalomHnn. I have yet to look into that
11:06shalokshalomThe only thing I am confused about, is how this is going to be different for different users?
11:06j`eyshalokshalom: it's not independent, no
11:06shalokshalomIs this a one time effort, for the complete community
11:06shalokshalomOr do we all have to configure FEX ourselves
11:10shalokshalomLike, we can simply create a package, once this is done, I assume?
11:10shalokshalomSorry, I probably just fail to see the source of complexity
11:12ChaosPrincessthere are multiple parts that you-the-x86-user will most likely want
11:12ChaosPrincesslike, fex, proton, some way to set up proton prefix, a x86 chroot or hangover if that thing ever releases, 4k kernel
11:13jannauno, it's not as simple as providing a package. if that would be the only thing it would already be solved
11:18mikelee has quit [Ping timeout: 480 seconds]
11:19Sellerie5 has joined #asahi
11:20mkurz has joined #asahi
11:22mikelee has joined #asahi
11:30nsklausso, are we still waiting on release of macos13.5 to get a new updated release of asahi, that support m2pro ?
11:30mikelee has quit [Ping timeout: 480 seconds]
11:32nsklausis this shaping up already ? was there any information related to the next update that got out ?
11:32mikelee has joined #asahi
11:37jjanzic has joined #asahi
11:42mikelee has quit [Ping timeout: 480 seconds]
11:44roxfan2 has quit [Ping timeout: 480 seconds]
11:53mikelee has joined #asahi
11:53ourdumbfuture has joined #asahi
12:12ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:17mikelee has quit [Ping timeout: 480 seconds]
12:17ourdumbfuture has joined #asahi
12:31jjanzic has quit [Quit: Bridge terminating on SIGTERM]
12:32jjanzic has joined #asahi
12:35mikelee has joined #asahi
12:43mikelee has quit [Ping timeout: 480 seconds]
12:46mikelee has joined #asahi
12:50Agua has joined #asahi
12:50xadammr has quit [Ping timeout: 480 seconds]
12:56xadammr has joined #asahi
12:59JoshHeyse has joined #asahi
13:07ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:08mikelee has quit [Ping timeout: 480 seconds]
13:08ourdumbfuture has joined #asahi
13:16mikelee has joined #asahi
13:18ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:21ourdumbfuture has joined #asahi
13:23JoshHeyse has quit [Ping timeout: 480 seconds]
13:27jeisom has joined #asahi
13:35mikelee has quit [Ping timeout: 480 seconds]
13:44mikelee has joined #asahi
14:02nst has joined #asahi
14:04nst_ has quit [Ping timeout: 480 seconds]
14:06SalimTerryLi has joined #asahi
14:06mikelee has quit [Ping timeout: 480 seconds]
14:08SalimTer- has quit [Ping timeout: 480 seconds]
14:17outrageouscook has joined #asahi
14:30mikelee has joined #asahi
14:42ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
14:43ourdumbfuture has joined #asahi
14:54mikelee has quit [Ping timeout: 480 seconds]
14:56cylm_ has joined #asahi
14:59tertu has quit [Ping timeout: 480 seconds]
14:59mikelee has joined #asahi
15:00systwi_ has quit [Read error: Connection reset by peer]
15:00systwi has joined #asahi
15:00tertu has joined #asahi
15:03ChaosPrincessmarcan: w.r.t touch id pairing, are fake modules a realistic enough threat? And instead of having symmetric auth couldnt they have done whatever they do with keyboards so any apple module will work?
15:06shalokshalom has quit [Quit: Connection closed for inactivity]
15:25rayanamukami3 has quit [Quit: Ping timeout (120 seconds)]
15:25rayanamukami3 has joined #asahi
15:37possiblemeatball has joined #asahi
15:38mikelee has quit [Ping timeout: 480 seconds]
15:40possiblemeatball has quit []
15:43possiblemeatball has joined #asahi
15:49mikelee has joined #asahi
15:55ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:56outrageouscook has quit [Remote host closed the connection]
15:57mikelee has quit [Ping timeout: 480 seconds]
16:01mikelee has joined #asahi
16:17cy8aer has quit [Remote host closed the connection]
16:23mikelee has quit [Ping timeout: 480 seconds]
16:24cy8aer has joined #asahi
16:35CME_ has quit [Remote host closed the connection]
16:35CME has joined #asahi
16:39mikelee has joined #asahi
16:42Guest7316 has quit [Quit: Bridge terminating on SIGTERM]
16:42rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:45rhysmdnz has joined #asahi
16:45Jamie has joined #asahi
16:46Jamie is now known as Guest7402
16:48mikelee has quit [Ping timeout: 480 seconds]
17:01mikelee has joined #asahi
17:02handlerug has quit [Remote host closed the connection]
17:03handlerug has joined #asahi
17:28amarioguy2 has joined #asahi
17:28amarioguy2 has quit [Remote host closed the connection]
17:32ave36309 has quit [Read error: Connection reset by peer]
17:33ave36309 has joined #asahi
17:43ourdumbfuture has joined #asahi
17:44mikelee has quit [Ping timeout: 480 seconds]
17:46mikelee has joined #asahi
17:49zzywysm_ has joined #asahi
17:50zzywysm_ has quit [Remote host closed the connection]
17:50zzywysm_ has joined #asahi
17:55zzywysm has quit [Ping timeout: 480 seconds]
18:07Agua has quit [Ping timeout: 480 seconds]
18:21roxfan has joined #asahi
18:27possiblemeatball has quit [Quit: Quit]
18:41roxfan has quit [Read error: Connection reset by peer]
18:42shalokshalom has joined #asahi
18:52JoshHeyse has joined #asahi
18:59Brainium has joined #asahi
19:02___nick___ has joined #asahi
19:02___nick___ has quit []
19:04___nick___ has joined #asahi
19:07heapify has joined #asahi
19:07heapify has quit []
19:09jeisom has quit [Ping timeout: 480 seconds]
19:15mikelee has quit [Ping timeout: 480 seconds]
19:16ellyq has joined #asahi
19:19___nick___ has quit [Ping timeout: 480 seconds]
19:20mikelee has joined #asahi
19:21NerdyOldGeek has joined #asahi
19:48karpouzi has joined #asahi
19:52hightower3 has quit [Remote host closed the connection]
20:13mikelee has quit [Ping timeout: 480 seconds]
20:18mikelee has joined #asahi
20:19JoshHeys1 has joined #asahi
20:25JoshHeyse has quit [Ping timeout: 480 seconds]
20:27BenTheTechGuy has joined #asahi
20:30BenTheTechGuyIs it possible to reboot into an OS after being booted into a different one? It would be great if I could somehow choose between macOS and Linux at startup instead of having to hold down the power button to get into 1TR every time I want to use macOS.
20:31BenTheTechGuyEven better would be for this to somehow be integrated into m1n1 or one of the later stages of normal boot
20:32j`eymaybe ChaosPrincess can tell you more
20:32BenTheTechGuyI've been told of this before
20:32BenTheTechGuyI believe what this does is allows you to make macOS the default OS to boot into from Linux
20:33j`eya readme would be nice :P
20:33BenTheTechGuysimilar to choosing Linux as the startup OS from inside macOS or 1TR
20:33BenTheTechGuywhat I'm looking for is a way to switch what OS you want to run *after* booting into one
20:33j`eyI thought this tool could do that
20:35BenTheTechGuy has quit [Quit: WeeChat 3.0]
20:36jannauI think `asahi-bless --next $boot_volume` will just change the next boot
20:36BenTheTechGuy has joined #asahi
20:36karpouziit vaguely looks like you run asahi-bless --next 'uuid' to get the uuid stated to be the next boot volume
20:37karpouzido not count on that being correct tho :/
20:37j`eykarpouzi: jannau said the same thing so.. if youre wrong, youre both wrong :P
20:37BenTheTechGuyit would still be cool if there was something that could select an OS after one is already booted into
20:37j`eythis does it?
20:38BenTheTechGuythis changes what the next boot will me
20:38karpouziwow, i think jannau sent it while i was writing
20:38j`eyyeah, so do this and then reboot
20:38BenTheTechGuythis is cool
20:38BenTheTechGuywhat I'm saying is
20:38BenTheTechGuyit would also be cool if there was something that, after "Asahi Linux" is booted by iBoot, inside of m1n1, u-boot, GRUB, or something
20:39BenTheTechGuythere could be a menu to select between macOS and Linux
20:39jannauyou have to reboot to boot a different os, even the boot optioons boot picker does that
20:39BenTheTechGuyI was simply wondering if it was possible to do it without rebooting
20:39BenTheTechGuyI'm glad that the bless tool (allegedly) has that --next option
20:40karpouziit doesn't seem like bless can do anything else
20:40karpouzikeep in mind the readme on asahi-nvram: May or may not result in you having to perform a dfu restore
20:41BenTheTechGuyyeah, it would be nice if it were more polished
20:41karpouzibtw did marcan get his hands on an m2 ultra for testing?
20:42karpouzii may be able to borrow one next week
20:42j`eyhe got a mac pro, dunno if that has m2 ultra?
20:42karpouzioh yeah that would have it
20:42j`ey(got == ordered)
20:42BenTheTechGuy has quit [Quit: WeeChat 3.0]
20:43jannauone of the fedora asahi people will ge a m2 ultra mac studio
20:43karpouzii'm still really perplexed how the memory is architectured on that chipset
20:44karpouziperplexed by*
20:45karpouziultra fusion is basically infinity fabric right
20:46Agua has joined #asahi
20:46Agua has quit [Remote host closed the connection]
20:50karpouzimain thing is that nobody seems to know what the gpu bus width is
20:51shalokshalom has quit [Quit: Connection closed for inactivity]
21:04JoshHeyse has joined #asahi
21:05ChaosPrincesskarpouzi: that warning is more about the nvram tool. And i use bless a lot and havent yet screwed up my machine
21:06ChaosPrincessBenTheTechGuy: the security on those machines make it impossible, even boot picker is faking it with boot-next
21:06ChaosPrincesskarpouzi: ultra fusion is slightly different, infinity fabric gives you almost-numa, while those interleave accesses so there is absolutely no numa
21:08karpouzihmm, will have to think about that
21:10JoshHeys1 has quit [Ping timeout: 480 seconds]
21:12karpouzithanks. i guess the difference between naples- and rome-era infinity fabric has me confused, because naples was _actually_ 4 numa nodes
21:15ChaosPrincesskarpouzi: wrt memory, each lpddr chip seems to be 64b wide.
21:15ChaosPrincessBut no idea whats the memory controller to gpu width
21:18amarioguyChaosPrincess: this is less so security and more so because iBoot was basically entirely designed around booting from one volume, one partition, one OS, and apple's solution to multi booting is effectively a total hack based on black magic lol
21:20r1k0 has joined #asahi
21:26ChaosPrincessIn theory we can replace the boot picker
21:26ChaosPrincessset a special linux as default, then have it set boot-next based on user input and reboot
21:37crombie has joined #asahi
21:41r1k0Hello, I tried running the installer on an M2 Max but it's not supported yet. Just curious, what are the reasons as opposed to the normal M2? (is it the number of CPUs?)
21:42thelounge60655 has quit [Quit: The Lounge - https://thelounge.chat]
21:42svenamarioguy: what makes you think it’s a total hack?
21:42thelounge60655 has joined #asahi
21:43j`eywifi i think is the main thing?
21:44j`eyand display
21:46amarioguysven: mainly just the whole way it has to set the next boot partition and then fully reboot to do it, instead of having iboot render the UI for the bootpicker, and set the variables then and there followed by booting lol
21:47amarioguyi mean to be fair i could be wrong and that was an intentional design decision rather than a hack, but this is just based on what i know about iboot
21:47r1k0j`ey: ok thx, I naively assumed the hardware was identical between M2 and M2 Max (beside the nb of cores)
21:49ChaosPrincessNah, non-pro are glorified ipad chips while pro/max/ultra are full desktop ones
21:49karpouzim2 ultra is also so tba it's not even on the chart :D
21:49MajorBiscuit has joined #asahi
21:49karpouzier should i say "m2 ultra mac studio/pro"
21:51crabbedhaloablut has quit []
21:56svenamarioguy: having iboot render a complex UI sounds like a large attack surface in a critical boot stage
21:57svenit looks rather intentional to me
21:58svenand iboot had to change a lot to accommodate all this boot policy stuff anyway
22:03jeisom has joined #asahi
22:22amarioguysven: fair lol
22:29thelounge60655 has quit [Quit: The Lounge - https://thelounge.chat]
22:30thelounge60655 has joined #asahi
22:32MajorBiscuit has quit [Quit: WeeChat 3.6]
22:32ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:37JoshHeyse has quit [Ping timeout: 480 seconds]
22:58ourdumbfuture has joined #asahi
23:09turo has quit [Remote host closed the connection]
23:10turo has joined #asahi
23:13r1k0 has quit [Quit: Lost terminal]
23:15ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:19nsklaus has quit [Ping timeout: 480 seconds]
23:23NerdyOldGeek has quit []
23:25ourdumbfuture has joined #asahi
23:47mikelee has quit [Ping timeout: 480 seconds]
23:47mikelee has joined #asahi
23:50ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:55mikelee has quit [Ping timeout: 480 seconds]
23:59mikelee has joined #asahi
…