#asahi-dev · 2022-12-13 02:31
marcanI think udev & co will only wait for probe to complete effectively, and without blocking there graphical stuff could try to start before DCP is actually there#asahi-dev · 2022-12-13 02:31
marcancan we add a completion or something to either DCP or display subsystem to ensure that when all probe functions have returned DCP is alive?#asahi-dev · 2022-12-13 02:30
marcanjannau: someone mentioned a race between gdm and DCP (probably). right now the DRM device is only registered asynchronously of the probe function, right?#asahi-dev · 2022-12-13 00:51
marcan(<32bit writes don't work)#asahi-dev · 2022-12-13 00:51
marcanthe SD card controller has the opposite problem: it has an issue on Apple machines that the same chips don't seem to have anywhere else#asahi-dev · 2022-12-13 00:51
marcancyrozap: could possibly be a PCIe issue#asahi-dev · 2022-12-12 07:20
marcanyeah#asahi-dev · 2022-12-12 07:15
marcanwe could try running the same firmware as you?#asahi-dev · 2022-12-12 07:15
marcancyrozap: I saw the zero addr quirk thing. for us, we do get full proper fault addresses, so iff we can reproduce the same problem we might be able to shed light on it#asahi-dev · 2022-12-12 07:03
marcanwe do have IOMMU fault interrupts hooked up as far as I know#asahi-dev · 2022-12-12 07:03
marcancyrozap: we have a strict IOMMU and haven't seen such issues yet (maybe it doesn't apply to our firmware? I can't imagine Apple shipping broken USB controllers... wait, I can >_>)#asahi-dev · 2022-12-12 01:56
marcanrebased on 6.1 final and merged jannau's stuff. only compiled tested, will play around with suspend later today#asahi-dev · 2022-12-12 00:48
marcanwhy are users...#asahi-dev · 2022-12-12 00:48
marcan"Does anyone know how to fix it?" *posts a screenshot that tells them how to fix it*#asahi-dev · 2022-12-12 00:48
marcanhttps://www.reddit.com/r/AsahiLinux/comments/zjapki/asahi_installation_disk_resize_error/#asahi-dev · 2022-12-12 00:37
marcanI might do a suspend/resume/spihid hacking stream today, lots of stuff to fix there#asahi-dev · 2022-12-12 00:18
marcan(nor DCP for that matter, not sure if DCP wants to actually shut down rtkit on suspend?)#asahi-dev · 2022-12-12 00:17
marcan(this is not done properly yet for the helper and for GPU and others)#asahi-dev · 2022-12-12 00:17
marcanwe unconditionally unmask mailbox IRQs in suspend under the assumption that rtkit drivers will suspend themselves anyway (except SMC which needs to stay alive)#asahi-dev · 2022-12-12 00:17
marcanremember in s2idle the kernel is just running normally, it's just that by default all IRQs are masked#asahi-dev · 2022-12-12 00:16
marcanthen other GPIOs will be masked in s2idle#asahi-dev · 2022-12-12 00:16
marcanthe pin controller should have that set for its parent IRQ and then the downstream SPI driver should set it for its GPIO IRQ#asahi-dev · 2022-12-12 00:16
marcanwhich means those IRQs will not be masked in s2idle, then the drivers are free to do whatever they want with them#asahi-dev · 2022-12-12 00:16
marcanin s2idle there aren't "wakeup sources" per se, what there are is IRQs marked IRQF_NO_SUSPEND#asahi-dev · 2022-12-10 13:50
marcanI'll do the rebase on monday at the earliest anyway#asahi-dev · 2022-12-10 13:49
marcanjannau: sure, np#asahi-dev · 2022-12-10 13:36
marcanjannau: want to send a patch? 6.1 is coming out this weekend, might be good time for a rebase#asahi-dev · 2022-12-10 13:36
marcanexcellent#asahi-dev · 2022-12-10 11:36
marcan"this test must be run as root" apparently because it sets up fake input devices and makes a mess of everything?!#asahi-dev · 2022-12-10 11:35
marcanlol, I tried running the libinput tests locally and they made my computer freak out and eventually black screen#asahi-dev · 2022-12-10 11:29
marcanthen no#asahi-dev · 2022-12-10 11:15
marcanif you did that by deleting the global config then yes :p#asahi-dev · 2022-12-10 11:15
marcannot if you already set it in your $HOME config#asahi-dev · 2022-12-10 10:51
marcanI'll probably push to asahi soonish / on the next sync, not much to go wrong there#asahi-dev · 2022-12-10 10:51
marcanI've added a libinput patch (already submitted as a MR upstream) to asahi-dev to default to natural scrolling. that should let us get rid of two asahi-configs files.#asahi-dev · 2022-12-09 14:52
marcanhey I did reinstall all my systems with the installer, it's y'all who are slacking off :p#asahi-dev · 2022-12-09 14:42
marcanheh#asahi-dev · 2022-12-09 14:20
marcanI should add an option to do it one day, but I'm not particularly inclined to until we actually support more than one firmware per machine and there are legitimate reasons to upgrade#asahi-dev · 2022-12-09 14:19
marcanstill need to fix /etc/fstab after that but basically yeah that#asahi-dev · 2022-12-09 13:51
marcanyeah, now it mentions *Asahi Linux* developers#asahi-dev · 2022-12-09 13:44
marcan"I didn't enable expert mode" haha yes you did#asahi-dev · 2022-12-09 13:44
marcanI should make asahi-diagnose also auto collect that#asahi-dev · 2022-12-09 13:44
marcanI *knew* dumping the installer log into the EFI partition would be useful one day.#asahi-dev · 2022-12-09 13:44
marcanhttps://github.com/AsahiLinux/linux/issues/81#asahi-dev · 2022-12-09 00:53
marcanbut yes, I need to do that#asahi-dev · 2022-12-09 00:53
marcanI'm not sure when#asahi-dev · 2022-12-09 00:53
marcansven: it actually already does... sometimes.#asahi-dev · 2022-12-08 14:44
marcanneed to take care of some stuff tonight first#asahi-dev · 2022-12-08 14:44
marcanwhen I get a chance :)#asahi-dev · 2022-12-08 08:46
marcanyeah, I want this in by the time DCP is in the production kernel which will probably end up being around that timeframe. that's also when the default DPI scaling setting is getting fixed I think (right now it only does 100%/200%, both are usually bad on the laptops)