#asahi-gpu · 2022-11-12 17:50
alyssaany reason not to just do main for DRM swaps and OOB for backlight?#asahi-gpu · 2022-11-12 17:48
jannauat least a zeroed swap structure with just the brightness fields set works#asahi-gpu · 2022-11-12 17:47
jannauprobably, it looks like macos uses for some commands if the main context is busy#asahi-gpu · 2022-11-12 17:45
alyssaIIRC it's just to make it easier for threaded AP clients#asahi-gpu · 2022-11-12 17:45
jannauI don't understand under which conditions macos uses it though#asahi-gpu · 2022-11-12 17:44
jannauyes, it has an out of band channel#asahi-gpu · 2022-11-12 17:44
jannaumy main problem is that I'm trying to avoid blocking surface swaps#asahi-gpu · 2022-11-12 17:44
alyssadcp had multiple channels to help with this right?#asahi-gpu · 2022-11-12 17:43
jannauI wonder if I can use out of band swaps for the brightness#asahi-gpu · 2022-11-12 17:43
sven*had#asahi-gpu · 2022-11-12 17:42
svenjust rewrite it in rust! I heard that way lina and zero concurrency bugs :p#asahi-gpu · 2022-11-12 17:42
alyssamove all dcp work to a worker thread?#asahi-gpu · 2022-11-12 17:42
alyssayeah#asahi-gpu · 2022-11-12 17:42
jannaui.e. it crashes dcp quite easily#asahi-gpu · 2022-11-12 17:42
alyssajannau: :-(#asahi-gpu · 2022-11-12 17:41
jannaugah, using dcp from two entry points (kms and backlight device) at the same time to swap surfaces / brightness works as well as one can imagine#asahi-gpu · 2022-11-12 15:55
alyssa:-D#asahi-gpu · 2022-11-12 15:55
alyssa.....#asahi-gpu · 2022-11-12 15:55
alyssa Passed: 1/1 (100.0%)#asahi-gpu · 2022-11-12 15:51
alyssajust when I think I've finally 'got' it.. bam, fail#asahi-gpu · 2022-11-12 15:51
alyssaThese multisampling tests are taunting me#asahi-gpu · 2022-11-12 01:22
alyssai mean mesa culture#asahi-gpu · 2022-11-12 01:22
alyssapunns are an important part of trans culture#asahi-gpu · 2022-11-12 01:22
alyssacr1901: that sounds probable#asahi-gpu · 2022-11-12 00:31
cr1901Lemme guess PRIME is a pun on Optimus?#asahi-gpu · 2022-11-11 23:26
alyssaI see#asahi-gpu · 2022-11-11 22:53
jannauintegrated + discrete gpus in laptops#asahi-gpu · 2022-11-11 22:49
alyssaI try not to learn too much about WSI ... what's PRIME? ;-)#asahi-gpu · 2022-11-11 22:44
jannauI guess so, that is for PRIME and not kmsro#asahi-gpu · 2022-11-11 22:33
jannauis draw->is_different_gpu expected to be false?#asahi-gpu · 2022-11-11 22:25
jannauhttps://paste.debian.net/1260400/#asahi-gpu · 2022-11-11 22:23
jannauthe culprit for glxgears seems to be dri3_alloc_render_buffer() src/loader/loader_dri3_helper.c line 1526#asahi-gpu · 2022-11-11 22:12
alyssawlroots calls the old one but with USE_SCANOUT ..#asahi-gpu · 2022-11-11 22:11
jannauyes#asahi-gpu · 2022-11-11 22:10
alyssaoh, you're supposed to use gbm_bo_create_with_modifiers2 instead .. ok#asahi-gpu · 2022-11-11 22:10
alyssacan it not do that? because that's stupid and causes real problems on other platforms#asahi-gpu · 2022-11-11 22:09
alyssagrumble#asahi-gpu · 2022-11-11 22:09
jannaugbm_bo_create_with_modifiers() always sets GBM_BO_USE_SCANOUT#asahi-gpu · 2022-11-11 22:09
alyssaah#asahi-gpu · 2022-11-11 22:09
jannauincreasing the address space doesn't doesn't fix leaks. this was more a thought if there's enough fb address space for 9 display setups on the m1 ultra #asahi-gpu · 2022-11-11 21:39
alyssabut ... why is that BIND flag being set ...#asahi-gpu · 2022-11-11 21:39
alyssathe simple answer is "because they're allocated with PIPE_BIND_SCANOUT which means allocate against the display"#asahi-gpu · 2022-11-11 21:38
alyssajannau: I mean... the bigger question I have is why random window surfaces are getting allocated against the dcp#asahi-gpu · 2022-11-11 20:15
jannaut8103 has a vm-size of 0xfc00_0000 which appears more of a suggestions since linux starts mapping at the top end of the full 32-bit space#asahi-gpu · 2022-11-11 20:13
jannauI wonder how large disp0's iova space is. no vm-size property in t600x ADT for dart-disp0, so it could be (36-bit)#asahi-gpu · 2022-11-11 04:48
RiskRunner0Hi! Just installed asahi today, awesome project! I'd love to help, is there an issues list somehwere?#asahi-gpu · 2022-11-11 03:45
alyssabah, that's like, most of them#asahi-gpu · 2022-11-11 03:45
alyssa Passed: 939/940 (99.9%)#asahi-gpu · 2022-11-11 02:36
alyssauhm. getting there#asahi-gpu · 2022-11-11 02:36
alyssa Passed: 914/940 (97.2%)