#
#asahi-dev · 2023-06-15 21:43
ChaosPrincessmtp/dockchannel is how the m2+ multitouch controller communicates with the main soc
#asahi-dev · 2023-06-15 21:43
ChaosPrincessyes
#asahi-dev · 2023-06-15 21:43
sid-linuxmtp = multitouch touchpad on your keyboard?
#asahi-dev · 2023-06-15 21:43
ChaosPrincessor just multitouch protocol
#asahi-dev · 2023-06-15 21:42
ChaosPrincessmtp = multitouch transfer protocol probably
#asahi-dev · 2023-06-15 21:41
ChaosPrincessdockchannel is a fifo protocol
#asahi-dev · 2023-06-15 21:40
sid-linux(mtp = mailbox transfer protocol?)
#asahi-dev · 2023-06-15 21:40
sid-linuxwhat about dockchannel and mtp? Once I have a mental model of what these things are, it becomes easier to understand the code
#asahi-dev · 2023-06-15 21:39
sid-linuxprotocol
#asahi-dev · 2023-06-15 21:37
sid-linuxSo rtkit in linux communicates with coprocessors running the rtkitos via the mailbox
#asahi-dev · 2023-06-15 21:24
j`ey_rtkit in linux is the api that talks via mailbox
#asahi-dev · 2023-06-15 21:23
j`ey_rtkit is a framework or something that is built on top of that
#asahi-dev · 2023-06-15 21:23
ChaosPrincessrtkit is a rtos that is used in a bunch of coprocessors
#asahi-dev · 2023-06-15 21:23
j`ey_mbox/mailbox is IPC / a way to send messages between co processors
#asahi-dev · 2023-06-15 21:21
sid-linuxAnother newbie question. I see references to Apple rtkit and apple mbox in very many places in code -- can someone tell me what its role is very generally.
#asahi-dev · 2023-06-15 20:52
sid-linuxChaosPrincess: your explanation was helpful -- thanks
#asahi-dev · 2023-06-15 20:51
sid-linuxso basically m1n1 does not need to do the tough part of virtualizing (sharing machine between host and VM) because there is only 1 VM and it "owns" everything
#asahi-dev · 2023-06-15 20:45
ChaosPrincessm1n1 passes through almost everything
#asahi-dev · 2023-06-15 20:45
ChaosPrincessyou need to actually virtualize the hardware
#asahi-dev · 2023-06-15 20:42
sid-linuxNow if m1n1 is able to run macOS in a VM, surely it should be possible to write similar code to run the VM within linux? KVM gets in the way? Some other complexity?
#asahi-dev · 2023-06-15 20:40
sid-linuxj`ey +1
#asahi-dev · 2023-06-15 20:39
sid-linuxah
#asahi-dev · 2023-06-15 20:39
j`ey_yes but not from inside linux
#asahi-dev · 2023-06-15 20:38
sid-linuxbut m1n1 also has a hypervisor mode that runs macOS in a VM as a i understand...
#asahi-dev · 2023-06-15 20:37
j`ey_run macOS vms
#asahi-dev · 2023-06-15 20:35
sid-linux*to work on Asahi bring
#asahi-dev · 2023-06-15 20:35
sid-linuxnewbie question. m1n1 has a hypervisor also as I understand it which can run macOS. What advantage would porting qemu's (new) vmapple machine type to work on Asahi?
#asahi-dev · 2023-06-15 19:15
svenmarcan: anyway, I ripped out the thunderbolt mess and things still seem to work. I’ll clean up a bit but then I should have something ready on the weekend
#asahi-dev · 2023-06-15 19:14
svenunclear, depends at which level their para virt works I guess
#asahi-dev · 2023-06-15 19:12
milek7_would it require some metal-to-mesa layer?
#asahi-dev · 2023-06-15 19:11
svennice work from agraf as usual :-) now someone just needs to reverse engineer and implement that para virtualized gfx framework :D
#asahi-dev · 2023-06-15 18:33
zzywysmFYI: https://lore.kernel.org/all/20230614224038.86148-1-graf@amazon.com/
#asahi-dev · 2023-06-15 17:31
jannau2 disabled extensions: GL_ARB_texture_barrier and GL_EXT_multisampled_render_to_texture
#asahi-dev · 2023-06-15 17:23
psykoseah
#asahi-dev · 2023-06-15 17:23
jannaupsykose: it wasn't just kernel changes. the mesa changes are more substantial
#asahi-dev · 2023-06-15 16:59
mpss/with/under/
#asahi-dev · 2023-06-15 16:59
mpshm, on my j293 chromium works also with X
#asahi-dev · 2023-06-15 16:56
psykoseiirc it also goes for any electron apps (also a named cache), ..
#asahi-dev · 2023-06-15 16:54
jannaudeleting the chrome/chromium shader cache (~/.config/{google-chrome,chromium}/Default/GPUCache) fixes it as well
#asahi-dev · 2023-06-15 15:44
sid-linux `chromium --disable-gpu-bug-workarounds` works ! Thanks for the bug link psykose !
#asahi-dev · 2023-06-15 15:38
sid-linuxMy wayland chromium is not working (not tried in x)
#asahi-dev · 2023-06-15 15:37
sid-linuxyes, as jannau pointed out, there are shader linker errors. e.g. [99923:99923:0615/210547.839434:ERROR:shared_context_state.cc(77)] Skia shader compilation error
#asahi-dev · 2023-06-15 15:33
psykoseeven though only the kernel changed it still sounds mostly like that
#asahi-dev · 2023-06-15 15:33
psykosebut it could also not be the same issue
#asahi-dev · 2023-06-15 15:33
psykosedeleting the cache and/or the disable-whatever-arg in the thread may or may not work
#asahi-dev · 2023-06-15 15:32
psykosethat sounds like the classic recent chromium issue of https://bugs.chromium.org/p/chromium/issues/detail?id=1442633&q=component%3AInternals%3ESkia&can=2&sort=-opened
#asahi-dev · 2023-06-15 15:29
jannauthere are shader link errors on chromium startup
#asahi-dev · 2023-06-15 15:11
mpsthat is on X, on wayland chromium works fine
#asahi-dev · 2023-06-15 15:08
mpsfirefox works fine
#asahi-dev · 2023-06-15 15:08
mpsoh, I have same as sid-linux though on alpine, not asahi

plus ›