#asahi-dev · 2026-01-18 20:37
GlanzmannI remember when we had to trace mmio in FAUmachine. It took us 6 context switches. We than used a JIT to replace the offending instruction into a HV call.#asahi-dev · 2026-01-18 20:35
GlanzmannWow. Nice.#asahi-dev · 2026-01-18 20:29
Glanzmannsven: Can the HV trace mmio without adding to much latency so that usb does not break?#asahi-dev · 2026-01-18 20:24
GlanzmannI see, so in order to debug this you need to trace under hv, add some debug code to your driver and compare and hope to find the difference. Or sprinkle your working code and the broken one with mmio debug and compare. Not fun.#asahi-dev · 2026-01-18 20:21
Glanzmannsven: Do you think it is a bug in the code or do you run in some race condition?#asahi-dev · 2026-01-18 20:21
Glanzmannsven: And thank you for making the defconfig Glanzmann safe.#asahi-dev · 2026-01-18 20:17
Glanzmannsven: :-(#asahi-dev · 2026-01-15 06:36
Glanzmannjannau: I could reproduce the sway crash I had with dp altmode on asahi on an igpu in amd64. It also appears to be fixed in the current git head in sway, so nothing needs to be done. https://github.com/swaywm/sway/issues/8987#asahi-dev · 2026-01-13 19:23
Glanzmannopticron: I tried apt install -y device-tree-compiler; dtc -I fs -O dts -o running.dts /proc/device-tree; but can't find the trees requested by sven.#asahi-dev · 2026-01-11 09:22
Glanzmannsven: When I try to echo disk > /sys/power/state on m1 air, it tries to hibernate, but fails, if I boot with the kernel parameter hibernate=no than it says 'operation not permitted' https://pbot.rmdir.de/Dqk3h_oiBPaOoeZ10oVXSg#asahi-dev · 2026-01-11 08:46
GlanzmannBut it is probably unrelated to the problem you're seeing.#asahi-dev · 2026-01-11 08:45
Glanzmannsven: It works for me, I debugged it by myself by reading the atc code. However I was just answering you questions if someone had problems turning on the m1. And that was that.#asahi-dev · 2026-01-11 08:44
Glanzmannsven: I had recently two crashes while trying dp altmode usb/c with the wrong m1n1 version where I had press the powerbutton for a long time to turn off the m1 mini and than it would not start immediatly, but after lets say 30 seconds I could start it again.#asahi-dev · 2026-01-07 21:15
Glanzmanncoughs xournalpp in svens direction.#asahi-dev · 2026-01-04 19:48
Glanzmannsven: Yes, please. :-)#asahi-dev · 2026-01-04 18:17
GlanzmannIf I understand correctly, https://gist.github.com/svenpeter42/a2b3602ca1f6e27e5cadd912a0ae7dec would have caught my outdated m1n1 and report an error instead of dereferencing a null pointer when trying to set tunables which were not there.#asahi-dev · 2026-01-04 18:16
Glanzmannsven: Thank you for making atc Glanzmann proof.#asahi-dev · 2023-03-11 20:14
GlanzmannTHe debs are here: https://tg.st/u/asahi-debian-2023-03-11.tar - I also push to 'm1-debian'.#asahi-dev · 2023-03-11 18:24
Glanzmanndmesg: https://pbot.rmdir.de/i0rDmDY1lQn6pkWDU9gLvw#asahi-dev · 2023-03-11 18:23
Glanzmannhalt works.#asahi-dev · 2023-03-11 18:21
GlanzmannNothing in /var/log/kern.log unfortunately.#asahi-dev · 2023-03-11 18:21
Glanzmannmarcan: A regression for me: When I type 'reboot' in Linux. The screen turns off, but I think the system does not. It does not reboot. But when I press the power button for a long time, release it, press it again, the system boots again.#asahi-dev · 2023-03-11 18:18
GlanzmannIf you or someone else needs a rdp account to reproduce, let me know.#asahi-dev · 2023-03-11 18:17
GlanzmannI use this command line: xfreerdp +clipboard:use-selection:PRIMARY /u:Administrator /p:'Pa$$w0rd' -grab-keyboard /cert-ignore /f /bpp:32 /v:zh17w2k22.glanzmann.de -gfx /rfx#asahi-dev · 2023-03-11 18:14
Glanzmannmarcan: You probably won't do anything about it, but with xorg and xfeerdp, I have still display artefacts. The rosa tiles when I log in for a fraction of the second as with jannaus video and when I open firefox in a rdp session and zoom in/out the result is: tg.st/u/screenshot-air-2023-03-11-19_10_58.png#asahi-dev · 2023-03-11 18:04
GlanzmannDisabling freedreno let me compile mesa. Kernel boots, xorg starts.#asahi-dev · 2023-03-11 17:33
Glanzmannmarcan: Mesa does not build on Debian: https://pbot.rmdir.de/u/5w4beZcHH9vh7esDTfn3gw#asahi-dev · 2023-02-22 15:20
Glanzmannc#asahi-dev · 2023-02-22 15:16
Glanzmannjannau: I tested on macos m1 air and compared to a amd64 with a kingston usb stick and get the same numbers, so yes your speedtest is valid: https://pbot.rmdir.de/dGb3Mf4-BvsrQ2IA7gM5xw#asahi-dev · 2022-10-31 05:02
Glanzmanntpw_rules: The first time I tried, I used gcc. But it is not supported with rust, so I switched to clang which I never used before knowlingly. Anyway the LLVM=-14 tells the kernel build infrastructure to use 'clang-14' as compiler. So with the example I pasted, no I did not use gcc but used clang-14.#asahi-dev · 2022-10-31 04:44
Glanzmanntpw_rules: But the asahi gpu driver fails to probe for me on the mini, so I'm not using it.#asahi-dev · 2022-10-31 04:40
Glanzmanntpw_rules: This works for me: https://pbot.rmdir.de/brmgQa1O2bh4efW_yI7EGA Full build output: https://pbot.rmdir.de/YGiYtZW102oeF-7BhjMCAw Howto setup rust for Linux kernel: https://www.kernel.org/doc/html/next/rust/quick-start.html#asahi-dev · 2022-09-22 20:15
Glanzmannpovik: I see. Cool. Have a good night sleep.#asahi-dev · 2022-09-22 19:59
Glanzmannpovik: Works, thank you again. https://pbot.rmdir.de/vDHu7p8JU1khrjt11s0OzQ#asahi-dev · 2022-09-22 19:56
Glanzmannpovik: Thanks, building.#asahi-dev · 2022-09-22 19:56
Glanzmannmarcan: For the reference config: https://tg.st/u/0001-Enable-CONFIG_SND_SOC_CS42L83.patch#asahi-dev · 2022-09-22 19:26
Glanzmannmarcan: If we're supposed to test the rebase, than my rcu hangs are gone, but I have no sound on the mini with the new kernel: dmesg: https://pbot.rmdir.de/BwoepFUZlYzjxF-0dLOStg if not disregard.#asahi-dev · 2022-09-05 13:35
Glanzmannmaz: axboe already tried and failed. Good luck.#asahi-dev · 2022-08-28 06:57
GlanzmannTo be honest if it annoys me to much, I will just implement it myself. But probably it doesn't. And since I only have m1 devices at the moment it would be useless for the Debian users, which need it the most.#asahi-dev · 2022-08-28 06:53
Glanzmannsven: I appreciate that your nvme dt changes made it upstream.#asahi-dev · 2022-08-28 06:43
GlanzmannAnyhow, while it is alpha software, I welcome the ability to have multiple dts without having the need of a second computer or copy over boot.bins in macos. But that is just me. I'm happy with removing this workaround until the hardware is better understood and manifested in the dt.#asahi-dev · 2022-08-28 06:39
Glanzmannkettenis: Sure, but to my understanding that bug can not be fixed at the moment because the understanding of the hardware is not completle. And while it completes the dt will change, break more stuff in the future.#asahi-dev · 2022-08-28 06:37
Glanzmannkettenis: I aggree. But in practice we have that since beginning until now. We have an upstream kernel that does not boot with the asahi dt and vice versa.#asahi-dev · 2022-08-28 06:35
Glanzmannbetter idea. Than for Debian the kernel packages could package the corresponding /boot/efi/m1n1/m1n1-kernelversion.bin and we have multiple kernerls.#asahi-dev · 2022-08-28 06:35
Glanzmannmarcan: From my point of view, what is missing for all distributions, is the ability to have multiple dts installed. In my head the way to that would be having keyboard support in m1n1, and be able to select the right m1n1, which has the right dt in it. And whilt it is already there no need for u-boot and grub. But of course this could also be the case but it no longer necessary. But maube you have a #asahi-dev · 2022-08-22 14:17
Glanzmannjannau: Nice.#asahi-dev · 2022-08-22 13:47
GlanzmannBut that would solve our choose the right dt for the kernel issue and would allow us to have multiple kernels installed with different dts.#asahi-dev · 2022-08-22 13:46
Glanzmannpovik: It wasn't and we were never going to do that until I read todays backlog. But I often thought about doing it myself but than said it is wasted time because marcan would never merge it.#asahi-dev · 2022-08-22 13:17
Glanzmannmarcan: +1 for putting a boot picker in m1n1.#asahi-dev · 2022-08-22 07:19
Glanzmannmps: I considered once to become a Debian maintainer, but than dropped it. But I have a good friend who would sponser me, if I want to go ahead with it.