ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benzmac16v has quit [Ping timeout: 480 seconds]
jamespmorgan has joined #asahi-alt
jamespmo_ has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
opticron_ is now known as opticron
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Remote host closed the connection]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
renatorabelo has quit [Quit: Leaving]
renatorabelo has joined #asahi-alt
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
jamespmo_ has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
mini0n has quit [Read error: Connection reset by peer]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-alt
benzmac16v has joined #asahi-alt
renato__ has joined #asahi-alt
Glanzmann has quit [Quit: leaving]
renatorabelo has quit [Ping timeout: 480 seconds]
renato__ has quit [Ping timeout: 480 seconds]
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
Lewa has joined #asahi-alt
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jamespmorgan has joined #asahi-alt
jamespmo_ has quit [Ping timeout: 480 seconds]
<tobhe_> Glanzmann: do you have your mesa source package available somewhere?
tobhe_ is now known as tobhe
<tobhe> mine seems to work fine with the asahi-edge kernel but doesn't show anything with only simpledrm enabled...
<tobhe> not sure what i'm missing
jamespmo_ has joined #asahi-alt
Lewa has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
jamespmorgan has joined #asahi-alt
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jamespmo_ has quit [Ping timeout: 480 seconds]
<j`ey> mps: wow, apk has broken for the first time for me!
<cy8aer> @tobhe source for building them ist at https://git.zerfleddert.de/git/m1-debian - File "mesa.sh"
<tobhe> cy8aer: awesome, thx!
<cy8aer> (that is the remote link to repo, you can see the web page here: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian)
<mps> j`ey: yes, happens sometimes to me. but fix is usually 'apk update' && 'apk upgrade -a'
<j`ey> doesnt fix it here
<mps> uhm, and 'apk add apk-tools-static' and then repeat above
<mps> 'apk.static upgrade -a'
<j`ey> well I apk fetched a new version and am using that
<mps> j`ey: what is exact error you get
<j`ey> ERROR: Metadata for package util-linux-dev is too long.
<mps> oh, first time see this
<mps> hm, for me `apk add -u util-linux-dev` works fine
<mps> j`ey: will this `apk fix -r util-linux-dev` help
<j`ey> nah, I need to somehow update my apk-tools
<j`ey> but that is provng tricky
benzmac16v has joined #asahi-alt
<mps> j`ey: you can download apk-tool-static pkg and untar it, then use apk.static binary from it
<mps> apk-tools-static*
<j`ey> yeah, tried that with apk fetch, I will try the static one, but I dont think it'll change much
<mps> you have to use wget/curl or similar
<j`ey> well random shit happened and it seems to have updated apk
<j`ey> but im.. not very happy with it
benzmac16v has quit [Ping timeout: 480 seconds]
<mps> using edge release is error prone and bad things happens. sometimes I'm nearly there to tear hairs :)
<mps> but usually fix is not far
Lewa has joined #asahi-alt
benzmac16v has joined #asahi-alt
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
Lewa has joined #asahi-alt
Dementor has quit [Ping timeout: 480 seconds]
<winter> tpw_rules: have you worked on the GPU driver for NixOS at all, by chance?
benzmac16v has quit [Ping timeout: 480 seconds]
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
Lewa has joined #asahi-alt
benzmac16v has joined #asahi-alt
benzmac16v has quit [Remote host closed the connection]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Remote host closed the connection]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
<zzywysm_> 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
<zzywysm_> winter: once he does that, i can get the gpu driver working with nixos
benzmac16v has joined #asahi-alt
Ry_Darcy has joined #asahi-alt
<Ry_Darcy> Chapeau to Glanzmann. Running Linux debian 6.1.0-rc8-asahi #41 + Mesa stuff installed with no apparent problems. Thanks again.
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
ncopa has joined #asahi-alt
Ry_Darcy has quit [Remote host closed the connection]
<mps> zzywysm_: kernel with gpu works even when compiled with gcc, discovered this by not being carefull enough :)
<mps> but rust must be enabled and installed on build system
<j`ey> ncopa: mps is already packaing the asahi kernel if you didnt see https://pkgs.alpinelinux.org/package/edge/testing/aarch64/linux-asahi
<mps> j`ey: and m1n1, u-boot-asahi, alsa-ucm-conf-asahi, and thinking to push mesa-asahi
Glanzmann has joined #asahi-alt
<Glanzmann> Ry_Darcy: Glad that it worked for you.
<Glanzmann> mps: Is you temperature back to normal?
<mps> Glanzmann: mostly, but I feel still tired a little
<Glanzmann> Debian 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.
<Glanzmann> mps: I see. Than rest and have a good recovery.
<mps> Glanzmann: thank you, I will do
<j`ey> mps: cool, at some point i need to check out the gpu driver!
<mps> j`ey: do you want to build it locally? I can post APKBUILDs
<mps> or I can upload binarires (apks) somewhere
<j`ey> mps: i'll ask when i get round to it, things may have changed again
<mps> j`ey: sure, np. when you need it just put a note
<mps> j`ey: and all, works fine for more that a week here
<mps> s/that/than/
<j`ey> might get DCP working first, since thats a bit easier
<Glanzmann> Yep. Gpu driver works fine for me, too.
<mps> DCP is somewhat slow in some cases with xorg
<zzywysm_> 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
<zzywysm_> mps: it could be fragile for all we know
<mps> zzywysm_: I agree, but just wanted to told what I noticed
<Glanzmann> j`ey: Btw. the debian live now also supports the gpu.
<Glanzmann> mps: Do you use the gpu driver with simpledrm?
<mps> hmm, looks like all distros switched to gpu?
<j`ey> mps: not nixos yet
<Glanzmann> Because I'm running it since its release with the dcp driver.
<mps> Glanzmann: yes, simpledrm is used for first stage kernel messages
<mps> Glanzmann: when appledrm is loaded it then overrides simpledrm
<Glanzmann> mps: but have you compiled dcp enabled?
<mps> Glanzmann: by 'dcp' you mean appledrm?
<Glanzmann> mps: Okay, I actually already know, you have dcp and gpu enabled and run it like that, don't you?
<Glanzmann> mps: Yes.
<Glanzmann> One thing that got slower for me with the gpu kernel is xfreerdp. But most things have improved.
<mps> Glanzmann: right, though gpu or appledrm could be used without simpledrm I followed jannaus advice
<zzywysm_> 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
<mps> zzywysm_: 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
<j`ey> oh.. my stub is too old, I have 12.1, annoying
<mps> zzywysm_: https://tpaste.us/EBpw is my current kernel running config, you can see that it uses gcc and not clang
<Glanzmann> j`ey: It is not a big hassle to upgrade the stub especially for someone like you. :-)
<Glanzmann> tg.st/u/upgrade_stub.txt
<zzywysm_> 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)
<zzywysm_> mps: i wonder if it still works if built as a module
<mps> zzywysm_: 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
<zzywysm_> i don't see any reason why a rust driver would work with a gcc kernel :D
<mps> rust-bindgen generates code, then rust build driver, so after that it doesn't mater what build rest, as I understand
<Glanzmann> /clear
<j`ey> Glanzmann: 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)
<Glanzmann> I'll make a stub upgrade video today. Yesterday I failed because of the kernel oops. :-)
Dementor has joined #asahi-alt
<mps> j`ey: my guess you will stay, because of characters size in u-boot :)
<j`ey> hah
<mps> afaik only alpine have good characters size in u-boot
<Glanzmann> j`ey: Is the kind of guy who doesn't have u-boot but uses m1n1 proxy. :-)
<j`ey> does make it not very portable :P
<Glanzmann> j`ey: don't forget your charger.
<j`ey> or rpi to run the proxy!
<Glanzmann> Exactly. On in here did that. But I don't remeber who.
<j`ey> me :)
benzmac16v has quit [Remote host closed the connection]
handlerug has joined #asahi-alt
benzmac16v has joined #asahi-alt
<mps> till mart I used spare arm64 chromebook to boot m1 in proxy mode and use it as workstations ;)
<mps> or it was till may
<Glanzmann> ·································································· ····················································································································
<Glanzmann> 20221002_invoice_tanken_füt1680.pdf │····················································································································
<Glanzmann> ····················································································································
<Glanzmann> oops. sorry
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
Lewa has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
benzmac16v has quit [Ping timeout: 480 seconds]
<mps> zzywysm_: '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'
<mps> built with gcc and gnu ld
<mps> appledrm and asahi gpu as modules
<mps> `lsmod | tpaste` => https://tpaste.us/0WX1
<mps> but experiment finished, now will build with clang
<zzywysm_> mps: cool, thanks
<mps> np, I wanted to check all once more
benzmac16v has joined #asahi-alt
<mps> btw, did nixos project get grsecurity for distro, or?
benzmac16v has quit [Ping timeout: 480 seconds]
<zzywysm_> mps: no
renato__ has joined #asahi-alt
renato__ is now known as renatorabelo
<zzywysm_> 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
<zzywysm_> it doesn't look like they bothered properly switching to clang either
benzmac16v has joined #asahi-alt
beeblebrox has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
Lewa has joined #asahi-alt
benzmac16v has joined #asahi-alt
<ncopa> hi! j`ey: yes i know. I will test it.
<ncopa> i'm thinking of working on "official" support for apple silicon
benzmac16v has quit [Ping timeout: 480 seconds]
<ncopa> so i have unpacked my new macbook. how do i repartition it so I can install alpine linux?
<zzywysm_> 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
<zzywysm_> running the installer is a one-line Terminal command: https://asahilinux.org/2022/03/asahi-linux-alpha-release/
<zzywysm_> 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)
<ncopa> I do the "UEFI environment only (m1n1 + U-Boot + ESP)" I assume?
cylm has quit [Ping timeout: 480 seconds]
<zzywysm_> my macbook has a 1TB SSD, so i resized macos to 120 GB
<zzywysm_> i wouldn't make the macOS partition much smaller than 50 or 60 GB
<ncopa> yeah. i will use macos too i think, so i will probably leave more space
<ncopa> I suppose I can resize the partitions later if needed?
<ncopa> i mean, if i make wrong sizes
<zzywysm_> macOS can handle that well, but your linux partitions likely won't
<ncopa> gparted can move partitions i think
<zzywysm_> maybe go half and half?
<ncopa> used to be able to at least
<ncopa> yeah, thats the idea
benzmac16v has joined #asahi-alt
<ncopa> thanks!
<mps> yes, 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)
<mps> and yes, gparted can resize and reorder partitions but it is always risky, so best option alwayas make and keep archives ready
<mps> and not sure will the current asahi install cpio or tar format firmware on ESP
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Remote host closed the connection]
benzmac16v has joined #asahi-alt
renatorabelo has quit [Ping timeout: 480 seconds]
renatorabelo has joined #asahi-alt
benzmac16v has quit [Read error: Connection timed out]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt
benzmac16v has quit [Ping timeout: 480 seconds]
benzmac16v has joined #asahi-alt