#
…

2022-03-11

00:07zvhey so the GCC compile farm is preparing an announcement about the new M1 hardware being made available to the public, and we are also planning to coordinate an announcement with LWN to spread the news. I know Asahi is planning a blog post soon--any idea when that will drop? It will be good to have that happen first so everyone gets the newest information.
00:07zvmarcan: Glanzmann: ^
00:11zamadatix has joined #asahi
00:15al3xtjames has quit [Quit: Ping timeout (120 seconds)]
00:15al3xtjames has joined #asahi
00:16zamadatix has quit [Quit: Leaving]
00:22chadmedid imagine it would coincide with the alpha release of the installer, which is happening very soon. marcan's been tying up some release engineering loose ends and adding some nice-to-have functionality to m1n1 so that distros/users can upgrade it, u-boot and their dt as they please without changing the boot policy every time
00:44yuyichao_ has quit [Ping timeout: 480 seconds]
01:14Gue___________________________ has joined #asahi
01:20Gues__________________________ has quit [Ping timeout: 480 seconds]
01:34yuyichao_ has joined #asahi
02:04riker77_ has joined #asahi
02:07matthewayers[m]Does anyone have any recommendations for a desktop environment? I'm a little tired of GNOME and I haven't quite decided to go back to KDE yet.
02:09zvlxqt?
02:09riker77 has quit [Ping timeout: 480 seconds]
02:09riker77_ is now known as riker77
02:11matthewayers[m]I'll look into it
02:39minkuu[m] has joined #asahi
02:43minkuu[m]I’m a noob but I’d like to learn pls teach me
03:01chadmedthe wiki is a good place to start
03:05emergenz[m]<minkuu[m]> "I’m a noob but I’d like to learn..." <- also I think the book linux device drivers might be a good starting point
03:06emergenz[m]for the fundamentals
03:23bluetail[m]<matthewayers[m]> "Does anyone have any recommendat..." <- Debian-11.2+cinnamon
03:23phiologe has joined #asahi
03:24minkuu[m]<chadmed> "the wiki is a good place to..." <- I will definitely look!
03:27PhilippvK has quit [Ping timeout: 480 seconds]
03:33kov has quit [Quit: Coyote finally caught me]
03:33kov has joined #asahi
04:19marvin24 has joined #asahi
04:22marvin24_ has quit [Ping timeout: 480 seconds]
05:02bluetail[m]with debian linux on the mac, I should theoretically have more privacy and if properly configured, more security.
05:02bluetail[m]Planning in addition to what I use already to use the mac mini also as 'pihole' https://pi-hole.net/
05:02bluetail[m]But mostly it will be a media server with a couple of services (locally)
05:10zv> more privacy and if properly configured, more security. // as opposed to?
05:11bluetail[m]bare macOS. Don't they share at least some structural information of what files I have et cetera? Prism Peak org states that Apples ecosystem is part of NSA's surveillance network.
05:11bluetail[m]I dont have proof for the opposite.
05:12zvnot really a debate I want to get into but I would not take Linux or any distribution thereof to be secure if I'm not aware of and in control of every single aspect of the system.
05:13bluetail[m]Doesnt that go for any system? I'm just trying to make the best out of my privacy and security. Of course I wouldn't want a Windows OS for that purpose..
05:14zvI mean, if I'm exposing something to the Internet I'd probably go for a mainframe
05:15bluetail[m]I don't get that reasoning. How does a piece of hardware relate to operating systems?
05:15bluetail[m]Wouldn't you just try to grant as little privilege as possible and don't use internet if possible?
05:17zvmainframe + accompanying operating system + bulletproof configuration. anyway off-topic so I'll sit this out.
05:18bluetail[m]#_oftc_#asahi-offtopic:matrix.org
05:56gladiac has joined #asahi
06:03marcanzv: I'd love to get a release out this weekend/monday, though it depends a bit on how well this weekend goes with tying up loose ends
06:03marcanbut given chainloading is in place I'm less worried about fixing things after the fact, so that should make things happen Pretty Soon Now
06:05marcan5.17.0-rc6-asahi-next-20220301-25570-gc09fe28af1d3 <- nice
06:06eroux has joined #asahi
06:06marcanit says 4 cores / 4 threads though, that sounds wrong? it should be 8/8 unless you're completely ignoring the E-cores
06:07Gue___________________________ has quit [Quit: Textual IRC Client: www.textualapp.com]
06:18zvmarcan: yeah we'll fix the 4/4 tomorrow. I think baptiste is pulling from /proc/cpuinfo and not getting the weird output format for this big/little configuration
06:18zvthis weekend or early next week is fine, just be in touch please.
06:19zvmy goal is to help y'all as much as possible
06:32matthewayers[m]Glanzmann: I was able to get everything up and running with the installer, but just out of curiosity, do you have a list of the packages you included with Debian available anywhere? There are some packages on there I was really surprised to see and I’m not sure if they were part of the install source files or if a desktop environment decided to give them to me.
06:34GlanzmannI included some extra packages in order to be able to fix problems if anything does not go smoothly.
06:35GlanzmannOh and firmware-linux.
06:42matthewayers[m]Glanzmann: Got it, thanks! Also, do you know how the system would've gained Wordpress themes? I looked through the packages earlier and noticed that Wordpress was installed. I don't see it in the file you sent but thought I'd ask to be sure.
07:07Glanzmannmatthewayers[m]: No, I don't install wordpress.
07:11matthewayers[m]I figured. I'm guessing KDE or one of its dependencies decided to do that then.
07:11matthewayers[m]* I figured, just wanted to be sure since it was a bit odd to see. I'm
07:14the_lanetly_052 has joined #asahi
07:21j`eyzv: can you link to the CI/builder/whatever page?
07:22ChaosPrincess has quit [Ping timeout: 480 seconds]
07:22Glanzmannj`ey: I found it, you do a whois on zv than there is hostname you go there.
07:23GlanzmannAnd than klick on blog.
07:25marcanzv: great, I'll let you know once the date is set! thanks!
07:32marcanzv: also fwiw, apparently Amazon has servos pressing the power switch for their Mac Minis in the cloud so... yeah :-)
07:32marcannot the most remote management friendly machines
07:32marcanthough I hope to work out a way to handle the LOM features of the 10G model with FOSS in the future
07:32marcanoh, that was already mentioned, sorry
07:34marcanalso, if you have a PDU/switch and you want to be ultra safe, you could blacklist the macsmc-reboot module (which you might not even have in that kernel); reboot will still work using the watchdog driver as a fallback, but clean shutdown will be impossible at least from linux, which I guess is a good thing for you :)
07:34marcanthat module also lets you (when loaded) configure power restore on AC loss via sysfs, so you could set it once then blacklist it
07:38matthewayers[m]<marcan> "zv: also fwiw, apparently Amazon..." <- Sounds like they became an enterprise customer for Switchbot :)
07:39VinDuvIIRC macvdmtool reboot is able to start up a MBP from normal$ shutdown
07:39GlanzmannI'm quiet excited what amazon does with the m1 mini, it is in beta now but probably will be released soon.
07:39GlanzmannHow they manage to boot it.
07:39VinDuvnot sure if it works with the mini though
07:41jannauit doesn't work on the mini
07:44marcanI've gotten it to work on the mini in the past, but there seem to be different kinds of shutdown state; it was a long time ago and I don't remember exactly how that worked
07:44marcanif it can't be made to work from a shutdown state coming from cold AC power up though, it's not very useful unfortunately
07:44Glanzmannmarcan: Which file controls the power loss action?
07:45marcanI'm not booted but just grep /sys for macsmc-reboot, it has an obvious name
07:45marcanand is self-documenting
07:57MajorBiscuit has joined #asahi
08:00Major_Biscuit has joined #asahi
08:07MajorBiscuit has quit [Ping timeout: 480 seconds]
08:14kajiryoji has joined #asahi
08:27joske has joined #asahi
08:28kenzie35 has quit []
08:29kenzie35 has joined #asahi
08:31kenzie35 has quit []
08:31marvin24_ has joined #asahi
08:33kenzie35 has joined #asahi
08:33kenzie35 has quit []
08:35marvin24 has quit [Ping timeout: 480 seconds]
08:36kenzie35 has joined #asahi
08:45johey has quit [Ping timeout: 480 seconds]
08:46ChaosPrincess has joined #asahi
08:48the_lanetly_052 has quit [Ping timeout: 480 seconds]
08:52johey has joined #asahi
08:53zorun has joined #asahi
08:56johey has quit []
09:01johey has joined #asahi
09:03clrwf0x80 has joined #asahi
09:13zorunwe just announced the M1 machine availability on the compile farm: https://cfarm.tetaneutral.net/news/38
09:14zorun09:12:41 up 16:28, 12 users, load average: 15.80, 9.90, 4.93
09:15zorunit's already being used :)
09:17zorunthanks for your work on Asahi, and thanks zv for connecting the two projects!
09:24Glanzmannzn / zorun: Btw. you're currently using a 4k page size kernel, if you're using it mainly for compiles, maybe you should switch to a 16k kernel.
09:25GlanzmannThat will give you more performance, but the following software has known bugs with 16k page size: https://github.com/AsahiLinux/docs/wiki/Software-known-to-have-issues-with-16k-page-size
09:26marcanzv was asking about our release to coordinate with the announcement :')
09:27Glanzmannmarcan: We need to release right now.
09:27marcanuh... no :p
09:28zorunit's most an internal announcement to our users (although we do publish it on the website)
09:28zorunwe were thinking of synchronizing for a larger announcement, talk to LWN, etc
09:29zorunmostly*
09:30zorunGlanzmann: ah, interesting. we probably need more hardware to provide several combinations of kernel parameters and userspace ;)
09:32marcanmakes sense!
09:33zorunif I understand correctly, 16K is the default for the hardware, but 4K is the default for the kernel on aarch64?
09:35zorunideally we provide what will end up being the "standard" configuration for people using the same hardware / software
09:35chengsun has joined #asahi
09:35zorunbut providing a configuration that exposes bugs is also interesting :)
09:35j`ey4k is what distributions default to, since its the page size on x86 and what most Arm CPUs support
09:36sventhere’s a decent chance that internal announcement will end up on hacker news anyway ;)
09:36j`eyThe reason we've used 16K for a while is that linux doesnt support a page size mismatch betwwen CPU and IOMMU
09:38zorunok, sorry if it puts pressure on you then ^^ we were quite excited to have it up and running without major issues
09:39svennah, no worries :-)
09:39svenI’m happy about everyone who uses our work
09:39marcanin the end we're going to offer both options and other distros probably should too
09:41espomorning :)
09:42chengsun_ has quit [Ping timeout: 480 seconds]
09:44matthewayers[m]Morning :) I haven't slept since Wednesday night (US Eastern Time)
10:03marcanzorun: IIRC someone benchmarked compiles at 20% faster on 16K, which is kind of ridiculous and deserves further research
10:03marcanOTOH there is software out there that does silly things like assume compile time page size == runtime page size
10:04marcanboth have merits either way; 16K is always going to be faster to some extent even if we figure out a solution for that large gap, and 4K is the only way to e.g. emulate x86 software sanely
10:04arndmarcan: I did those benchmarks last year and mentioned the numbers here. I don't remember if it was 20% or a bit less, but it was definitely more than I had expected
10:05mazmarcan: it is the sort of speedup you'd see if 4kB resulted in only using a quarter of the cache...
10:05marcanthat is... a good point
10:05marcanbut would apple really do that?
10:05marcanfor rosetta?
10:05marcanI don't buy it
10:06arndmaz: when I did microbenchmarks, everything seemed to indicate that it was using the full 128KB of L1 and it had hte same latency regardless of page size
10:06marcanit is of course possible that rosetta pokes some other magic sysregs to make it not suck at 4K
10:06arndbut it's possible that there is something else going on that makes the microbenchmarks look better than real-world workloads
10:07mpsarnd: I benchmarked few times build kernel and some other software
10:07mpswith 4K it is around 20-25% slower
10:08_jannau_I saw a difference of 10% between 4k and 16k with kcbench (linux 5.15 defconfig) on the m1 max
10:08mpsbuild some other programs it is about 15% slower
10:08arndI think when I tested the same on EC2, the 16KB numbers were not quite as good. IIRC something like 18% speedup for 64K pages and 15% for 16KB pages
10:08marcanah, so it's not just apple
10:08mpsso all in all it varies between 10 and 25 percents
10:09marcanthis seems pretty extreme though
10:09arndI may also be misremembering things
10:09_jannau_and I think axboe saw around 15% difference
10:09marcanlike either there is some big cache difference, or TLB thrashing really is a lot worse with 4K
10:10arndthe flip side is that a lot of hardware just doesn't support 16KB, and the extra memory overhead for 64KB pages is crazy.
10:10arndj`ey: ah, thanks for digging that out
10:11mazI remember running axboe's io_uring test, and consistently getting a 20% difference between a 4k guest and a 16k guest, the host system using 16k.
10:11arndok, so only 10% improvement with 16KB pages, or 12% with 64KB pages
10:14arndand 16% on M1, which can be a combination of the differences in L1 cache behavior and TLB layout between M1 and N1
10:16arndThere is likely also a difference between VA_BITS_36/39/47/48
10:19arndthe default for both is 3-level tables (39 and 47), but comparing two-level 16KB tables (36 bits) against four-level 4K tables (48 bits) would skew this even further towards the 16KB pages
10:43eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:58johey has quit [Quit: ZNC 1.8.2 - https://znc.in]
10:59johey has joined #asahi
11:19ciggi_ has quit [Ping timeout: 480 seconds]
11:26eroux has joined #asahi
12:05johey has quit [Quit: ZNC 1.8.2 - https://znc.in]
12:06johey has joined #asahi
12:17HagenSchrder[m] has joined #asahi
12:19darkapex has quit [Quit: WeeChat 2.3]
12:23j`eymatthewayers[m]: lets move it here, that's more for dev stuff
12:24j`eymatthewayers[m]: sometimes it comes up, sometimes it doesn't. if you type 'ip a' into a terminal, can you see wlan0 or the enlsplslp0 whatever interface
12:29darkapex has joined #asahi
12:40darkapex has quit [Remote host closed the connection]
12:41darkapex has joined #asahi
12:45kajiryoji has quit []
12:46kajiryoji has joined #asahi
12:57amarioguy has joined #asahi
13:10kajiryoji has quit []
13:11kajiryoji has joined #asahi
13:25eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:27ChaosPrincess has quit [Remote host closed the connection]
13:29amarioguy has quit [Ping timeout: 480 seconds]
13:31* kovsaw the discussion in -dev, a few comments:
13:32kovI've tested both Debian and Fedora, both are working quite well, I have only very very very rarely seen the WiFi issue, I have brcmfmac compiled as a module, both on Debian and Fedora with Gnome
13:33kovGnome had 2 big issues since I started using it on M1, first on a VM, then on actual hardware; there was a crash on startup on a gnome-shell component caused by code that only worked on amd64, I fixed that months ago, and then anything using webkitgtk would crash with the 16k kernel (evolution, builder, online accounts, etc), that has been fixed as well
13:35opticronI've never seen the wifi issue on debian on the 14" m1m
13:38kovyesterday I did a full reinstall of fedora on my Air, no issues found so far, both of my fixes made it to fedora 35 already, so all reasonably recent distributions and DEs should work out of the box with asahi
13:39kovoh, all of that using the default for fedora which is NetworkManager, I have tested offline upgrades which use the UEFI infrastructure, kernel upgrades etc, everything seems to be working
13:42kovfor debian I'd recommend using at least testing, probably sid would be a better bet tbh, as it is more likely to have fixes such as the webkit one in the short term
13:56agrafarnd: wrt <arnd> the flip side is that a lot of hardware just doesn't support 16KB
13:56agrafarnd: How hard would it be to have 4kb granule fallback code in Linux if PAGE_SIZE is 16kb?
13:57agrafarnd: so that you could build a kernel that has PAGE_SIZE=16kb, but still runs with 4kb granule configs
13:57j`eyagraf: unrelated but parallels hit the same issue as qemu on the ID_AA64ISAR2 register issue :D
13:57arndagraf: not worth it, the mm code is built around knowing the page table layout at compile time, trying to make it a runtime thing would add a ton of complexity and runtime overhead where we don't want it
13:58arndthe leaf pages would be fine, but the higher-up page tables would not
13:58agrafj`ey: Hah :)
13:59agrafarnd: I wasn't thinking of actually making anything a runtime thing. You would basically create alternatives for the fault handler and PTE modification code. I guess a lot of that is super deeply engrained on arm64 though :/
14:00agrafarnd: So my thinking was that the Linux internal page tables would still be the 16kb format basically
14:00amarioguy has joined #asahi
14:01agrafarnd: and then you would do alternatives for pte removal/modification and tlb invalidations. I agree that it's probably going to become very messy very quickly and is probably not worth it
14:01agrafEspecially since 16kb doesn't give you any functional benefit. It's not like you get more PA bits like with 64kb
14:02arndyes, that was exactly my point: shadow page tables are really expensive to do
14:03agrafPoint taken :)
14:04arndyou could probably do it on powerpc (with hashed tables) or on loongarch (with software tlb), but not on architectures where Linux accesses the hardware page tables directly
14:30Glanzmannkov: Did I understand that correctly, you submitted patches for fedora for the 16k issues that you found and they applied them?
14:33_jannau_no, for gnome and webkitgtk, patches were submitted to upstream projects and fixes are in fedora 35
14:33Glanzmannjannau: I see.
14:33Glanzmannkov: Can you point me to this fixes, than I open a bug with debian to pull them in.
14:38yuyichao_ has quit [Ping timeout: 480 seconds]
14:41joske has quit [Remote host closed the connection]
14:46nico_32 has quit [Remote host closed the connection]
14:48nico_32 has joined #asahi
14:56ChaosPrincess has joined #asahi
14:56yuyichao_ has joined #asahi
15:12bisko has quit [Read error: Connection reset by peer]
15:29ivabus[m] has joined #asahi
15:53amarioguy has quit [Ping timeout: 480 seconds]
15:56amarioguy has joined #asahi
15:57tohatsu[m] has joined #asahi
15:59Major_Biscuit has quit []
16:02kovGlanzmann, that is already on the 2.34.6 stable release
16:03kovthe gnome one was unrelated and is from a bunch of months ago, I have not seen any crashes in my testing with debian's gnome so I assume the fix is already in
16:05matthewayers[m]Looks like the 25+ networks around me are all figments of my imagination… ;)
16:06j`eymatthewayers[m]: can you run 'ip a' in a terminal?
16:08matthewayers[m]Please excuse my primitive pastebin
16:10j`eyso does ping work?
16:10j`eyyou have an IP it seems
16:11matthewayers[m]Ping fails and when I try to curl something like Google it fails to connect to server
16:12j`eywhat about pinging your routers IP?
16:14tohatsu[m]Hi guys. I want to boot Debian from USB on Macbook M1. Is it possible to do without internal linux partition?
16:15ivabus[m]I think it is not possible, because iBoot can't boot from external devices, so you will need at least bootloader partition
16:15jannautohatsu[m]: depends what you understand as internal linux partition. the devices bootloader can not boot from external devices and need a 2.5G stub partition
16:16jannauthe linux data partition (and linux boot loader partiton) can be on the usb device
16:18matthewayers[m]j`ey: I’ll try that in about an hour or so when I get out of class. Thanks for your help so far!
16:21tohatsu[m]ivabus: jannau thank you. Debian on USB stick persistent?
16:21tohatsu[m]from tutorial on GitHub
16:22mpsjannau: isn't it possible to install m1n1+dtbs+u-boot on the macos, without touching internal disk
16:23mpsI did something like this about year ago when tested corellium
16:24svenit’s still going to write that to the internal disk
16:24tohatsu[m]mps: that's why i was asking. corellium tutorial doesn't mention to partition internal disk
16:24jannauhow does that not touch the internal ssd? Macos doesn't boot after that anymore and you have to go through 1tr to switch between linux and macos
16:24mpsjannau: yes, that's true
16:24leo60228 has quit [Ping timeout: 480 seconds]
16:25mpsI think tohatsu[m] asked to not change disk partition
16:25leo60228 has joined #asahi
16:26jannauI think so too but I suspect the goal behind that is to not touch the macos installation
16:27tohatsu[m]not to change disk partition and be able to boot from USB on another M1 device without problems
16:29mpstohatsu[m]: I think this is possible but I didn't tested for one year if there are some issues after I tested this
16:29jannautohatsu[m]: every apple silicon device has to be prepared to use linux from the usb stick. you cann not prepare it on one device and than boot it on another one
16:29mpsor I don't understand question
16:31tohatsu[m]the goal is to be able to boot from USB stick on any M1 device by entering 1tr and switching boot target manually
16:34mpstohatsu[m]: if you install m1n1+dtbs+u-boot on macos partition (i.e. not creating separate stub for linux) you can not then select boot device by simply entering 1TR
16:34bluetail[m]live boot stick? would be great as one could pre-install in persistence but never actually install a OS
16:37yuyichao_ has quit [Quit: Konversation terminated!]
16:37tohatsu[m]mps: how do you choose then?
16:38yuyichao has joined #asahi
16:39jannauI don't think this a practical solution if you intend to use te macos installation
16:39george has joined #asahi
16:40kovtohatsu[m], mps don't think that's accurate, you'd have to enter the options, open a terminal and effectively remove the custom kernel (m1n1+uboot+...)
16:40george is now known as Guest1894
16:40jannauyou have to use 1tr and switch the security state every time you want to switch back to macos
16:41tohatsu[m]jannau: bputil -n for Mac Os and bash script to load macho for Linux ?
16:41kovjust set up the stub partition tbh, it'll be safer and more practical
16:42jannaufor installing m1n1+uboot one could use the same autorun installer trick we now use for the asahi installer
16:42kovthen you just choose which volume to boot from instead of having to go into 1tr and opening a terminal
16:42Guest1894Does anyone know when the alpha installer is likely to be released? Saw on twitter that it would be soon
16:43jannaubut you still have to enter the admin password every time you want switch between macos and linux (and back)
16:43j`eytohatsu[m]: it's a lot of work to just not resize the internal disk by -2.5G :P
16:44jannauGuest1894: no, there a still a few release blocking things
16:44creechy has joined #asahi
16:45Glanzmannmatthewayers[m]: ping does not work as user on Debian, can you try as root. The reason is that the kernel is missing a feature.
16:45jannauit's not far off though, let's hope it's before marcan get's their m1 ultra mac studio
16:46Guest1894 has quit []
16:49j`eymarcan: I learnt a new git command just now: git range-diff asahi/asahi-soc/prev..asahi asahi/asahi-soc/next..asahi/asahi good way to compare the new/old branches even after a rebase
16:49j`ey(where 'asahi' is my local not-yet-updated branch)
16:49creechy has quit [Quit: WeeChat 3.4]
16:50creechy has joined #asahi
16:51bluetail[m]didnt git change to recommending gh instead of git?
16:51george147 has joined #asahi
16:52george147Is something like this completely different to asahi? https://www.corellium.com/blog/linux-m1
16:52bluetail[m]george147: different team
16:52svengithub != git
16:52creechy has quit []
16:52george147Right, and by the looks of it doesn't have anywhere near as much hardware support
16:53j`eythey did an initial quick port, and abandoned it
16:53jannauone time quick publicity stunt of a company, obsolote by now
16:54george147 has quit []
16:54creechy has joined #asahi
16:55creechy has quit []
16:55creechy has joined #asahi
16:56creechy has quit []
16:56creechy has joined #asahi
16:57arvind has joined #asahi
16:58arvindHey is this the asahi linux group working on porting m1 to linux?
16:58creechy has quit []
16:59creechy has joined #asahi
16:59arvindGreat. This might sound obvious but do you need a m1 in hand to work on asahi?
16:59j`eyprobably
17:06tohatsu[m]big sur 11.6.3 won't boot Debian USB?
17:08tohatsu[m]does OS version even matter if boot with 1TR ?
17:11tpw_rulesyes, you have to upgrade to 12.1
17:21Glanzmannmarcan / j`ey: Any new additional features in the new asahi rebase?
17:22jannauperformance counters
17:22marcanand a breaking change to aic2/t6000
17:22marcanneeds dt update
17:23j`eyand a few of the s2idle fixes
17:26GlanzmannI see. I rebased the 4k patch (it had a small trival reject): tg.st/u/0001-4k-iommu-patch-2022-03-11.patch
17:26GlanzmannWell than I'll try this tree with the 'debian distro config' and see if it works for me.
17:34limegorilla[m]Hi everyone! Not too sure where to start, and I’m probably not skilled enough to do dev work, but I’m looking to help out where I can. I’m pretty good at diagnosing, running POC where the exact steps are unclear and clearly writing documentation for end users.
17:34limegorilla[m]Is there anything I could work on?
17:40amarioguy has quit [Ping timeout: 480 seconds]
17:44roxfan has quit [Remote host closed the connection]
17:47roxfan has joined #asahi
17:50j`eylimegorilla[m]: wait for the alpha release and install and use that is the best thing probably
17:52amarioguy has joined #asahi
17:55Glanzmannpovik / marcan: For the release will the sound part updated that fixes this bug? apple-pmgr-pwrstate 23b700000.power-management:power-controller@2c0: PS mca1: Failed to reach power state 0xf (now: 0x24f) dmesg here: https://pbot.rmdir.de/ubs2XDJQNhhtPwDOmx4lSw
17:55Glanzmannpovik: Or is there commit that I can cherrypick into the asahi branch that gets rid of it?
17:58matthewayers[m]I finally got Internet back up on my system. Lots of reconfiguring wpa_supplicant.conf
18:00milek7hmm, I did get crash on efi_create_mapping
18:01j`eymilek7: expected, just a warning
18:06mpstohatsu[m]: sorry I was afk, but you got explanation from good people here. hope you know all about your question now
18:07marvin24 has joined #asahi
18:09milek7it also once hanged on boot, until watchdog rebooted it
18:10milek7'soft lockup cpu5' or something like that
18:10marvin24_ has quit [Ping timeout: 480 seconds]
18:13lennylxx[m] has joined #asahi
18:16lennylxx[m]just followed the guide to install Arch Linux, how am I supposed to turn on wifi?
18:20Glanzmannsven: When I build the dwc3 as modules, it does not detect for me usb. Is this is a known issue or am I doing something wrong?
18:21Glanzmannsven: Config: tg.st/u/config-debian-distro-kernel-2022-03-09-4k dmesg: https://pbot.rmdir.de/ubs2XDJQNhhtPwDOmx4lSw I also noticed that dwc3-pci kernel module was not loaded.
18:22svenno need for pci, dwc3 isn’t on that bus
18:23svenI haven’t tried it as a module but I believe it worked for marcan
18:23Glanzmannsven: Okay than I'll take my known good config and try to load it there as a module and report back.
18:24svenit doesn’t seem to probe for some reason
18:25GlanzmannYep. This is the debian config with the asahi options enabled version.
18:25GlanzmannBut I did not force things to be =y if a dependency is =m
18:25GlanzmannBut I'll try if I can reprocue it with a known config just by setting dwc3 to m.
18:26marcanlennylxx[m]: wifi is broken, this is all alpha, don't expect anything to work, etc
18:26marcanno promises until the first official release
18:26marcan(which is coming soon, but not yet)
18:29milek7lennylxx[m]: install wpa_supplicant, iw, libnl, and then you can connect using iwctl (look at arch wiki for that)
18:29Glanzmannlennylxx[m]: Debian is in a state where it works, if you want to try this, otherwise just wait a few days for the asahi installer to be released. Watch the Video first to see what you're getting into. https://github.com/AsahiLinux/docs/wiki/Debian#soon-to-be-released-asahi-installer
18:29milek7but wifi interface doesn't come up sometimes
18:31Glanzmannmarcan: Have a good night sleep.
18:31lennylxx[m]thank you all for the reply, I will try each one of them
18:31Glanzmannlennylxx[m]: If you run into any trouble with the debian, let me know.
18:33arvind has quit [Ping timeout: 480 seconds]
18:47Glanzmannsven: When I build the dwc3 with =y it goes into host only mode, but if I built it as module it uses dual role, could that be it?
18:48svenit must go into dual role, otherwise hotplug will not work because it uses the entire drd and usb-role-switch infrastructure
18:49GlanzmannI see, strange.
18:49svensounds like configuration issue tbh
18:49svenmodule vs built in makes no difference regarding the role
18:50GlanzmannI see, than I keep digging until I find it.
18:52PaterTemporalis has joined #asahi
19:12eroux has joined #asahi
19:31arvind has joined #asahi
19:35zoruninteresting to see the two set of cores behaving differently: https://cfarm.tetaneutral.net/munin/gccfarm/gcc103/cpuspeed.html
19:46amarioguy has quit [Ping timeout: 480 seconds]
20:01PaterTemporalis has quit [Remote host closed the connection]
20:02PaterTemporalis has joined #asahi
20:05milek7sometimes it hangs there
20:06gladiac has quit [Quit: k thx bye]
20:07Glanzmannmilek7: Which distribution is that asahi or Debian?
20:07milek7arch from installer
20:07GlanzmannI assume that is being expected at the moment.
20:08Glanzmannmilek7: But I see something similar with my 'distro kernel config': https://pbot.rmdir.de/JY7CzAfZRyPOZpFvMgCc4g
20:09zamadatix has joined #asahi
20:09Glanzmannmilek7: I know what it is that is the firmware helper probably.
20:12Glanzmannmilek7: I checked out the pkghelp repository. Than it is something else.
20:24arvind has quit [Quit: Lost terminal]
21:00FLHerne has quit [Quit: There's a real world out here!]
21:01FLHerne has joined #asahi
21:10ChaosPrincess has quit [Remote host closed the connection]
21:25mpsI see a lot of commits in asahi branch today, does this mean we are getting some new drivers/options/fixes?
21:27jannaurebase onto newer next brings performance counters, queued version of aic2/t6000 with a breaking dt change and s2idle fixes
21:28mpsaha, sounds as good idea to test it on mbp
21:37mpsjannau: `git checkout asahi ; git pull --rebase` is enough?
21:38mpsit is now 5.17-rc7
21:44jannauwould not expect a rebase to work. it's not 5.17-rc7 but linux-next-20220310. rebase should hvae massive problems since both linux-next and asahi are recreated. you will end up with tons of commits you're not really interested in but git chould not detect as unchanged
21:45povikokay, i prepared new pieces for 'asahi': https://github.com/povik/linux/tree/for-marcan
21:46poviki also pushed 'for-marcan-merged' where the other non-audio bits are merged in
21:46jannausomething like `git rebase --onto origin/asahi asahi_old` will probably work if you have patches on top asahi
21:47mpsjannau: I have patches on separate local branch
21:48mpsswitched to original asahi branch and did git pull --rebase
21:49poviknot having the hardware by me i didn't test it
21:49darkapex1 has joined #asahi
21:49povikad laptop speakers: i disabled them in DT
21:49jannauif you have no commits in your local asahi branch, the easiest way is probably `git fetch`, `git reset --hard origin/asahi`
21:50povik^ it's for safety
21:50povikyou can remove the status="disabled" line if you want to experiment with it
21:50matthewayers[m]…at your own risk
21:50mpsjannau: aha, thanks
21:50povikthe t6000 speakers won't make it into the release
21:50darkapex has quit [Ping timeout: 480 seconds]
21:51povikbut if we can confirm the t8103 speakers aren't driven too strong, then we may ship that
21:51mpspovik: do you made jack output working
21:51povikmps: on t6000? no
21:52mpspovik: on t8103
21:52povikand yes, as matthewayers[m], experiment with the speakers at your own risk
21:52povikmake sure you start with the speakers volume turned down, then gradually turn it up
21:52mpspovik: I did yesterday already
21:53mpsand speakers works on j293
21:53povikmps: t8103 has jack support, but userspace has issues discovering it if the speakers are enabled too
21:53povikwe will need UCM configuration for that to work properly
21:53poviki started experimenting with that, it's in my fork of alsa-ucm-conf
21:53mpspovik: aha, ok
21:53povikbut that has been broken by changing the model strings in what's now in for-marcan
21:54povikso you need to at least fix that, the UCM config i added there is for mac mini only
21:54povikand also it's just something i tried, no the full correct configuration
21:54mpsi don't know how to fix UCM
21:55povikha, j293, that's the mbp
21:56povikmps: i added rest of the speakers
21:56povikyou can now open the speakers as 4-channel output device
21:56poviksee if that works if you get to it
21:58mpspovik: what is your current branch for this
21:59povikyes, that's the audio bits alone, in for-marcan-merged it's merged with the rest of 'asahi'
21:59zamadatix has quit [Quit: Leaving]
22:00mpsok, will try tomorrow, now I feel somewhat tired
22:06ChaosPrincess has joined #asahi
22:09linearcannon has joined #asahi
22:27eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:40int80 has joined #asahi
22:51ChaosPrincess has quit [Remote host closed the connection]
23:31creechy has quit [Quit: WeeChat 3.4]
23:38rkjnsnarnd, agraf: Re 16KiB pages on 4KiB hardware, there was once upon a time a patch developed for 32-bit arm that did just that: https://bootlin.com/blog/large-page-support-for-nas-systems-on-32-bit-arm/
23:39rkjnsnLooks like it didn't require a huge code change. No idea on the performance impact.
23:39yuyichao has quit [Ping timeout: 480 seconds]
23:46rkjnsn(I don't think it was dynamic, though. I believe it would always use 4KiB hardware pages even if the hardware supported 16KiB.)
…