ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
linuxgemini180 has joined #asahi-dev
linuxgemini18 has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
DragoonAethis has quit [Quit: hej-hej!]
nepeat has quit [Quit: ZNC - https://znc.in]
DragoonAethis has joined #asahi-dev
nepeat has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
gabuscus has quit []
gabuscus has joined #asahi-dev
ydzhou` has joined #asahi-dev
hxliew has quit []
ydzhou` has quit [Ping timeout: 480 seconds]
abd has joined #asahi-dev
abd has quit [Remote host closed the connection]
kettenis has joined #asahi-dev
benpoulson has joined #asahi-dev
drubrkletern has joined #asahi-dev
benpoulson has quit [Ping timeout: 480 seconds]
kettenis has quit [Ping timeout: 480 seconds]
mamoos1 has quit [Ping timeout: 480 seconds]
drubrkletern has quit [Remote host closed the connection]
audiojaguar has quit [Quit: ZNC - https://znc.in]
audiojaguar has joined #asahi-dev
mamoos1 has joined #asahi-dev
<jannau> eiln_: https://www.jannau.net/asahi/ane/ not sure what you're looking for but it seems all PD_COUNT vals work
<jannau> also modified '"ane%d" % i*2' to '"ane%d" % (i*2)'. it looks like '%' takes precedence over '*'
<eiln_> jannau: does it work with 4?
<jannau> eiln_: https://www.jannau.net/asahi/ane/ane_t6002_power_pd4.log exceptions and more poll output. are those crash dumps?
<eiln_> jannau: yeah, the engine region seems to be locked behind 5 then. weird the last two turn on though, whose domain is that?
<eiln_> can you see if the 8th one turns on too?
<jannau> updated, different content but do 7 and 8 actually turn anything on as the pmgr reg remains 0
<eiln_> jannau: received, thank you so much. it looks like it's 6.
<eiln_> so the kext turns on 5 to unlock the mmio region, then the fw turns on the last one... why are they playing games with power domains of all things
nepeat has quit [Quit: ZNC - https://znc.in]
nepeat has joined #asahi-dev
<eiln_> oh wait i figured it out
<eiln_> ane_sys_cpu is 0xc000 for t8103, and there's 6 more after to make it 0xc000 - 0xc030
<eiln_> t6000 has ane_sys_cpu elsewhere, and there's 6 too, so it goes 0xc000 - 0xc028
<eiln_> both have the same pds, just in diff locations
<eiln_> terrible day for one off errors, i'm was counting on my fingers lol
chadmed has quit [Remote host closed the connection]
kettenis has joined #asahi-dev
nyilas has joined #asahi-dev
chadmed has joined #asahi-dev
nsklaus has joined #asahi-dev
yzhou has quit [Ping timeout: 480 seconds]
bps2 has joined #asahi-dev
r0ni has joined #asahi-dev
kettenis has quit [Ping timeout: 480 seconds]
Tramtris1 has joined #asahi-dev
Tramtrist has quit [Ping timeout: 480 seconds]
kettenis has joined #asahi-dev
r0ni has quit [Quit: Textual IRC Client: www.textualapp.com]
cylm has joined #asahi-dev
kettenis has quit [Ping timeout: 480 seconds]
<sven> huh, looks like the t8103 thunderbolt dart wasn't picked up for some reason
<sven> guess i'll just send that series again :(
bps2 has quit [Ping timeout: 480 seconds]
<lina> sven: And I never got a reply from Robin about what to do with the UAT IOMMU code... ;;
<lina> I wonder if I should just do what DART did and reimplement it (except directly in Rust and not use io-pgtable at all...)
<sven> :(
kettenis has joined #asahi-dev
kettenis_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
benpoulson has joined #asahi-dev
benpoulson has quit [Remote host closed the connection]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
benpoulson has joined #asahi-dev
billak has joined #asahi-dev
<maz> shades of the same problem I had last year when building the installer from scratch: the 'core' crate appears to be missing, and I have no clue how to square that one (well, I managed it last year, but obviously paged it out since...)
<maz> (yes, I'd like to get this m2 pro mini going...)
benpoulson has quit [Remote host closed the connection]
<jannau> maz: just missing submodules? `git submode sync git submodule --init` should help then but `curl -L https://alx.sh/dev | sh` should support installing on m2 pro mini
<jannau> you end up with the chainloaded m1n1 running in proxy mode since the dtb for the target is missing
<maz> jannau: no amount of 'git submodule' seems to help, and I have the same error when building m1n1 with the CHAINLOAD option.
<maz> I'll give the pre-build installer a go, which is likely the best option! ;-)
<maz> "This device is not supported yet!"
<ChaosPrincess> go to /tmp/asahi-installer and patch out the check
<jannau> was that built before the m2* mini model numbers were fixed?
<maz> jannau: right, let me try that now.
chadmed has joined #asahi-dev
korreckj328 has joined #asahi-dev
<maz> yup, much happier now. I'll report back once I'm done with it (I'll probably need a pointer to a DT and such...)!
<jannau> use 13.3 for installing, m1n1 main branch and asahi-wip in linux should work to the extent of what's supported, i.e. no display and gpu and no wifi/bt everything else should work
<maz> jannau: brilliant! I seem to remember that u-boot works with the same constraints?
<jannau> t6020 branch in u-boot
<marcan> fixed the stupid trackpad stops working issue. I think what happens is sometimes the Broadcom touch controller freaks out, and then the STM times out and resets it. when that happens hid-magicmouse gets a report 0x60 and it has to re-send the HID report init/change packet to go back to regular MT mode.
<maz> excellent. m1n1 is alive on the machine, thanks a bunch!
<marcan> validating and will push in a bit.
<marcan> umm... something else blew up...
<jannau> marcan: do you have more context? did this happen at plasma startup or randomly while it was running. if the latter any idea why it would create a new buffer
<marcan> it happened when I first moved the mouse after plasma startup
<marcan> could be the cursor
<jannau> I'd start looking in the iommu code but I have no idea where. was that with or without lina's 4k patch?
<jannau> based on version probably asahi-wip with the touchpad fixes
billak has quit [Remote host closed the connection]
<maz> jannau: "U-Boot 2023.04-00021-g1b30640649-dirty (Apr 30 2023 - 14:28:03 +0100)"
<maz> we're in business! a lot of thanks to everyone!
mamoos1 has quit [Ping timeout: 480 seconds]
<maz> (hopefully I can now consider turning the M2 MBA into a real laptop and not just a dev board... ;-)
mamoos1 has joined #asahi-dev
<marcan> jannau: it's asahi-wip plus spi debug stuff
<marcan> now I'm trying to figure out why the reset report never makes it to hid-magicmouse, but only sometimes (usually the second time it happens) :/
korreckj328 has quit [Remote host closed the connection]
korreckj328 has joined #asahi-dev
<marcan> [ 65.477961] apple_ll_close
<marcan> lol okay.
<marcan> the desktop environment closes the trackpad device when you close the lid. that makes sense but... yeah, then I lose the "omg reset" report sometimes.
<marcan> I guess I have to make magicmouse send the init command unconditionally on every device open
steffen[m] has quit [Remote host closed the connection]
steffen[m] has joined #asahi-dev
<marcan> well... there's no hook for that, lovely
<marcan> so instead I guess we just keep the LL device open
<marcan> not that there's any power disadvantage to doing that right now, it does not actually shut down anything in the LL driver, so meh
steffen[m] has quit [Remote host closed the connection]
mamoos1 has quit [Ping timeout: 480 seconds]
WindowPa- has joined #asahi-dev
steffen[m] has joined #asahi-dev
<marcan> well I guess I could mutate the input device
<marcan> maybe that's a better idea
WindowPain has quit [Ping timeout: 480 seconds]
steffen[m] has quit [Remote host closed the connection]
steffen[m] has joined #asahi-dev
mamoos1 has joined #asahi-dev
<marcan> pushed
<marcan> I *want* to say the spihid stuff might finally be stable now :)
mamoos1 has quit [Quit: Lost terminal]
bcrumb has joined #asahi-dev
djorz has quit [resistance.oftc.net reflection.oftc.net]
steven has quit [resistance.oftc.net reflection.oftc.net]
balrog has quit [resistance.oftc.net reflection.oftc.net]
msteffen has quit [resistance.oftc.net reflection.oftc.net]
_rudi has quit [resistance.oftc.net reflection.oftc.net]
zjstraus has quit [resistance.oftc.net reflection.oftc.net]
bpye has quit [resistance.oftc.net reflection.oftc.net]
nyx_o has quit [resistance.oftc.net reflection.oftc.net]
zzywysm has quit [resistance.oftc.net reflection.oftc.net]
enron has quit [resistance.oftc.net reflection.oftc.net]
CoolStar_ has quit [resistance.oftc.net reflection.oftc.net]
zalyx0 has quit [resistance.oftc.net reflection.oftc.net]
apalos has quit [resistance.oftc.net reflection.oftc.net]
refi64 has quit [resistance.oftc.net reflection.oftc.net]
kode54 has quit [resistance.oftc.net reflection.oftc.net]
jlco has quit [resistance.oftc.net reflection.oftc.net]
lawt has quit [resistance.oftc.net reflection.oftc.net]
weitcis has quit [resistance.oftc.net reflection.oftc.net]
Method has quit [resistance.oftc.net reflection.oftc.net]
soonercane has quit [resistance.oftc.net reflection.oftc.net]
turo has quit [resistance.oftc.net reflection.oftc.net]
Leo3418 has quit [resistance.oftc.net reflection.oftc.net]
TheFirst has quit [resistance.oftc.net reflection.oftc.net]
xaiki has quit [resistance.oftc.net reflection.oftc.net]
nathanchance has quit [resistance.oftc.net reflection.oftc.net]
liszt has quit [resistance.oftc.net reflection.oftc.net]
codingkoopa3 has quit [resistance.oftc.net reflection.oftc.net]
skoobasteeve has quit [resistance.oftc.net reflection.oftc.net]
cyrozap has quit [resistance.oftc.net reflection.oftc.net]
tbodt has quit [resistance.oftc.net reflection.oftc.net]
mokou has quit [resistance.oftc.net reflection.oftc.net]
ids1024 has quit [resistance.oftc.net reflection.oftc.net]
emptynine has quit [resistance.oftc.net reflection.oftc.net]
eigenform has quit [resistance.oftc.net reflection.oftc.net]
rcombs has quit [resistance.oftc.net reflection.oftc.net]
argonaut has quit [resistance.oftc.net reflection.oftc.net]
tmlind has quit [resistance.oftc.net reflection.oftc.net]
Poplar has quit [resistance.oftc.net reflection.oftc.net]
tpw_rules has quit [resistance.oftc.net reflection.oftc.net]
Skirmisher has quit [resistance.oftc.net reflection.oftc.net]
Gaelan_ has quit [resistance.oftc.net reflection.oftc.net]
Avaflow has quit [resistance.oftc.net reflection.oftc.net]
tmlind has joined #asahi-dev
mokou has joined #asahi-dev
TheFirst has joined #asahi-dev
lawt has joined #asahi-dev
msteffen has joined #asahi-dev
xaiki has joined #asahi-dev
skoobasteeve has joined #asahi-dev
turo has joined #asahi-dev
weitcis has joined #asahi-dev
tpw_rules has joined #asahi-dev
tbodt has joined #asahi-dev
Poplar has joined #asahi-dev
Avaflow has joined #asahi-dev
cyrozap has joined #asahi-dev
codingkoopa3 has joined #asahi-dev
liszt has joined #asahi-dev
kode54 has joined #asahi-dev
zjstraus has joined #asahi-dev
CoolStar_ has joined #asahi-dev
nyx_o has joined #asahi-dev
Leo3418 has joined #asahi-dev
soonercane has joined #asahi-dev
Gaelan has joined #asahi-dev
balrog has joined #asahi-dev
Method has joined #asahi-dev
rcombs has joined #asahi-dev
nathanchance has joined #asahi-dev
argonaut has joined #asahi-dev
Skirmisher has joined #asahi-dev
emptynine has joined #asahi-dev
ids1024 has joined #asahi-dev
zalyx0 has joined #asahi-dev
_rudi has joined #asahi-dev
enron has joined #asahi-dev
bpye has joined #asahi-dev
refi64 has joined #asahi-dev
zzywysm has joined #asahi-dev
steven has joined #asahi-dev
bcrumb has quit [Quit: WeeChat 3.8]
apalos has joined #asahi-dev
WindowPain has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
___nick___ has quit []
WindowPa- has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
<jannau> marcan: as long as the touchbar drivers are ignored be kde and gnome it would make sense it include and build them in the edge kernel to make user space development simpler
* jannau still needs to convince ChaosPrincess to remove the software rotation from the driver
<ChaosPrincess> its at least a tiny bit useful with sw rotation
<ChaosPrincess> actually, if you tell me how to get vertical stride from framebuffer, i can remove the rotation :P
<jannau> the driver is to serve special user space programm(s) to be written from scratch so it should take the panel orientation into account from the beginning
<jannau> what do mean by vertical stride?
<ChaosPrincess> fb->pitches contains horizontal stride
korreckj328_ has joined #asahi-dev
<ChaosPrincess> actually, i think im confusing myself
<jannau> my understanding how it is supposed to work is that the driver exports a mode of 60x2008. user space uses then fb with 60 (stride 64) by 2008 pixels with pre-rotated content. I suspect your vertical stride is then inside pitches
korreckj328 has quit [Ping timeout: 480 seconds]
<marcan> jannau: yeah, that's the only blocker as far as I'm concerned
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
<jannau> we probably have to add an udev rule to have the touchscreen ignored by libinput
DarkShadow44 has joined #asahi-dev
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
DarkShadow44 has quit []
DarkShadow44 has joined #asahi-dev
DarkShadow44 has quit [Quit: ZNC - https://znc.in]
DarkShadow44 has joined #asahi-dev
<ChaosPrincess> jannau: removed sw rotation
<ChaosPrincess> do you also want me to throw a non-desktop on it
<jannau> thanks, yes, please add non-desktop
brolin has joined #asahi-dev
<ChaosPrincess> done
brolin has quit [Ping timeout: 480 seconds]
eiln_ has quit [Quit: WeeChat 3.8]
brolin has joined #asahi-dev
korreckj328__ has joined #asahi-dev
abd has joined #asahi-dev
korreckj328_ has quit [Ping timeout: 480 seconds]
korreckj328_ has joined #asahi-dev
korreckj328__ has quit [Ping timeout: 480 seconds]
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
nicolas17 has joined #asahi-dev
brolin has quit [Ping timeout: 480 seconds]
bcrumb has joined #asahi-dev
korreckj328__ has joined #asahi-dev
djorz has joined #asahi-dev
korreckj328_ has quit [Ping timeout: 480 seconds]
yzhou has joined #asahi-dev
SalimTer- has joined #asahi-dev
salimterryli has quit [Ping timeout: 480 seconds]
___nick___ has quit [Ping timeout: 480 seconds]
cylm has quit [Ping timeout: 480 seconds]
yzhou has quit [Quit: Leaving]
eiln has joined #asahi-dev
abd has quit [Ping timeout: 480 seconds]
abd has joined #asahi-dev
eiln has quit [Quit: WeeChat 3.8]
elvishjerricco has quit [Read error: Connection reset by peer]
elvishjerricco has joined #asahi-dev
nyilas has quit [Remote host closed the connection]
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
bps2 has joined #asahi-dev
eiln has joined #asahi-dev
eiln_ has joined #asahi-dev
eiln has quit [Remote host closed the connection]
<eiln_> shot in the dark but does any t6000 mind running experiments/ane.py on ane-t6000 branch https://github.com/eiln/m1n1/tree/ane-t6000
<ChaosPrincess> eiln_: where do i get add.hwx from
<eiln_> sorry shoudlve mentioned
<eiln_> ChaosPrincess: ty. looking at the error.
<ChaosPrincess> (j314s)
bcrumb has quit [Quit: WeeChat 3.8]
eiln_ has quit [Quit: WeeChat 3.8]
bps2 has quit [Ping timeout: 480 seconds]
espo has quit [Quit: fBNC - https://bnc4free.com]
<povik> writing a codec driver from scratch after having learned most of the ins and outs of ASoC is strangely soothing :D
<povik> or is it having datasheet at hand, for once?
abd has quit [Ping timeout: 480 seconds]
nicolas17 has quit [Read error: Connection reset by peer]