#
#asahi-dev · 2023-04-24 12:23
chadmedand gracefully handling when the PCM is closed, iirc it currently just crashes out when the PCM is closed by whatever is sinking to it
#asahi-dev · 2023-04-24 12:22
chadmedthe major thing that needs to happen is handling for whatever sample rate the main PCM is opened at
#asahi-dev · 2023-04-24 12:20
chadmedlikewise the dsp stuff when its shippable
#asahi-dev · 2023-04-24 12:20
chadmeditll probably end up under AsahiLinux at some point
#asahi-dev · 2023-04-24 12:20
chadmedyup
#asahi-dev · 2023-04-24 12:20
chadmedhttps://github.com/marcan/speakersafetyd
#asahi-dev · 2023-04-24 12:19
chadmedi think marcan forked it when he was working on it
#asahi-dev · 2023-04-24 12:18
kesslerd1pontchadmed: is there a git repo for the speaker safetyd? I see one on github under your name. I want to offer help and if there is anything I can do let me know.
#asahi-dev · 2023-04-24 12:08
marcanthat sounds good to me
#asahi-dev · 2023-04-24 11:40
_jannau_kwin started to ignore non_desktop displays 2 years ago
#asahi-dev · 2023-04-24 11:36
marcancool :)
#asahi-dev · 2023-04-24 11:36
_jannau_we've signed up Knedlik for writing the daemon
#asahi-dev · 2023-04-24 11:36
marcan(VR requires precise knowledge of the target)
#asahi-dev · 2023-04-24 11:36
marcanI would not expect any VR solution to bind to a random unknown screen, so that may be perfectly fine
#asahi-dev · 2023-04-24 11:36
marcan_jannau_: is it *only* intended for VR displays though?
#asahi-dev · 2023-04-24 11:36
ChaosPrincess+ the whole part where this is my first time writing a drm driver, so expect code to not be great
#asahi-dev · 2023-04-24 11:36
_jannau_kms has a property with the promising name "non-desktop" but that is intended for VR displays
#asahi-dev · 2023-04-24 11:35
marcan(if nobody else does I can probably cook up said daemon in an evening... but it sounds like the kind of thing lots of other people could have fun doing too)
#asahi-dev · 2023-04-24 11:35
ChaosPrincessso thats fine
#asahi-dev · 2023-04-24 11:35
ChaosPrincessrn its in a 'ready for someone to start writing a driver', not in 'shippable' state
#asahi-dev · 2023-04-24 11:34
_jannau_I haven't even updated my horrible 13.2 support to 13.3 yet
#asahi-dev · 2023-04-24 11:34
marcanI mean I don't mind merging your driver, but I'm not going to enable it in release builds until we solve these issues :p
#asahi-dev · 2023-04-24 11:34
marcanI know, but it will have to for this to be shippable by default
#asahi-dev · 2023-04-24 11:34
ChaosPrincessalso, our daemon kinda does not exist yet
#asahi-dev · 2023-04-24 11:33
marcanyeah
#asahi-dev · 2023-04-24 11:33
_jannau_tracing / m1n1 dcp testing is not ready / in place for 13.3
#asahi-dev · 2023-04-24 11:32
handlerugI have M1 Max so it's 12.3 for me. thanks!
#asahi-dev · 2023-04-24 11:32
handlerugyeah this page I guess https://github.com/AsahiLinux/docs/wiki/SW%3AHypervisor
#asahi-dev · 2023-04-24 11:32
marcanthe wiki explains how to do a specific version intall
#asahi-dev · 2023-04-24 11:32
marcanhandlerug: 12.3 on M1 and 12.4 on M2 and 13.3 on M2 Pro/Max
#asahi-dev · 2023-04-24 11:32
marcanyeah, but that's still a problem for secondary displays
#asahi-dev · 2023-04-24 11:32
handlerugwhat macOS version do I need to use with m1n1 in macOS hypervisor mode? 12.3? or does it not matter
#asahi-dev · 2023-04-24 11:31
_jannau_primary display should be solved by https://github.com/AsahiLinux/linux/pull/138/commits/5d41d320ff9e18c586af3b06e50fb034597c2dcb and userspace assumption that card0 is the primary display
#asahi-dev · 2023-04-24 11:31
marcanbut the default should be nothing touches the touch bar except our daemon
#asahi-dev · 2023-04-24 11:31
marcanI don't expect for this to be reasonably useful with the current state of things on most compositors, and if people want to experiment they should opt in with some module arg or something
#asahi-dev · 2023-04-24 11:31
marcanand then if KDE fixes the touch bar use case, they can do whatever they need to do to actively opt in
#asahi-dev · 2023-04-24 11:31
marcanwhich is all the more reason to disable it by default
#asahi-dev · 2023-04-24 11:30
marcanwell, that right now is horribly broken in KDE
#asahi-dev · 2023-04-24 11:30
marcanthis might be a question for #dri-devel :)
#asahi-dev · 2023-04-24 11:30
ChaosPrincessalso, arguably, i want it to be able to be grabbed by kde, since you can drag a small panel there and use it for whatever
#asahi-dev · 2023-04-24 11:30
marcanwe need *some* way to stop regular compositors from binding to it
#asahi-dev · 2023-04-24 11:30
marcanno go
#asahi-dev · 2023-04-24 11:30
marcanthat's called a race condition
#asahi-dev · 2023-04-24 11:30
ChaosPrincesswell, the idea is that the userspace daemon will grab it and somehow prevent it from being grabbed by kde
#asahi-dev · 2023-04-24 11:29
marcanok, so we need a way to do that, and one that can be disabled for iphones where it *is* the primary display
#asahi-dev · 2023-04-24 11:28
ChaosPrincesswe dont
#asahi-dev · 2023-04-24 11:28
marcanhow are we stopping xorg/kde/etc from treating it as a display (or even the primary display) right now?
#asahi-dev · 2023-04-24 11:28
marcanI also think we should consider how to let userspace tell it apart, because even if they're the same hardware the use case is *very* different
#asahi-dev · 2023-04-24 11:27
marcanChaosPrincess: so about adp, even though it's ostensibly the same hardware as some older iphones, I don't think we should pretend we know that for sure at this point. I'd use a more specific compatible like apple,t8103-dfr-display-pipe.
#asahi-dev · 2023-04-24 11:26
marcan:D

plus ›