#
#asahi-dev · 2024-09-28 06:17
chadmed_sensible assumption, i didnt expect the driver to just let this whole thing go as fast as possible :p
#asahi-dev · 2024-09-28 06:14
leioI just shrugged it off as "I should finally upgrade pipewire stack" instead of doing the replugging dance like hdmi of past
#asahi-dev · 2024-09-28 06:13
chadmed_if the tip sense interrupt has fired, wait a bit before detecting
#asahi-dev · 2024-09-28 06:13
chadmed_im thinking of just adding a 1 to 2 second delay in the IRQ thread
#asahi-dev · 2024-09-28 06:12
chadmed_yeah if the hotplug detect runs and returns before youve pushed the plug in all the way youre stuffed and you have to replug it
#asahi-dev · 2024-09-28 06:10
leiooh! must be why sometimes randomly my microphone on studio doesn't work
#asahi-dev · 2024-09-28 06:06
chadmed_yeah msleep()s it is -.-
#asahi-dev · 2024-09-28 06:03
chadmed_most of the realtek codecs etc will wait a very, very long time between the plug event and actually trying to figure out what type of thing you plugged in
#asahi-dev · 2024-09-28 06:03
chadmed_unfortunately i think the pc as a platform has mostly the right idea here
#asahi-dev · 2024-09-28 06:02
chadmed_the issue is between the tip sense interrupt and starting the detection routine
#asahi-dev · 2024-09-28 06:02
chadmed_unfortunately making the debounce time longer on the actual tip sense doesnt help
#asahi-dev · 2024-09-28 06:02
chadmed_see https://github.com/AsahiLinux/linux/issues/294
#asahi-dev · 2024-09-28 06:01
chadmed_LarstiQ: theres enough room for error that people will hit it
#asahi-dev · 2024-09-28 05:39
LarstiQhow sensitive is getting that juuuust wrong?
#asahi-dev · 2024-09-28 03:09
chadmed_you can reliably cause it to misdetect a headset by getting the plug timing juuuust wrong
#asahi-dev · 2024-09-28 02:50
chadmed_or worse yet, more msleep()s....
#asahi-dev · 2024-09-28 02:50
chadmed_the fallback values in the driver are quite slow, but maybe we need slower
#asahi-dev · 2024-09-28 02:50
chadmed_i wonder if folks' spurious headset misdetections are related
#asahi-dev · 2024-09-28 02:50
chadmed_hm we're not setting the cs42l42 tip sense debounce or anything in the DT
#asahi-dev · 2024-09-28 00:08
chadmed_oh man the cs42l42 is a bit of a beast
#asahi-dev · 2024-09-27 15:32
chaos_princesstry searching in already existing device trees for other devices for "edp"
#asahi-dev · 2024-09-27 15:32
chaos_princessthat - yes, but you probably do not need to describe the display itself
#asahi-dev · 2024-09-27 15:31
nickchanI suppose I need to declare the display-pipe
#asahi-dev · 2024-09-27 15:31
nickchanchaos_princess: what do you mean in terms of the device tree
#asahi-dev · 2024-09-27 15:20
chaos_princessbut i do not think you even need special dp support, iboot should initialize everything and then you treat it as just a display
#asahi-dev · 2024-09-27 15:19
chaos_princessthere aren't, asahi specifically has effectively no dp support
#asahi-dev · 2024-09-27 15:19
nickchanseems to be routed over the display pipe as well
#asahi-dev · 2024-09-27 15:18
nickchanchaos_princess: am quite sure there are drivers to deal with displayport in asahi, just not *this* particular combination (not-DCP + DP)
#asahi-dev · 2024-09-27 15:12
nickchanthe lcd is literally called lcd,edp
#asahi-dev · 2024-09-27 15:12
nickchanright it is embedded
#asahi-dev · 2024-09-27 15:12
chaos_princessyea, thats probably edp
#asahi-dev · 2024-09-27 15:12
nickchanchaos_princess: the lcd node is at /arm-io/displayport/lcd
#asahi-dev · 2024-09-27 15:10
chaos_princessare you sure it is real displayport and not embedded displayport?
#asahi-dev · 2024-09-27 15:09
nickchancause I have no idea how to describe displayport in the dt
#asahi-dev · 2024-09-27 15:09
nickchanI surely have heard about displayport quite a lot but what even is it
#asahi-dev · 2024-09-27 14:45
nickchanipad air 2 appears to use displayport (!)
#asahi-dev · 2024-09-27 13:13
xavier_jjfwhiami
#asahi-dev · 2024-09-27 13:10
lsfsljdffd
#asahi-dev · 2024-09-27 06:45
mpsit will be good at the end, I'm sure :)
#asahi-dev · 2024-09-27 06:44
cy8aeror bad, let's see 😉
#asahi-dev · 2024-09-27 06:43
mpsaha, good for you
#asahi-dev · 2024-09-27 06:41
cy8aermps: Looks like some problems with my building environment. Rust is working yet but now I have problems with finding "opencl-c-base.h" - it is something in the debian rules which makes problems. I am currently investigating this. I had these problems with the last version too. So it is no problem of the source itself. With a little help of asahi lina I got rid of the rust problem. So I am sure that I can fix the opencl-c-base thingie too.
#asahi-dev · 2024-09-27 06:35
mpscy8aer: it passed for me on alpine linux
#asahi-dev · 2024-09-26 18:04
cy8aerI try to compile mesa 20240925 but it fails: https://paste.debian.net/1330507/
#asahi-dev · 2024-09-26 16:08
chaos_princesshttps://github.com/AsahiLinux/linux/blob/bd0a1a7d465fcb60685a2360565ed424bafff354/drivers/gpu/drm/bridge/samsung-dsim.c - you might try writing to registers as if it is this one and seeing if that works
#asahi-dev · 2024-09-26 16:08
chaos_princessif it is samsung, the register layout should be completely different
#asahi-dev · 2024-09-26 16:07
nickchanDSI_CMD_PKT_STATUS
#asahi-dev · 2024-09-26 16:07
nickchanchaos_princess: anything about the status register
#asahi-dev · 2024-09-26 16:03
nickchanit really doesn't like it when it's abused checkm8 over and over
#asahi-dev · 2024-09-26 16:03
nickchanugh type c ports on my macbook pro wedged in asahi linux again so I have to reboot

plus ›