2021-12-20
00:07Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:27os has quit [Quit: The Lounge - https://thelounge.chat]
00:31os has joined #asahi
00:34os has quit []
00:35os has joined #asahi
01:15chadmed has joined #asahi
01:30darkapex4 has joined #asahi
01:34darkapex3 has quit [Ping timeout: 480 seconds]
01:49Dcow has joined #asahi
01:49chadmed has quit [Ping timeout: 480 seconds]
01:51_jannau_ has quit [Ping timeout: 480 seconds]
01:52jannau has quit [Ping timeout: 480 seconds]
02:09chadmed has joined #asahi
02:10Dcow has quit [Ping timeout: 480 seconds]
02:11fionera[m]Its just crazy how fast these things are. I now run sway with simpledrm and can play a 4k video in chromium without any issue or lags
02:13chadmedthese things had to come out during a world-changing global supply chain collapse didnt they...
02:14fionera[m]yeah thats really annoying, I had luck and they had this one in stock. everything else was sold out
02:14fionera[m]is it possible to add a margin to the fb?
02:14chadmedive checked with every apple store within 1000km of me and all of them are totally out of stock of every configuration. maybe i shouldnt have recommended them so much to all my friends XD
02:15fionera[m]Apple also didnt had any stock in their stores nor the webshop. I found mine on a different store chain
02:17chadmedi wanted a custom config and in australia apple give students a 10% discount plus free airpods. i dont particularly like the base model airpods but hey i got the maxxed out m1 pro for the same price as the base 8 core one. i think thats a decent enough deal to warrant a one month lead time tbh
02:17fionera[m]indeed it is
02:18chadmedthe only thing is its meant to be arriving while im going to be in the middle of the ocean which is quite annoying. probably should have thought about that before i ordered heh
02:19chadmednot sure if simpledrm lets you change res but i dont think the DCP scales output to the panel size, so you might be able to get away with just changing the screen res in your DE to get a letterboxed framebuffer
02:20marcanpretty sure the panel TCON can scale too, though I don't know if Apple ever uses that feature
02:21marcanthere's no "by default", you have to specify the input and output resolution explicitly for each plane
02:23fionera[m]I already played with the idea to just hack it into sway for now so that it just doesnt has the upper pixels
02:30_jannau_ has joined #asahi
02:30jannau has joined #asahi
02:42_jannau_ has quit [Ping timeout: 480 seconds]
02:44jannau has quit [Ping timeout: 480 seconds]
02:47marcanthe idea is the DCP driver will default to offering resolutions that exclude the upper pixels
02:56_jannau_ has joined #asahi
02:57jannau has joined #asahi
03:42kov has quit [Quit: Coyote finally caught me]
03:54phiologe has joined #asahi
04:04dsrt^ has quit [Remote host closed the connection]
04:10amarioguy has left #asahi [#asahi]
04:25marvin24_ has joined #asahi
04:26nabaiste^ has joined #asahi
04:29marvin24 has quit [Ping timeout: 480 seconds]
04:36tpw_rulesif you already have m1n1 working, have an M1 regular mac (not pro/max), and want to give U-Boot and NixOS a spin as a standalone system, i've made a guide here: https://github.com/tpwrules/nixos-m1/blob/main/docs/qnd-standalone.md
04:50fionera[m]amazing :D now I dont need to package m1n1 ^^ Anything against a pull request to make it a nix-flake?
04:52tpw_rulesi'm not so sure because flakes aren't enabled by default yet. it already pins the version of nixpkgs. it's also pretty hacky. but if it won't take you long i can definitely look at it
04:53jmr2 has joined #asahi
04:53jmr2tpw_rules: "Note that HDMI is at this time broken completely if the stub partition has a macOS newer than 11.4." It doesn't work with 11.5.2 ?
04:54fionera[m]I used a flake to pin the asahi repos via the flake.lock which makes updating super nice :D
05:07jmr2 has quit [Quit: Page closed]
05:43Glanzmann has joined #asahi
05:45Glanzmanntpw_rules: tar -xOf nixos_root.img.tar.gz | dd of=/dev/disk0sN bs=1m - This line writes an ext4 to the block device?
05:47Glanzmanntpw_rules: I have not understood the boot chain completly: So m1n1 boots uboot and uboot gets the kernel from where?
05:50sorearmight be nice to have a giant warning on that saying when it was written (you can get that from the git history but still), that it will probably be outdated by the time the median reader sees it, what versions of macOS/m1n1/linux it applies to
05:55Glanzmannjmr / tpw_rules: Marcan told me few days in the IRC specifically which version are supported after I recommended to someone to use the oldest supported versions, but I can't find it anylonger.
05:58Glanzmanntpw_rules: I want to write a similiar guide for debian, but condense it in 7 small steps or so. I would also offer to get build artefacts prebuild (optionally). Very nice writeup. :-)
06:25zsxh has joined #asahi
06:27sailorek1234 has joined #asahi
06:31monn has joined #asahi
06:41fionera[m]have to go to bed too now, want to test if I can get uboot working on the mb pro
06:42monn has quit [Remote host closed the connection]
07:33monn has joined #asahi
07:45monn has quit [Read error: Connection reset by peer]
07:51thunfisch has quit [Read error: Permission denied]
07:51thunfisch has joined #asahi
08:18MajorBiscuit has joined #asahi
08:47Redecorating[m] has joined #asahi
09:17nabaiste^ has quit [Ping timeout: 480 seconds]
09:29nabaiste^ has joined #asahi
09:29kode54is it not widely known now that the M1 and friends can only nest hubs two levels deep beyond their external ports before devices just won't talk with it?
09:35kode54what does the tiering thing mean if I'm using: a 3.0 hub that manifests as two separate hubs on attach: a 3.0 hub and a 2.0 hub
10:12Raqbit has quit [Quit: The Lounge - https://thelounge.chat]
10:13Raqbit has joined #asahi
10:26riker77 has quit [Quit: Quitting IRC - gone for good...]
10:38riker77 has joined #asahi
10:42Jamie[m]1i like to think apple is getting these reports and some engineer is investigating why my laptop is allegedly on fire
10:49chengsun has quit [Quit: Quit]
10:49chengsun has joined #asahi
11:06FireFox317mps, what firmware downloader are you talking about?
11:07FireFox317the python script that marcan wrote will eventually be used in the asahi-installer and will grab the firmware from the ipsw file that apple provides
11:08Redecorating[m]i think it'll get it from /usr/share/firmware/wifi on the recoveryOS's filesystem
11:10FireFox317mps, you could also copy the whole /usr/share/firmware/wifi dir to linux and run it on linux..
11:11Redecorating[m]i think the script will rename the files in a more sensible format with less symlinks too
11:11marcanif anyone has machines with brcmfmac wifi cards (any architecture), it would be helpful if you could test this patch and tell me if it breaks anything: https://gist.github.com/marcan/9c724c633f50ec16f159cc5f1ab2928c
11:12FireFox317Redecorating[m], exactly, massage the data such that the linux driver can handle it
11:17Redecorating[m]marcan: seems fine on MacBookPro16,1 with BCM4364 and firmware from Big Sur.
11:19Redecorating[m]bcm4378
11:19Redecorating[m]max and pro are 4387 afaik
11:25chengsunmy raspberry pi 3 uses brcmfmac for chip BCM43430/1, which I can test later today if nobody gets round to it before I do
11:32zimsneexh has quit [Ping timeout: 480 seconds]
11:47darkapex has joined #asahi
11:51darkapex4 has quit [Ping timeout: 480 seconds]
12:02anton has joined #asahi
12:12Glanzmannmps: Did you get the wifi card to work? I used the firmware extractor from macos, extracted it to /lib/firmware on Debian. Used the asahi/wifi-wip branch and compled the kernel with CONFIG_BRCMFMAC=m if I modprobe brcmfmac I get in demsg: https://pbot.rmdir.de/F1c8ZBT-CtWT0GEsKYBwfA but no additional network interface. Any ideas?
12:24anton has quit [Remote host closed the connection]
12:25aleasto has joined #asahi
12:26Redecorating[m]`ioreg -l | grep RequestedFiles` in macos should say if that doesn't work
12:33fetsorn[m] has joined #asahi
13:01GlanzmannRedecorating[m]: Thank you. On the mini it says: | | | | | "RequestedFiles" = ({"Firmware"="C-4378__s-B1/atlantisb.trx","TxCap"="C-4378__s-B1/atlantisb-X3.txcb","Regulatory"="C-4378__s-B1/atlantisb-X3.clmb","NVRAM"="C-4378__s-B1/P-atlantisb-X3_M-RASP_V-m__m-6.11.txt"})
13:03marcanI already told you that thing was just something I pushed so alyssa could look at the OTP code
13:05marcanyou trying to use this ahead of time is literally a complete waste of time for everyone because you're running into things I already fixed or will fix before I actually ask people to test things
13:05Glanzmann has quit [Quit: leaving]
13:06marcanyou are certainly free to check it out and look at it, but there is zero expectation that anything works
13:10marcanonce the git history is cleaned up a bit, probably tomorrow, I'll push the wifi stuff to asahi
13:45NightRaven[m]Question I have gotten a USB wifi adapter
13:45NightRaven[m]How can I use wifi on my computer now
13:46NightRaven[m]I can't use wifi-menu needs dialog netctl crashes and iwd is not found
13:50aleasto has quit [Quit: Konversation terminated!]
13:51NightRaven[m]as400[m]: I can't
13:51NightRaven[m]Lol I have no wifi
13:52aleasto has joined #asahi
13:53NightRaven[m]mavericks: I can't
13:54NightRaven[m]as400[m]: How ?
13:55FireFox317NightRaven[m], if you are using arch linux arm, then you can download the package from https://archlinuxarm.org/packages/ and put it on a usb stick and then use pacman to install that
13:55NightRaven[m]On arch arm
13:57* NightRaven[m]uploaded an image: (41KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/VWgiskBlWpIPwiuexStmbNZX/Screenshot_20211220-135652.png >
13:57NightRaven[m]The package is not doing
13:57NightRaven[m]s/doing/found/
13:58FireFox317NightRaven[m], try a different mirror xd
13:58FireFox317this link doesnt work? http://mirror.archlinuxarm.org/aarch64/community/iwd-1.20-1-aarch64.pkg.tar.xz
13:58* NightRaven[m]uploaded an image: (56KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/wtjLgrhLkQFqzgnuiprJcfzY/20211220_135846_8814718509810534749.jpg >
13:58NightRaven[m]Oh ok
13:59ryanhrob1[m] has joined #asahi
14:00FireFox317NightRaven[m], make sure to also install the dependencies of iwd first
14:00NightRaven[m]Oh ok I have to get the tar.xz of that too
14:02* NightRaven[m]uploaded an image: (109KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/hMdXnfKCTcvOcuQkLgiGRFrA/20211220_140203_2994337494944158541.jpg >
14:02NightRaven[m]I get this if I try curl or wget
14:05chadmed has quit [Quit: Konversation terminated!]
14:05chengsun has quit [Quit: Quit]
14:06chengsun has joined #asahi
14:07FireFox317NightRaven[m], something is wrong with your config, I can just download it
14:08NightRaven[m]Hmm ok I fixed that
14:08NightRaven[m]But like I have the package on my USB how do I install it next ?
14:10FireFox317NightRaven[m], mount the usb, then you can just `cd <mountpoint>` and `sudo pacman -S iwd-1.20-1-aarch64.pkg.tar.xz`
14:10FireFox317again, make sure to first install the dependencies
14:12jix_I think `pacman -U` is requried to install a package from the filesystem and not a repository
14:13jix_and if dependencies are missing it should just fail and tell you about that unless you explicitly tell it to skip dependency checks
14:13FireFox317ah my bad, yeah its `pacman -U` instead
14:14sailorek1234 has quit []
14:29sailorek1234 has joined #asahi
14:33NightRaven[m]Ok so
14:33* NightRaven[m]uploaded an image: (149KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/LgXlvzFQyMeimsSUUUpvyrrN/20211220_143336_3552485620867043247.jpg >
14:33NightRaven[m]Installed iwd and ell
14:34NightRaven[m]And I reboot
14:34NightRaven[m]But iwd is not found
14:34sailorek1234 has quit []
14:34FireFox317NightRaven[m], the arch wiki is a good information source on how to use iwd: https://wiki.archlinux.org/title/Iwd
14:35* NightRaven[m]uploaded an image: (145KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BkkYCZUGDChSEUbPjLwBFeMt/20211220_143454_2772121405235034383.jpg >
14:35NightRaven[m]Oh ok
14:36NightRaven[m]It just says waiting for iwd to start ....
14:36yuyichao has quit [Ping timeout: 480 seconds]
14:37FireFox317NightRaven[m], yeah well there are a lot of factors that can be wrong here, like missing kernel configs etc, but im also not sure which wifi driver you are using. So you basically have to figure this stuff out yourself, which is what will happen when you start using unfinished stuff
14:38NightRaven[m]Hmm ok Thanks
14:42NightRaven[m]So I found out my wife interface is lo
14:42NightRaven[m]s/wife/wifi/
14:42NightRaven[m]mps: There is no libexec
14:43* NightRaven[m]uploaded an image: (144KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QnHFDYvghLzzUWzCAdByaeCB/20211220_144331_1005780402133146102.jpg >
14:43NightRaven[m]But when I do systemctl status iwd
14:44FireFox317NightRaven[m], first of all, did the driver correctly initalise the broadcom chip? `dmesg | grep brcm` should tell you if it works
14:45NightRaven[m]I just got an external wifi USB
14:45NightRaven[m]I am not using the internal one
14:45psykosethat doesn't have any actual output, it just says it failed, pretty sure journalctl will have a message in it
14:46NightRaven[m]My one is a tenda mini wireless N adapter
14:47NightRaven[m]firefox317: Shows nothing
14:47FireFox317NightRaven[m], yeah sorry thought you were trying internal wifi
14:48NightRaven[m]firefox317: It's fine
14:48NightRaven[m]mps: I don't have a wlan0
14:48NightRaven[m]It only shows lol
14:48NightRaven[m]* It only shows lo
14:48* NightRaven[m]uploaded an image: (159KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/yEnPJkgsimSYpgtFyPfMMuVE/20211220_144849_6687870835425416040.jpg >
14:49NightRaven[m]But I have the usb wifi connected
14:50jix_i don't think it'd be named wlan0 these days on a arch system but instead the "stable name" or whatever that was called
14:50* NightRaven[m]uploaded an image: (149KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/gBrUlbLNuOdKgTFQjQFnmGXE/20211220_145041_1163644825137244468.jpg >
14:51NightRaven[m]I plugged in the dongle again
14:51NightRaven[m]Is there any other way I can list it
14:52FireFox317You might not have the driver installed?
14:52NightRaven[m]mps: Not found
14:52FireFox317the base alarm system is really barebones xd
14:53NightRaven[m]firefox317: Ok its a realtek 802.11n
14:54* NightRaven[m]uploaded an image: (137KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/UnlOgtJGnAjAXXnBKgduyxuf/20211220_145408_1527444378304594230.jpg >
14:54NightRaven[m]So I have to install a driver for it
14:54NightRaven[m]But I am not sure if there is a package for it
14:55NightRaven[m]mps: Yes
14:55NightRaven[m]Image2.gz
14:55NightRaven[m]The reboot fix one
14:56NightRaven[m]Hmm how do you enable it
14:57NightRaven[m]Can you check ?
14:57NightRaven[m]If you can
14:58NightRaven[m]mps: 802.11n ?
14:58bps has joined #asahi
14:58NightRaven[m]This is all the info I have
14:58* NightRaven[m]uploaded an image: (139KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QduCOVJovJBSyrxeBFNqpKiJ/20211220_145839_4259645908545977147.jpg >
14:58NightRaven[m]The usb one on top
14:59NightRaven[m]So do I have to install the driver ?
15:00NightRaven[m]mps: lsusb is not a command
15:02NightRaven[m]Ok I will try
15:02NightRaven[m]mps: What's in it ?
15:03NightRaven[m]Like what's the difference
15:03yuyichao has joined #asahi
15:03mpsmount your root FS somewhere and do 'tar xvf linux-5.16.0-rc5-a5.tar.gz -C /where/you/mounted/it'
15:04NightRaven[m]My rootFS is in my nvme
15:04NightRaven[m]My ssd
15:06NightRaven[m]Oh ok
15:08NightRaven[m]So tar -xf -C /
15:08NightRaven[m]s/So tar -xf -C //So tar -xvf fielname -C //
15:09skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
15:10NightRaven[m]Oh ok
15:13skoobasteeve has joined #asahi
15:17NightRaven[m]I think I broke lnuxt
15:17NightRaven[m] Linux
15:17NightRaven[m]I did tar -xvf fielname.tar.gz -C / then this happened
15:18* NightRaven[m]uploaded an image: (176KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/BbnxpJvPFDYUzHsLcvrYZdjd/20211220_151750_1060592039906507789.jpg >
15:19NightRaven[m]I renamed the file to linux.tar.gz
15:19* NightRaven[m]uploaded an image: (164KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/tgMmOXcPvOqwbVqeSRtPSvEw/20211220_151949_1678577298582142267.jpg >
15:20NightRaven[m]Going to reinstall
15:20NightRaven[m]But any idea why ?
15:20NightRaven[m]I did
15:20NightRaven[m]NightRaven[m]: Show this
15:22jix_does extracing that tar work if /lib is a symlink on arch or would it override it with a new directory?
15:22jix_(because if it does that almost every binary will get a no such file or directory when looking for "/lib/ld..."
15:23NightRaven[m]Well I will reinstall arch now
15:24mpsand don't ask me for help, not because I don't want but because I don't much (actually nothing) about Arch
15:25NightRaven[m]It's fine I am just trying to get my realtek dongle working
15:25NightRaven[m]Is there a package for the driver ?
15:26FireFox317NightRaven[m], easiest way is to build the kernel yourself :shrug:
15:26NightRaven[m]firefox317: But when I build it it gets stuck at the asahi Logo
15:26NightRaven[m]It's fine when I use mps's one
15:27NightRaven[m]I was just wondering if there Is a package for the realtek dongle
15:27FireFox317probably some missing config then, which you can quite easy debug if you use m1n1 and run the kernel in the hypervisor
15:28FireFox317but if you are trying to use asahi at this stage, it is expected that you are willing to learn how to build the kernel etc, and also debug some stuff yourself..
15:28NightRaven[m]mps: Sure
15:28jix_NightRaven[m]: fwiw, you could try extracting the tar but using '/usr/' instead of '/' that should make the stuff in /lib end up in /usr/lib which is what /lib points to on arch ... no guarantee of that not wrecking your install again though
15:28jix_(you'd also end up with stuff in /usr/boot that should be in /boot but I'm not sure it matters if your system boots already)
15:29NightRaven[m]jix_: Ok I will try that now
15:29NightRaven[m]Thanks
15:30NightRaven[m]mps: Do you have the .config file for the kernel
15:30NightRaven[m]mps: That's for building right
15:40Dcow has joined #asahi
15:42Dcow has quit []
15:55* SamAdams[m]uploaded an image: (143KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/NfHTYLgsVefKHZVwNNKleXeG/PXL_20211220_155454773.jpg >
15:55SamAdams[m]Is this error known? It says that xz payloads are allowed on the m1n1 GitHub?
15:57SamAdams[m]Ok, it still boots, so it's really just an annoyance.
15:58SamAdams[m]Yep, it's Ubuntu 21.10.
16:00Dcow has joined #asahi
16:01NightRaven[m]mps: I will still use your image.gz but I will try again later I will take a break
16:08fetsorn has joined #asahi
16:25mpsNightRaven[m]: ok, I will try to help but keep in mind that I will speak from 'alpine' POV, so you have to check carefully will it work on you system
16:26NightRaven[m]Ok thanks : )
16:31jbowen has quit [Quit: leaving]
16:35mlq_ has joined #asahi
16:41mlq has quit [Ping timeout: 480 seconds]
17:05Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:07Dcow has joined #asahi
17:31Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:33Dcow has joined #asahi
17:35nabaiste^ has quit [Ping timeout: 480 seconds]
17:45nabaiste^ has joined #asahi
17:48skoobasteeve has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
17:49skoobasteeve has joined #asahi
17:50skoobasteeve has quit []
17:51skoobasteeve has joined #asahi
17:59bps2 has joined #asahi
18:06bps has quit [Ping timeout: 480 seconds]
18:35MajorBiscuit has quit [Ping timeout: 480 seconds]
19:26jannaunot entirely happy about this "random" rebased tree but also not sure about using asahi with linux-next as base
19:34artemist has quit [Remote host closed the connection]
19:35artemist has joined #asahi
19:41artemist has quit [Remote host closed the connection]
19:46MajorBiscuit has joined #asahi
19:47artemist has joined #asahi
19:49Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:03andreafeletto has quit [Read error: Connection reset by peer]
20:03handlerug has quit [Read error: Connection reset by peer]
20:03andreafeletto has joined #asahi
20:03WhyNotHugo has quit [Read error: Connection reset by peer]
20:03handlerug has joined #asahi
20:03coder_kalyan has quit [Read error: Connection reset by peer]
20:03WhyNotHugo has joined #asahi
20:03tdmm has quit [Read error: Connection reset by peer]
20:03coder_kalyan has joined #asahi
20:03tdmm has joined #asahi
20:16yuyichao_ has joined #asahi
20:18bps2 has quit [Ping timeout: 480 seconds]
20:19yuyichao has quit [Ping timeout: 480 seconds]
20:20mpsis this new branch for testing https://github.com/AsahiLinux/linux/commits/asahi-with-new-nvme
20:22aleasto has quit [Remote host closed the connection]
20:25NightRaven[m]mps: can I get your .config that you build Image2.gz with
20:28mpsNightRaven[m]: I wrote already do the 'tar xf linux-5.16.0-rc5-a5.tar.gz ./boot -C somewhere' and you will find config file in boot dir there
20:29NightRaven[m]In the boot ok thx
20:29bps2 has joined #asahi
20:34MajorBiscuit has quit [Ping timeout: 480 seconds]
21:27fetsorn has quit [Remote host closed the connection]
21:29suricato has joined #asahi
21:30joe[_]D has joined #asahi
21:31suricato_ has quit [Ping timeout: 480 seconds]
21:47MajorBiscuit has joined #asahi
23:00bps2 has quit [Ping timeout: 480 seconds]
23:08bmrgz has joined #asahi
23:10tbodt_ is now known as tbodt
23:11tbodt has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
23:11tbodt has joined #asahi
23:39jmr2 has joined #asahi
23:39jmr2marcan: no issue with either patch on a RPi 4 (except for the "unused variable 'i'" warning on the pmk one). Tested on https://github.com/raspberrypi/linux/tree/rpi-5.16.y
23:39jmr2Regarding FW version, from dmesg: brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov 1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
23:40jmr2 has quit []
23:55MajorBiscuit has quit [Ping timeout: 480 seconds]