#
#asahi-dev · 2023-08-04 06:49
eilnreqbufs is called one-time before stream_start() afaik
#asahi-dev · 2023-08-04 06:48
marcanso I think you can always just force min 2
#asahi-dev · 2023-08-04 06:48
marcan"A larger number is also possible when the driver requires more buffers to function correctly."
#asahi-dev · 2023-08-04 06:48
marcanwait it does say it's legal
#asahi-dev · 2023-08-04 06:47
marcanhttps://www.kernel.org/doc/html/v4.16/media/uapi/v4l/vidioc-reqbufs.html#vidioc-reqbufs is a bit ambiguous but doesn't clearly seem to state that allocating more buffers than requested is illegal
#asahi-dev · 2023-08-04 06:46
marcanright, but then you could deliver the fallback next time the user pops a buffer?
#asahi-dev · 2023-08-04 06:46
eilnbatch count is n=2, user queued 1, so the 2nd frame is the fallback
#asahi-dev · 2023-08-04 06:44
marcanwhat do you mean by wastes half the work?
#asahi-dev · 2023-08-04 06:44
marcanhmmm :/
#asahi-dev · 2023-08-04 06:44
eilnI can't just hang until the user queues another one, so rn I have a "fallback" second frame under kernel ownership, which wastes half of the work (but it's better than nothing)
#asahi-dev · 2023-08-04 06:44
marcanoof, yeah, no, that's a bad idea
#asahi-dev · 2023-08-04 06:44
eilnfrom my understanding (limited) the only way to enforce the "at least 2" is by making up a fake format of 2 chroma & 2 luma (...)
#asahi-dev · 2023-08-04 06:43
eilnthe problem is that it's minimum 2 frames, but I have no guarantees on the number of (user) queued buffers (because they're from users). past the limit (v4l2 max buf count is 32) I can at least split them into sub-batches
#asahi-dev · 2023-08-04 06:43
eilnisp processes frames in batches (2 <= n <= 10), so all n frames are bundled up in a single doorbell / interrupt cycle. batch count can differ per cycle, macos usually uses 2 or 3, prolly their timing/scheduling algo
#asahi-dev · 2023-08-04 06:43
marcanI don't know much about v4l2 but go ahead :)
#asahi-dev · 2023-08-04 06:43
eilnmarcan: I have a sw-eng question related to v4l2
#asahi-dev · 2023-08-04 06:32
marcanjannau: that smells like not a kernel thing?
#asahi-dev · 2023-08-04 06:26
cy8aerBut with the possibility to rebuild the boot.bin before rebooting into another kernel via "update-m1n1" like in the asahi dists (and not via a packaged and assembled boot.bin we just have with the debian packages) this is a good compromise. And for debian I look for creating a clone of the asahi-scripts and contact @Glanzmann for this.
#asahi-dev · 2023-08-04 06:21
cy8aermarcan: Yes I accept this too and declare this as something we call in german a childhood desease.
#asahi-dev · 2023-08-04 06:14
eiln^same, im on 6.3.0
#asahi-dev · 2023-08-04 06:11
jannaupairing of a logitech mouse persistantly failed with kde's wizard but worked with bluetoothctl on the first try
#asahi-dev · 2023-08-04 05:40
jannauoh, the issue is on 6.3.0-asahi-13
#asahi-dev · 2023-08-04 05:37
jannaubluetooth seems to be broken on 6.4
#asahi-dev · 2023-08-04 01:18
marcanyou still want to pull device trees from the most recent installed kernel, since backwards-compatible changes do happen that are required to support new hardware, and you also often need m1n1 updates to go along with it (though we generally try to keep the m1n1 side also backwards compatible)
#asahi-dev · 2023-08-04 01:17
marcancy8aer: kernel dual-boot rollbacks are not (fully) supported when device tree compat breaks happen. this is expected and a limitation we accept. once device tree bindings are upstreamed, they become stable, and this doesn't happen any more.
#asahi-dev · 2023-08-04 01:16
marcantarzeau: glad to hear that! hope you hang around and feel free to ask any questions :) (I know this stuff is kind of complicated)
#asahi-dev · 2023-08-04 01:08
marcankettenis: sounds reasonable
#asahi-dev · 2023-08-04 01:08
marcanah yes, totally forgot about that, thanks!
#asahi-dev · 2023-08-03 22:01
ChaosPrincessmarcan: since y'all are likely to get a bunch of new installs soon, and some commits seem to be interested in avoiding bloat on apfs container, mind merging this? https://github.com/AsahiLinux/asahi-installer/pull/178
#asahi-dev · 2023-08-03 11:49
kettenis(I probably should have CC'ed you on that series)
#asahi-dev · 2023-08-03 11:48
kettenishttps://lists.denx.de/pipermail/u-boot/2023-July/522969.html
#asahi-dev · 2023-08-03 11:48
kettenismarcan: what are your thoughts on the last point (about asmedia_read_reg()) that marex makes here:
#asahi-dev · 2023-08-03 06:26
mpsabout 2-3 years ago I noticed kbd backlight timeout in kernel for one (or some machines, I forgot) but forgot which one
#asahi-dev · 2023-08-03 06:25
jannauno and nobody should. this is nothing which needs to be implemeneted in the kernel
#asahi-dev · 2023-08-03 06:23
mpsbtw, do anyone work on keyboard backlight timeout in kernel driver
#asahi-dev · 2023-08-03 06:21
mpsas400: iiuc FEX depends on 4K PAGE_SIZE
#asahi-dev · 2023-08-03 06:21
jannaufex integration certainly, I was thinking of touchbar integration, speaker support. the latter two aren't that complex but expect them to be first available in fedora
#asahi-dev · 2023-08-03 06:16
as400jannau: thx for the info. What kind of new features are you thinking of ? Something like Fex ?
#asahi-dev · 2023-08-03 05:11
jannauas400: for now nothing, packages will be updated but integration work for new features might not happen. long term it would be nice if someone starts integrating asahi support in arch linux arm
#asahi-dev · 2023-08-03 03:01
user42also the KDE tool showed updates that dnf didn't show (for example for mesa-libGL). seems to be related from it moving from the standard repo to the copr. commenting out allow_vendor_change=False in /etc/dnf/dnf.conf helped
#asahi-dev · 2023-08-03 02:55
user42hi, just installed the new fedora based version. seems to work. but the linux assumed that the rtc was local time. a simple timedatectl set-local-rtc 0 fixed it
#asahi-dev · 2023-08-02 22:09
as400mps: Sure, I know :)
#asahi-dev · 2023-08-02 22:07
mpsas400: idk for alarm but alpine is still there ;-)
#asahi-dev · 2023-08-02 22:01
as400So, what happens to Asahi ALARM now ?
#asahi-dev · 2023-08-02 20:14
cy8aerOk, @thobe's packages should work there is only an asahi-scripts package is missing for the update-m1n1.sh
#asahi-dev · 2023-08-02 19:55
cy8aerSo I do not have a dependency from the source. I can cat them together with a no-dtb u-boot to a new m1n1 bin online.
#asahi-dev · 2023-08-02 19:55
cy8aerOh, I found them in debian. They are stored in "/usr/lib/linux-image-VERSION/" there.
#asahi-dev · 2023-08-02 19:54
jannauyes, see `make dtbs_install`, on Fedora as well
#asahi-dev · 2023-08-02 19:54
j`eyat least on alarm
#asahi-dev · 2023-08-02 19:54
j`eyyes https://github.com/AsahiLinux/PKGBUILDs/blob/main/linux-asahi/PKGBUILD#L119

plus ›