#
✕ nick:jannau
#asahi · 2022-05-20 19:42
jannauclone https://github.com/AsahiLinux/m1n1 and build it
#asahi · 2022-05-20 19:34
jannauyou can select and the the minimal asahi linux distro but it will not boot. you should end up with a m1n1 prompt
#asahi · 2022-05-20 19:32
jannauxfim: yes, you need to copy installer.tar.gz and data/installer_data.json to macos, unpack installer.tar.gz and run ./install.sh as root
#asahi · 2022-05-20 19:07
jannauxfim: github's ubuntu-latest image apparently already has rustup installed
#asahi · 2022-05-20 18:59
jannauyou need 'RUSTUP_TOOLCHAIN=nightly rustup target install aarch64-unknown-none-softfloat' see how the github ci does that https://github.com/AsahiLinux/m1n1/blob/d44306a1c7eabe46dfc4b1ed3b04861786e23db3/.github/workflows/build.yml#L32
#asahi · 2022-05-20 18:56
jannauxfim: building is a little tricky since you need a bleeding edge rust toolchain to build m1n1 with chainloading for the installer
#asahi · 2022-05-20 18:32
jannauhttps://github.com/jannau/asahi-installer/tree/mac_studio is an installer branch with mac studio "support". only the "tethered boot" option will work out of the box but the other images can be easily fixed
#asahi · 2022-05-20 18:30
jannauhow comfortable are you with building software?
#asahi · 2022-05-20 18:29
jannauxfim: do you have a second computer where you can build arm64 binaries?
#asahi · 2022-05-20 05:52
jannauI heven't bothered to add the audio nodes to the mac studio dts'
#asahi · 2022-05-20 05:50
jannauwouldn't buy a mac studio for the speaker
#asahi · 2022-05-20 05:47
jannaujudging by the boot chime the speaker in the studio is in a different league than the min1
#asahi · 2022-05-15 13:39
jannauthere's not that much to do to have dcp in state for testing. I was working on other stuff and waited for the dt bindings for the bootloader mappings
#asahi · 2022-05-15 13:31
jannauI don't see how that would make things simpler. brightness control still needs the full dcp rpc interface
#asahi · 2022-05-15 13:24
jannauhow would that differ from simpledrm?
#asahi · 2022-05-15 13:01
jannauj`ey: wasn't the conservative estimate in the floss weekly "this year"
#asahi · 2022-05-15 13:00
jannaubrightness control is in dcp, I know how it works on my mbp 14" but I haven't tried it yet
#asahi · 2022-05-08 12:20
jannauI need to remember to add a comment for that
#asahi · 2022-05-08 12:17
jannauthe hardware setup is a little strange though. the nvme on die1 is wirred to the die0 nvme interrupt but the nvme mbox irqs are not
#asahi · 2022-05-08 12:14
jannaurepresenting it as die0 / die1 would make sense imo. die0 is clearly the primary die. the ADT has a couple of die1-* nodes
#asahi · 2022-05-08 12:02
jannauwe could move everything to separate dtsi files and include them for t6000/t6001 under /soc and for the t6002 under /soc/die0 and /soc/die1
#asahi · 2022-05-08 11:57
jannaukettenis: yes, it is weird. maybe I need to organize the sharing of the t6001 stuff differently. I didn't want to add a pointless "die0" to m1 pro/max machines
#asahi · 2022-05-08 08:04
jannauM0x8FFshulkk[m]: the asahi mesa 3D gpu driver is currently only opengl/opengl es though
#asahi · 2022-05-04 18:27
jannaumipi[m]: see https://github.com/AsahiLinux/docs/wiki/Partitioning-cheatsheet
#asahi · 2022-05-04 18:26
jannauw12101111: I can't reproduce the crashing efi_call_rts on boot. booting m1n1/u-boot over usb though on a mb pro 14" m1 max 32GB. How do have recomppiled everything? updating the PKGBUILDs from https://github.com/AsahiLinux/PKGBUILDs?
#asahi · 2022-05-04 17:45
jannauah, yes. I saw that but forgot about it
#asahi · 2022-05-04 17:41
jannaukettenis: have you tried u-boot master recently on m1 pro/max? c3d451d5e6b7c2 aborts on distro_bootcmd
#asahi · 2022-04-29 18:11
jannauhmm, I still saw te commit message but the commit was already gone. I assumed it was just a leftover since the date is 2020-11-12
#asahi · 2022-04-29 18:09
jannauthey started AN at A4
#asahi · 2022-04-29 18:08
jannauH13* is A14 / M1 / M1 Pro/Max/Ultra https://github.com/AsahiLinux/docs/wiki/Codenames
#asahi · 2022-04-29 17:57
jannauGlanzmann: display_fb_alloc2 - main reason why it's not submitted is that hv/macos panic immediately on boot
#asahi · 2022-04-28 11:29
jannauI think the main missing HW support to use the mac studio as development machine is display support and to a lesser extend usb 3
#asahi · 2022-04-28 11:25
jannauylebars[m]: my mac studio is not silent. fans are spinning constantly at 1300rpm and are noticeable in a quiet room
#asahi · 2022-04-28 11:24
jannaumarcan: is that problem fixed by povik's "i2c: pasemi: Wait for write xfers to finish"? it's in v5.18-rc3 so it should be linux/asahi
#asahi · 2022-04-27 21:34
jannauthe m1 ultra studio is currently more "supported". I don't think anyone has created a dts for the m1 max studio. doing that shouldn't be be a problem even without access to a device
#asahi · 2022-04-25 06:57
jannaunot sure if we can, at least with my IPS monitors I've seen only 8, 10 and 12 bit per pixel color modes
#asahi · 2022-04-24 13:45
jannauit's on my todo list for the initial release
#asahi · 2022-04-24 13:44
jannauI'd say dcp will have brightness control well before it is finished. It currently doesn't have it. I've seen how it works on the macbook pro 14"
#asahi · 2022-04-24 09:47
jannauhalf of that $50k is the 1.5TB ram upgrade Apple is selling with a markup over 2 though
#asahi · 2022-04-21 06:37
jannaudoesn't make much sense packaging it yet without mac studio dtb and the installer rejects the mac studio anyway
#asahi · 2022-04-21 05:46
jannauonly m1 ultra or development related changes (faster hypervisor). also preparation for usb3 support but that is going to to be changed
#asahi · 2022-04-19 11:16
jannauChainfire: there is probably a lot of work left on the userspace side to support OpenCL in mesa/agx. I doubt Metal exists outside of macos
#asahi · 2022-04-18 13:58
jannausounds more like bugs
#asahi · 2022-04-18 13:57
jannauI might be wrong: https://news.ycombinator.com/item?id=28325100
#asahi · 2022-04-18 13:54
jannauas far as I know yes
#asahi · 2022-04-18 13:54
jannauthe binary driver refuses work on the cortex-a72 based honeycomb lx2
#asahi · 2022-04-18 13:52
jannauiirc the driver restricts afaik the supported CPU's though: http://us.download.nvidia.com/XFree86/aarch64/450.51/README/minimumrequirements.html lists just x-gene and thunderx but that might be outdated. does aws offer gravitron2 instances with nvidia cards?
#asahi · 2022-04-18 09:06
jannaucommit messages says it's device specific https://lore.kernel.org/all/20211215161045.38843-3-marcan@marcan.st/
#asahi · 2022-04-18 08:14
jannauwasn't the 4 byte reads issue just limited to the sd-card reader?
#asahi · 2022-04-15 14:02
jannauyes, works but rust support needs a working rustc (the one from arch linux arm is broken since it requires 4k pages)

plus ›