#
…

2022-12-01

00:01Dcow has joined #asahi-alt
00:13Dcow has quit [Ping timeout: 480 seconds]
00:23Dcow has joined #asahi-alt
00:36Dcow has quit [Ping timeout: 480 seconds]
01:02Dcow has joined #asahi-alt
01:10Dcow has quit [Ping timeout: 480 seconds]
01:31chadmedscardracs: what do you mean the file provided by asahi linux? thats to build an arch imag
01:32chadmedgentoo's livecd boot infra is completely different and incompatible which is why we need to do some evil things to the ISO
01:34chadmedideally we would not, and i worked on building a bootable disk image a little while ago that we can just distribute so users dont have to worry about bootstrapping it themselves
01:34chadmedbut at the moment i have more important things i can be working on
01:51leafpaw has joined #asahi-alt
01:53digicyc2 has quit [Ping timeout: 480 seconds]
02:59ma3 has joined #asahi-alt
03:02phire_ has joined #asahi-alt
03:02phire is now known as Guest501
03:02phire_ is now known as phire
03:05ma2 has quit [Ping timeout: 480 seconds]
03:05Guest501 has quit [Ping timeout: 480 seconds]
04:10Dcow has joined #asahi-alt
04:18Dcow has quit [Ping timeout: 480 seconds]
05:14Glanzmann has joined #asahi-alt
05:14Glanzmannjanrinze: It is the right file. I extracted it from the Debian installer packages. On my air I run the gpu branch of m1n1. That is why the file size is different.
05:15GlanzmannLet me know how it goes. Anyway back to work.
05:15Glanzmann has quit []
05:51nopeslide has joined #asahi-alt
06:10Dcow has joined #asahi-alt
06:13evanzheng has joined #asahi-alt
06:19Dcow has quit [Ping timeout: 480 seconds]
06:23nopeslide has quit []
06:23nopeslide has joined #asahi-alt
06:27evanzheng has quit [Remote host closed the connection]
06:31scardracschadmed: understand
07:53chadmed_ has joined #asahi-alt
08:12Dcow has joined #asahi-alt
08:15jamespmorgan has joined #asahi-alt
08:20Dcow has quit [Ping timeout: 480 seconds]
08:21jamespmo_ has quit [Ping timeout: 480 seconds]
08:58Dcow has joined #asahi-alt
09:14Dcow has quit [Ping timeout: 480 seconds]
09:21Dcow has joined #asahi-alt
09:38chadmed_ has quit [Remote host closed the connection]
12:06jamespmo_ has joined #asahi-alt
12:11jamespmorgan has quit [Ping timeout: 480 seconds]
12:56tobhe_ has joined #asahi-alt
13:00tobhe has quit [Ping timeout: 480 seconds]
15:44beeblebrox has joined #asahi-alt
16:20KDDLB has quit [Quit: Ping timeout (120 seconds)]
16:20kode54 has quit [Quit: Ping timeout (120 seconds)]
16:20KDDLB has joined #asahi-alt
16:21kode54 has joined #asahi-alt
17:28benzmac16v has joined #asahi-alt
17:36benzmac16v has quit [Ping timeout: 480 seconds]
18:53benzmac16v has joined #asahi-alt
19:03benzmac16v has quit [Ping timeout: 480 seconds]
19:57janrinzetobhe_: does your Ubuntu installer play nice with Mac Studio Ultra?
20:18tobhe_janrinze: I see no reason why it wouldn't, but I haven't tried.
20:19janrinzeinstalling now.. we'll see
20:19tobhe_awesome :)
20:19janrinzei noticed that i'm running osx 12.4 but the installer says it can only see 12.3
20:20janrinzeI need a fall-back linux option so i decided to try Ubuntu for that ;-)
20:21janrinzetobhe_: your build scripts are nice. I'm curious, when was the latest build done?
20:22tobhe_latest build should be from ~3 weeks ago
20:22janrinzenice. so it has just about the latest of 'everything' ;-)
20:22tobhe_I am working on new kernels atm and will do new builds once those are out
20:23janrinzemy curiosity was peeked because Ubuntu and Debian are 'siblings' ..
20:24janrinzemy Debian install is rather broken and I'm hoping that Ubuntu may be of help
20:25janrinzeit's unfortunate that OSX does not have native ext4 support.
20:27tobhe_it is. I sometimes use a small fat partition to pass things from macos to linux. I think I've seen others use a fuse apfs implementation to mount their mac volumes
20:28janrinzepassing files is not my issue, fixing things on an ext4 partition is.
20:29janrinzeaha.. kernel 5.19.5-10
20:30janrinzetobhe_: USB3 support is in 6.x i.i.r.c.
20:30tobhe_you can install linux-asahi-edge or wait a day to get the new 6.1 kernel
20:30janrinzecan wait a day :-)
20:31tobhe_it is currently stuck in the launchpad build queue
20:32janrinzeif i build 6.1.0-rc6 with debbuild would that work okay?
20:33janrinzetobhe_: might be good for me to just do some excercise.
20:35tobhe_that should work. you might have to manually update m1n1 after installing the kernel to get the new device trees
20:36cy8aerhm, I wonder why @Glanzmann did not build 6.1.0-rc6 with debbuild...
20:36janrinzethat's something i certainly don't like about the way we boot.. device tree should not be hard coded in a bootloader. preferably it should be attached by grub
20:37janrinzehow are we supposed to support fall-back to an older kernel?
20:38j`eytry not to break backwards compat :/
20:41janrinzej`ey: not sure what you mean.
20:41scardracschadmed: ChaosPrincess: do you have any img file that can be flashed into an USB for usb booting?
20:41tobhe_I don't think there's a hard break. some drivers might not attach properly
20:41j`eyjanrinze: try make it such that newer DTs work with older kernels
20:42janrinzej`ey: sure.. but is that the case now? is 5.19.x compatible with >=6.1x ?
20:43tobhe_should be compatible enough that it still boots
20:43j`eyI think USB won't work :(
20:43janrinzej`ey: also a kernel upgrade requires a bootloader upgrade..
20:43tobhe_you can restore the 5.19 bootloader by running update-m1n1
20:44janrinzeand break the grub entry of a newer kernel subsequently..
20:44j`eyjanrinze: only if you need to update the dtb too
20:44janrinzej`ey: dtb's are in constant flux for the time being.
20:44tobhe_update-m1n1 doesn't touch grub at all
20:45janrinzeinstalling a kernel does.
20:45j`eyjanrinze: yes, but a kernel upgrade doesnt require a bootloader upgrade
20:45janrinzej`ey: unless the dtb has changed, right?
20:45scardracsj`ey: but you may want to do so if you want to boot into new kernel
20:45j`eyjanrinze: right
20:45scardracsAt least grub-mkconfig should be used
20:46scardracsIf not done by the package itself
20:46janrinzej`ey: my whole trouble started when i read USB3 support somewhere and hoped to get it working..
20:46scardracsjanrinze: ATM it is enabled only on linux-asahi-edge
20:47janrinzescardracs: then we have to explain to the debian people that the kernel build process requires a m1n1 build and u-boot build..
20:48scardracsjanrinze: the optimal thing is that kernel upgrade calls both automatically
20:48janrinzescardracs: a debian kernel build will generate .deb packages that play nicely with previous installed kernels
20:48scardracsBut, for e.g., it’s not done automatically in gentoo (because we love pain and suffer lol)
20:49janrinzescardracs: would that imply we will get a m1n1 .deb package and a u-boot .deb package?
20:50jamespmorgan has joined #asahi-alt
20:50janrinzescardracs: ARCHLinux collaborates with the packages for Asahi Linux for these, right?
20:51scardracsJanrinze: it should be
20:51scardracsArchLinuxARM does not collaborates at any level with Asahi for now, IIRC
20:51janrinzeso all distibutions need to adapt for asahi linux then..
20:51scardracsI don’t know if things are changed
20:51scardracsjanrinze: well, yes
20:52janrinzechoosing 4k display in the display settings would be nice..
20:53scardracsjanrinze: when GPU driver will be ready it should works on 4K too
20:53janrinzescardracs: the drm driver is supposed to handle that.
20:54scardracsYep, but atm is working with CPU
20:54scardracsWe need the GPU driver made by AsahiLina
20:55janrinzei guess you misunderstand.. the bootloader is already supposed to read the info from the monitor and set accordingly.
20:56jamespmo_ has quit [Ping timeout: 480 seconds]
20:58scardracsI'm not saying it doesn't work. I say that you need the driver for the GPU to make everything work properly
20:58janrinzescardracs: Lina is working hard on hardware accelerated graphics driver. if u-boot can set the resolution then why can't the drm driver..
20:59scardracsBecause DRM driver is not ready to handle it (also because u-boot is just a line command bootloader, not an entire interface)
20:59j`eyu-boot doesn't do anything there, m1n1 does
21:00janrinzeokay, m1n1. but it is still available code.
21:00scardracsj`ey: right, m1n1
21:01scardracsAnyway we need to wait for AsahiLina’s GPU driver to sort these things out. I can’t wait for a testing version of it
21:02scardracsI’m sure it will be awesome
21:03janrinzescardracs: i much more prefer incremental upgrade so that a large user base can report findings. The whole big-bang strategy that depends on one person is a bit risky
21:04j`eywell thats what linux-asahi-edge is for, it has incremental features like DCP
21:04j`ey(I also dont agree that the GPU thing is a 'big bang strategy')
21:05j`eythere's no point releasing something which has so many bugs/issues that everyone will run into the same issues
21:05scardracsjanrinze: I don’t know anyone here that can do the same work that AsahiLina used to do in past months. Asahi Team is really small compared to other groups but see how far they go just using reverse engineering
21:05scardracsI agree with you
21:06janrinzescardracs: incremental upgrades allow for more developers to work on a part and get those patches up stream
21:07j`eyyou cant really do incremental until enough of the basic features are working
21:07j`eyor parallel
21:07j`eyparalell? both look wrong
21:08janrinzej`ey: i disagree but then i'm old school..
21:08j`eyjanrinze: what do you disagree with?
21:08j`eyyou think multiple people can work on the code when it doesnt boot at all yet?
21:09j`eyor when it renders one frame but then just crashes?
21:09janrinzeabout not being able to do incremental until enough of the basic features are working
21:09j`eyI also dont see how that relates to old school
21:09janrinzej`ey: drm driver has basic things like setting the resolution..
21:10j`eywell then you can work on it ;)
21:10j`eylina isnt working on the dcp driver really, that's been other people
21:11janrinzewhat i mean is that is quite feasible to implement a subset of the functionality and gradually implement more..
21:11j`eyyeah, that's whats happening
21:11j`eybut you have to implement enough of the functionality for it to be usuable.. and DCP has just about reached that point, so is available in -edge
21:11janrinzewell.. in special branches that don't facilitate a large user base.
21:12ashi has joined #asahi-alt
21:12j`eywhy have 100 people test code that is known to break in lots of ways
21:12scardracsjanrinze: linux-asahi-edge is on normal branch, not in the -dev one
21:12j`eythe whole point is to get the code working well enough and *then* get it tested
21:13scardracsAnd then mainlained upstream
21:13j`eyI think youre misunderstanding the amount of effort it is to get the "basic" DRM features working
21:13ashiJust out of curiosity, which bugs am I supposed to run into - I am running drm asahi driver and opengl is accelerated. Tried to crash it but failed :P
21:13janrinzeold school is sort of having a main branch and pull requests. making sure that those pull requests are kept to reasonable sizes.
21:13j`eythat's going to happen when it's upstreamed
21:13scardracsInitial support for M1 Pro/max/ultra will not happens before linux-6.2 so why rushing?
21:13janrinzewhen someone whats to try a pull request they can test those at will.
21:14scardracsjanrinze: you can already do that
21:14janrinzescardracs: already running on ultra for many months now..
21:14scardracsjanrinze: in linux-aschi, not in mainline linux kernel
21:15janrinzescardracs: https://github.com/AsahiLinux/linux/pulls .. not much to see here..
21:15j`eyjanrinze: do you do pull requests when the code is half working, to get more testers, or when it's working well?
21:15j`eyyeah because the PRs are done via irc
21:15janrinzej`ey: right..
21:15j`eymarkan asks the Usual Suspects if they have new code, and then he pulls it in
21:16janrinzej`ey: merging branches.. yes..
21:16ashij`ey: some people actuall do half-working PRs and mark it WIP:, even a github feature, and sometimes nice to track progress
21:16j`eyashi: sure, that's not actually making a PR though :P
21:17j`eythat's just to show it off or whatever, not for actually pulling
21:17ashij`ey: Not only to show off - also to make it visible and maybe have people test and comment
21:17mpsashi: even simpledrm is quite fine, no need for drm
21:18janrinzej`ey: it's just a different way of working that i'm not used to.
21:18j`eyashi: well that's what I meant by show off
21:18j`eyjanrinze: to me it seems to be what you suggested
21:18j`eyyou just think that they stuff should be easier to do incrementally.. but lots of the DCP work is just not incremental
21:18ashiI find asahi generally a bit too closed for a crowd-funded project, but that is only my personal opinion. :P
21:19j`eyashi: it's not closed at all..
21:19j`eyin what aspect do you think it's closed?
21:19janrinzeit's probably the spaghetti issue.. I'm used to defining small functional changes and implementing those.
21:19j`eyjanrinze: yeah.. not always possible
21:19ashiIn asahi-gpu someone proposed to make branches private to not have noobs like me test code (If I did not misread that)
21:20mpsashi: I can post you gpu kernel if you want to test it
21:20janrinzej`ey: not possible usually means 'i don't know how to do that' ..
21:20j`eyashi: did you read the context?
21:21ashimps: I have it running, along with mesa
21:21ashiit is great
21:21j`eyjanrinze: i mean, feel free to do it for DCP or gpu then..
21:21mpsashi: ah, ok
21:21mpsalso I run it
21:21j`eyashi: 'the issue is that you’re wasting everyone‘s time by running random branches and then reporting issues'
21:22mpsashi: you use wayland or xorg?
21:22janrinzej`ey: I began my kernel stuff in 1996 .. so yes.. old school..
21:22scardracsmps: IIRC Xorg does not work so well
21:23j`eyjanrinze: sure i get it, youre old school.. but this is exactly how development happens for stuff that is WIP
21:23ashij`ey: Could very well be that I missunderstand it, but I did not read it as from a welcoming community.
21:23mpsscardracs: right
21:23ashimps: wayland
21:23mpssway works fine but I don't like it, so I use xorg
21:23j`eyashi: it's welcoming, but it's better to test what people ask to be tested, not just trying random combinations of things and then reporting issues
21:24ashimps: GNOME here with wayland
21:25scardracsI don’t really understand what you means with old-school/new-school. There is only one way to do things: they are ready when they are enough stable to be usable for everyone. If someone wants to test things and report issue/s feel free to do so but not to force anyone to mainline something when devs are unsure how much safe
21:25scardracsHow much is safe to do so
21:25mpsashi: I would switch to sway but I need to learn totally new WM, and I'm lazy for that
21:26ashij`ey: well, I was trying to run the driver on M2 Air, and it crashed even though it was supposed to be working (code was pushed, lina had it running in her stream). It crashed right away on boot but I was afraid to ask because I am not supposed to. That feels... well...
21:27ashiAfter yesterdays stream it did work - and mesa was then also no problem to build and run
21:27janrinzetobhe_: Ubuntu can't run chromium.
21:27tobhe_let me check that
21:28ashimps: I was a long time i3 and then sway user - but with sway I failed to put some of those puzzle pieces into place to (gpg agent, ssh agent). A pre-configured "sway experience" would have helped but then I switched to GNOME + pop_shell for tiling
21:28janrinzetobhe_: probably the chromium settings are expecting a gpu
21:29tobhe_i think there was a way to force that off
21:30mpsashi: sometimes I use sway in parallel with xorg but not much. And I don't like these big DEs, Gnome/KDE and similar (long time awesome wm user)
21:31mpsashi: btw, from which git commit id you built mesa
21:32ashimps: same here, I just wanted a clean desktop with tiling and was to lazy to choose everything by hand (notification daemon etc), so GNOME works with tiling - "apt install sway-desktop" would be nice ;)
21:32ashimps: from linas branch , let me check
21:34ashiit had the UAPI bump
21:35mpsashi: thank you much
21:35ashiconfigured with the asahi driver and swrast , no vulkan drivers and did ninja install - restarted gdm3 and it worked right away
21:36ashiAfter testing other random branches of alyssa, main mesa, lina, ...
21:36ashigood that compiling mesa is lighting fast
21:36mpsashi: I alredy created APKBUILD for alpine
21:36ashimps: nice
21:39mpsashi: will build it tomorrow and test (now it is time for bed here)
21:39tobhe_janrinze: I'm getting the same error. I think there was a way to fix that but I'm usually using firefox. Someone in #asahi might know what to do
21:39janrinzetobhe_: 4k or 16k page kernel?
21:40ashimps: good night, you also need linas branches of m1n1 and the kernel of course (but I assume you have that already)
21:40janrinzetobhe_: firefox works.
21:41janrinzetobhe_: but youtube seems not to work..
21:41mps(on alpine everything works)
21:43tobhe_mps: on OpenBSD too. no idea which build option causes this. must be something software rendering related
21:49mpstobhe_: ahem, always the problem is to find proper building options and dependencies versions
21:51ashi has quit [Quit: Leaving]
21:53janrinzetobhe_: Ubuntu is useful to me now as a backup. might want to try to add it in the grub of asahi :-)
21:55tobhe_good to know that it works on the studio :)
22:03scardracsWhere can I find the instructions to install kernel with gpu enabled? I’ve entered #asahi-gpu but asking on it does not seems the better thing to do ‘:)
22:04janrinzetobhe_: after a reboot Ubuntu drops in grub rescue.. and no USB for keyboard .. duh.
22:05tobhe_huh? that's new
22:05janrinzeerror no such device.. and a UUID..
22:06janrinzelet's try another reboot..
22:10tobhe_it sounds like your machine is really good in triggering bugs in the first boot script
22:11tobhe_normally that should change the UUIDs to random ones and update grub and fstab
22:12janrinzeit seems more like PARTUUID vs UUID
22:18janrinzetobhe_: syncing disks? perhaps havint 64GB memory might keep files longer in buffers?
22:26janrinzetobhe_: i'll keep an eye out on the UUIDs.. will report if it happens again.
22:29tobhe_so the second boot worked?
22:29jamespmo_ has joined #asahi-alt
22:30tobhe_interesting
22:36jamespmorgan has quit [Ping timeout: 480 seconds]
23:08janrinzetobhe_: the UUID it tries to load is 87c6b0ce-3bb6-4dc2-9298-3a799bbb5994
23:28janrinze\o/ managed to use grub rescue to boot an old debian partition!
…