#
#asahi-dev · 2023-05-16 08:35
chadmedmpv definitely uses the hardware planes properly and kwin knows about them but just ignores them
#asahi-dev · 2023-05-16 08:35
chadmedjannau: ack
#asahi-dev · 2023-05-16 08:20
jannauchadmed: only yuv format I tested so far is iirc "v024". it will need more setup in iomfb.c since it is multi-planar
#asahi-dev · 2023-05-16 07:43
chadmedyeah the overlay planes are definitely being used, neat
#asahi-dev · 2023-05-15 23:04
chadmed_i went on a hunt for the YUV fourccs too but couldnt find them, probably a weekend job
#asahi-dev · 2023-05-15 23:03
chadmed_i tested with mpv having the ui drawn on an overlay and the video drawn on the primary and it didnt complain
#asahi-dev · 2023-05-15 23:03
chadmed_they appear and are correctly identified as overlay planes
#asahi-dev · 2023-05-15 23:00
jannauchadmed_: have you checked if multiple planes are actually used with drm_info
#asahi-dev · 2023-05-15 22:59
jannauit is also a lie, I have no idea what the 4th surface is used for. I haven't seen macos use it and I haven't managed to use it for drawing
#asahi-dev · 2023-05-15 22:58
chadmed_i initialised a couple of overlay planes in the hackiest way possible and idk if its working or not but it seems to fix a bunch of issues i had with vlc and mpv so i guess it does?
#asahi-dev · 2023-05-15 22:57
chadmed_yeah makes sense, just curious
#asahi-dev · 2023-05-15 22:56
jannauchadmed_: yes, it's part of the firmware rpc interface
#asahi-dev · 2023-05-15 22:55
chadmed_is MAX_PLANES a hard limit imposed by DCP/the firmware?
#asahi-dev · 2023-05-15 20:01
alyssa(Plugged in: an Apple USB keyboard with a Yubikey plugged into the keyboard, and power, in the 2 type-c ports)
#asahi-dev · 2023-05-15 20:00
alyssagg
#asahi-dev · 2023-05-15 20:00
alyssau-boot USB driver caused so many boot loops it booted into recoveryOS telling me macOS needs to be installed
#asahi-dev · 2023-05-14 17:14
jannaubut I haven't spend much time on it. I'm also a little familiar with videotoolbox (macos/ios hw video codec API)
#asahi-dev · 2023-05-14 17:12
ChaosPrincessah, ok
#asahi-dev · 2023-05-14 17:12
jannauChaosPrincess: I started today by looking what R and Jamie did so far
#asahi-dev · 2023-05-14 17:10
ChaosPrincessjannau: you were looking at avd, right?
#asahi-dev · 2023-05-14 15:57
supok. ill check it out. thanks.
#asahi-dev · 2023-05-14 15:57
j`eysome other components have issues on github
#asahi-dev · 2023-05-14 15:57
j`eyI dont think so, for the kernel itself
#asahi-dev · 2023-05-14 15:56
supmaybe i could look into some bugs see if i can do anything
#asahi-dev · 2023-05-14 15:56
supis there an issue tracker?
#asahi-dev · 2023-05-14 15:56
supthanks
#asahi-dev · 2023-05-14 15:56
j`eyand https://github.com/AsahiLinux/docs/wiki/Feature-Support is maybe useful
#asahi-dev · 2023-05-14 15:55
j`eysome stuff here https://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving
#asahi-dev · 2023-05-14 15:52
supwhi
#asahi-dev · 2023-05-14 15:52
supis there some feature/todo list for asahi?
#asahi-dev · 2023-05-14 09:30
jannauseems like macos can't reset DCP either. caused by me forgetting the patch which avoids display init on the m2 mini
#asahi-dev · 2023-05-14 09:28
jannaulol: 'panic(cpu 3 caller 0xfffffe00159aa7ac): "RTBuddy(DCP)::_setManagedStateGated " "No response received in 20s, DCP not started? (4)'
#asahi-dev · 2023-05-12 10:16
chadmedim pretty certain its not (entirely) the driver now though which is good
#asahi-dev · 2023-05-12 10:15
chadmedjannau: mat.unk_u32 is a location index where the CTM gets written to. changing it results in IOMFB saying it cant write to that location
#asahi-dev · 2023-05-12 10:14
mazthe machine is still live and whatever I'm running keeps running.
#asahi-dev · 2023-05-12 10:14
maznote that I'm not seeing any state corruption. only temporary lockups.#
#asahi-dev · 2023-05-12 10:13
kettenisI'm not familliar with that code ;)
#asahi-dev · 2023-05-12 10:12
marcanI think that should be guaranteed in the cpuidle code?
#asahi-dev · 2023-05-12 10:12
kettenisotherwise the CPU might be interrupted and if some other code executes a WFI instruction the CPU will lose state
#asahi-dev · 2023-05-12 10:11
kettenisI think apple_cpu_deep_wfi() should only be called with interrupts disabled; is that guaranteed?
#asahi-dev · 2023-05-12 10:06
mazthis is the only machine I had this on (the M1 mini only runs pure upstream, the studio is stuck on some ancient kernel). I should try and enable it on the M2 MBA to see.
#asahi-dev · 2023-05-12 10:05
marcandoes it happen on any other devices? it's not impossible we have a thermal issue on that one alone for some reason (maybe SMC needs some prodding for the fans?)
#asahi-dev · 2023-05-12 10:04
marcanyeah... though this is worrying
#asahi-dev · 2023-05-12 10:02
maz(and maybe I should move the M2 pro away from the Studio... that's a bad thermal sandwich.
#asahi-dev · 2023-05-12 10:02
marcanHmm... :/
#asahi-dev · 2023-05-12 10:01
mazmarcan: yeah, it seems to come and go without a clear pattern. I wonder if I'm hitting some thermal limit that keeps the cluster in shutdown at times...
#asahi-dev · 2023-05-12 09:46
marcanmaz: I saw that like once when I was hacking on it, but never again after that... :(
#asahi-dev · 2023-05-12 09:42
mazmarcan: using your cpuidle driver, I get some pretty bad lockups (the machine freezes for about 10 seconds). this is specially visible at boot and shutdown times. haven't had a chance to work out which state trips the behaviour yet, but I suspect the cluster shutdown to be slow to wake-up on IPIs...
#asahi-dev · 2023-05-12 01:02
chadmed_could that unknown field be a colour space identifier
#asahi-dev · 2023-05-12 01:01
chadmed_DCP_COLORSPACE_BG_BT2020 = 9 and mat.unk_u32 = 9

plus ›