ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
quarkyalice_ has quit [Remote host closed the connection]
quarkyalice_ has joined #asahi-dev
millenialhacker has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quarkyalice_ has quit [Remote host closed the connection]
quarkyalice_ has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
quarkyalice_ has quit [Remote host closed the connection]
quarkyalice_ has joined #asahi-dev
nicolas17 has quit [Quit: moving router to UPS]
doggkruse has joined #asahi-dev
quarkyalice_ has quit [Remote host closed the connection]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
gladiac is now known as Guest5037
gladiac has joined #asahi-dev
gladiac has quit []
gladiac has joined #asahi-dev
Guest5037 has quit [Ping timeout: 480 seconds]
gladiac is now known as Guest5040
gladiac has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
Guest5040 has quit [Ping timeout: 480 seconds]
Catyre has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi-dev
chadmed has joined #asahi-dev
<chadmed> amarioguy: the reason to not do that is as you say, because it would never fly upstream
<chadmed> given that the goal is to eventually "stop existing" as it were, it would make no sense to spend time developing something with literally zero chance of being accepted upstream
<Tramtrist> hai
Catyre has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
Mary has quit [Quit: The Lounge - https://thelounge.chat]
Mary has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
chadmed has joined #asahi-dev
phiologe has joined #asahi-dev
Catyre has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
millenialhacker has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
doggkruse has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
<sven> you need SPRR when you enable GXF and that’s not going to be possible upstream since it completely changes the meaning of pagetable permissions
<sven> and you also don’t have different pagetables in GL2 which is one of the things that makes the runtime service easier
nicolas17 has quit [Read error: Connection reset by peer]
nicolas17 has joined #asahi-dev
chadmed has joined #asahi-dev
doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jluthra has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-dev
jluthra has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
doggkruse has joined #asahi-dev
doggkruse has quit []
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-dev
<chadmed> FDT support has been merged into the kde system info thing :)
<chadmed> with the m1n1 PR this means that asahi desktop users should be able to see their serial number (and other stuff) from linux
the_lanetly_052 has joined #asahi-dev
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
Catyre has quit [Ping timeout: 480 seconds]
Catyre has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<Dcow[m]> what other stuff?
millenialhacker has joined #asahi-dev
<chadmed> currently, the model from the devicetree and the version of u-boot they're using
<chadmed> as cool as it would be, adding m1n1 specific stuff would probably require carrying downstream patches to kinfocenter which would be annoying to maintain
<chadmed> i went with serial number, model and uboot version because theyre canonical devicetree properties that many different systems will have
<marcan> any concerns about pushing that dev release to prod soonish? I'm out today, but I can probably do something tonight
<marcan> sven: might want to fix that LE thing, but I won't cut new images for that probably, just push out a day 0 kernel update for new installs
millenialhacker has quit [Ping timeout: 480 seconds]
<sven> the LE thing is fixed in the current bluetooth-wip fwiw
<sven> it also sends the proper calibration data for M2 now though I'm not sure that makes any difference
<sven> (and maybe fixes 4377 but who knows)
<nicolas17> chadmed: got a screenshot btw?
<chadmed> nicolas17: https://imgur.com/a/cMJ3YPR
<chadmed> this includes the MIDR_EL1 kf5solid patch that has also been merged
<Dcow[m]> very nice
<chadmed> yeah its not a huge thing in the grand scheme of things but its a nice QoL improvement at least and will benefit other systems too
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
<marcan> sven: great, will pull it later
<sven> i've changed the name from 43xx to 4377 fwiw since there are tons of 43xx chips from broadcom that also do bluetooth but are just UART
<marcan> yeah, makes sense
<sven> (and because alyssa complained that BCM43XX looks ugly :D)
<marcan> might cut new images then anyway if I have time, not like it takes much
<marcan> alright, off to fly in a Cessna :p
<marcan> (my brother is a pilot now)
<sven> :D
<sven> have fun!
<sven> those are much more fun that one of these big planes :>
<sven> *than
<JTL> a) didn't know you had a brother b) have fun
<JTL> :D
Catyre has quit [Ping timeout: 480 seconds]
<_jannau_> marcan: no concerns for m1* devices here. m2 mtp firmware has become a little annoying. Sometimes it takes more than 5 reboots for it to work
<_jannau_> have fun
Catyre has joined #asahi-dev
<j`ey> marcan living it up in a private jet :P
Catyre has quit [Remote host closed the connection]
<dhewg> bcm43xx sounds old, that's also what the original wii had, right?
<JTL> dhewg: didn't old powerbooks also use it for wireless?
<JTL> I vaguely remember having to mess with broadcom blobs trying to get wifi working under linux with powerbook g4
kloenk has quit [Remote host closed the connection]
kloenk has joined #asahi-dev
<chadmed> yeah its a bit ridiculous that they still use the 43xx nomenclature tbh
<chadmed> most things about broadcom are a bit ridiculous though so...
<dhewg> maybe, I dunno, but I do remember the wii. That was the b43 legacy driver with the openfwwf firmware through. I hope this isn't as ancient as that ;)
the_lanetly_052 has joined #asahi-dev
<sven> many of broadcom's devices start with 43, i just didn't realize and that's why I called the driver bcm43xx
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
L1Q has joined #asahi-dev
leitao has joined #asahi-dev
leitao has quit [Read error: No route to host]
leitao has joined #asahi-dev
leitao has quit []
sirn has joined #asahi-dev
sirn has quit [Remote host closed the connection]
<kettenis> chadmed: the consensus in the ARM/UEFI universe seems to be to provide information about firmware/hardware through SMBIOS
walid has joined #asahi-dev
<kettenis> u-boot supports this, but only implements the traditional "32-bit" interface
<kettenis> where pointers to the relevant information blobs are 32-bit
<kettenis> this doesn't work on Apple hardware since there is no memory at addresses below 4G to store the SMBIOS tables
sirn has joined #asahi-dev
<kettenis> that's why I disabled SMBIOS support in u-boot
<kettenis> somebody who cares could probably implement the 64-bit interface for that and populate the tables with interesting stuff
nicolas17 has quit [Read error: Connection reset by peer]
nicolas17 has joined #asahi-dev
<chadmed> yeah i understand that and kinfocenter already supports SMBIOS/DMI but there are really just loads of devices that dont use it anyway. a certain variety of wildly popular SBCs for example
<chadmed> like there are just so many arm platforms, including this one, that will never fully conform the BSA or any variety of SystemReady for various reasons
<chadmed> especially when you can achieve ~equivalent functionality to exposing SMBIOS tables with 50 lines of code in this case
<kettenis> fair enough; just wanted to make sure you were aware of this in case you wanted to go further down that path
<chadmed> it would be helpful for the BSDs i guess since afaik theres no filesystem where the FDT is exposed but id personally be worried about scope creep and duplicated efforts if we got stuck into it
<chadmed> and at the end of the day we'd just end up with a peculiar mix of SBBR and EBBR infrastructure. like if we implement SMBIOS support, how long before we end up saying "fk it" and doing ACPI too
<chadmed> all on top of u-boot :P
<maz> chadmed: try and fit AIC in ACPI first...
<chadmed> scratch up the SPI tracks on the motherboard and tack on a 64Mb flash chip for the tables
<kettenis> fdt is exposed through ioctls in OpenBSD (the same way as the OpenFirmware device tree is exposed on sparc64 and the old Apple powerpc machines)
<kettenis> think it is the same way on other BSDs
<kettenis> anyway, exposing this information in a GUI isn't something I particularly care about
<mps> `cat /proc/device-tree/model` is fine for me
<chadmed> yeah fair, i just thought it was some nice low hanging fruit to marginally improve quality of life for desktop users
<chadmed> imo its really the little things like this which contribute most to how janky people feel their experience is
<chadmed> people go into it knowing which features will be missing but when they go to see something like 10 Unknown Processors @ 0 GHz it can be really offputting
<mps> chadmed: you are right (but personally I don't care because I prefer text)
<chadmed> i mean these problems exist in text too but yeah
sirn has quit [Quit: ZNC 1.8.2 - https://znc.in]
sirn has joined #asahi-dev
sirn has quit [Read error: Connection reset by peer]
sirn has joined #asahi-dev
<mps> yes, not yet all data but will be in future, probably
jakebot6 has quit [Quit: Ping timeout (120 seconds)]
jakebot6 has joined #asahi-dev
<chadmed> lscpu should get support for all the current devices in the next util-linux
<mps> chadmed: https://tpaste.us/4og1 that is what lscpu shows on my m1 mbp
<chadmed> yeah it was missing pro, max and ultra
<chadmed> because they are different part IDs it would show nothing for CPU part
<mps> cpufetch -s legacy shows this https://tpaste.us/MkNk
<mps> SoC: unknown and Technology: unknown
<chadmed> support was added in may there, so just after the last release
<mps> ah, I didn't tried new kernels
<chadmed> i cant actually make sense of how this thing actually identifies arm cpus
<chadmed> it just has an enormous enum list of all the socs it supports
<chadmed> i cant find anywhere where it actually tries to match the part id in midr_el1 to anything
<chadmed> oh thats because it only does apple chips on macos lmao
<chadmed> this is the most overengineered cpu information listing tool
<chadmed> reminds me of enterprise fizzbuzz
kov has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
<sven> :D
millenialhacker has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
MajorBiscuit has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
<amarioguy> chadmed: gotcha that makes sense
millenialhacker has joined #asahi-dev
Gaspare has joined #asahi-dev
walid has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Quit: WeeChat 3.5]
Gaspare has quit [Ping timeout: 480 seconds]
the_lanetly_052 has joined #asahi-dev
mps has quit [Remote host closed the connection]
mps has joined #asahi-dev
mps_ has joined #asahi-dev
mps has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
zzywysm_ has joined #asahi-dev
Gaspare has joined #asahi-dev
zzywysm has quit [Ping timeout: 480 seconds]
millenialhacker has quit [Ping timeout: 480 seconds]
zzywysm_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zzywysm has joined #asahi-dev
millenialhacker has joined #asahi-dev
sirn has quit [Quit: ZNC 1.8.2 - https://znc.in]
sirn has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millenialhacker has quit [Read error: Connection timed out]
amarioguy has quit [Ping timeout: 480 seconds]
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
zzywysm has joined #asahi-dev
<sven> looks like the bt function can be reset just like the WiFi one in the brcm Android driver. It just doesn’t come back up afterwards yet :(
millenialhacker has joined #asahi-dev
Gaspare has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
<jannau> sven: apple magic keyboard/mouse work over bluetooth, completes the imac support. not sure how many people buy apple keyboards/mice with mac mini/studio
millenialhacker has quit [Ping timeout: 480 seconds]
<kettenis> I don't think I'll implement support for bluetooth in u-boot ;)
<jannau> reconnecting whenever used (how without keyboard) would probably annoying anyway
<jannau> luckily the keyboard is useable as usb keyboard when the charging cable is connected
<jannau> not designed by the person who put the charging connector for the mouse on the bottom
<nicolas17> jannau: Apple's electric car https://pbs.twimg.com/media/FM-KaukXoAUwT4R.jpg
<kettenis> jannau: ah cool, I didn't realize that
Catyre has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
Catyre has joined #asahi-dev
Catyre has quit [Remote host closed the connection]
doggkruse has joined #asahi-dev
doggkruse has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
<sven> jannau: nice!
<sven> i didn't even realize that this would "complete" imac support :D
<kettenis> well, there still is the pcie su3 controller issue ;)
<sven> i only consider bluetooth done anyway once it's in torvald's tree ;)
<sven> and then there's still ATC/thunderbolt...
millenialhacker has quit [Ping timeout: 480 seconds]
<jannau> hah, I wish. "complete" in the sense that there is a useable system without extra parts/how a mac os user would use the system
<sven> :D
<nicolas17> complete? so we have GPU now? ;) *hides*
Gaspare has quit [Quit: Gaspare]
mps_ is now known as mps
doggkruse has joined #asahi-dev
Gaspare has joined #asahi-dev
doggkruse has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Ping timeout: 480 seconds]
nicolas17 has joined #asahi-dev
nicolas17 has quit []
nicolas17 has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
Gaspare has joined #asahi-dev
Gaspare has quit [Quit: Gaspare]
zzywysm has quit [Quit: Textual IRC Client: www.textualapp.com]
zzywysm has joined #asahi-dev
the_lanetly_052__ has joined #asahi-dev
nabby^ has joined #asahi-dev
the_lanetly_052 has quit [Ping timeout: 480 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
nabby^ has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
<teach3e[m]> @marcan I was reviewing the recent M2 streams trying debug something I'm running into booting a guest and noticed a potential issue. Here is the point in the stream: https://youtu.be/SidIJkC5YN0?t=7051. You copy the general PCORE chicken bits, which includes reg_set(SYS_IMP_APL_HID11, HID11_DISABLE_LD_NT_WIDGET). But after some edits it gets pushed below the line of new vs old code and then deleted here (see lines 37,54):
nabby^ has joined #asahi-dev
nabby^ has quit [Remote host closed the connection]
nehsou^ has joined #asahi-dev
hays has joined #asahi-dev