marcan 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
Dcow has joined #asahi-dev
user982492_ has joined #asahi-dev
user982492 has quit [Ping timeout: 480 seconds]
Dcow has quit [Quit: dcow]
Dcow has joined #asahi-dev
Dcow has quit [Quit: dcow]
goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
capta1nt0ad has joined #asahi-dev
capta1nt0ad has quit [Remote host closed the connection]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #asahi-dev
ma1 has joined #asahi-dev
ma has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi-dev
tobhe has quit [Ping timeout: 481 seconds]
user982492 has joined #asahi-dev
agraf has quit [Server closed connection]
agraf has joined #asahi-dev
gruetzkopf has quit [Server closed connection]
gruetzkopf has joined #asahi-dev
florolf has quit [Server closed connection]
florolf has joined #asahi-dev
m42uko has quit [Server closed connection]
m42uko has joined #asahi-dev
j`ey has quit [Server closed connection]
j`ey has joined #asahi-dev
shorne has quit [Server closed connection]
shorne has joined #asahi-dev
merry_ has quit [Server closed connection]
merry has joined #asahi-dev
jannau has quit [Server closed connection]
jannau has joined #asahi-dev
dhewg has quit [Server closed connection]
dhewg has joined #asahi-dev
Shiz has quit [Server closed connection]
Shiz has joined #asahi-dev
dottedmag has quit [Server closed connection]
dottedmag has joined #asahi-dev
SSJ_GZ has joined #asahi-dev
user982492_ has joined #asahi-dev
user982492 has quit [Ping timeout: 480 seconds]
maz has quit [Server closed connection]
maz has joined #asahi-dev
sven has quit [Server closed connection]
sven has joined #asahi-dev
<marcan> jannau: I added firmware version formwarding into the DT, in the style of what Lina proposed for GPU (apple,firmware-version and apple,firmware-compat, containing something like <12 3 0>)
<marcan> the DCP driver should probably refuse to probe if firmware-compat isn't <12 3 0>
<marcan> (m1n1 passes version <12 4 0> and compat <12 3 0> for 12.4)
<marcan> robher: Is documenting /chosen bindings a thing? We've been adding random stuff there, some of which might make sense to document in the sense of promising stability in the future (or just getting review). None of it is used by the kernel itself right now (the aforementioned version thing is in the device node, that will be reviewed along with that binding).
<marcan> we've been using the asahi, prefix for stuff we just stash in there like firmware versions and the keyboard language code (the latter is the only thing used by userspace setup scripts, and we probably need a more standard binding for that going in the keyboard node; that yak is in the back burner)
<marcan> I just added a pile of string props to pass various firmware and bootloader versions upward, mostly for documentation / so we can ask for and gather that info with bug reports
chadmed_ has joined #asahi-dev
chadmed_ has quit [Remote host closed the connection]
nikorai_ has quit [Server closed connection]
chadmed_ has joined #asahi-dev
<chadmed_> im reasonably certain that the pipewire DSP graph is 100% safe at 18.5 dBV on j314 now
nikorai has joined #asahi-dev
<chadmed_> i have sorted the last of the over-excursion on big bass hits
eloy__ has quit [Server closed connection]
eloy_ has joined #asahi-dev
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pg12 has quit [Server closed connection]
pg12 has joined #asahi-dev
sneak has quit [Server closed connection]
sneak has joined #asahi-dev
<marcan> FYI: I've increased installer stub size to 3GB (in dev only). There was a bug report that 13.0 failed to install due to running out of space. That's all unsupported and I think we can get a lot of leeway if we figure out how to use APFS compression for the recoveryOS image, but I feel uneasy about 2.5GB if we're so close to the edge, so let's play it safe for new installs.
<marcan> ah wait, maybe I know what this is
<marcan> ah yeah, it's just copying the cryptexes too
<marcan> nevermind, reverting
nicolas17 has quit [Quit: Konversation terminated!]
TellowKrinkle has quit [Server closed connection]
TellowKrinkle has joined #asahi-dev
highvoltage[m] has quit [Server closed connection]
highvoltage[m] has joined #asahi-dev
zkrx has quit [Server closed connection]
zkrx has joined #asahi-dev
SSJ_GZ has quit [Read error: No route to host]
SSJ_GZ has joined #asahi-dev
goldsoultheory has joined #asahi-dev
gabuscus has quit []
gabuscus has joined #asahi-dev
Dcow has joined #asahi-dev
<jannau> marcan: does vdmtool work reliably with m2 for you (if you use it)? only reason I'm using it that m1n1's usb is very unreliable on my m2 macbook (using the m1 max macbook as host)
<jannau> vdmtool works with same setup without issues on m1 devices
<marcan> jannau: I don't use vdmtool, I use my arduino thing (which has its own reliability problems, with everything)
<jannau> the arduino sw is called vdmtool https://github.com/AsahiLinux/vdmtool
Dcow has quit [Quit: dcow]
<jannau> marcan: m1n1 fixes for dcpext fw version on t8102/t8112 and dcpext on t8112
<jannau> dcpext doesn't work on m2 yet
<jannau> marcan: linux dcp firmware version check is added to https://github.com/jannau/linux/tree/asahi-6.1-rc6-5_dcp-fixes
<jannau> m2 dcp support in https://github.com/jannau/linux/tree/asahi-6.1-rc6-4_dcp-m2 has a small fix
<jannau> nice, I just noticed that with panel dimensions in devicetree HiDPI in gdm works out of the box
mps has quit [Quit: Lost terminal]
mps has joined #asahi-dev
xcpy0 has quit [Quit: The Lounge - https://thelounge.chat]
amarioguy2 has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
<jannau> marcan: you seem to have mis-tagged v1.2.2. I assume you intended to tag 426604926d162850b and not v1.2.1
<marcan> jannau: derp.
<marcan> jannau: fixed, thanks
<marcan> (wrangling the kernel right now)
riker77 has quit [Quit: Quitting IRC - gone for good...]
<robher> marcan: yes, it's documented in dtschema. /chosen is configuration for the OS, so informational firmware versions doesn't really really seem appropriate. Idealy, there'd be appropriate device nodes to put stuff in. There's also the /options node.
amarioguy2 is now known as amarioguy
riker77 has joined #asahi-dev
xcpy0 has joined #asahi-dev
chadmed_ has quit [Remote host closed the connection]
lawrence has quit [Remote host closed the connection]
lawrence has joined #asahi-dev
<kettenis> there also is /firmware
user982492 has joined #asahi-dev
ma2 has joined #asahi-dev
user982492 has quit [Read error: Connection reset by peer]
<robher> kettenis: True. That's generally for defining firmware interfaces the OS uses. Things that could be h/w, but happen to be implemented by firmware.
<marcan> robher: we're already putting firmware versions for specific devices in those nodes, but this is more like overall bootloader versions and things like that
user982492 has joined #asahi-dev
ma1 has quit [Ping timeout: 480 seconds]
<robher> marcan: bootloader version makes sense for /chosen
<robher> got to run.
ma2 has quit [Ping timeout: 480 seconds]
ma2 has joined #asahi-dev
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
user982492 has quit [Read error: Connection reset by peer]
user982492_ has joined #asahi-dev
ma2 has quit [Ping timeout: 480 seconds]
ma2 has joined #asahi-dev
ma3 has joined #asahi-dev
ma2 has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi-dev
<marcan> tagged asahi-6.1-rc7-1
<marcan> includes the DCP stuff from jannau, rebased on top of -rc7 plus the asahi-soc/for-next branch as base
<marcan> also the macsmc-battery additions I just made (now it enables critical battery events and triggers a userspace orderly shutdown on critical (~=0%), and does a panic kernel poweroff when the battery drops below its design min voltage which seems to be reliably a few seconds before the BMC tells SMC to cut power)
Dcow has quit [Quit: dcow]
<marcan> jannau: Looks like lina's patch to disable the vblank stuff isn't in your branch, should I apply that?
<marcan> (or did I forget to merge something?)
<jannau> indeed, I thought I cherry-picked it, all the other patches are there
<jannau> marcan: seems to be an oversight on my part
<jannau> f0fdea884a80ecf6973da5790debc9931458e10f cherry-picks cleanly
<marcan> thanks, I'll add it
gladiac has joined #asahi-dev
Dcow has joined #asahi-dev
<marcan> pushed to asahi-dev, please smoke test :)
<marcan> I want to push this out to asahi soonish, mostly for the M2 DCP support
<jannau> local build seems to work fine on M2
<thasti> smoke test passed on M2 MBA :)
gladiac has quit [Quit: k thx bye]
user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joske has joined #asahi-dev
<joske> linux-asahi from asahi-dev works fine on M1 MBA
joske has quit [Remote host closed the connection]
user982492 has joined #asahi-dev
joske has joined #asahi-dev
<joske> same for -edge variant
joske has quit [Remote host closed the connection]
Dcow has quit [Quit: dcow]
fmstrat has quit [Quit: WeeChat 3.1]
Dcow has joined #asahi-dev
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
Dcow has quit [Remote host closed the connection]
Dcow has joined #asahi-dev
Dcow has quit [Remote host closed the connection]
<jannau> sven: https://github.com/jannau/linux/tree/asahi-6.1-rc7-2-dp-altmode-wip horrible hacky tree, but somewhat reliable post boot, displays immediately after connect, still triggering atcphy warning on dp hotplug
<sven> huh, weird :/
<sven> the warning I mean
<sven> oh, it’s using the old altmode code and not the typec stuff?
<sven> that might explain the warnings, let me check
<jannau> based on atcphc-20221130 but not the typec integration
<jannau> I didn't get the typec integration to work at all
<sven> you need to replace one function in typec/altmode/DisplayPort.c so that it finds the graph connection to the drm node
<sven> I don’t think I pushed that yet
<jannau> yes, no changes in typec/altmode/DisplayPort.c
<sven> yeah, then the connection to drm won’t work
<sven> you can also hack it in the dt
<sven> iirc the tps node needs to get a displayport = <&display_subsystem>; property or something like that
<sven> altmode/displayport.c needs to use fwnode_connection_find_match essentially
<sven> something like fwnode_connection_find_match(fwnode, "displayport", NULL, dp_match) with dp_match just returning fwnode if fwnode_property_present(fwnode, id) is true
<sven> I still need to do that properly
lawrence has quit [Remote host closed the connection]
lawrence has joined #asahi-dev
eiln has joined #asahi-dev
<eiln> hello! does anyone with a non-t8103 mind running this hv script?
<eiln> ping me anytime!
Dcow has joined #asahi-dev
<jannau> hmm, I should have tried the other display earlier. the high resolution lg display which needs 4 lanes doesn't work at all, but the dell 4k display does work
<jannau> with both displays I can quite easily hit following warnings: https://gist.github.com/jannau/a9a189256112e0dcddcc92f2803693c3
<jannau> easiest way to reproduce is to connect an usb-c dp adapter without dp cable and connect the dp cable
<jannau> typec sysfs files say pin assignment E so all 4 lanes should be available for dp
yrlf has quit [Quit: The Lounge - https://thelounge.chat]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SSJ_GZ has quit [Ping timeout: 480 seconds]
eiln has quit [Remote host closed the connection]
povik has quit [Remote host closed the connection]