#
#asahi-dev · 2023-04-21 21:03
_rudiGPU Drivers can full on kernel panic from userspace if you ask nvidia or AMD - I don't know about apple silicone
#asahi-dev · 2023-04-21 20:07
ChaosPrincessyou can probably get away with one machine as long as you are userspace only
#asahi-dev · 2023-04-21 20:03
TellowKrinkleI would think it wouldn't be too bad as long as you're working on the userspace driver? Can you get any worse than a "GPU timeout nya" from there?
#asahi-dev · 2023-04-21 19:47
knedlikYeah, makes sense
#asahi-dev · 2023-04-21 19:46
jannaubut GPU work most likely will become annoying if you develop and test on the same system
#asahi-dev · 2023-04-21 19:46
knedlikI'm unfamiliar with the concept of a bass plugin to be honest
#asahi-dev · 2023-04-21 19:45
jannauthe bass plugin however shouldn't need a second device
#asahi-dev · 2023-04-21 19:44
jannaumany HW related things are annoying to develop/debug if you're using a single device
#asahi-dev · 2023-04-21 19:44
knedlikGood, then my Kali machine should be usable once I'm back home
#asahi-dev · 2023-04-21 19:43
ChaosPrincessNo, any computer running linux or macos
#asahi-dev · 2023-04-21 19:43
knedlikDoes it have to be another Mac(book)?
#asahi-dev · 2023-04-21 19:43
knedlikAhhhh, then I guess I'll have to wait until I'm home
#asahi-dev · 2023-04-21 19:42
ChaosPrincessYes
#asahi-dev · 2023-04-21 19:42
knedlikThe m1n1 page looks quite complex... kinda seems like I need a second computer?
#asahi-dev · 2023-04-21 19:38
ChaosPrincesssorta, yes
#asahi-dev · 2023-04-21 19:37
knedlikThe bass sound plugin thingy definitely looked interesting, did I understand it right that it's one of the features needed for the speakers to work properly?
#asahi-dev · 2023-04-21 19:36
jannaua good first step would be to make yourself familiar with m1n1 and https://github.com/AsahiLinux/docs/wiki/Tethered-Boot-Setup-%28For-Developers%29
#asahi-dev · 2023-04-21 19:36
ChaosPrincesslook at this page, is anything there sound interesting? https://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving
#asahi-dev · 2023-04-21 19:35
knedlikWell helping out really, but long-term after I get familiar, I would like to help out on the GPU team
#asahi-dev · 2023-04-21 19:34
ChaosPrincessis there a feature that you are missing or just want to do whatever
#asahi-dev · 2023-04-21 19:34
ChaosPrincessso, what are you interested in
#asahi-dev · 2023-04-21 19:33
knedlikHey all, could someone introduce me to the general workflow for developing Asahi?
#asahi-dev · 2023-04-21 16:32
povikthe sio boot failures seem most likely to be a power domain dependency unmodeled in ADT, like the dependency on ps_spi_p when any DMA is active :/
#asahi-dev · 2023-04-21 16:29
povik(and is wrong)
#asahi-dev · 2023-04-21 16:29
povikah, that was just something i introduced in https://github.com/AsahiLinux/linux/pull/112/commits/09789cd298aa90fb178958121c1f83aa424eb514
#asahi-dev · 2023-04-21 16:29
povik16:57 < povik> though in my tree i have ps_sio_cpu for sio and ps_sio for the sio dart
#asahi-dev · 2023-04-21 15:03
_jannau_then it shouldn't be a problem
#asahi-dev · 2023-04-21 15:02
poviktransitional turning off of the sio or sio_cpu domains doesn't seem to matter before booting the coprocessor
#asahi-dev · 2023-04-21 15:01
povikit won't be turned on again by the driver core before sio is probed?
#asahi-dev · 2023-04-21 15:01
_jannau_not sure, easiest is to check with DEBUG in apple-pmgr-pwrstate.c what actually happens
#asahi-dev · 2023-04-21 14:59
_jannau_the dart driver has runtime-pm and will be probed before the device driver, the power domain can be turned off after the dart instance is probed but before sio is probed
#asahi-dev · 2023-04-21 14:57
povikanyway can it be that issue then?
#asahi-dev · 2023-04-21 14:57
povikwhich might be wrong actually since maybe it should be ps_sio_cpu for the sio dart per ADT
#asahi-dev · 2023-04-21 14:57
povikthough in my tree i have ps_sio_cpu for sio and ps_sio for the sio dart
#asahi-dev · 2023-04-21 14:55
povikha, i don't know that one
#asahi-dev · 2023-04-21 14:55
_jannau_hmm, is just the usual power-domain issue if the pd is shared with a dart instance
#asahi-dev · 2023-04-21 14:49
_jannau_ah, that's not what I remembered
#asahi-dev · 2023-04-21 14:44
povikunder a full OS install i see them maybe 1 in 5 boots
#asahi-dev · 2023-04-21 14:43
povikhm, my starting position is that i don't see the failures at all under a development setup with everything built in
#asahi-dev · 2023-04-21 14:34
_jannau_yes, it was unreliable as modules. boot failure ratio got better btw probably more like 1 in 2 boots resulted in a failure
#asahi-dev · 2023-04-21 14:33
povikyou mean, in that case it was unreliable, right?
#asahi-dev · 2023-04-21 14:32
_jannau_povik: no, I tested with sio and dcp as modules
#asahi-dev · 2023-04-21 14:30
povikdoes compiling stuff as modules help?
#asahi-dev · 2023-04-21 14:30
poviklet's see about reproducing the occasional boot failures
#asahi-dev · 2023-04-21 14:30
povikso, sio confirmed booting on t6000 with existing loader code and in-kernel driver \o/
#asahi-dev · 2023-04-20 15:31
ocretechromium can use v4l2 directly.. it's what chromeos does, but it's not enable din the desktop build by default
#asahi-dev · 2023-04-20 15:31
ocreteah, so it's all stateless ? is the hw statelss or also the firmware API ?
#asahi-dev · 2023-04-19 19:21
ChaosPrincesscause both ff and chrome use vaapi to decode, and its a problem on things like raspis that only expose v4l
#asahi-dev · 2023-04-19 19:21
ChaosPrincesssomeone also needs to write a vaapi driver that just wraps v4l decode
#asahi-dev · 2023-04-19 19:20
jannaufrom my understanding v4l2's stateless m2m codecs would be a good fit api-wise

plus ›