#
…

2022-12-12

00:20benzmac16v has quit [Ping timeout: 480 seconds]
00:31benzmac16v has joined #asahi-alt
00:45Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
00:54benzmac16v has quit [Ping timeout: 480 seconds]
01:00jamespmorgan has joined #asahi-alt
01:06jamespmo_ has quit [Ping timeout: 480 seconds]
01:08benzmac16v has joined #asahi-alt
01:26benzmac16v has quit [Ping timeout: 480 seconds]
01:36benzmac16v has joined #asahi-alt
01:53benzmac16v has quit [Ping timeout: 480 seconds]
02:01benzmac16v has joined #asahi-alt
02:09benzmac16v has quit [Ping timeout: 480 seconds]
02:28benzmac16v has joined #asahi-alt
02:39benzmac16v has quit [Ping timeout: 480 seconds]
03:04benzmac16v has joined #asahi-alt
03:12benzmac16v has quit [Ping timeout: 480 seconds]
03:16opticron_ is now known as opticron
03:17benzmac16v has joined #asahi-alt
03:33benzmac16v has quit [Ping timeout: 480 seconds]
03:41benzmac16v has joined #asahi-alt
03:50benzmac16v has quit [Ping timeout: 480 seconds]
03:53benzmac16v has joined #asahi-alt
03:54benzmac16v has quit [Remote host closed the connection]
03:55benzmac16v has joined #asahi-alt
04:03benzmac16v has quit [Ping timeout: 480 seconds]
04:04renatorabelo has quit [Quit: Leaving]
04:08renatorabelo has joined #asahi-alt
04:25benzmac16v has joined #asahi-alt
04:33benzmac16v has quit [Ping timeout: 480 seconds]
04:42benzmac16v has joined #asahi-alt
04:54benzmac16v has quit [Ping timeout: 480 seconds]
05:03benzmac16v has joined #asahi-alt
05:11benzmac16v has quit [Ping timeout: 480 seconds]
05:37benzmac16v has joined #asahi-alt
05:46benzmac16v has quit [Ping timeout: 480 seconds]
06:07jamespmo_ has joined #asahi-alt
06:12jamespmorgan has quit [Ping timeout: 480 seconds]
06:53benzmac16v has joined #asahi-alt
07:01benzmac16v has quit [Ping timeout: 480 seconds]
07:01mini0n has quit [Read error: Connection reset by peer]
07:15benzmac16v has joined #asahi-alt
07:23benzmac16v has quit [Ping timeout: 480 seconds]
07:30cylm has joined #asahi-alt
07:36benzmac16v has joined #asahi-alt
07:37renato__ has joined #asahi-alt
07:42Glanzmann has quit [Quit: leaving]
07:44renatorabelo has quit [Ping timeout: 480 seconds]
07:47renato__ has quit [Ping timeout: 480 seconds]
07:50benzmac16v has quit [Ping timeout: 480 seconds]
08:01benzmac16v has joined #asahi-alt
08:09benzmac16v has quit [Ping timeout: 480 seconds]
08:26Lewa has joined #asahi-alt
08:33benzmac16v has joined #asahi-alt
08:41benzmac16v has quit [Ping timeout: 480 seconds]
08:58benzmac16v has joined #asahi-alt
09:06benzmac16v has quit [Ping timeout: 480 seconds]
09:32benzmac16v has joined #asahi-alt
09:46benzmac16v has quit [Ping timeout: 480 seconds]
10:11benzmac16v has joined #asahi-alt
10:22benzmac16v has quit [Ping timeout: 480 seconds]
10:33benzmac16v has joined #asahi-alt
10:41benzmac16v has quit [Ping timeout: 480 seconds]
11:08Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:18jamespmorgan has joined #asahi-alt
11:24jamespmo_ has quit [Ping timeout: 480 seconds]
11:44tobhe_Glanzmann: do you have your mesa source package available somewhere?
11:45tobhe_ is now known as tobhe
11:46tobhemine seems to work fine with the asahi-edge kernel but doesn't show anything with only simpledrm enabled...
11:46tobhenot sure what i'm missing
11:47jamespmo_ has joined #asahi-alt
11:49Lewa has joined #asahi-alt
11:53jamespmorgan has quit [Ping timeout: 480 seconds]
11:55jamespmorgan has joined #asahi-alt
11:55Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:01jamespmo_ has quit [Ping timeout: 480 seconds]
12:03j`eymps: wow, apk has broken for the first time for me!
12:06cy8aer@tobhe source for building them ist at https://git.zerfleddert.de/git/m1-debian - File "mesa.sh"
12:08tobhecy8aer: awesome, thx!
12:09cy8aer(that is the remote link to repo, you can see the web page here: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian)
12:10mpsj`ey: yes, happens sometimes to me. but fix is usually 'apk update' && 'apk upgrade -a'
12:10j`eydoesnt fix it here
12:10mpsuhm, and 'apk add apk-tools-static' and then repeat above
12:11mps'apk.static upgrade -a'
12:12j`eywell I apk fetched a new version and am using that
12:12mpsj`ey: what is exact error you get
12:13j`eyERROR: Metadata for package util-linux-dev is too long.
12:13mpsoh, first time see this
12:14mpshm, for me `apk add -u util-linux-dev` works fine
12:15mpsj`ey: will this `apk fix -r util-linux-dev` help
12:16j`eynah, I need to somehow update my apk-tools
12:16j`eybut that is provng tricky
12:17benzmac16v has joined #asahi-alt
12:17mpsj`ey: you can download apk-tool-static pkg and untar it, then use apk.static binary from it
12:18mpsapk-tools-static*
12:19j`eyyeah, tried that with apk fetch, I will try the static one, but I dont think it'll change much
12:20mpsyou have to use wget/curl or similar
12:23j`eywell random shit happened and it seems to have updated apk
12:23j`eybut im.. not very happy with it
12:25benzmac16v has quit [Ping timeout: 480 seconds]
12:25mpsusing edge release is error prone and bad things happens. sometimes I'm nearly there to tear hairs :)
12:26mpsbut usually fix is not far
12:29Lewa has joined #asahi-alt
12:35benzmac16v has joined #asahi-alt
12:48Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
12:57benzmac16v has quit [Ping timeout: 480 seconds]
13:07benzmac16v has joined #asahi-alt
13:08Lewa has joined #asahi-alt
13:10Dementor has quit [Ping timeout: 480 seconds]
13:14wintertpw_rules: have you worked on the GPU driver for NixOS at all, by chance?
13:15benzmac16v has quit [Ping timeout: 480 seconds]
13:16Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
13:23benzmac16v has joined #asahi-alt
13:32benzmac16v has quit [Ping timeout: 480 seconds]
13:42benzmac16v has joined #asahi-alt
13:50benzmac16v has quit [Ping timeout: 480 seconds]
14:14benzmac16v has joined #asahi-alt
14:22benzmac16v has quit [Ping timeout: 480 seconds]
14:32benzmac16v has joined #asahi-alt
14:45benzmac16v has quit [Ping timeout: 480 seconds]
14:53Lewa has joined #asahi-alt
14:53benzmac16v has joined #asahi-alt
14:56benzmac16v has quit [Remote host closed the connection]
14:57benzmac16v has joined #asahi-alt
15:09benzmac16v has quit [Remote host closed the connection]
15:10benzmac16v has joined #asahi-alt
15:23benzmac16v has quit [Ping timeout: 480 seconds]
15:34benzmac16v has joined #asahi-alt
15:42benzmac16v has quit [Ping timeout: 480 seconds]
15:51benzmac16v has joined #asahi-alt
15:59benzmac16v has quit [Ping timeout: 480 seconds]
16:03zzywysm_winter: he started a branch to work on getting the kernel building with rust, but he's missing the part where you need to switch from gcc to clang
16:03zzywysm_winter: once he does that, i can get the gpu driver working with nixos
16:20benzmac16v has joined #asahi-alt
16:23Ry_Darcy has joined #asahi-alt
16:26Ry_DarcyChapeau to Glanzmann. Running Linux debian 6.1.0-rc8-asahi #41 + Mesa stuff installed with no apparent problems. Thanks again.
16:30benzmac16v has quit [Ping timeout: 480 seconds]
16:38benzmac16v has joined #asahi-alt
16:43ncopa has joined #asahi-alt
16:47Ry_Darcy has quit [Remote host closed the connection]
17:04mpszzywysm_: kernel with gpu works even when compiled with gcc, discovered this by not being carefull enough :)
17:05mpsbut rust must be enabled and installed on build system
17:08j`eyncopa: mps is already packaing the asahi kernel if you didnt see https://pkgs.alpinelinux.org/package/edge/testing/aarch64/linux-asahi
17:13mpsj`ey: and m1n1, u-boot-asahi, alsa-ucm-conf-asahi, and thinking to push mesa-asahi
17:14Glanzmann has joined #asahi-alt
17:14GlanzmannRy_Darcy: Glad that it worked for you.
17:15Glanzmannmps: Is you temperature back to normal?
17:15mpsGlanzmann: mostly, but I feel still tired a little
17:15GlanzmannDebian folks: I cleaned up today a little bit the m1-debian repository. I added a script to bootstrap rust (prepare_rust.sh) and cleaned up some other things.
17:16Glanzmannmps: I see. Than rest and have a good recovery.
17:16mpsGlanzmann: thank you, I will do
17:17j`eymps: cool, at some point i need to check out the gpu driver!
17:17mpsj`ey: do you want to build it locally? I can post APKBUILDs
17:18mpsor I can upload binarires (apks) somewhere
17:18j`eymps: i'll ask when i get round to it, things may have changed again
17:19mpsj`ey: sure, np. when you need it just put a note
17:19mpsj`ey: and all, works fine for more that a week here
17:19mpss/that/than/
17:20j`eymight get DCP working first, since thats a bit easier
17:20GlanzmannYep. Gpu driver works fine for me, too.
17:20mpsDCP is somewhat slow in some cases with xorg
17:22zzywysm_mps: given that it's not expected to work (evidence by the existence of the gcc-rs project), it seems like something i'd avoid shipping to end users unless i understood WHY it works
17:23zzywysm_mps: it could be fragile for all we know
17:23mpszzywysm_: I agree, but just wanted to told what I noticed
17:23Glanzmannj`ey: Btw. the debian live now also supports the gpu.
17:24Glanzmannmps: Do you use the gpu driver with simpledrm?
17:24mpshmm, looks like all distros switched to gpu?
17:24j`eymps: not nixos yet
17:24GlanzmannBecause I'm running it since its release with the dcp driver.
17:25mpsGlanzmann: yes, simpledrm is used for first stage kernel messages
17:25mpsGlanzmann: when appledrm is loaded it then overrides simpledrm
17:25Glanzmannmps: but have you compiled dcp enabled?
17:26mpsGlanzmann: by 'dcp' you mean appledrm?
17:26Glanzmannmps: Okay, I actually already know, you have dcp and gpu enabled and run it like that, don't you?
17:27GlanzmannOne thing that got slower for me with the gpu kernel is xfreerdp. But most things have improved.
17:27mpsGlanzmann: right, though gpu or appledrm could be used without simpledrm I followed jannaus advice
17:27zzywysm_mps: if you find evidence that it works robustly and not accidentally, please do let me know, because that's exciting. i like running grsecurity, and it's gcc-only
17:28mpszzywysm_: it is stable for me for at least 3 days now, I'm lazy to rebuiild with clang/llvm, that's all I can say
17:30j`eyoh.. my stub is too old, I have 12.1, annoying
17:30mpszzywysm_: https://tpaste.us/EBpw is my current kernel running config, you can see that it uses gcc and not clang
17:30Glanzmannj`ey: It is not a big hassle to upgrade the stub especially for someone like you. :-)
17:30Glanzmanntg.st/u/upgrade_stub.txt
17:32zzywysm_mps: and you have it built into the kernel itself, not as a module (which is what i would do for my personal systems, and likely for the nixos-m1 project if tpw_rules accepts the eventual pull request)
17:33zzywysm_mps: i wonder if it still works if built as a module
17:34mpszzywysm_: right, in-kernel, not as modules, but if it works as in-kernel driver I don't see reason it why it wouldn't work as module
17:35zzywysm_i don't see any reason why a rust driver would work with a gcc kernel :D
17:36mpsrust-bindgen generates code, then rust build driver, so after that it doesn't mater what build rest, as I understand
17:42j`eyGlanzmann: probably even easier since I just have the m1n1-only install (I should eventually do a proper UEFI install and figure out if I want to stick with alpine)
17:42GlanzmannI'll make a stub upgrade video today. Yesterday I failed because of the kernel oops. :-)
17:51Dementor has joined #asahi-alt
17:51mpsj`ey: my guess you will stay, because of characters size in u-boot :)
17:52mpsafaik only alpine have good characters size in u-boot
18:06Glanzmannj`ey: Is the kind of guy who doesn't have u-boot but uses m1n1 proxy. :-)
18:09j`eydoes make it not very portable :P
18:19Glanzmannj`ey: don't forget your charger.
18:20j`eyor rpi to run the proxy!
18:20GlanzmannExactly. On in here did that. But I don't remeber who.
18:31benzmac16v has quit [Remote host closed the connection]
18:31handlerug has joined #asahi-alt
18:32benzmac16v has joined #asahi-alt
18:37mpstill mart I used spare arm64 chromebook to boot m1 in proxy mode and use it as workstations ;)
18:37mpsor it was till may
18:40Glanzmann·································································· ····················································································································
18:40Glanzmann20221002_invoice_tanken_füt1680.pdf │····················································································································
18:40Glanzmann ····················································································································
18:40Glanzmannoops. sorry
18:41benzmac16v has quit [Ping timeout: 480 seconds]
18:53benzmac16v has joined #asahi-alt
18:54Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:01benzmac16v has quit [Ping timeout: 480 seconds]
19:06mpszzywysm_: 'Linux version 6.1.0-rc8-12-asahi-edge (mps@m1) (gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, GNU ld (GNU Binutils) 2.39) #15-Alpine SMP PREEMPT Mon, 12 Dec 2022 18:55:10 +0000'
19:07mpsbuilt with gcc and gnu ld
19:07mpsappledrm and asahi gpu as modules
19:09mps`lsmod | tpaste` => https://tpaste.us/0WX1
19:09mpsbut experiment finished, now will build with clang
19:11zzywysm_mps: cool, thanks
19:11mpsnp, I wanted to check all once more
19:11benzmac16v has joined #asahi-alt
19:12mpsbtw, did nixos project get grsecurity for distro, or?
19:19benzmac16v has quit [Ping timeout: 480 seconds]
19:33renato__ has joined #asahi-alt
19:36renato__ is now known as renatorabelo
19:38zzywysm_winter: i haven't tested this myself, but someone was working on asahi gpu drivers on nixos: https://github.com/yu-re-ka/nixos-m1/tree/gpu
19:39zzywysm_it doesn't look like they bothered properly switching to clang either
19:45benzmac16v has joined #asahi-alt
19:53beeblebrox has joined #asahi-alt
19:54benzmac16v has quit [Ping timeout: 480 seconds]
19:59Lewa has joined #asahi-alt
20:03benzmac16v has joined #asahi-alt
20:10ncopahi! j`ey: yes i know. I will test it.
20:11ncopai'm thinking of working on "official" support for apple silicon
20:13benzmac16v has quit [Ping timeout: 480 seconds]
20:29ncopaso i have unpacked my new macbook. how do i repartition it so I can install alpine linux?
20:30zzywysm_the Asahi Linux installer will do that for you, you just need to tell it how small you want to resize the macOS partition to
20:31zzywysm_running the installer is a one-line Terminal command: https://asahilinux.org/2022/03/asahi-linux-alpha-release/
20:32zzywysm_i've never installed alpine on apple silicon, but i have installed nixos, and you'll want to pick the UEFI environment only option (probably)
20:32ncopaI do the "UEFI environment only (m1n1 + U-Boot + ESP)" I assume?
20:32cylm has quit [Ping timeout: 480 seconds]
20:32zzywysm_my macbook has a 1TB SSD, so i resized macos to 120 GB
20:33zzywysm_i wouldn't make the macOS partition much smaller than 50 or 60 GB
20:34ncopayeah. i will use macos too i think, so i will probably leave more space
20:34ncopaI suppose I can resize the partitions later if needed?
20:34ncopai mean, if i make wrong sizes
20:34zzywysm_macOS can handle that well, but your linux partitions likely won't
20:35ncopagparted can move partitions i think
20:35zzywysm_maybe go half and half?
20:35ncopaused to be able to at least
20:35ncopayeah, thats the idea
20:38benzmac16v has joined #asahi-alt
20:42ncopathanks!
20:47mpsyes, I know usb image is outdated now, but I don't dare to upgrade it still till the next kernel is ready (hope in a few days)
20:49mpsand yes, gparted can resize and reorder partitions but it is always risky, so best option alwayas make and keep archives ready
20:50mpsand not sure will the current asahi install cpio or tar format firmware on ESP
20:52benzmac16v has quit [Ping timeout: 480 seconds]
20:54benzmac16v has joined #asahi-alt
21:48benzmac16v has quit [Remote host closed the connection]
21:48benzmac16v has joined #asahi-alt
21:49renatorabelo has quit [Ping timeout: 480 seconds]
21:52renatorabelo has joined #asahi-alt
22:44benzmac16v has quit [Read error: Connection timed out]
22:55benzmac16v has joined #asahi-alt
23:05benzmac16v has quit [Ping timeout: 480 seconds]
23:14benzmac16v has joined #asahi-alt
23:22benzmac16v has quit [Ping timeout: 480 seconds]
23:26benzmac16v has joined #asahi-alt
23:34benzmac16v has quit [Ping timeout: 480 seconds]
23:35benzmac16v has joined #asahi-alt
…