#
…

2022-10-27

00:00jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
00:03Dcow has quit [Remote host closed the connection]
00:04Dcow has joined #asahi
00:04Etrien has quit [Ping timeout: 480 seconds]
00:13thelounge7571340 has joined #asahi
00:14thelounge7571340 has quit [Remote host closed the connection]
00:32Dcow has quit [Remote host closed the connection]
00:36Dcow has joined #asahi
00:44Dcow has quit [Ping timeout: 480 seconds]
00:47Dcow has joined #asahi
00:55kazuki has joined #asahi
00:55chadmed has joined #asahi
00:55Dcow has quit [Ping timeout: 480 seconds]
00:57chadmedChaosPrincess, scardracs: if you havent already, it's probably worth your while to use at least the portage overlay just to reduce your own maintenance burden and outsource that to me
00:58scardracschadmed: what’s its name?
00:59chadmedif you go to asahi-gentoosupport, you can just copy resources/repo.conf to /etc/portage/repos.conf/asahi.conf then run emaint -r asahi sync
01:00chadmed(we should probably take this to #asahi-alt)
01:00kazukiHey chadmed. Are these values really correct? They seem very inaccurate
01:01chadmedkazuki: they came straight out of the cluster and core joule counters and match a cruder mechanism i was using previously based on the SMC's idea of power consumption
01:02chadmedi think i mightve said it on m a r c a n's stream, but we actually arent *entirely* sure theyre correct (the counters are weird) but he merged them anyway to prove that EAS works in principle
01:03chadmedm p s, j a n n a u and i smoke tested them for a while when i first worked on it and there were no regressions at the very least :P
01:03kazukiI see, I was curious since benchmarks from others show a very different picture
01:06chadmedhow does specint work that out though
01:07chadmedlike, i sincerely doubt specint 06 has any awareness (or access to under macos) the core's perf counter registers...
01:08kazukiIirc the person who did the benchmark hooked up the phone to a power meter
01:09Etrien has joined #asahi
01:11chadmedso thats really going to be whole of soc power for the load
01:11chadmedwhich doesnt actually tell us much about what the core clusters are doing
01:12kazukiThat's true but I think your values are too low even considering that
01:13chadmedill spend some time refining the methodology when i have a few days to dedicate to it. fwiw i dont entirely disagree, and like i said we werent really sure ourselves if they were legit or not.
01:14chadmedbasically what i did was read the joule counters, run a mix of integer and floating point instructions, measure how long they took, read the joule counters again, take deltaE and then divide by the time the instructions took
01:15chadmed(in m1n1)
01:15chadmedi dont think the methodology itself is _particularly_ flawed, for example there is a very noticeable increase in power use when you light up the FPUs
01:16chadmediirc the max opp-microwatt value for firestorm was ~27k or something ridiculous without floating point instructions
01:16thelounge7571340 has joined #asahi
01:17thelounge7571340 has quit [Remote host closed the connection]
01:18kazukiHm that seems super low
01:19chadmedyeah i know, at first i thought we might not be initialising the counters properly, but like i said it lines up with an earlier methodology where i would use the SMC's integrated power meter. the values are within a few % of each other
01:19chadmednot really willing to scratch up traces on the logic board of my daily driver to find out though :P
01:20kazukiMaybe we can try something like this? https://github.com/kdrag0n/freqbench
01:21kazukiThere's perf stats for t8103, but there's no power data
01:21kazukiI think the CPU capacities were calculated with this benchmark
01:22Dcow has joined #asahi
01:24Etrien__ has joined #asahi
01:26chadmedok no this isnt going to work for power sampling
01:27TramtristIs there a large asahi presence on Mastodon? I see a large presence on twitter but cant seem to find equivalent mastodon post volume.. Im on fosstodon myself
01:27chadmedor rather, if it _did_ work, it would give the value out of the SMC which will include the entire system power draw and not just one core
01:28chadmedbut it wouldnt work because it has no conception of the SMC and im not going to add it just to arrive at the same conclusion i did in m1n1
01:29Etrien has quit [Ping timeout: 480 seconds]
01:30Dcow has quit [Ping timeout: 480 seconds]
01:30kazukiYes but does it matter if *all* the power metrics have the entire system power draw included?
01:32chadmedprobably not, but if its going to get the power value out of the SMC then its going to show the same thing i got in m1n1 when i did it, which matched the values from the joule counters, which is what is in the DT
01:33chadmedand like if we're going to say that what matters is the scaling between cores for the EM and the actual value doesnt matter, then it doesnt matter if theyre too low either since all cores and pstates were tested exactly the same way
01:33chadmedso the scaling between them should be consistent
01:39kazukiYeah true
01:39chadmedyouve nerd sniped me though, building a kernel now :P
01:40kazukiHeh, what for though?
01:44chadmeddont have the userspace scheduler enabled in my normal build, and my timer frequency is 1khz
01:44chadmedim setting the options recommended in the readme
01:49chadmed has quit [Quit: Konversation terminated!]
01:56chadmed has joined #asahi
02:19LunaFoxgirlVT has joined #asahi
02:22marve has joined #asahi
02:25das_j has quit [Remote host closed the connection]
02:26marve_ has joined #asahi
02:27das_j has joined #asahi
02:27thelounge7571340 has joined #asahi
02:27thelounge7571340 has quit [Remote host closed the connection]
02:30chadmedyeah this is utterly useless, its just noise
02:30chadmed-300mW uh-huh yeah sure
02:30chadmedjim keller found a way to create energy from running instructions
02:33marve has quit [Ping timeout: 480 seconds]
02:36kazukichadmed: 300mw at lowest freq?
02:37chadmedno as in NEGATIVE 300mW
02:37chadmedthe core creates energy
02:37kazukiYeah idk how you got that
02:38dviola has quit [Ping timeout: 480 seconds]
02:38chadmedbecause its like i predicted
02:38chadmedthe system is doing a load of other stuff, and the work the single core is doing at 600mhz just falls into background noise
02:38kazukiResults still shouldn't be negative though...
02:39chadmedno they shouldnt, which is why i use m1n1 and hit the energy counters inside the cores directly to avoid this exact thing happening, where the total system power turns the work a single core is doing into noise
02:39chadmedi think the cores really just are this efficient
02:40chadmed"that doesnt look right, the snapdragon uses more power" really doesnt invalidate the methodology i checked over multiple times and cross referenced with an entirely different one tbh
02:40kazukiThe pic I sent contains power metrics for A14
02:41chadmedthere is divergence at the top end of the pcore results at the highest pstates but below that its literally just noise and there is no way to verify that from userspace at this time
02:41chadmedyeah i understand that but again, that measures whole soc power on cores that are tuned for different pstates at different V-P curves
02:41chadmedits not really comparable
02:44chadmed has quit [Quit: Page closed]
02:44chadmed has joined #asahi
02:45kazukiThere's no way the P-core at max freq only uses 0.127827W
02:45kazukiYou missed a digit or smth
02:45chadmedim going to run it one more time
02:46chadmed has quit []
02:46kazukiI can understand if it's 12W though
03:07chadmed has joined #asahi
03:08chadmedok now things are making a little more sense
03:09kazukiHow was it?
03:09chadmedresults ranging from 100mW to 5W
03:09chadmedso a little more sense
03:10kazukiAh so more inline with what I expected
03:10kazukiMind sending run.log?
03:13chadmedyeah one second
03:14chadmednvm it was saved in tmpfs -.-
03:14chadmed dont have time to do it again but i captured the results
03:18kazukiCan you send those please?
03:22kazuki has quit [Quit: Konversation terminated!]
03:24kazuki has joined #asahi
03:31thelounge7571340 has joined #asahi
03:31thelounge7571340 has quit [Remote host closed the connection]
03:34chadmed has quit [Quit: Konversation terminated!]
03:35marvin24 has joined #asahi
03:38marvin24_ has quit [Ping timeout: 480 seconds]
03:56Stroller has quit [Quit: Stroller]
04:08Etrien__ has quit [Read error: Connection reset by peer]
04:08Etrien has joined #asahi
04:21Etrien has quit [Ping timeout: 480 seconds]
04:31SSJ_GZ has joined #asahi
04:32chadmed has joined #asahi
04:38julio7359 has quit [Ping timeout: 480 seconds]
04:42mxz has quit [Quit: cya]
04:43mxz has joined #asahi
04:44thelounge7571340 has joined #asahi
04:44thelounge7571340 has quit [Remote host closed the connection]
04:46marve_ has quit [Ping timeout: 480 seconds]
04:46marcanchadmed: the first couple lines there for the E cores are suspicious, I wouldn't expect efficiency to drop at the lowest Pstate (the lowest pstate needs to be the peak efficiency, otherwise it makes no sense)
04:46marcanthe rest look reasonable though!
04:47chadmedyeah im still not happy with the lowest pstates given the wide variance/noise in the smc power measurements. sorry i didnt save the run logs
04:47marcanah, these are from SMC? or Ecounters?
04:48chadmedSMC, freqbench has no way to access the counters since it relies on voltage_now and current_now from power supply class devices
04:48chadmedwhen im at home and have a couple of days ill dig out the m1n1 experiment from the backup of my dev machine (RIP) and try to see what we were doing wrong there
04:49chadmedi reckon the benchmark asm just needs to light up more of each core
04:53Etrien has joined #asahi
04:53chadmed has quit [Quit: Konversation terminated!]
04:56chadmed has joined #asahi
05:10marcanchadmed: make sure you enable the MMU on the seconaries, otherwise all mem accesses will be super slow
05:10marcan*secondaries
05:12marve_ has joined #asahi
05:37rvalue has quit [Remote host closed the connection]
05:37rvalue has joined #asahi
05:40julio7359 has joined #asahi
05:43Etrien has quit [Read error: No route to host]
05:48Etrien has joined #asahi
05:51thelounge7571340 has joined #asahi
05:51thelounge7571340 has quit [Remote host closed the connection]
06:00chadmed has quit [Quit: Konversation terminated!]
06:09marve_ has quit [Quit: Leaving]
06:09LunaFoxgirlVT has quit [Read error: Connection reset by peer]
06:16Etrien has quit [Ping timeout: 480 seconds]
06:25Etrien has joined #asahi
06:27mps has quit [Quit: Lost terminal]
06:36Etrien has quit [Read error: Connection reset by peer]
06:37Etrien has joined #asahi
06:39will[m] has quit [Write error: connection closed]
06:39nyanpasu64 has quit [Write error: connection closed]
06:43joske has joined #asahi
06:44joske has quit []
06:49joske has joined #asahi
06:51joskepovik: I was struggling to get the speakers going on M1 mba (asahi-wip branch). I could not get it to work at all (despite device tree change). After some print statements, I added this simple patch, and now the speakers are working: https://drive.google.com/file/d/1XJk_0Vg0flfXdElc4VvI1rRl0TRFNV8t/view?usp=sharing
06:52joskeThis bit in tas2770.c didn't change wrt released kernel, so very strange.
06:53joskeWith this patch I do have these in dmesg a few times: https://paste.debian.net/1258399/
06:56thelounge7571340 has joined #asahi
06:57thelounge7571340 has quit [Read error: Connection reset by peer]
06:57kazuki has quit [Quit: Konversation terminated!]
06:59kazuki has joined #asahi
07:03joskeThis might just be the completely wrong fix of course, just pointing out that out-of-the box tas2770 doesn't load on M1 mba
07:07guillaume_g has joined #asahi
07:10marcanthose errors are normal
07:11joskethx, I don't recall seeing them before, but I guess I was just not looking :-D
07:15r0ni has quit [Quit: Leaving]
07:27marcan(we still need to do something about them...)
07:35greguu has joined #asahi
07:46bestouff has quit [Ping timeout: 480 seconds]
07:46bestouff has joined #asahi
07:53joske has quit [Quit: Leaving]
07:57bestouff has quit [Read error: Connection reset by peer]
07:58Etrien__ has joined #asahi
07:58kazuki has quit [Quit: Konversation terminated!]
07:59rannmarcan: quick question. In your experience diving in the internals of the M1 and M2, is there support for ECC memory hidden in there? Just curious!
08:00bestouff has joined #asahi
08:05Etrien has quit [Ping timeout: 480 seconds]
08:06Etrien has joined #asahi
08:07thelounge7571340 has joined #asahi
08:07thelounge7571340 has quit [Remote host closed the connection]
08:11Etrien__ has quit [Ping timeout: 480 seconds]
08:32scardracsChaosPrincess, chadmed: did you emerge Firefox? How much time it takes?
08:34povikjoske: hah. seems like a bug in tas2770.c triggered by a change in macaudio.c
08:34povikand your change could be the right fix!
08:35povikdo you want to give me your name/email address so i can tag you in the commit?
08:39povikheh, that will be the *eighth* fix to that driver
08:43marcanrann: I don't think traditional ECC is or can be supported in LPDDR systems
08:44* povikchecks where else TI copied this faulty code
08:44marcanthe channels are too narrow
08:44povikit's there in tas2764.c
08:44marcanhowever, there could be ECC internal to the RAM itself, and some form of ECC used at the protocol level
08:45poviktas2780.c too
08:45ChaosPrincessscardracs: iirc it took long enough for me to kill it and use my server to build it.
08:45marcanthe caches do have ECC though, that I know
08:45scardracsChaosPrincess: as i fear. Unfortunately i don’t have a server for the pourpose
08:45marcanbut yeah, traditional ECC is dead with LPDDR, though conversely I think ECC is becoming a necessity with LPDDR5 densities, so there's a good chance there's RAM-internal ECC support
08:46marcanbut I wouldn't know how to find out
08:46marcanthis is deep memory controller shenanigans
08:46marcannor whether there is anything for the link
08:46ChaosPrincessscardracs: leave it overnight, or if you are ok with pre-built versions, iirc there are arm64 snaps.
08:48ChaosPrincesshot take - ram internal ecc is not 'real' ecc, its just a chip implementation detail that exists because it is impossible for the memory maker to achieve the capacity w/o it.
08:48scardracsChaosPrincess: i have already checked and no snapshots available
08:48rannmarcan: thanks, yeah, I have similar thoughts w/regards to current/future densities.. People running 128GiB without an ECC like meganism, it becomes statistically more likely for one to encounter issues
08:50joske has joined #asahi
08:50joskepovik: Jos Dehaes jos.dehaes@gmail.com
08:51joskeI noticed only left channel works with that fix today though (although yesterday evening I thought sound was coming out of both speakers)
08:53joskeyes the code in tas2770.c looked obviously wrong
08:54le0n_ has joined #asahi
08:54r0ni has joined #asahi
08:55povikjoske: thanks! i think we should drop that slots==1 branch altogether, i will tag you as suggested-by
08:55poviknot sure why would have left channel only, let me read the code again
08:55joskerebooted to macOS to check right speaker wasn't b0rked, it's not
08:59greguu has quit [Quit: WeeChat 3.0]
09:01povikjoske: can't figure out what would be the issue. how are you testing it?
09:01le0n has quit [Ping timeout: 480 seconds]
09:02povikah, we are missing fixup_controls for j313. in that case you will get left channel routed to both speakers on default settings of card controls
09:03povikcould that be what's happening?
09:03joskeah yesterday I added that, but I removed it again for the diff
09:04povikwhat you mean? the fixup_controls? were you setting ASI1 Sel in there?
09:04povikin that case it's all explained
09:04joskeI added the fixup_controls yes
09:06chadmed has joined #asahi
09:08thelounge7571340 has joined #asahi
09:08thelounge7571340 has quit [Remote host closed the connection]
09:08joskebut I removed it as I wasn't sure about that
09:20scardracsI cannot update grub because /boot/efi is read-only… any thought ChaosPrincess ?
09:20ChaosPrincessremount as rw ?
09:21scardracsAlready tried
09:21ChaosPrincesspost output of `mount`
09:22scardracsI have genfstabbed the system but did not help at all https://usercontent.irccloud-cdn.com/file/PUGOzShQ/1666862537.JPG
09:23scardracs(I used to port genfstab to gentoo around 2 years ago)
09:24ChaosPrincess1. use LANG=C before posting screenshots :P, 2. it think the problem is not that /boot/efi is not writable, but rather that those systems are not 100% real efi, and it can't write to efi variables.
09:24ChaosPrincessi think there is a way to make it only install the binaries and skip writing to efi vars
09:25scardracsIs there something i can do to update the kernel?
09:26chadmedthe overlay has the latest kernel, use it :)
09:26scardracschadmed: i already did it but stucks here
09:27chadmedoh right yeah dont do grub-install
09:28chadmedor you can i guess, but you need to specify that its a removeable drive
09:29ChaosPrincessi think you need to run grub-mkconfig or something like that to make grub pick up new kernels
09:29chadmedgrub-install is unnecessary and that error is because u-boot does not provide uefi nvram
09:29chadmedyoull notice the kernel also whinges about that very early in dmesg
09:29scardracschadmed: it worked :)
09:30chadmedexcellent
09:31scardracsTime for firefox…
09:33chadmedhot tip: enable ALL the system library use flags, do NOT use the builtin ffvpx or whatever
09:33chadmedfor some reason it still tries to include sysctl.h on arm64
09:36chadmedif you dont use the system-libvpx flag or whatever firefox tries to build its local version of ffmpeg/vpx
09:36chadmedand it tries to include a long-deprecated and recently removed part of glibc
09:37chadmedwhich causes the build to fail
09:37scardracsOk, thanks for the tip :)
09:37ChaosPrincessright, mozilla's stuff really likes to vendor dependencies
09:38povikjoske: ^ should be fixed there
09:39joskereboot to linux :-)
09:39poviki you get to test it please report back
09:39joske has quit [Quit: Leaving...]
09:41IcaroDextris has joined #asahi
09:43r0niif I don't run grub-mkconfig but update the kernel and initramfs and they the same filenames... would it still boot?
09:44r0niahh good thats what i was hoping
09:44chadmedgrub-mkconfig really only scans /boot for changes and makes entries for each kernel/initramfs in there
09:44chadmedif the entry didnt change you dont have to run iot
09:45scardracschadmed: it seems in build 102, which is stable, they (libs) are enabled by default
09:45r0niwell my setup is a little messy and every time i run grub-mkconfig it dies and i have to fix it from macos... and i'm tired
09:45r0niso skipping that sounds like a winning plan
09:48j`eyr0ni: would still be good to figure out why :P
09:49r0niwell i'm sure it's the diff between slackware grub and arch grub, i just havent gotten the arch pkg yet to see how the /etc/default/grub is different
09:50r0nii'm the king of cutting corners ;)
09:51joske has joined #asahi
09:51joskepovik: works fine!
09:51povikoff to the list with it
09:52int16h has joined #asahi
09:53j`eyr0ni: nah its just about prioritising :)
09:54danielnechtan has quit [Ping timeout: 480 seconds]
09:54chadmedwork smarter, not harder
09:54r0niwell iirc grub isn't a required bit for booting anyway, so when i figure out how to bypass grub all-together, i'll likely go that route cuz slackware is KISS philosophy anyway
09:55r0nii haven't had any time to play with this at all for days
09:55chadmedyou can concatenate your kernel and initramfs to the m1n1 payload
09:55chadmed$EDITOR $(which update-m1n1) to see roughly how
09:56j`eyr0ni: leaving out grub doesnt necessarily equate to KISS though
09:56r0nii'll look at it, i knew you just cat them together, just didn't know the finer details
09:56chadmedno thats pretty much it, you just cat them :P
09:56j`eyif you cat them, you have no menu if you want multiple kernels etc
09:56r0nibut what do i name it? where do i put it? (those details)
09:56chadmedhaving a bootloader is good though, for those reasons
09:57chadmedim looking into using sd-boot, my current rootfs uses ESP-as-boot so it should be painless
09:57j`eyit's pretty easy to reboot into recoveryOS of course, but a menu is nice too
09:57r0nibootloader is good, but keeping this thing booting is 90% of my issues lol
09:58r0niand grub menu is worthless for me, i have no kb inputs anyway on it
09:58j`eyhuh, what machine?
09:59r0nithe dreaded "oh" :(
09:59r0niI had hoped it was my fault lol
10:02chadmedoh as in your usb keyboards dont work?
10:03scardracsAny idea on when the inital m1/m2 support will reach the mainline kernel?
10:03chadmedm1 boots, m2 is still a long while away
10:03r0nino, i had read it works, but i thought maybe it was usb-c only or smth else, hardware i don't have
10:03chadmedm1 pro/max/ultra DTs should be in for 6.2
10:05scardracsLucky me when i choose to pay less and take the m1 🤣
10:05j`eyyou still will want to use the asahi kernel for quite a while yet
10:05chadmedboots =/= useable
10:05r0niwhat dtbs do i need for mini if I cat this?
10:06j`eyr0ni: just the same ones you currently use
10:06r0nioh ok so all of them
10:06scardracsI know really well
10:06r0nii see now, half reading the script
10:07scardracsI used to have an HP so I’m used to things not working as they should
10:07j`eyr0ni: you can just pick arch/arm64/boot/dts/apple/t8103-j274.dts, but catting all also works
10:08r0niya i didn't really want to go all in, just what i need... now for distrobution, that would be diff
10:09chadmedi mean youre saving 200kb on a 500mb partition
10:09chadmedm1n1 just picks the correct one anyway, it doesnt slow boot down or anything
10:10thelounge7571340 has joined #asahi
10:10thelounge7571340 has quit [Remote host closed the connection]
10:10chadmed has quit [Quit: Konversation terminated!]
10:12r0niok so is the resulting file go /boot/efi/m1n1/boot.bin ? is that what i'm comprehending?
10:13r0nioh awesome, if this works you all get KISSes
10:13j`eycurrently you use u-boot there, so instead of u-boot you can just put the kernel
10:13Illyadoes asahi have working hardware performance counters etc? thinking of trying it out if I can more easily benchmark arm64 code
10:15borisk has quit [Quit: Page closed]
10:17chadmed has joined #asahi
10:19chadmedsomeone was working on a perf counter driver iirc, i think it might already be in linux-asahi?
10:22mps has joined #asahi
10:34r0niok, i'm going to try this... fingers crossed!
10:35r0ni has quit [Quit: Leaving]
10:40scardracsThe italian keymap is completely wrong :(
10:46r0ni has joined #asahi
10:47r0nithat was a sad failure, did not work but showed me the asahi logo at least
10:49j`eyoh I just realised that initramfs will be different with directly catted booting like that
10:51r0niok... i'll take a look in a bit... need to go afk for a few now
10:53jjido has joined #asahi
11:01joskepovik: and now again only plays through left speaker
11:03povikjoske: any hints to what's happening? could you have changed something in userspace?
11:03joskethis was after a suspend though
11:04joskeand my dmesg is full with oopses
11:07joske_ has joined #asahi
11:07joske has quit [Read error: Connection reset by peer]
11:07joske_reboot fixes it
11:08povikinteresting, it brokes a bit on suspend, not in full
11:08poviki guess the answer will be in tas2770.c again
11:08joske_let me try again
11:09chadmedgonna have to take a look at the crackling/popping on mute thing soon too
11:09povikchadmed: hm?
11:10chadmedtheres crackling when changing the volume near the max, and popping when starting/stopping streams
11:10joske_yep, confirmed, after resume, only left channel
11:10chadmed(common problem supposedly with asoc codec drivers, so nothing we did i guess)
11:10joske_ has quit []
11:11povikjoske_: yeah!
11:11povikat least one issue there is the sdz_gpio is shared and we don't handle that
11:11jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
11:12thelounge7571340 has joined #asahi
11:12povikwe knew this will be an issue since the beginning, but only now we got to people suspending
11:12thelounge7571340 has quit [Remote host closed the connection]
11:13joske has joined #asahi
11:13joskeindeed, I wanted to use asahi-wip branch for the suspend
11:13joskeand then I wanted sound
11:14povikunderstandable :p
11:19Dcow has joined #asahi
11:21Dcow_ has joined #asahi
11:27Dcow has quit [Ping timeout: 480 seconds]
11:34jjido has joined #asahi
11:36jjido has quit []
11:50IcaroDextris has quit [Quit: Connection closed for inactivity]
11:54r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
12:04jacksonchen666 has quit [Ping timeout: 480 seconds]
12:05sneak has joined #asahi
12:06kazuki has joined #asahi
12:13thelounge7571340 has joined #asahi
12:13thelounge7571340 has quit [Remote host closed the connection]
12:21Agua has joined #asahi
12:47Dcow has joined #asahi
12:49mpsjoske: povik: I confirm this behavior on m1pro
12:50mpsafter resume right channel is muted and a lot of dmesg msgs 'tas2764 1-003a: fault: bad TDM clock'
12:51povikyeah, tas2764 will be affected also
12:53Dcow_ has quit [Ping timeout: 480 seconds]
12:54sneakgot the alpha running on an m2 air, i'm getting serious flashbacks to putting mklinux on my 8600 in junior high
12:55sneaka big thanks to everyone who worked on this
13:05yamii has quit [Remote host closed the connection]
13:06yamii has joined #asahi
13:16Raito_Bezarius has quit [Ping timeout: 480 seconds]
13:16thelounge7571340 has joined #asahi
13:16thelounge7571340 has quit [Remote host closed the connection]
13:29Raito_Bezarius has joined #asahi
13:36Illyaj`ey: nice thanks, will try it on the weekend then
13:42sneak has quit [Quit: ZNC 1.7.5 - https://znc.in]
13:42Agua has quit [Ping timeout: 480 seconds]
13:44julio7359 has quit [Ping timeout: 480 seconds]
13:44julio7359 has joined #asahi
13:45sneak has joined #asahi
13:49Stroller has joined #asahi
13:52Agua has joined #asahi
14:03guillaume_g has quit []
14:07mrkajetanp has joined #asahi
14:11mrkajetanp has quit [Remote host closed the connection]
14:13mrkajetanp has joined #asahi
14:23thelounge7571340 has joined #asahi
14:24thelounge7571340 has quit [Remote host closed the connection]
14:26guillaume_g has joined #asahi
14:28kazuki has quit [Quit: Konversation terminated!]
14:29joske has quit [Quit: Leaving]
14:35Gaspare has joined #asahi
15:09thansen has quit [Ping timeout: 480 seconds]
15:10mkurz has joined #asahi
15:15guillaume_g has quit []
15:17opticronmkurz, don't ask in the development channel for predictions from the crystal ball, status updates are here and it'll be done when it's done: https://github.com/AsahiLinux/docs/wiki/Feature-Support
15:18mkurzOK, thanks. I was just interested if there is a "USB 3" repo that I can follow for current status.
15:18nicolas17 has joined #asahi
15:18opticronthe joke being that every time someone asks (especially in the wrong place) a month gets added to the release date
15:19opticronhi nicolas17
15:19mkurzah ok now I get it
15:20nicolas17I have an MBP M2 with a Spanish keyboard, it has a <> key next to Z, and a ªº\ key next to 1, but in asahi (as opposed to macos) they're swapped, any idea whose fault it is? :P
15:20svenjoke? you think i'm joking? :P
15:20opticronmkurz, you can probably watch what's happening on the various branches in the asahi-linux repo
15:20opticronsven, I'm terrified that you're not :D
15:20mkurzsven: I hope you don't ;)
15:20nicolas17lemme try xev
15:21j`eyok only seems to have fixes for jp variants
15:23nicolas17there's issues for other layouts already
15:23mkurz has quit [Quit: Leaving]
15:26amarioguy2 has joined #asahi
15:26kettenisnicolas17: I believe that is a common quirk of Apple keyboards with ISO layout
15:26thelounge7571340 has joined #asahi
15:26thelounge7571340 has quit [Remote host closed the connection]
15:26kettenisso there probably is already support for this somewhere in Linux
15:27_jannau_nicolas17: in doubt apple's. we should set a quirk flag for apple-hid but unfortunately we have not enough information to make that decisions
15:28_jannau_the keyboard I'm using (iso internal is correct without the flag) and we can't distinguish that keyboard from other layouts for european languages
15:28chadmed has quit [Remote host closed the connection]
15:31_jannau_I don't really and would prefer the keys swapped as well. I thought apple's international layout would be more less what pc international layout is
15:32nicolas17afaik the <> physical key location matches the spanish keyboard on other computers
15:33nicolas17what arch package includes xev?
15:38amarioguy2 has quit [Remote host closed the connection]
15:38nicolas17keyboard settings had keyboard model set to "generic PC", I tried the multiple Apple variants, no change
15:39nicolas17then I went to layout (rather than model) settings, tried Spanish and Spanish (Macintosh) and Spanish (Windows) variants, no change
15:39nicolas17if I click preview layout, the image that shows up doesn't even have a <> key
15:43_jannau_nicolas17: set the iso_layout module parameter to 1 for hid-apple
15:45nicolas17yes that fixed it!
15:46mrkajetanp has quit [Remote host closed the connection]
15:47_jannau_I'll chnage the default at the next time I look at the HID changes. I think users of the iso international layout are in the minority and it needs to swapped for most or all other layouts
15:47nicolas17it was -1 before I changed it
15:49_jannau_I think that's automatic meaning, respecting APPLE_ISO_TILDE_QUIRK from the device table
15:53scardracsChaosPrincess, chadmed: how did you fix the build error of mmpeg? What’s the correct CHOST? Or did you remove —march=native?
15:53ChaosPrincessremove march-native, yes, it uses eor3 or sth else that m1 does not support
15:54eroc1990 has quit [Ping timeout: 480 seconds]
15:54ChaosPrincessuse -march=armv8.2-a
15:55scardracsPerfect, thanks :)
16:01_jannau_-march=armv8.4-a would work as well if you do not care about binary compatibility with non-apple silicon CPUs
16:10julio7359 has quit [Remote host closed the connection]
16:11julio7359 has joined #asahi
16:15eroc1990 has joined #asahi
16:19scardracsNot really interested on it
16:20scardracsAnyway Clang show the worst of it. The entire chassis is warm
16:20scardracsI don’t know if it’s a good idea to use Gentoo here without a proper refrigerator system
16:22julio7359 has quit [Ping timeout: 480 seconds]
16:23Gaspare has quit [Quit: Gaspare]
16:28___nick___ has joined #asahi
16:28julio7359 has joined #asahi
16:28___nick___ has quit []
16:30___nick___ has joined #asahi
16:31thelounge7571340 has joined #asahi
16:31thelounge7571340 has quit [Remote host closed the connection]
16:34opticronChaosPrincess, does gcc just misdetect the cpu flags when using march-native? or does apple misreport its cpu flags?
16:35ChaosPrincessi dont know, i think there is a disagreement in the build pipeline, since gcc emits those instructions, but binutils refuses to assemble them
16:35_jannau_I think the issue is that gnu as doesn't support -march=native on arm64 and gcc doesn't adjust the -march value with the detected one
16:36_jannau_clang should be fine with the integrated assembler. with -fno-integrated-as it might run into the same problem as gcc
16:37opticronfun, I've definitely seen broken behavior on gcc with -march=native on older versions with virtualized intel CPUs being detected as supporting 3dnow instructions
16:38opticronthat one's pretty historical at this point, though
16:40scardracsAt the end I've removed the gentoo partition. It's fun to see linux on my mac but it only has around 40/50 days and I don't want to see it blow up
16:42ChaosPrincessthats kind of a weird take imo, those machines are capable of running at 100% cpu load, and they dont really overheat from that.
16:44psykosecomputers break instantly above 50C, obviously /s
16:45nela has quit [Ping timeout: 480 seconds]
16:50scardracsChaosPrincess: it was really hot and slowing down a lots because of the throttling
16:50ChaosPrincessdo you have a mba or a mbp
16:51ChaosPrincessoh, that changes the equation
16:51ChaosPrincessi kinda assumed it was a mbp and actually had a fan
16:52scardracsNo, Unfortunately
16:59Dcow_ has joined #asahi
17:06Dcow has quit [Ping timeout: 480 seconds]
17:07bestouff has quit [Ping timeout: 480 seconds]
17:09bestouff has joined #asahi
17:28Stroller has quit [Ping timeout: 480 seconds]
17:31unicordian has joined #asahi
17:34Gaspare has joined #asahi
17:34balrog_ has quit []
17:35balrog has joined #asahi
17:35thelounge7571340 has joined #asahi
17:35thelounge7571340 has quit [Remote host closed the connection]
17:51jjido has joined #asahi
17:55jess has quit [Quit: Lost terminal]
18:29danielnechtan has joined #asahi
18:31int16h has quit [Ping timeout: 480 seconds]
18:35cy8aer has quit [Remote host closed the connection]
18:35cy8aer has joined #asahi
18:39thelounge7571340 has joined #asahi
18:39thelounge7571340 has quit [Remote host closed the connection]
19:03r0ni has joined #asahi
19:19jluthra_ has quit [Remote host closed the connection]
19:19jluthra_ has joined #asahi
19:24Stroller has joined #asahi
19:28buh0 has joined #asahi
19:29nela has joined #asahi
19:38Agua has quit [Remote host closed the connection]
19:41thelounge7571340 has joined #asahi
19:41thelounge7571340 has quit [Remote host closed the connection]
19:47Dcow has joined #asahi
19:47unicordian has quit [Read error: Connection reset by peer]
19:52leo60228- has joined #asahi
19:54Dcow_ has quit [Ping timeout: 480 seconds]
19:58leo60228 has quit [Ping timeout: 480 seconds]
20:01Stroller_ has joined #asahi
20:01Stroller has quit [Read error: Connection reset by peer]
20:01Stroller_ is now known as Stroller
20:03leo60228- has quit [Ping timeout: 480 seconds]
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:13buh0 has quit [Quit: Bye!]
20:14thelounge7571340 has joined #asahi
20:14thelounge7571340 has quit [Remote host closed the connection]
20:19Stroller has quit [Quit: Stroller]
20:27Stroller has joined #asahi
20:56uur has joined #asahi
21:04jjido has quit [Quit: Textual IRC Client: www.textualapp.com]
21:06uur has quit []
21:09Etrien__ has joined #asahi
21:13Etrien has quit [Ping timeout: 480 seconds]
21:14jjido has joined #asahi
21:17thelounge7571340 has joined #asahi
21:17thelounge7571340 has quit [Remote host closed the connection]
21:20DarkShadow44 has quit [Quit: ZNC - https://znc.in]
21:20DarkShadow44 has joined #asahi
21:23unicordian has joined #asahi
21:23zopieux has quit [Quit: zopieux]
21:24DarkShadow4444 has joined #asahi
21:25jjido has quit [Quit: Textual IRC Client: www.textualapp.com]
21:25DarkShadow4444 has quit []
21:27DarkShadow4444 has joined #asahi
21:27unicordian has quit [Remote host closed the connection]
21:27Etrien__ has quit [Read error: Connection reset by peer]
21:27Etrien has joined #asahi
21:30DarkShadow44 has quit [Ping timeout: 480 seconds]
21:31thansen has joined #asahi
21:37uur has joined #asahi
21:43unicordian has joined #asahi
21:47unicordian has quit []
21:48jjido has joined #asahi
21:52uur has quit [Remote host closed the connection]
21:54Etrien has quit [Ping timeout: 480 seconds]
21:57SSJ_GZ has quit [Ping timeout: 480 seconds]
22:11bestouff has quit [Read error: Connection reset by peer]
22:12bestouff has joined #asahi
22:14unicordian has joined #asahi
22:16Gaspare has quit [Ping timeout: 480 seconds]
22:17Etrien has joined #asahi
22:18thelounge7571340 has joined #asahi
22:18thelounge7571340 has quit [Remote host closed the connection]
22:20unicordian has quit [Quit: unicordian]
22:20unicordion has joined #asahi
22:22assman has joined #asahi
22:22assmanhi, general question, is there a way to have a mac mini with asahi turn after power loss? i know you can configure it from macos but doing it via linux would be nicer
22:23assmanits probably faster to just go into macOS to configure it but I figured I would ask
22:32jacksonchen666 has joined #asahi
22:41millenialhacker has joined #asahi
22:42millenialhackerHas anyone tried -march=armv8.4-a in Gentoo ? I'm rebuild my whole system with these new CFLAGS but wanted to be sure if anyone has already done to tell me if it's safe.
22:50redlegion_ has joined #asahi
22:50redlegion has quit [Read error: Network is unreachable]
22:50redlegion_ is now known as redlegion
22:53millenialhacker has quit [Ping timeout: 480 seconds]
22:54Etrien__ has joined #asahi
22:57Glanzmann has joined #asahi
22:58Etrien has quit [Ping timeout: 480 seconds]
23:00julio7359 has quit [Remote host closed the connection]
23:00julio7359 has joined #asahi
23:03nicolas17is the MBP fan controlled by firmware?
23:03nicolas17so it should behave the same on macOS and Linux?
23:05Glanzmann has quit [Quit: EOF]
23:14nicolas17I *think* days ago I have seen the fan turn on while being less hot than it is now...
23:21thelounge7571340 has joined #asahi
23:21thelounge7571340 has quit [Remote host closed the connection]
23:32hellstabber has joined #asahi
23:35zopieux has joined #asahi
23:36jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
23:43unicordion has quit [Quit: unicordion]
23:44unicordion has joined #asahi
…