#asahi-dev · 2023-04-15 11:45
psykosecute#asahi-dev · 2023-04-15 11:38
jannauhttps://social.treehouse.systems/@janne/110202627148233641#asahi-dev · 2023-04-15 11:14
chadmedjust hard code the driver to do that, this is the absolute maximum utility for the touchbar #asahi-dev · 2023-04-15 11:12
jannaumore hilarious with 25 copies over the whole touchbar#asahi-dev · 2023-04-15 10:38
jannauhttps://github.com/AsahiLinux/m1n1/pull/304#asahi-dev · 2023-04-15 10:34
j`ey :D#asahi-dev · 2023-04-15 10:32
jannauj`ey: m1n1 can be used as video player after some optimisation: https://www.jannau.net/asahi/touchbar_m1n1_bad_apple.mp4#asahi-dev · 2023-04-15 10:11
mpsso, mpv will be able to play videos on touchbar :)#asahi-dev · 2023-04-15 10:10
mpsheh, I expected static image and had to repeat to understand what is happening#asahi-dev · 2023-04-15 10:08
marcanthat is hilarious :D#asahi-dev · 2023-04-15 10:06
svenNice!#asahi-dev · 2023-04-15 10:04
j`eyChaosPrincess: very cool, congrats!#asahi-dev · 2023-04-15 10:03
ChaosPrincessj`ey: https://imgur.com/a/ZkVGb7v#asahi-dev · 2023-04-15 10:02
kettenisI suppose I could stash the location of the initial initrd and remove from the device tree early#asahi-dev · 2023-04-15 10:01
kettenissince drivers are probed lazily in u-boot and we don't want to drop an initrd loaded by the user in u-boot#asahi-dev · 2023-04-15 10:01
kettenisdropping it from the device tree is a bit tricky#asahi-dev · 2023-04-15 09:58
marcanwe just need something to drop that from the device tree before handing off#asahi-dev · 2023-04-15 09:58
marcankettenis: I'm fine with the initrd approach, idea was to just have a subset of firmware in there for u-boot use only (we can make the installer do that)#asahi-dev · 2023-04-15 09:46
j`eyjannau: cool, ty#asahi-dev · 2023-04-15 09:46
jannauj`ey: I'll make a video once the playback experience is improved#asahi-dev · 2023-04-15 09:43
marcaneven whatever state iBoot leaves it in might not be that safe long term, it's unclear, but we've been sweeping that problem under the rug for now; hopefully we'll promote DCP to primary driver soon so we can stop worrying about that#asahi-dev · 2023-04-15 09:42
marcanDCP does a *lot* more magic stuff with integrated panels#asahi-dev · 2023-04-15 09:42
marcanjannau: we don't want to touch DCP for integrated panels, I don't think it's even safe to do that with an active framebuffer (e.g. might break backlight aging management)#asahi-dev · 2023-04-15 09:31
kettenisbut the grub initrd behaviour makes that unattractive#asahi-dev · 2023-04-15 09:30
kettenisjannau: the original idea was to append the cpio to the m1n1+u-boot+dtbs boot.bin on the ESP#asahi-dev · 2023-04-15 09:25
ChaosPrincessoh, on mine it shows snow on half the screen for the first 10-ish seconds and then goes black#asahi-dev · 2023-04-15 09:25
j`eycan someone take a pic of it?#asahi-dev · 2023-04-15 09:25
jannauit's black but over the the 4 is sometimes a row of white pixel of various lenght#asahi-dev · 2023-04-15 09:23
ChaosPrincessi dont think i clear the framebuffer memory, so aside from the actual part that shows the video, the rest is mostly garbage data#asahi-dev · 2023-04-15 09:22
jannauis it expected that there's sometimes a white stripe at the top above '4' during bad apple?#asahi-dev · 2023-04-15 09:21
ChaosPrincesslol#asahi-dev · 2023-04-15 09:21
ChaosPrincessyou can grab that#asahi-dev · 2023-04-15 09:21
jannaucan't recommned it as video player though#asahi-dev · 2023-04-15 09:21
ChaosPrincesshttps://github.com/WhatAmISupposedToPutHere/linux/commits/adp#asahi-dev · 2023-04-15 09:21
jannauworks with the touchbar display m1n1 experiments, not sure if there is much to test otherwise#asahi-dev · 2023-04-15 09:11
mpsnice news, I could test it on weekend#asahi-dev · 2023-04-15 09:09
ChaosPrincesssend the device tree my way if you dont mind, i will be changing it so mipi is not done as just a hack#asahi-dev · 2023-04-15 09:05
ChaosPrincessnice#asahi-dev · 2023-04-15 09:05
jannauChaosPrincess: touchbar display works on M2 as well #asahi-dev · 2023-04-15 08:50
jannauI doubt we want to init dcp for devices with integrated display. dcp will be shut down when leave m1n1 so I don't see how that changes anything and distro kernels will still built-in simpledrm and have large hw specific display drivers as module#asahi-dev · 2023-04-15 08:40
chadmedif we're going to init dcp in m1n1 going forward anyway do we even need simpledrm at all#asahi-dev · 2023-04-15 08:40
ChaosPrincessrebased the touchscreen patches on display ones - whatever is processing the touchscreen events thinks they belong on the primary screen and so they end up on the wrong one#asahi-dev · 2023-04-15 08:30
jannaunot sure if that still makes sense. I haven't heard any complains lately and we support nomodeset should there be issues#asahi-dev · 2023-04-15 08:28
jannauChaosPrincess: dcp is intentionally written in a way it doesn't get card0 to be more resilient against error during initialisation. It removes simpldedrm late so simpledrm works as display if something fails during init#asahi-dev · 2023-04-15 08:10
jannaubut if you just want to test if it is the refresh rate you could edit the commneted display= line in /etc/m1n1.conf and run update-m1n1#asahi-dev · 2023-04-15 08:08
jannaudisplay code is in src/display.c#asahi-dev · 2023-04-15 08:08
jannauwith `tools/chainload.py -r ../build/m1n1.bin` from the proxyclient directory you can load you locally build m1n1#asahi-dev · 2023-04-15 08:07
jannauaccess is then available over usb. the m1n1's console output will be forwarded the first time you connect#asahi-dev · 2023-04-15 08:05
jannauif you want a less fiddly proxy mode setup you can either do a second installation with "m1n1 proxy" or temporary replace m1n1/boot.bin on the ESP with a plain m1n1.bin