#
✕ nick:leio
#asahi-dev · 2023-11-24 12:14
leioall except gpu, meaning we can't "zero-copy" it for stuff like video/x-raw(memory:GLMemory) or vulkan video?
#asahi-dev · 2023-11-24 12:11
leiowhere do the decoded frames end up in terms of memory location, in the context of achieving zero-copy to display?
#asahi-dev · 2023-11-24 11:54
leiovaapi driver being userspace
#asahi-dev · 2023-11-24 11:54
leioisn't vaapi so that there's a hardware-specific kernel side and then a vaapi driver that makes it usable through a common API for userspace apps, while you could also use the specific stuff exposed by the kernel driver for other things?
#asahi-dev · 2023-11-24 11:33
leiobut there's more to that world than gstreamer, unfortunately :D
#asahi-dev · 2023-11-24 11:33
leioI could poke at anything needed from gstreamer, in theory
#asahi-dev · 2023-11-24 11:33
leio(I jumped to decoding now, not csc)
#asahi-dev · 2023-11-24 11:32
leiowhat I wonder is how exposing this via v4l2 will then work with all the userspace out there
#asahi-dev · 2023-11-24 11:24
leiobut maybe in practice just letting GPU do it is good enough or better
#asahi-dev · 2023-11-24 11:24
leioto me that just screams for a csc_videoconvertscale gstreamer element to speed up transcodes and such
#asahi-dev · 2023-11-24 11:23
leio(well, if the support for such is written)
#asahi-dev · 2023-11-24 11:23
leiousable standalone in userspace somehow too?
#asahi-dev · 2023-11-24 11:21
leiowhat's CSC about? Is it something we could use e.g. for a gstreamer element that would replace videoconvertscale?
#asahi-dev · 2023-11-19 16:15
leioneed to finally figure out elfutils splitdebug issues to free up rootfs space and not have the journal aggressively cleaned up
#asahi-dev · 2023-11-19 16:13
leiooh, it might have s2idle and I didn't wake it up
#asahi-dev · 2023-11-19 16:13
leioit looks like the previous boot froze at one point as well, but I can't see anything interested in journalctl -b-1
#asahi-dev · 2023-11-19 15:48
leioI probably never tried booting hdmi disconnected with dptx-fixes and there's probably actually no diff in behaviour here
#asahi-dev · 2023-11-19 15:47
leioand with it not connected at start, but connected later: https://bpa.st/5QRA /me goes back to waiting mode :)
#asahi-dev · 2023-11-19 15:44
leiobut no DP2HDMI message when booting with hdmi connected at the start; some i2c minute timeout before network came up too - https://bpa.st/Y7GA
#asahi-dev · 2023-11-19 15:40
leiowhen plugging in the HDMI after it booted without any: kernel: apple-dcp 2289c00000.dcp: DP2HDMI HPD connected:1 kernel: apple-dcp 2289c00000.dcp: DPTXPort: acking unhandled call 22
#asahi-dev · 2023-11-19 15:37
leioat least I'm seeing a "[ 4.415052] apple-dcp 2289c00000.dcp: dcp_enable_dp2hdmi_hpd: DP2HDMI HPD connected:0" now; maybe I should connect a HDMI cable again now :)
#asahi-dev · 2023-11-19 15:17
leioshould I be trying asahi-wip with all the merges?
#asahi-dev · 2023-11-19 15:16
leioand guess something spinlocks or similar to keep CPU busy then
#asahi-dev · 2023-11-19 12:43
leiohmm, after another systemctl poweroff that didn't quite work with the hdmi out kernel, it also ran hot overnight in that state
#asahi-dev · 2023-11-18 10:32
leiojanneg: ok, not sure what to try then from my end. I feel like a limiting factor to think along is that I haven't seen a dmesg where it works :)
#asahi-dev · 2023-11-17 20:22
leioI mean, there's also 2x dcp@315c00000 which both are disabled
#asahi-dev · 2023-11-17 20:21
leiobut on same 289c00000 address?
#asahi-dev · 2023-11-17 20:18
leioI don't speak dts, but feels like it has two entries, latter of which disables it?
#asahi-dev · 2023-11-17 20:14
leiojanneg: https://bpa.st/AWEQ
#asahi-dev · 2023-11-17 20:10
leiothat's a `|` instead of `| |`, right?
#asahi-dev · 2023-11-17 20:08
leiojanneg: yes, my "glue m1n1 stage2, dts and kernel together" script takes dts/apple/t6022-j475d.dtb from the same build dir as Image.gz is in
#asahi-dev · 2023-11-17 18:13
leioin both tries the power led turns off after systemctl poweroff, but machine can't seemingly be started again without hard power cycle. Though on second try I held the power button down to force off the machine (despite no power led) and then it actually powered on again without pulling the cord for a bit
#asahi-dev · 2023-11-17 18:07
leiothis is the 4K monitor now just in case, 6K looked similar log though
#asahi-dev · 2023-11-17 18:06
leio(after 31s is HDMI unplug and replug)
#asahi-dev · 2023-11-17 18:05
leiojanneg: anyhow, no luck, but more info in dmesg: https://bpa.st/UO2A
#asahi-dev · 2023-11-17 17:42
leiojanneg: fwiw, the branch fails to build with https://bpa.st/O34Q - but as I don't use the wireless, I'll just disable it for now and test hdmi regardless
#asahi-dev · 2023-11-16 22:31
leiothanks! will test when I have a chance, prob tomorrow
#asahi-dev · 2023-11-12 17:30
leioit seems to turn off with power saving mode
#asahi-dev · 2023-11-12 17:30
leiohttps://bpa.st/2RRQ for this boot now
#asahi-dev · 2023-11-12 17:30
leioboth HDMI disconnect (monitor side) and inserting back just added a "apple-dcp 2289c00000.dcp: DPTXPort: unhandled call 22" line to dmesg, nothing else
#asahi-dev · 2023-11-12 17:29
leiotrying; note that I don't have the rust stuff built, so I'm not sure what is supposed to show a display
#asahi-dev · 2023-11-12 17:25
leiothat one is with 4K display connected from te start
#asahi-dev · 2023-11-12 17:19
leiojanneg: after a hard power cycle (pulling out the 230V cord, something went wonky and it didn't boot up after poweroff + power button press, or I pressed it bad a couple times, not sure), getting something different and maybe more useful: https://bpa.st/ZQZQ
#asahi-dev · 2023-11-12 17:08
leiojanneg: seems to be spamming "apple-dcp 2289c00000.dcp: unexpected busy command channel" on the 6K
#asahi-dev · 2023-11-12 14:07
leio(all are 60Hz fixed)
#asahi-dev · 2023-11-12 14:07
leiojanneg: I have native 4K monitor and native 6K monitor, yes. And I could maybe lend a 1440p from gf for a quick test
#asahi-dev · 2023-11-12 12:23
leioguess I should also yank out the 4K enabling display= for this to be sure
#asahi-dev · 2023-11-12 12:22
leiojanneg: so I want that m1n1 PR in stage2 and the kernel tree to test, right?
#asahi-dev · 2023-11-05 23:05
leiono worries
#asahi-dev · 2023-11-05 22:24
leio(4K from m1n1 has been good with updated stage2 so far btw, but haven't rebooted too much times in different ways yet to be conclusive)

plus ›