#
✕ nick:pitust
#asahi · 2023-12-22 11:46
pitustokay, i figured out the fix
#asahi · 2023-12-22 11:41
pituststill incompatible dt
#asahi · 2023-12-22 11:39
pitustokay cool
#asahi · 2023-12-22 11:37
pitustor is it uboot
#asahi · 2023-12-22 11:36
pitustis that what i need to build even
#asahi · 2023-12-22 11:35
pitustokay now i built m1n1 1.4.11
#asahi · 2023-12-22 11:32
pitustahhh [ 0.515548] apple-dcp 231c00000.dcp: error -ENODEV: Incompatible devicetree! Use devicetree matching this kernel.
#asahi · 2023-12-22 11:25
pitust(as in dt changes)
#asahi · 2023-12-22 11:24
pitustwhat else is out of date and needs updating, uboot?
#asahi · 2023-12-22 11:22
pitustDRM_ASAHI=y DRM_APPLE=m
#asahi · 2023-12-22 11:22
pitustah
#asahi · 2023-12-22 11:22
pitustsince there is no backlight device present
#asahi · 2023-12-22 11:21
pitusti just realized: its quite possible i built my kernel with gpu stuff off...
#asahi · 2023-12-22 11:15
pitust(as a dependency)
#asahi · 2023-12-22 11:15
pitustit's missing spirv-llvm-translator
#asahi · 2023-12-22 11:15
pitustokay, the pkgbuild is broken
#asahi · 2023-12-22 11:13
pitustoh cool
#asahi · 2023-12-22 11:12
pitustand why on earth does the build fail because its missing :^)
#asahi · 2023-12-22 11:12
pitusti see
#asahi · 2023-12-22 11:11
pitustwhat is LLVMSPIRVLib?
#asahi · 2023-12-22 11:09
pitustincredible
#asahi · 2023-12-22 11:09
pitustoh, and the alarm package for it is out of date
#asahi · 2023-12-22 11:08
pitustall i know is the renderer string "llvmpipe (LLVM 16.0.6, 128 bits)" which is not very helpful
#asahi · 2023-12-22 11:07
pitustdoes mesa come with some test tools?
#asahi · 2023-12-22 11:07
pitusti see
#asahi · 2023-12-22 11:06
pitusthow would one even debug this kind of breakage?
#asahi · 2023-12-22 11:06
pitusthmm
#asahi · 2023-12-22 11:05
pitusti have latest mesa-asahi-edge (mesa-asahi-edge-23.3.0_pre20230904-2)
#asahi · 2023-12-22 11:03
pitusti'm back to llvmpipe
#asahi · 2023-12-22 11:03
pitustokay so i built asahi-6.6-14 (bd0a1a7d465fcb60685a2360565ed424bafff354), and now my graphics accel broke...
#asahi · 2023-11-23 08:09
pituststrongly suspect this is hardware damage; no flickering when suspended unlike before
#asahi · 2023-11-23 08:08
pitustthe only other message is "adp 228200000.display-pipe: Adding to iommu group 0" and "[drm] Initialized adp 0.1.0 20230412 for 228200000.display-pipe on minor 2"
#asahi · 2023-11-23 08:04
pitustADP stopped working and i'm getting some mildly worrying dmesg logs stopped working: "flip_done timed out" and "[CRTC:33:crtc-0] commit wait timed out" (both from adp 228200000.display-pipe)
#asahi · 2023-11-19 15:31
pitustis there any touchbar calibration data anywhere on macOS?
#asahi · 2023-11-19 14:16
pitustso if i write to 48*4, i get a pixel at (48, 0) and (0, 1)
#asahi · 2023-11-19 14:16
pitustit's as if the pitch isn't set correctly somewhere
#asahi · 2023-11-19 14:06
pitustjanneg: ah no i chgrp'ed the DRI device to myself and didn't remove the permission drop at the start
#asahi · 2023-11-19 13:28
pitustokay incredible, tiny-dfr get -EACCES when trying to DRM_IOCTL_SET_MASTER
#asahi · 2023-11-19 13:23
pitustand i get four on my touchbar!
#asahi · 2023-11-19 13:23
pitustalright, i am drawing 3 pixels
#asahi · 2023-11-19 13:22
pitustwhich doesn't make much sense...
#asahi · 2023-11-19 13:22
pitustand i get straight lines at a=48
#asahi · 2023-11-19 13:22
pitusti tried drawing every (x * a) * 4th pixel
#asahi · 2023-11-19 13:21
pitusti'm trying to figure out how to plot something at a given (x, y) value (as in, how to map (x, y) => offset into the buffer)
#asahi · 2023-11-19 13:20
pitustokay what the fuck
#asahi · 2023-11-19 13:10
pitustwhich makes approximately no sense
#asahi · 2023-11-19 13:10
pitusti have a loop that will place width * height pixels, and i can fill up the touchbar with 1600 pixels
#asahi · 2023-11-19 13:09
pitusti'm also having trouble width drawing things in the right place on the damn thing
#asahi · 2023-11-19 13:07
pitustokay then
#asahi · 2023-11-19 13:06
pitustanyway memsetting it all to 0xcc still causes this to happen

plus ›