2023-05-08
00:53eiln has joined #asahi-dev
01:12nsklaus has quit [Ping timeout: 480 seconds]
01:27eiln has quit [Remote host closed the connection]
02:00gabuscus has quit []
02:02pthariensflame has joined #asahi-dev
02:03pthariensflame has quit []
02:15gabuscus has joined #asahi-dev
03:01Armlin has joined #asahi-dev
03:07sarucchi has joined #asahi-dev
03:38greguu has quit [Ping timeout: 480 seconds]
03:52mlp_ has joined #asahi-dev
04:00mlp_ has quit [Quit: Page closed]
04:08martinl has joined #asahi-dev
04:08martinl is now known as mlp
04:09mlp has quit []
04:10martinl has joined #asahi-dev
04:10martinl has quit []
04:11mlp has joined #asahi-dev
04:25Armlin has quit [Ping timeout: 480 seconds]
04:30mlp has quit [Ping timeout: 480 seconds]
04:40cylm_ has quit [Quit: WeeChat 3.6]
04:58mlp has joined #asahi-dev
05:00jannauchadmed: updates only when display brightness is changed sounds like what I would expect under X11
05:04jannaudoes the preview work for you? there should be noticeable changes while you hold the slider / "Color emperature preview" is displayed
05:24cylm has joined #asahi-dev
05:41chadmed_jannau: no the preview only updates when i change the brightness. then when it does, the cololur shifts to that lurid yellow-green that it has when it's active. this is at 2500K.
05:49cylm has quit [Quit: WeeChat 3.6]
05:54jannauare you sure it's plasma/wayland? I'm not aware how you could disable atomic_swaps with plasma/wayland. you should see 1 dcp_flush for each screen update
05:55chadmed_unless running dbus-run-session startplasma-wayland actually launches xorg then yeah its wayland :P
06:03Armlin has joined #asahi-dev
06:12bps has joined #asahi-dev
06:29chadmed_ has quit [Quit: Page closed]
06:44Armlin has quit [Quit: Konversation terminated!]
06:44bps has quit [Ping timeout: 480 seconds]
07:17jannauchadmed: strange. can you try to start the session via sddm, gdm, ...? not sure why that would make a difference though.
07:20svendamnit.. rebased the thunderbolt mess to 6.4 and broke something and now I’m back to the first plug just not working
07:33sarucchi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
07:46bps has joined #asahi-dev
07:47psykose has quit [Remote host closed the connection]
07:49pbsds is now known as Guest810
07:49pbsds has joined #asahi-dev
07:52Guest810 has quit [Ping timeout: 480 seconds]
07:56brolin has joined #asahi-dev
08:01timokrgr has quit [Quit: Ping timeout (120 seconds)]
08:04brolin has quit [Ping timeout: 480 seconds]
08:11marcansven: unsupported kernel BS aside, someone on Reddit mentioned some 10gbps device not working (works via a 5gbps hub)
08:12marcanit's starting to smell like the audio codec issues we had, i.e. something is fundamentally broken in a way that causes races or undefined behavior, and that randomly gets better or worse with different kernels and configs
08:16svenwhich probably also explains that commented out part in atcphy that’s waiting for some bit that never clears with my code
08:17marcanI encourage you to use as many horrible hacks as you want to make it work, because at this point it's more valuable to 1) make everything work, then 2) figure out how to fix the Linux subsystem mess once we know exactly how it has to work
08:18marcanactually from what I saw of ASoC, it might be an interesting model to look at for how to design an abstraction that somehow works for a million disparate SoCs and codecs
08:19marcanI wonder if this is going to be another mailbox or it actually makes sense to unify it at some point
08:20svenbecause that subsystem assumes that the cpu does all the negotiation with these usb pd messages
08:21svenand the typec maintainer even reviewed all of that so I don’t even see many issues getting it upstream
08:22marcanand yeah I'm getting the feeling very few other platforms handle this and they're all too particular to unify sanely anyway
08:23svenwe just need something like typec mux/switch for thunderbolt as well but that’s easy enough
08:23marcanI love how apple just gets to not design anything and just invented DT-specified function calls for this
08:24svenor how that gpu mmu is a separate adt node with essentially a stub kext that just calls back into the main kext iirc
08:24marcanI don't think people appreciate just how much clunkier and underdesigned xnu is compared to linux
08:25svenit helps that they run xnu on like 20 different configuration and just compile it separately for those
08:26chadmed has quit [Quit: Konversation terminated!]
08:27marcanbut I can sort of understand why, because they save/restore all the secret registers in there lol
08:29chadmed has joined #asahi-dev
08:29marcanwas nice confirming basically everything we already knew though, I didn't find anything unexpected in there other than a pile of official register names for registers we'd already roughly identified
08:30marcanall the extra SPRR stuff is curious but likely nobody cares enough to figure out what exactly it all does, since it doesn't really affect us
08:31chadmedjannau: is it at all possible that we are advertising the wrong colour space or pixel format to plasma
08:31chadmedcolour management is just completely broken which sucks but i cant think of much else to cause it to look this subtly off while still "working"
08:33marcanI do wonder, once official versions of these things get supported, how likely it is we can convince upstream to take alternate codepaths for the pre-standard ARM versions
08:35marcan(TSO is confirmed to be a *big* deal for FEX so we are definitely implementing it, sorry maz)
08:36j`eymarcan: stream prctl! (Im sure it wouldn't take more than an hour or something, youre fast)
08:36mazmarcan: as long as this stuff never gets near my machines and that I don't have to support it...
08:39marcanOTOH it's not exactly the ugliest thing ever, it's flipping a bit in a documented, IMPDEF-defined register (ACTLR_EL1)
08:39mazmarcan: you don't have to sell it to me, only to the arm64 maintainers. the one thing I don't want is to expose something that isn't architectural to *guests*.
08:39marcanin a hypothetical future where FEX runs as a 4K guest we can revisit that idea, though for that it would be sufficient to enable TSO guest-wide for most purposes
08:42marcanapple actually has ACTLR_EL12 as an impdef, so the guest wouldn't even see the host's ACTLR I think (it got the VHE treatment)
08:45mazbut j`ey is correct, we seem to be missing ACTLR_EL1's save/restore, descpite what I said earlier.
08:48mazso enabling it wouldn't be a big deal, and probably easy enough to track if the VMM enables it.
08:49bisko has joined #asahi-dev
08:53bps2 has joined #asahi-dev
08:53bps has quit [Read error: Connection reset by peer]
09:01nsklaus has joined #asahi-dev
09:04jn has quit [Quit: No Ping reply in 180 seconds.]
09:06jn has joined #asahi-dev
09:06mlp has quit [Read error: Connection reset by peer]
09:07mlp has joined #asahi-dev
09:20chadmed_ has joined #asahi-dev
09:27mlp has quit [Ping timeout: 480 seconds]
09:30chadmedjannau: https://chadmed.au/2500k.jpg https://chadmed.au/3000k.jpg https://chadmed.au/4500k.jpg
10:14hightower2 has joined #asahi-dev
12:00chadmed_ has quit [Ping timeout: 480 seconds]
12:02psykose has joined #asahi-dev
12:04psykose has quit [Remote host closed the connection]
12:57gordonfreeman has joined #asahi-dev
12:58korreckj328 has joined #asahi-dev
13:01chadmed has quit [Remote host closed the connection]
13:09bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:17chadmed has joined #asahi-dev
13:18chadmed has quit [Remote host closed the connection]
13:19chadmed has joined #asahi-dev
13:35sarucchi has joined #asahi-dev
13:53brolin has joined #asahi-dev
14:09korreckj328 has quit [Remote host closed the connection]
14:28nepeat has quit [Quit: ZNC - https://znc.in]
14:28nepeat has joined #asahi-dev
14:58bps2 has quit [Ping timeout: 480 seconds]
15:31roxfan has joined #asahi-dev
15:34roxfan2 has quit [Ping timeout: 480 seconds]
15:44cylm has joined #asahi-dev
16:07Armlin has joined #asahi-dev
16:11brolin has quit [Ping timeout: 480 seconds]
16:13Armlin has quit [Quit: Konversation terminated!]
16:25brolin has joined #asahi-dev
16:27Tomdownsouth has joined #asahi-dev
16:34Tomdownsouth has quit [Remote host closed the connection]
17:00roxfan2 has joined #asahi-dev
17:05roxfan has quit [Ping timeout: 480 seconds]
17:12brolin has quit [Ping timeout: 480 seconds]
17:14chadmed_ has joined #asahi-dev
17:14chadmed has quit [Ping timeout: 480 seconds]
17:41wonjongbot has joined #asahi-dev
17:58Dementor0 has joined #asahi-dev
17:59Dementor has quit [Read error: Connection reset by peer]
17:59Dementor0 is now known as Dementor
18:09gordonfreeman has quit [Remote host closed the connection]
18:21jannauchadmed_: 2500K look yellower than for me and I just remembered what might be different. You probably don't have https://gitlab.freedesktop.org/asahi/mesa/-/merge_requests/5 and thus use xrgb8888 instead of xrgb2101010
18:26wonjongbot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:33wonjongbot has joined #asahi-dev
18:38roxfan2 has quit [Ping timeout: 480 seconds]
18:42roxfan has joined #asahi-dev
19:01mlp has joined #asahi-dev
19:38wonjongbot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:55brolin has joined #asahi-dev
19:56korreckj328 has joined #asahi-dev
20:17brolin has quit [Ping timeout: 480 seconds]
20:31korreckj328 has quit [Remote host closed the connection]
20:35mlp has quit [Ping timeout: 480 seconds]
20:46mlp has joined #asahi-dev
20:56chadmed_ is now known as chadmed
20:56povikre the ASoC model, i have been thinking myself about the approach taken there, that the interfaces are a bit underspecified and that the focus is on codec/DSP/platform combinations that actually see the day of light somewhere
20:56povikon the other hand, 'us getting stuff wrong' seems to me to be the result of the relaxed model
20:57poviki.e. that there are details in play that you can't get anywhere else but dvelving into the code, which there is a nontrivial amount of
20:58chadmedi still remember the DPCM discussion on the mailing list. i dont think what you ended up having to do is actually documented anywhere
21:00chadmedyeah of course but it would be handy to have even a "the correct way to implement these devices is with this framework, which is exemplified by [driver]"
21:05brolin has joined #asahi-dev
21:16mlp has quit [Ping timeout: 480 seconds]
21:21mlp has joined #asahi-dev
21:22wonjongbot has joined #asahi-dev
21:30mlp has quit [Ping timeout: 480 seconds]
21:33wonjongbot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
21:38mlp has joined #asahi-dev
21:47mlp has quit [Ping timeout: 480 seconds]
21:50bps2 has joined #asahi-dev
21:56mlp has joined #asahi-dev
21:58wonjongbot has joined #asahi-dev
22:10mlp has quit [Ping timeout: 480 seconds]
22:18mlp has joined #asahi-dev
22:27eiln has joined #asahi-dev
22:32Hibyehello has quit [Ping timeout: 480 seconds]
22:34mlp has quit [Ping timeout: 480 seconds]
22:56wonjongbot has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:05nsklaus has quit [Ping timeout: 480 seconds]
23:07roxfan has quit [Ping timeout: 480 seconds]
23:12bps2 has quit [Ping timeout: 480 seconds]
23:17roxfan has joined #asahi-dev
23:35psykose has joined #asahi-dev
23:36psykose has quit [Remote host closed the connection]
23:46brolin has quit [Ping timeout: 480 seconds]