#
…

2022-07-20

00:01yuyichao has quit [Ping timeout: 480 seconds]
00:29Manouchehrinicolas17: how are you everywhere?
01:14goobla[m] has joined #asahi
01:28chadmednicolas17: there is no aarch64 build of steam, there's not even a real amd64 build lmao its still 32-bit which is why you need a bunch of i386 libraries installed to run it
01:29chadmedthis is handled with thunks in fex and box86 i believe, and box64 just calls box86 for 32-bit code
02:04doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:04doggkruse has joined #asahi
02:52PhilippvK has joined #asahi
02:55phiologe has quit [Ping timeout: 480 seconds]
02:55doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:57doggkruse has joined #asahi
03:03the_lanetly_052__ has joined #asahi
03:12marvin24_ has joined #asahi
03:15marvin24 has quit [Ping timeout: 480 seconds]
03:28pyropeter1 has joined #asahi
03:30PyroPeter_ has quit [Ping timeout: 480 seconds]
03:48kov has quit [Quit: Coyote finally caught me]
04:03terpstra has joined #asahi
04:23terpstra has quit [Remote host closed the connection]
05:46doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:11ptudor_ has quit [Ping timeout: 480 seconds]
06:12ptudor has joined #asahi
06:14nicolas17 has quit [Ping timeout: 480 seconds]
06:17guillaume_g has joined #asahi
06:30ptudor has quit [Ping timeout: 480 seconds]
06:48X-Scale` has joined #asahi
06:53X-Scale has quit [Ping timeout: 480 seconds]
06:53X-Scale` is now known as X-Scale
07:01ptudor has joined #asahi
07:18guillaume has joined #asahi
07:25guillaume_g has quit [Ping timeout: 480 seconds]
07:41Catyre has joined #asahi
07:45MajorBiscuit has joined #asahi
07:50Catyre has quit [Ping timeout: 480 seconds]
08:54Catyre has joined #asahi
09:02Catyre has quit [Ping timeout: 480 seconds]
09:52nela has quit [Quit: leaving.]
09:56nela has joined #asahi
10:12neatsquirrel has joined #asahi
10:27jluthra has quit [Remote host closed the connection]
10:27jluthra has joined #asahi
10:47the_lanetly_052__ has quit [Remote host closed the connection]
10:49doggkruse has joined #asahi
10:53kov has joined #asahi
10:57doggkruse has quit [Ping timeout: 480 seconds]
11:08doggkruse has joined #asahi
11:09ptudor_ has joined #asahi
11:16ptudor has quit [Ping timeout: 480 seconds]
11:16doggkruse has quit [Ping timeout: 480 seconds]
11:36redflag[m]hi! i was thinking of getting an M2 macbook, am i right in assuming the 14" model should be relatively easy to bring up? presumably it should be at feature parity with the 13" with only a tweaked dtb
11:37_jannau_which 14" macbook?
11:37vvv[m] has joined #asahi
11:38redflag[m]haven't fully decided, probably the 10-core one but if M2 is similar to qcom that should(?) just be 2 more nodes in the dtb
11:38redflag[m]* to qcom stuff that should(?)
11:38vvv[m]hi! after my M1 macbook air battery went to zero, I can’t boot to mac os, only to asahi
11:39redflag[m]redflag[m]: at least, im assuming that the m2 model will release soon with similar specs lol
11:40vvv[m]is this known to happen and is there known solution?
11:41_jannau_redflag[m]: are trying to decide whether to get a m2 macbook or a 14" macbook pro with m1 pro/max?
11:41j`eyI think theyre talking about a hypothetical m2 pro/max
11:43_jannau_vvv[m]: the first time I heard of it. how does not booting to mac os look exactly
11:45redflag[m]supposed to be coming out soon from what i gather, was just curious if porting was hard previously (e.g. going from m1 to m1 pro) so i should know if i hold off till fall or just buy the 13" m2
11:45redflag[m]sorry if i was confusing
11:45vvv[m]disregard what I said earlier, I forgot that I need to boot with pressing the power button on whole time until options. for some reason I was starting with power button, then releasing, and then holding it :D
11:45vvv[m](probs because I have not got much sleep recently because of newborn baby.)
11:46_jannau_redflag[m]: we have no information about m2 pro/max. I say it's likely that the effort to support it is similar to the m2 bringup
11:47redflag[m]fair enough. guess i'll just get the 13" then since im impatient
11:47j`eyredflag[m]: but it has a touchbar!
11:48redflag[m]isn't it broken in linux tho lol
11:48_jannau_redflag[m]: but I would be surprised if macbook pro 14"/16" with m2 processors are launced before end of october
11:49redflag[m]is the internal ssd upgradeable..? 512 feels tiny
11:49_jannau_if you can't wait the current 14" would be an option too
11:49_jannau_no, the ssd is not upgradable
11:49redflag[m]yea but i gathered the m2 is a significant upgrade, don't wanna buy a more expensive and worse product
11:49redflag[m]_jannau_: fair, it is apple
11:50Lucy[m]Doesn't seem to be that significant to be fair
11:50j`eyand 8cores m2 vs 10cores m1 pro might be a reason to get the current 14"
11:51_jannau_and I wouldn't call a 14" mbp with m1 pro a worse product than the m2 mbp 13"
11:51redflag[m]huh. for some reason i thought the m2 was just vastly superior
11:52Lucy[m]Slightly faster single core speed and better power consumption, but that was never a problem on these laptops
11:53redflag[m]single core is useless for me so
11:53redflag[m]yea looking at benchmarks m1 pro is vastly better
11:53Lucy[m]No problem! Seems like a nice chip.
11:57Manouchehriredflag[m]: The Touch Bar isn't even supported very well in macOS :P
12:05redflag[m]yea that sounds like typical apple stuff lmao
12:10tomtastic has joined #asahi
12:22janrinze has quit [Remote host closed the connection]
12:35kloenk_ has joined #asahi
12:36kloenk has quit [Ping timeout: 480 seconds]
12:40kloenk_ is now known as kloenk
13:17amarioguy has quit [Quit: Leaving]
13:18nsklausthe touch bar, the notch, the removal of external ports, the removal of magsafe, removal of 32bit support in macos, deprecating opengl when their own stack (metal) isn't finished, they buttefly keyboard system, the macos new UI theme, many of apple broken ideas that they are beta testing on the general public.
13:19nsklaus*the butterfly keyboard
13:22ktz_[m]nsklaus: beta testing or alpha deceiving
13:22nsklausktz3[m]: indeed :)
13:30nicolas17 has joined #asahi
13:34doggkruse has joined #asahi
13:39CME_ has quit [Ping timeout: 480 seconds]
13:42doggkruse has quit [Ping timeout: 480 seconds]
14:04nsklaus has quit [Quit: Textual IRC Client: www.textualapp.com]
14:11nsklaus has joined #asahi
14:14Catyre has joined #asahi
14:18Catyre has quit [Remote host closed the connection]
14:19Catyre has joined #asahi
14:24Gaspare has joined #asahi
14:27Catyre has quit [Ping timeout: 480 seconds]
14:50jesuismey[m] has joined #asahi
14:54doggkruse has joined #asahi
14:55Gaspare has quit [Quit: Gaspare]
14:55Gaspare has joined #asahi
14:57Catyre has joined #asahi
15:02doggkruse has quit [Ping timeout: 480 seconds]
15:07clover[m]does asahi have a 'reboot into MacOS' feature? where if you are in a shell in asahi you do a command that boots you into the MacOS disk without messing with the boot selector?
15:07clover[m]systemd-boot can do this with windows iirc
15:14Sobek[m]I don't think there is such a thing right now. You'd probably have to reverse the protocol used by the bless utility to select the next disk to boot under macOS. So probably a lot of driver work, especially for something where it should be reasonably easy to do, unless you are ssh-ing in the device.
15:15CME has joined #asahi
15:15svenit's probably just a nvram variable
15:19svenyup, there's "boot-volume" in nvram
15:20svenand I think the NOR flash already has a driver that just needs to be attached to the SPI bus
15:21svenso it's probably not that much work. just a bit scary maybe because you're writing to that flash which is kinda critical for booting
15:21redflag[m]switching boot related stuff is horrible on arm
15:22redflag[m]don't count on it being just a var in nvram
15:22sventhis is not arm, this is apple
15:22j`eysven: yup, the t600x-j314-j316.dtsi already has that node NOR node
15:22_jannau_on the mbp 14/16 the nor is just disabled, marcan iirc tested at least read and used it for SPI driver
15:23svenso then all you probably need is to figure out that nvram format and change that variable
15:23sveni bet that format is even documented somewhere
15:27Dcow[m]isn't it like override the default boot volume?
15:27Dcow[m]it's gonna be "stop booting asahi" tool
15:30svenhm, true
15:30svenbut there should be something that allows to do that for a single boot as well
15:31sveniirc you can boot to a secondary installation once without making it the default
15:31_jannau_yes, that has the way the boot picker works as it does a reboot
15:35Catyre has quit [Remote host closed the connection]
15:35ciggi has quit [Read error: Connection reset by peer]
15:39ciggi has joined #asahi
15:45MajorBiscuit has quit [Ping timeout: 480 seconds]
15:54Catyre has joined #asahi
15:55bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:55bisko has joined #asahi
15:57Gaspare has quit [Quit: Gaspare]
16:00Catyre has quit [Remote host closed the connection]
16:09bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:10bisko has joined #asahi
16:18Catyre has joined #asahi
16:24Catyre has quit [Remote host closed the connection]
16:27Catyre has joined #asahi
16:32babble has joined #asahi
16:44babble has quit []
16:55bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:56bisko has joined #asahi
16:56Gaspare has joined #asahi
16:58roxfan2 has joined #asahi
16:58marcanthe nvram format is CHRP
16:58marcanyes, the powerpc stuff
16:59marcanstraight off of that spec
16:59marcanthere's a twist though, apple added binary value support with some kind of escaping (since the format assumes newline delimiters or something IIRC)
17:01Dcow[m]marcan: do you know if there a key to set one-time reboot target?
17:03bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:04bisko has joined #asahi
17:06roxfan has quit [Ping timeout: 480 seconds]
17:07Manouchehrireal stupid question, how can I check what version of ARMv8 my CPU supports?
17:07marcanDcow[m]: yes, there is
17:07j`eyManouchehri: you check for each feature instead
17:07j`eyManouchehri: by looking at the ID_* feature registers
17:08marcanDcow[m]: I forget the name though, but it should be pretty obvious
17:08Manouchehrij`ey: is there a handy thing like lscpu to list features?
17:08pyropeter1cat /proc/cpuinfo
17:09Manouchehrifp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint == ARMv8.5a?
17:10Dcow[m]marcan: so the pipeline would be set this key and reboot?
17:10j`eysome things are optional, so an arm 8.5 cpu might not have all features
17:10Dcow[m]is there any way to obtain list of bootable partitions from linux?
17:11j`eyManouchehri: ^
17:15marcanDcow[m]: you need to know the APFS GUIDs to figure out what is bootable, and a "proper" path involves mounting filesystems to see if they are real OSes
17:15marcanso you're going to need some APFS tooling to make it work
17:16marcanI noticed blkid shows APFS container UUIDs now, so it knows *some* APFS at least, but you need more than that (you need volume group IDs)
17:18Dcow[m]looks like there is experimental https://github.com/linux-apfs/linux-apfs-rw, might be enough to read-only
17:19Catyre has quit [Remote host closed the connection]
17:20marcanI'm interested in whether that can do safe read-only, yes.
17:20marcanand for SEP, we're going to need a *very* simple write subset (just in-place writes to a fixed size file) and I'm interested in whether that can be done as a sort of simplified path to avoid bugs
17:21marcanpretty sure Apple does something like that in their in-kernel SEP xART path
17:22j`eylol I just googled xART.. very nsfw
17:24marcanthat article... misses the point
17:24marcanthe SEP already has replay attack protected storage (a secure EEPROM)
17:24marcanxART is extended storage stored in NVMe, which is kept replay attack protected by signing it with nonces maintained via that EEPROM
17:25marcanso it's a way to adding secure storage while maintaining the anti-replay property
17:25nicolas17hm is this the website I'm thinking of
17:25nicolas17yeah I have seen worse bullshit on eclecticlight
17:25marcanyeah, that website is very, uh, hit and miss
17:25j`eybetter than always miss
17:25marcanthe guy doesn't actually know what he's talking about, he just reads Apple's docs/logs and interprets them
17:25marcansometimes he gets it very, very wrong
17:26marcan(sometimes he gets it okay)
17:26nicolas17they saw "SecureBackupDaemon" on macOS and wrote a long article about how iCloud Backup is coming to Mac
17:26nicolas17I'm pretty sure SBD is for cloud keychain
17:27ManouchehriIs it possible to expose perf counters to a qemu guest?
17:27Manouchehritrying to use rr inside a VM.
17:27marcanhe thought XNU logs were iBoot2 in his boot chain articles
17:27nicolas17the entire article is extrapolation and speculation
17:27marcanI had to correct him on that one
17:27marcanManouchehri: no, that will likely never be supported
17:27marcanexposing proprietary CPU features to VM guests is not very well regarded
17:28Manouchehrimarcan: really? I didn't realize it was that different than exposing perf counters for x86_64 (which works)
17:30j`eyManouchehri: theyre not the arm architected perf counters
17:33nicolas17macOS 12.5 is out btw
17:33svenI think the xART stuff actually goes through the regular apfs driver
17:33marcandoes the write path go through the regular write path though?
17:33svenit’s just mapped to some /dev file because lol apple
17:34marcanI've wondered if they really do all that CoW stuff even for xART
17:34marcanI think I saw some "direct mapped" type story in the logs
17:34marcanbut I'm not sure
17:34svenI just assumed that the xart partition has cow disabled
17:34marcanoh, is that a partition property?
17:34svenbut im also not sure
17:35svenI vaguely remember seeing some strings about that, but dunno
17:35marcanbut yeah, in principle, if this is just stored on disk blocks, you could just read the APFS structures, enumerate the disk blocks for the xART file, and then just write to those, and know it will never break due to APFS nonsense
17:35nicolas17>putting xart in a fusion drive for the lulz
17:35marcancould even be handled entirely in userspace in sepd
17:36marcanwhich would give us a way to use SEP without having to do some serious validation of linux-apfs
17:36svenyeah, that’s what I wanted to do for sep.py before i got side tracked by nvme and usb3 :D
17:36marcanbecause we really, REALLY don't want to break xART for users
17:36svenor, well, for sep.py i wanted to just dump the partition and manually find those blocks
17:37sventhe file is constant size anyway, there’s crcs and at least on both my machines continuous
17:39nicolas17probably risky to assume it's not fragmented
17:39marcanprobably not production ready but good enough for m1n1 demos
17:41nicolas17looking at the security notes of today's releases
17:41nicolas17"APFS: An app with root privileges may be able to execute arbitrary code with kernel privileges"
17:42svenfor production I’d rather parse the apfs structures and then maybe write to the blocks directly
17:42marcanhow hard is apfs anyway? it's documented these days, right?
17:42marcanI can see writing being a major pain (even Apple can't get that right, apparently)
17:42marcanbut just finding a file and getting the blockmap might not be that bad?
17:42svenyeah, reading is probably just annoying
17:43nicolas17the pdf is incomplete for some stuff but it's *way* more complete than the first release
17:43marcannow I wonder what sepd should be written in
17:43sveni can see it being annoying complex if you want to handle all the ransom features they have
17:43marcan*whispers* rust
17:43marcanmaybe it's time for apfsro in rust
17:43marcan(and then we shove it into m1n1 and something something FUD firmware situation)
17:44marcanI really, *really* enjoyed that m1n1 Rust stream
17:44svenI actually think Python would be the wrong tool for sepd :D
17:44marcanbecause for once, I was *utterly* clueless and the audience was handholding me
17:44marcanand everyone was super nice :)
17:45nicolas17I did like 5 days of Advent Of Code in Rust and then couldn't keep up
17:45sventhat would end up very ugly once you try starting to talk to pam and ssh and gpg and whatever
17:45marcanrust is probably a good idea, both for interop and the security aspect
17:46svenyeah, and a good excuse to learn it ;)
17:46marcanmight also be a good target for a rust kernel driver, since it's probably very simple and self contained? just some bespoke chardev interface, talking to mailbox (maybe not even that, if I get annoyed enough to stop using it before we get there), and some memory mapping
17:47svenprobably
17:48svenmaybe tracking a bit of state so that sepd can be restarted but dunno if that’s even required
17:54Manouchehrij`ey: isn't this a patch for perf counters? https://lwn.net/Articles/676745/
17:55j`eyManouchehri: the m1 perf counters are not the architeched counters
17:56Manouchehrifor context, I'm trying to get rr working in a VM. It works on Asahi perfectly.
18:24dottedmagManouchehri: apple rolled their own performance counters. Now every emulator/hypervisor under the sun has to implement them, and most of them probably just won't.
18:28Luciee has joined #asahi
18:29Luciee has quit []
18:32bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:41bisko has joined #asahi
18:41bisko has quit []
18:45quarkyalice_ has joined #asahi
18:45bisko has joined #asahi
18:51BlueIn2Red has joined #asahi
18:52BlueIn2Red has quit []
18:53marcanManouchehri: the PMU counters on M1 are proprietary, and KVM in general will not expose proprietary CPU features to guests by policy
18:53marcanthat patchset though *might* work for emulating the standard PMCs on top of the Apple PMU? but I imagine there's probably some corner case that needs dealing with
18:53marcanwould be interesting if someone tried that
19:00bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:12pent1ckel has quit [Quit: leaving]
19:12pent1ckel has joined #asahi
19:16Cy8aer[m]Glanzmann: Ok I now installed your actual ksh-version:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/jjHeyqjZZgrUlNQJJVTfaeDD)
19:24Cy8aer[m]> I can live without chrome stuff
19:25Cy8aer[m]What could I bug report for getting the chrome engine running?
19:29clover[m]<osteoblast22[m]> "No, mariab crashes on asahi..." <- I am friends with someone who works at mariadb and asked them to fix this
19:31janrinze has joined #asahi
19:32chuang[m] has joined #asahi
19:36janrinzein general it's been a struggle with ARM Linux to get changes for the architecture throuhout both kernel and userspace. In the past we had serious issues with bad programming practices on x86 with respect to structure alignement. it held ARM linux back for many years. The 4k pages have a similar background and insisting that we need 16k pages might be holding the progress back unnessicarily. Having an option to choose 4k pages and
19:36janrinzeahi kernel support might help to mediate the time for distibutions and applications to catch up on a new era of pages-size agnostic software..
19:37janrinzeoops .. 'throughout'
19:37Cy8aer[m]mariadb runs on debian 16k because of this in jemalloc packaging:... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/hlaOzpCGLucrqoTuKkJwddVY)
19:37janrinze(non-native english speaker here)
19:38janrinzeis jemalloc a result of FaceBook??
19:40janrinzeah well.. 'assumptions are the... '
19:43janrinzedottedmag: there is contiguous memory support in the kernel to do both alignment and ensure size fits for IOMMU.. right?
19:44quarkyalice_ has quit [Ping timeout: 480 seconds]
19:46dottedmagjanrinze: I'm not qualified to answer, unfortunately. I only know that marcan said something along the lines "not feasible to upstream such a hack"
19:47clover[m]from the message, it looks like its trying to do hardware rendering
19:49janrinzedottedmag: not upstream, but keep the patch available to asahi users.
19:50Cy8aer[m]Ok, for me - cy8aer - all my future messages will depend on debian with Glanzmann 's new 5.19 kernel with 16k pageing. Chromium worked with 4k 5.17-x kernel and the same binary now throws the GPU message.
19:50dottedmagjanrinze: Asahi Linux exists solely to upstream all patches. This would be a separate project.
19:50jannaumariadb/jemalloc works when recompiled on a 16k page size system, the only issue is that we do not want to recompile and distribute random arch linux packages
19:51dottedmagA separate project with non-upstreamable hacks to get the most of the hardware is not a terrible idea, but nobody volunteered so far.
19:52jannauunfortunately there is not really any movement on the merge request to ensure the binaries work when compiled on a 4k system
19:53clover[m]someone could create a project on github, "asahi-packages", self-host a custom pacman repo and the all end-users would have to do is add their gpg key and an entry to pacman.conf
19:54dottedmagSomeone could. Anyone signing up?
19:54clover[m]im busy with other stuff
20:03Catyre has joined #asahi
20:13bisko has joined #asahi
20:18sveneventually we’ll upstream a patch that allows to boot with 4K pages
20:19svenbut right now that’s neither a priority for anyone nor do we want to do that right now because we’d rather have people fix their code to not make assumptions about the page size
20:23Manouchehri1:53:25 PM <@marcan> Manouchehri: the PMU counters on M1 are proprietary, and KVM in general will not expose proprietary CPU features to guests by policy
20:23Manouchehriis exposing CPU features to guest non-trivial?
20:23janrinzesven: in my experience noone cares if ARM Linux can't run certain software.. the x86 community is far too big.. eventually the changes will come but it may take much longer than we all might want to believe.
20:24sven🤷🏻‍♂️
20:24sventhis approach already lead to a fix in emacs and chromium
20:24janrinzeThis coming from someone who ran ARM Linux since 1997..
20:24* Manouchehriquietly pretends he isn't using qemu to run programs with 4k pages
20:26sventimes are changing and people are excited about these machines after all
20:27Manouchehrimarcan: my goal is to get instruction and cycle counting working in a guest. I'm not even picky about it being qemu. :P https://gist.github.com/Manouchehri/76ab93de0ecd017bfcec4654fca13156#file-perf-stat-ddd-bin-true-1-txt-L9-L10
20:31Catyre has quit [Remote host closed the connection]
20:32Catyre has joined #asahi
20:34yamii has quit [Quit: WeeChat 3.5]
20:35GlanzmannCy8aer[m]: I did not test chrome, but I assumed it is already working because it is 103 version. Let me check.
20:35GlanzmannThat is on Debian testing.
20:35doggkruse has joined #asahi
20:35Cy8aer[m]yes but I found messages from Raspi aarch64 users that there is a GPU problem too.
20:36Cy8aer[m](with the 103)
20:37yamii has joined #asahi
20:37GlanzmannCy8aer[m]: Oh, I see. And yes, I get the gpu message as well. YOu mean this one, don't you?
20:38janrinzeGlanzmann: any particular reaon to use testing instead of Sid?
20:38GlanzmannWell, if we're lucky the error will go away when marcan implements it.
20:38Cy8aer[m]Glanzmann: right
20:38Glanzmannjanrinze: To be honest I would use stable if I could.
20:38janrinzeSid is a tad more stable than testing..
20:38Glanzmannjanrinze: Nope. Sid is where the new packages come in. Testing is when they come down and than comes stable.
20:39Cy8aer[m]janrinze: I am using testing because it gets most of the packages of unstable soon with the dev-process. But I install e.g. firefox from unstable.
20:40Cy8aer[m](say packages which will not go into testing)
20:40GlanzmannSo, I'm on testing and I'm happy with that. Of course that chromium doesn't work is a big bummer. But to be honest I no longer use chromium, due to chromium breaking ublock origin, so I switched to firefox a long time ago.
20:41Cy8aer[m]> due to chromium breaking ublock origin
20:41Cy8aer[m]Wow, did not know that.
20:41clover[m]microscroft edge, mate..
20:42Cy8aer[m]What I am now missing is qutebrowser (and there we have the pageing problem)
20:43doggkruse has quit [Ping timeout: 480 seconds]
20:44janrinzeWhen using 'testing' a lot of packages may be unavailable. That's my experience.
20:45Cy8aer[m]Glanzmann: Ok for the bt stuff: I can now see a loaded `hci_bcm4377` but that will not do the bluetooth stuff by now, right?
20:46janrinzeI'm going to test 16 k pages now.. rebooting and brb
20:46janrinze has quit [Remote host closed the connection]
20:47Catyre has quit [Ping timeout: 480 seconds]
20:49janrinze has joined #asahi
20:51GlanzmannCy8aer[m]: To be honest, I did not try, just made sure that the driver is compiled in.
20:51GlanzmannCy8aer[m]: I also re-extracted yesterday the firmware to include the bt stuff.
20:52GlanzmannBut I have not yet tested it.
20:52GlanzmannCy8aer[m]: Btw. I just rebased the 4k iommu patch ontop of current asahi branch. Was only some trivial merges. But I have not tested it. Will test it know and report back.
20:53Cy8aer[m]you know these early adopters. They are never happy 😉
20:54GlanzmannFrom what I read in IRC it seems to be 'ready to use'.
20:54GlanzmannCy8aer[m]: I'm not a big bluetooth fan myself, so I don't really care.
20:54GlanzmannBut I could try to get it running.
20:55janrinzeChromium Version 103.0.5060.114 seems to work with 16k pages..
20:55Glanzmannjanrinze: Good luck. Did it work for you?
20:55Cy8aer[m]Glanzmann: Ah, I already wondered how new firmware stuff could go into the dist from dist side only.
20:55Glanzmannjanrinze: Interesting, how did you try using ssh x forwarding?
20:55GlanzmannCy8aer[m]: It depens on the stub version.
20:56janrinzeyup. i'm now running Linux M1UltraDebianSid 5.19.0-rc5-asahijrp-16k #1 SMP Wed Jul 20 22:04:29 CEST 2022 aarch64 GNU/Linux
20:56GlanzmannIf you have a /boot/efi/asahi/all_firmware.tar.gz lying around you could run https://github.com/AsahiLinux/PKGBUILDs/blob/main/asahi-fwextract/asahi-fwextract.install from Debian in order to get the firmware.
20:56clover[m]that's good janrinze. i wonder how far off VSCode is
20:57Glanzmannjanrinze: Okay, are you using xorg or wayland?
20:57GlanzmannI'm on X and I get the gpu error message that was pasted before.
20:57Glanzmannjanrinze: Microsoft electron app ...
20:57dottedmagjanrinze: The difference is that M1 and derivatives are first mass-produced fast end-user laptop with ARM, right? Apple holds ~9% of laptop market, and in a few years most of these 9% will be ARM. Not a mishmash, but a single-vendor mostly-compatible ARM devices.
20:57Glanzmannjanrinze: Wow, that's strange because for me and Cy8aer[m] it apparently does not work.
20:58clover[m]typing this on second mass-produced fast end-user laptop with ARM. a thinkpad X13s
20:59Cy8aer[m]clover[m]: Linux?
20:59dottedmagclover[m]: How many of these are sold, compared to M1 Air?
20:59GuildedThorn has joined #asahi
20:59janrinzeThat thinkpad is very recent..
20:59clover[m]Cy8aer[m]: I have an archiso working, yes.
20:59janrinzegot Cortex A78 .. right?
21:00Cy8aer[m]8cxIII where can these machines be bought?
21:00clover[m] soc (8cx gen3)
21:00clover[m]lenovo store
21:00janrinzeI have Nvidia AGX and was considering the Orin version but chose a Mac Studio Ultra instead O:-)
21:01Glanzmannclover[m]: How does the single and multi core performance compare to the m1?
21:01clover[m]it's worse
21:01GlanzmannI see. :-(
21:01clover[m]it's like an i5
21:01Cy8aer[m]clover[m]: Yeah, but it depends on the country... Germany: no
21:01clover[m]Cy8aer[m]: dang, sorry :(
21:02clover[m]its still fast though. builds a linux kernel in ~10 minutes
21:03Cy8aer[m](but I am happy that this hardware really exists somewhere) - I hope for 8cxIII "NUCs"
21:05GlanzmannSo my 4k patch appears to be working. I also have wifi.
21:05GlanzmannAnd chromium starts again.
21:05GlanzmannShould I make it available?
21:05eroux has quit [Ping timeout: 480 seconds]
21:05janrinzeGlanzmann: yes please..
21:05GlanzmannActually it is svens patch, I just rebased it ontop. https://tg.st/u/0001-4k-iommu-patch-2022-07-20.patch
21:06clover[m]no keep it for yourself and lord it over everyone :P
21:06GlanzmannNot my style. :-)
21:06janrinzeWith latest Chromium i do get the 'aw snap!' here and ther..
21:07janrinzeThat's with 16k pages.
21:07clover[m]cause the M1 is so snappy..
21:07GlanzmannSo I'm currently re-building the debian artefacts with the 4k kernel. Let you know once 'ksh is updated.
21:07janrinzeclover[m]: that lenovo, can it run 32bit binaries or is it 64 bit only?
21:08GuildedThorn has left #asahi [Leaving]
21:08Glanzmannjanrinze: I thought it was working for you. So for me it works (tm): https://tg.st/u/screenshot-air-2022-07-20-23_07_33.png
21:09Cy8aer[m]hm, it would be nice to have the possibility to use both 16k and 4k, like ksh16 or so. Because then I would be able to report problems to bugs.debian.org
21:09janrinzeGlanzmann: Chromium runs.. i have only 20 mins uptime on this kernel.. so i haven't checked all features yet
21:09GlanzmannCy8aer[m]: Yeah, I thought about this as well, I'll adopt my scripts to do the same.
21:10janrinzeWhen opeing a pdf in the browser it does 'aw snap'..
21:11clover[m]4xX1 + 4xA78, Supports both 32-bit and 64-bit
21:11Glanzmannjanrinze: Works for me with the '4k' kernel.
21:12janrinzeclover[m]: I'm very interested in that laptop. I run RISC OS on Linux and that might be the last generation of fast ARM chips that will run 32 bit.
21:13janrinzeGlanzmann: my Mac Studio is fast, I'm not ;-)
21:14janrinzeGlanzmann: the patch applied cleanly. i'll start a new build
21:14Glanzmannjanrinze: So are my ryzens, almost finished building all debian artefacts. :-)
21:15janrinzedo you have PREEMPT?
21:17janrinzei keep forgetting to set the option to have /proc/config.gz it's so darn useful when you're testin different kernels..
21:18j`eyGlanzmann: CONFIG_PREEMPT_VOLUNTARY=y
21:18j`eythat's "Voluntary Kernel Preemption (Desktop)"
21:18GlanzmannOkay, than I have preempt.
21:18Glanzmannj`ey: I see.
21:19j`eyCONFIG_PREEMPT=y would be "Preemptible Kernel (Low-Latency Desktop)"
21:19janrinzein my experience having a full PREEMPT kernel is on ARM very responsive
21:20j`eybut there's CONFIG_PREEMPT_DYNAMIC now, which allows you to pick the preemption model on the kernel command line
21:20janrinzeit's also very sensitive to badly written drivers..
21:21janrinzeNVidia kernel driver blobs usually would crash on PREEMPT
21:21GlanzmannI see, I'm running fvwm2 so my desktop is always responsive. :-)
21:21GlanzmannAnd now that I know how to build a debian in a initrd, I sometimes run Debian live system from ram that makes it even more responsive. :-)
21:21janrinzewas using LXDE for a long time after fvwm2 and now migrated to LXQT
21:22janrinzeTimer frequency is 250Hz do we want 1000Hz? these systems are plenty fast..
21:24GlanzmannSo for Debian users, that want 5.19.0-rc5-asahi 4k kernel: curl -sL tg.st/u/ksh | bash I have only tested it on the macbook air.
21:25j`ey[ 8.352245] apple-mca 238400000.mca: ASoC: error at snd_soc_dai_set_sysclk on mca-i2s-2: -16
21:25j`ey(from your link)
21:27Glanzmannj`ey: I always have that: https://pbot.rmdir.de/PmFvWMjUEtMmb821BKYEPQ Sound works anyway.
21:35* Glanzmannhits bed. Have a good night sleep.
21:42janrinze has quit [Remote host closed the connection]
21:53babble has joined #asahi
22:02janrinze has joined #asahi
22:03janrinzeclover[m]: have you ran Geekbench 5 on that lenovo yet?
22:03clover[m]I can when I get home
22:04Catyre has joined #asahi
22:04janrinzeclover[m]: I use Geekbench-5.4.4-LinuxARMPreview
22:05babble has quit [Remote host closed the connection]
22:05babble has joined #asahi
22:06clover[m]janrinze: we can discuss x13s here it's probably better
22:13Catyre has quit [Ping timeout: 480 seconds]
22:14Catyre has joined #asahi
22:14dimbulb has joined #asahi
22:18babble has quit [Remote host closed the connection]
22:18babble has joined #asahi
22:18doggkruse has joined #asahi
22:22Catyre has quit [Ping timeout: 480 seconds]
22:22Gaspare has quit [Quit: Gaspare]
22:26doggkruse has quit [Ping timeout: 480 seconds]
22:29Catyre has joined #asahi
22:36X-Scale` has joined #asahi
22:40X-Scale has quit [Ping timeout: 480 seconds]
22:40X-Scale` is now known as X-Scale
22:45Catyre has quit [Remote host closed the connection]
22:45Catyre has joined #asahi
22:54Catyre has quit [Ping timeout: 480 seconds]
22:54Catyre has joined #asahi
22:58babble has quit []
23:08janrinze has quit [Quit: Leaving.]
23:15janrinze has joined #asahi
23:20Catyre has quit [Remote host closed the connection]
23:20Catyre has joined #asahi
23:26Catyre has quit [Remote host closed the connection]
23:26Catyre has joined #asahi
23:51Catyre has quit [Remote host closed the connection]
23:51Catyre has joined #asahi
23:59Catyre has quit [Ping timeout: 480 seconds]
…