#
…

2022-12-04

00:11Dcow has joined #asahi-dev
00:15user982492_ has joined #asahi-dev
00:21user982492 has quit [Ping timeout: 480 seconds]
00:25Dcow has quit [Quit: dcow]
00:27Dcow has joined #asahi-dev
00:54Dcow has quit [Quit: dcow]
01:07goldsoultheory has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:07user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:30capta1nt0ad has joined #asahi-dev
01:54capta1nt0ad has quit [Remote host closed the connection]
02:00DragoonAethis has quit [Quit: hej-hej!]
02:00DragoonAethis has joined #asahi-dev
02:55ma1 has joined #asahi-dev
03:02ma has quit [Ping timeout: 480 seconds]
04:06tobhe_ has joined #asahi-dev
04:10tobhe has quit [Ping timeout: 481 seconds]
04:11user982492 has joined #asahi-dev
04:18agraf has quit [Server closed connection]
04:18agraf has joined #asahi-dev
04:59gruetzkopf has quit [Server closed connection]
04:59gruetzkopf has joined #asahi-dev
05:03florolf has quit [Server closed connection]
05:03florolf has joined #asahi-dev
05:22m42uko has quit [Server closed connection]
05:22m42uko has joined #asahi-dev
05:31j`ey has quit [Server closed connection]
05:31j`ey has joined #asahi-dev
05:51shorne has quit [Server closed connection]
05:51shorne has joined #asahi-dev
06:17merry_ has quit [Server closed connection]
06:18merry has joined #asahi-dev
06:20jannau has quit [Server closed connection]
06:20jannau has joined #asahi-dev
06:24dhewg has quit [Server closed connection]
06:24dhewg has joined #asahi-dev
06:34Shiz has quit [Server closed connection]
06:34Shiz has joined #asahi-dev
06:43dottedmag has quit [Server closed connection]
06:43dottedmag has joined #asahi-dev
06:49SSJ_GZ has joined #asahi-dev
06:52user982492_ has joined #asahi-dev
06:58user982492 has quit [Ping timeout: 480 seconds]
07:01maz has quit [Server closed connection]
07:01maz has joined #asahi-dev
07:14sven has quit [Server closed connection]
07:14sven has joined #asahi-dev
07:16marcanjannau: 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>)
07:16marcanthe DCP driver should probably refuse to probe if firmware-compat isn't <12 3 0>
07:17marcan(m1n1 passes version <12 4 0> and compat <12 3 0> for 12.4)
07:20marcanrobher: 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).
07:21marcanwe'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)
07:22marcanI 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
07:27chadmed_ has joined #asahi-dev
07:30chadmed_ has quit [Remote host closed the connection]
07:33nikorai_ has quit [Server closed connection]
07:33chadmed_ has joined #asahi-dev
07:34chadmed_im reasonably certain that the pipewire DSP graph is 100% safe at 18.5 dBV on j314 now
07:35nikorai has joined #asahi-dev
07:35chadmed_i have sorted the last of the over-excursion on big bass hits
07:36eloy__ has quit [Server closed connection]
07:36eloy_ has joined #asahi-dev
07:36user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:42pg12 has quit [Server closed connection]
07:43pg12 has joined #asahi-dev
07:54sneak has quit [Server closed connection]
07:55sneak has joined #asahi-dev
07:58marcanFYI: 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.
08:02marcanah wait, maybe I know what this is
08:04marcanah yeah, it's just copying the cryptexes too
08:04marcannevermind, reverting
08:10nicolas17 has quit [Quit: Konversation terminated!]
08:25TellowKrinkle has quit [Server closed connection]
08:25TellowKrinkle has joined #asahi-dev
08:31highvoltage[m] has quit [Server closed connection]
08:32highvoltage[m] has joined #asahi-dev
09:07zkrx has quit [Server closed connection]
09:07zkrx has joined #asahi-dev
09:17SSJ_GZ has quit [Read error: No route to host]
09:17SSJ_GZ has joined #asahi-dev
09:58goldsoultheory has joined #asahi-dev
10:54gabuscus has quit []
10:54gabuscus has joined #asahi-dev
10:59Dcow has joined #asahi-dev
11:05jannaumarcan: 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)
11:06jannauvdmtool works with same setup without issues on m1 devices
11:36marcanjannau: I don't use vdmtool, I use my arduino thing (which has its own reliability problems, with everything)
11:39jannauthe arduino sw is called vdmtool https://github.com/AsahiLinux/vdmtool
11:41Dcow has quit [Quit: dcow]
11:46jannaumarcan: m1n1 fixes for dcpext fw version on t8102/t8112 and dcpext on t8112
11:46jannaudcpext doesn't work on m2 yet
11:47jannaumarcan: linux dcp firmware version check is added to https://github.com/jannau/linux/tree/asahi-6.1-rc6-5_dcp-fixes
11:53jannaunice, I just noticed that with panel dimensions in devicetree HiDPI in gdm works out of the box
12:01mps has quit [Quit: Lost terminal]
12:06mps has joined #asahi-dev
13:10xcpy0 has quit [Quit: The Lounge - https://thelounge.chat]
13:16amarioguy2 has joined #asahi-dev
13:18amarioguy has quit [Ping timeout: 480 seconds]
13:26jannaumarcan: you seem to have mis-tagged v1.2.2. I assume you intended to tag 426604926d162850b and not v1.2.1
13:26marcanjannau: derp.
13:27marcanjannau: fixed, thanks
13:27marcan(wrangling the kernel right now)
13:33riker77 has quit [Quit: Quitting IRC - gone for good...]
13:40robhermarcan: 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.
13:42amarioguy2 is now known as amarioguy
13:45riker77 has joined #asahi-dev
14:04xcpy0 has joined #asahi-dev
15:15chadmed_ has quit [Remote host closed the connection]
15:31lawrence has quit [Remote host closed the connection]
15:33lawrence has joined #asahi-dev
15:40kettenisthere also is /firmware
15:43user982492 has joined #asahi-dev
15:44ma2 has joined #asahi-dev
15:46user982492 has quit [Read error: Connection reset by peer]
15:46robherkettenis: True. That's generally for defining firmware interfaces the OS uses. Things that could be h/w, but happen to be implemented by firmware.
15:46marcanrobher: we're already putting firmware versions for specific devices in those nodes, but this is more like overall bootloader versions and things like that
15:46user982492 has joined #asahi-dev
15:48ma1 has quit [Ping timeout: 480 seconds]
15:49robhermarcan: bootloader version makes sense for /chosen
15:49robhergot to run.
15:59ma2 has quit [Ping timeout: 480 seconds]
16:24ma2 has joined #asahi-dev
16:28jluthra has quit [Remote host closed the connection]
16:28jluthra has joined #asahi-dev
16:36user982492 has quit [Read error: Connection reset by peer]
16:36user982492_ has joined #asahi-dev
16:41ma2 has quit [Ping timeout: 480 seconds]
16:58ma2 has joined #asahi-dev
17:01ma3 has joined #asahi-dev
17:07ma2 has quit [Ping timeout: 480 seconds]
17:29Dcow has joined #asahi-dev
17:37marcantagged asahi-6.1-rc7-1
17:37marcanincludes the DCP stuff from jannau, rebased on top of -rc7 plus the asahi-soc/for-next branch as base
17:39marcanalso 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)
17:55Dcow has quit [Quit: dcow]
18:14marcanjannau: Looks like lina's patch to disable the vblank stuff isn't in your branch, should I apply that?
18:14marcan(or did I forget to merge something?)
18:22jannauindeed, I thought I cherry-picked it, all the other patches are there
18:23jannaumarcan: seems to be an oversight on my part
18:25jannauf0fdea884a80ecf6973da5790debc9931458e10f cherry-picks cleanly
18:26marcanthanks, I'll add it
18:36gladiac has joined #asahi-dev
18:37Dcow has joined #asahi-dev
18:50marcanpushed to asahi-dev, please smoke test :)
18:50marcanI want to push this out to asahi soonish, mostly for the M2 DCP support
18:53jannaulocal build seems to work fine on M2
19:02thastismoke test passed on M2 MBA :)
19:18gladiac has quit [Quit: k thx bye]
19:28user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:29joske has joined #asahi-dev
19:30joskelinux-asahi from asahi-dev works fine on M1 MBA
19:30joske has quit [Remote host closed the connection]
19:32user982492 has joined #asahi-dev
19:35joske has joined #asahi-dev
19:35joskesame for -edge variant
19:37joske has quit [Remote host closed the connection]
19:44Dcow has quit [Quit: dcow]
20:08fmstrat has quit [Quit: WeeChat 3.1]
20:23Dcow has joined #asahi-dev
20:25Dcow has quit [Remote host closed the connection]
20:26Dcow has joined #asahi-dev
20:30Dcow has quit [Remote host closed the connection]
20:30Dcow has joined #asahi-dev
20:53Dcow has quit [Remote host closed the connection]
21:04jannausven: 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
21:05svenhuh, weird :/
21:06sventhe warning I mean
21:06svenoh, it’s using the old altmode code and not the typec stuff?
21:07sventhat might explain the warnings, let me check
21:07jannaubased on atcphc-20221130 but not the typec integration
21:07jannauI didn't get the typec integration to work at all
21:08svenyou need to replace one function in typec/altmode/DisplayPort.c so that it finds the graph connection to the drm node
21:08svenI don’t think I pushed that yet
21:09jannauyes, no changes in typec/altmode/DisplayPort.c
21:10svenyeah, then the connection to drm won’t work
21:10svenyou can also hack it in the dt
21:11sveniirc the tps node needs to get a displayport = <&display_subsystem>; property or something like that
21:11svenaltmode/displayport.c needs to use fwnode_connection_find_match essentially
21:12svensomething like fwnode_connection_find_match(fwnode, "displayport", NULL, dp_match) with dp_match just returning fwnode if fwnode_property_present(fwnode, id) is true
21:12svenI still need to do that properly
21:30lawrence has quit [Remote host closed the connection]
21:33lawrence has joined #asahi-dev
22:37eiln has joined #asahi-dev
22:41eilnhello! does anyone with a non-t8103 mind running this hv script?
22:41eilnping me anytime!
22:41Dcow has joined #asahi-dev
22:46jannauhmm, 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
22:47jannauwith both displays I can quite easily hit following warnings: https://gist.github.com/jannau/a9a189256112e0dcddcc92f2803693c3
22:48jannaueasiest way to reproduce is to connect an usb-c dp adapter without dp cable and connect the dp cable
22:50jannautypec sysfs files say pin assignment E so all 4 lanes should be available for dp
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:00user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:01SSJ_GZ has quit [Ping timeout: 480 seconds]
23:18eiln has quit [Remote host closed the connection]
23:48povik has quit [Remote host closed the connection]
…