#
…

2022-12-11

00:16dorkbutt has joined #asahi
00:18jamespmorgan has joined #asahi
00:24jamespmo_ has quit [Ping timeout: 480 seconds]
00:47dorkbutt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:09dorkbutt has joined #asahi
01:10Null_A_ has quit [Remote host closed the connection]
01:11dorkbutt has quit [Max SendQ exceeded]
01:24Null_A has joined #asahi
01:28refi64hello! so I'm trying to get the new GPU driver working, but, err, it seems that my Asahi install is old enough that it was using firmware 12.1. How to I update the firmware data to 12.3 like the installer uses nowadays?
01:32Null_A has quit [Ping timeout: 480 seconds]
01:35Null_A has joined #asahi
01:44Null_A has quit [Ping timeout: 480 seconds]
01:55Fah has joined #asahi
01:56Fah has quit [Remote host closed the connection]
02:00dorkbutt has joined #asahi
02:06axboe_ is now known as axboe
02:11Null_A has joined #asahi
02:12riker77_ has joined #asahi
02:13riker77 has quit [Ping timeout: 480 seconds]
02:13riker77_ is now known as riker77
02:28Null_A has quit [Read error: Connection timed out]
02:41Null_A has joined #asahi
02:49Null_A has quit [Ping timeout: 480 seconds]
02:59Null_A has joined #asahi
03:07Null_A has quit [Ping timeout: 480 seconds]
03:07dorkbutt has quit [Read error: Connection reset by peer]
03:08kettenis has quit [Remote host closed the connection]
03:08kettenis has joined #asahi
03:15Null_A has joined #asahi
03:17user982492 has joined #asahi
03:18user982492Can Asahi use the method to emulate geometry shaders that Ryujinx uses? https://blog.ryujinx.org/the-impossible-port-macos/
03:22refi64Well I created a Frankenstein version of parts of the installer just to get out the 12.3 kernelcache file, replaced it, did an asahi-fwextract, and...it still didn't work? Not sure where else the GPU driver would be loading firmware from in the first place
03:23Null_A has quit [Ping timeout: 480 seconds]
03:26das_j has quit [Remote host closed the connection]
03:27das_j has joined #asahi
04:16vx has joined #asahi
04:17vx is now known as Guest1730
04:23rvalue has quit [Quit: ZNC - https://znc.in]
04:23rvalue has joined #asahi
04:29Guest1730 has quit [Quit: G-line: User has been permanently banned from this network.]
04:29vx^ has joined #asahi
04:37refi64Well I have been informed that the GPU driver doesn't rely on firmware loaded by the kernel at all, so I've been looking in the wrong place the whole time, oops
04:37marvin24_ has joined #asahi
04:41marvin24 has quit [Ping timeout: 480 seconds]
04:41mxz has quit [Quit: cya]
04:42mxz has joined #asahi
04:48vx^ has quit [Quit: G-line: User has been permanently banned from this network.]
05:15user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:21Null_A has joined #asahi
05:29Null_A has quit [Ping timeout: 480 seconds]
05:41Null_A has joined #asahi
06:05Null_A has quit [Ping timeout: 480 seconds]
06:14Null_A has joined #asahi
06:24Null_A has quit [Ping timeout: 480 seconds]
06:25Null_A has joined #asahi
06:33Null_A has quit [Ping timeout: 480 seconds]
06:48arahael has joined #asahi
06:50Null_A has joined #asahi
06:59Null_A has quit [Ping timeout: 480 seconds]
07:12Glanzmann has joined #asahi
07:13Glanzmann has left #asahi [#asahi]
07:24axt has joined #asahi
07:28SSJ_GZ has joined #asahi
07:36LinuxM1 has joined #asahi
07:46jamespmo_ has joined #asahi
07:51jamespmorgan has quit [Ping timeout: 480 seconds]
07:55vx has joined #asahi
07:56vx is now known as Guest1751
08:53WindowPain has joined #asahi
08:55WindowPain_ has quit [Ping timeout: 480 seconds]
09:10farghal has joined #asahi
09:14rayanamukami3 has quit [Quit: https://www.youtube.com/watch?v=BA11qbcnPc0]
09:27farghal has quit [Ping timeout: 480 seconds]
09:50rayanamukami3 has joined #asahi
09:51javier_varez_ has joined #asahi
09:54cylm has joined #asahi
10:28thansen has quit [Quit: The Lounge - https://thelounge.github.io]
10:28thansen has joined #asahi
10:41bcrumb has joined #asahi
10:44bcrumbmy kernel is complaining that "Unknown kernel command line parameters "tp_printk tps6598x:* splash", will be passed to user space.", should I have entered the someone else and not kernel args?
10:57bcrumb has quit [Quit: WeeChat 3.7.1]
10:59tired- has joined #asahi
11:00tired has quit [Read error: Connection reset by peer]
11:20jacksonchen666 has joined #asahi
11:29rvalue has quit [Remote host closed the connection]
11:30rvalue has joined #asahi
12:14jacksonchen666 has quit [Remote host closed the connection]
12:17jannaubcrumb: that sounds like the kernel misses tracing/ftrace. also 'tps6598x:*' should be 'trace_event=tps6598x:*'
12:25jacksonchen666 has joined #asahi
12:32Chainfire has quit [Remote host closed the connection]
12:38eroc1990 has quit [Ping timeout: 480 seconds]
12:48jamespmorgan has joined #asahi
12:54jamespmo_ has quit [Ping timeout: 480 seconds]
13:07jluthra has quit [Remote host closed the connection]
13:08jluthra has joined #asahi
13:12yuka has quit [Remote host closed the connection]
13:13yuka has joined #asahi
13:28LinuxM1 has quit [Quit: Leaving]
13:48refi64So I'm still stuck on this firmware issue 😅 I've updated macOS to 12.6, but the asahi driver still says it's on firmware 12.1.0, which isn't compatible with the "G13" GPU
13:51sventhe firmware of the stub must be 12.3
13:51sveneach installation has its own firmware
13:52refi64sven: ah, is it possible to update that?
13:53refi64I already updated my m1n1 version if that's what I'd need, so the installer doesn't let me anymore (but...really I could just patch it to let me 😅)
13:54svendid you install before the first alpha release?
13:55refi64I believe it was afterwards, but I accidentally was still on macOS 12.1 (I guess the installer didn't check yet?)
13:56marcanthe installer always checked, but had a 12.1 option available with the UEFI boot option I think?
13:56marcanthe actual distro images always required 12.3
13:56refi64Ah yeah that's what I did because I used Fedora instead of ALARM
13:57marcanthen yeah, you'll have to reinstall the stub. probably back up the EFI partition, delete it and the stub partition, reinstall the stub, and restore the relevant contents (EFI subdirectory and maybe m1n1/boot.bin if you updated m1n1 more recently than the latest images)
13:58marcanand you'll have to fix the UUID for the EFI partition in your /etc/fstab most likely
14:00marcan(I hope this actually works, I'm not sure I ever tried an in-place "tight" reinstall like that... there could be issues with sizing, I should test it)
14:00tinstew has joined #asahi
14:00refi64Oof so the m1n1 updater wouldn't even cover this? I guess presumably once I delete the ESP the installer would see the empty disk space
14:01marcanyes, it requires a full stub reinstall and the installer does not have a way of doing that without also doing a full install
14:01refi64Well this should be fun
14:01marcanit will see the empty space, I just hope it doesn't think it isn't enough or ends up with rounding issues
14:02refi64Would the risk there be "install fails" or "nukes my Linux partition"
14:02marcaninstall fails
14:03marcanI'm mostly worried that we fixed/tweaked the rounding since you installed, and what used to fit won't any more
14:04refi64🤞 hopefully it all works out, thanks for the help!
14:05marcanworst case I can just edit the EFI partition size to 490MB or something in the dev installer momentarily and you can use that
14:05marcanbut try it as-is first
14:08tinstew has quit [Ping timeout: 480 seconds]
14:22bcrumb has joined #asahi
14:22jannauor if your macOS partition is directly before the stub shrink it by a small amount to make additional space
14:24bcrumbjannau: thanks, I will try it with that setting, I'll also check my kernel settings
14:26j`eybcrumb: is it the asahi kernel? or your own build
14:28bcrumbj`ey: asahi-edge kernel
14:28bcrumb6.1rc8.asahi3-1
14:30j`eythat doesnt have any trace config options enabled :/
14:31bcrumbHow come we don't auto enable some settings like this for the kernels? Impacts performance?
14:31kettenismarcan: I helped upgrading another OpenBSD developer who was an early adopter
14:32kettenisthere the partitions sizes changed by small amounts, but things still fit
14:33j`eybcrumb: maybe they could be enabled on the edge kernel for that, up to markan
14:33kettenisthe size changes meant that the BSD disklabel no longer had the correct bounds for the ESP though
14:33kettenisso OpenBSD users really should just reinstall
14:33bcrumbj`ey: 👍
14:41bcrumb_ has joined #asahi
14:42bcrumb has quit [Ping timeout: 480 seconds]
14:54eroc1990 has joined #asahi
15:05ah- has quit [Ping timeout: 480 seconds]
15:12jamespmo_ has joined #asahi
15:13tinstew has joined #asahi
15:18jamespmorgan has quit [Ping timeout: 480 seconds]
15:33leitao has joined #asahi
15:45leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:48leitao has joined #asahi
15:53Stary has quit [Read error: Connection reset by peer]
15:57leitao has quit [Ping timeout: 480 seconds]
15:58Stary has joined #asahi
16:34zalyx has quit [Quit: later alligator]
16:36zalyx has joined #asahi
16:37zalyx has quit []
16:37zalyx has joined #asahi
16:46malte has quit [Remote host closed the connection]
16:47malte has joined #asahi
16:59Glanzmann has joined #asahi
17:00GlanzmannBtw. I rember once when the stub was increased by half GB very early on, you can also just reclaim a little bit of space from macos. Or you can use the debian live iso to resize the root partition using gparted.
17:12Fah has joined #asahi
17:12tired- has quit [Quit: /]
17:13tired has joined #asahi
17:29Fah has quit [Remote host closed the connection]
17:39landscape15 has joined #asahi
17:42Glanzmann has left #asahi [#asahi]
17:42landscape15Why is the installer in alpha state even though it's quite mature?
17:42landscape15Many people use it daily
17:43svenimho everything that isn't upstream is still alpha
17:44svenand we still rely on quite a few downstream patches
17:45landscape15 has quit [Remote host closed the connection]
17:45Fah has joined #asahi
17:51landscape15 has joined #asahi
17:53landscape15Yeah I was thinking about that. In that case how "useful" is the mainstream linux kernel (using m1n1 of course)?
17:54j`eyonly the m1 mini is somewhat usuable
17:55landscape15Thank you for that. I missed that post
17:56landscape15 has quit [Quit: Igloo IRC: https://iglooirc.com]
18:00FahAnyone know the roadmap for hdmi support on the macbooks?
18:02FahIf i could get my external display working i'd spend more time in asahi since most of the stuff I care about works reasonably well
18:03j`eyI think 2038 was the last estimate
18:04svenI'll count that as asking "when is it done" though so i'll have to double that again!
18:04j`eybut in all seriousness, sv3n has a working prototype, and a bunch of the DCP code is in the main tree now, so progress!
18:05svenyou still think i'm joking about the ETA? :P
18:05* etadoubles herself
18:06FahOh nice. which tree is this? I'm relatively late to the scene but i'm comfortable compiling kernels to test once i know where the code lives.
18:06svenit's not ready for testing
18:07FahFair nuff, i'm not trying to be a pest i'm just generally ignorant of the state of things.
18:09FahWell, either way the progress on this is impressive. So thanks
18:48user982492 has joined #asahi
19:12cylm has quit [Ping timeout: 480 seconds]
19:15mini0n has joined #asahi
19:44dorkbutt has joined #asahi
19:51bcrumb has joined #asahi
19:53bcrumb_ has quit [Ping timeout: 480 seconds]
19:58giskard has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
20:06hidden has joined #asahi
20:08hidden has quit []
20:16bcrumb has quit [Quit: WeeChat 3.7.1]
20:16jacksonchen666 has quit [Ping timeout: 480 seconds]
20:16jacksonchen666 has joined #asahi
20:19jamespmorgan has joined #asahi
20:21julio7359 has joined #asahi
20:22bcrumb has joined #asahi
20:22tinstew has quit [Ping timeout: 480 seconds]
20:23bcrumb has quit []
20:24bcrumb has joined #asahi
20:25julio7359 has quit [Remote host closed the connection]
20:25bcrumb has quit []
20:25julio7359 has joined #asahi
20:26jamespmo_ has quit [Ping timeout: 480 seconds]
20:28bcrumb has joined #asahi
20:32julio7359 has quit [Remote host closed the connection]
20:34julio7359 has joined #asahi
20:37bcrumb has quit [Quit: WeeChat 3.7.1]
20:38bcrumb has joined #asahi
20:39bcrumb has quit []
20:39bcrumb has joined #asahi
20:40bcrumb has quit []
20:40bcrumb has joined #asahi
20:45julio7359 has quit [Ping timeout: 480 seconds]
20:50refi64so I'm going to do the ESP recreation now, but first I noticed something...weird that I'm not sure how to feel about, diskutil seems to think I have 4TB of free space on an 8TB disk with two existing 4TB partitions: https://paste.sr.ht/~refi64/f58bcfa8822409829673c859fc6c99f5b9b26f48 right after disk0 partition 4
20:50refi64I'm not sure if this is going to screw up the installer's calculations or not? it's certainly strange to me, given that you can see the main 4TB macOS partition and 4TB Linux partition, but I'm also not super familiar with any "quirks" diskutil might have
20:52Glanzmann has joined #asahi
20:53princesszoey has quit [Quit: The Lounge - https://thelounge.chat]
20:54Glanzmannrefi64: Make backups first. I have done such things in the following way: https://tg.st/u/upgrade_stub.txt Of course that is totally unsuported. I wanted to do a video so let me do a video and post it here in an hour or so.
20:55refi64Glanzmann: looks like my plan is similar, just no Debian & without using parted (because I've heard terrible things about it)
20:56refi64also using diskutil over mount directly
20:57refi64...out of curiosity, do you also have the suspiciously large empty space there?
20:58refi64like, a size showing as free equivalent to the size of your macOS or Linux partitions
20:58Glanzmannrefi64: I would prefer parted over diskutil. But godspeed.
20:59Glanzmannrefi64: No, I don't: https://pbot.rmdir.de/0RPQ9Z-2lzv0FAgu5s5WZw But the only apple device which has 1 TB of storage is my wifes iphone ...
21:04bcrumb has quit [Quit: WeeChat 3.7.1]
21:09jannaurefi64: looks like diskutil is broken, probably caused by the out of order partition numbers
21:11jannauI'd look at it in fdisk under linux. it probably looks fine there. fdisk has an command to fix the partition ordering
21:11jannauthat should be safe but please make a backup (of at least your partition table) first
21:13jannauI think after that the diskutil output will look sane without gaps
21:15dorkbutt has quit [Read error: Connection reset by peer]
21:20renato has joined #asahi
21:21renato is now known as renatorabelo
21:37refi64Done successfully! Indeed there are no gaps now, which seems like a good sign
21:37refi64Thanks so much for the help!
21:38refi64Unfortunately I still can't get the graphics to work, but that's a separate issue now 😅
21:44refi64...okay actually now the asahi driver has no output in dmesg at all, and apple-dcp says "Could not read 'apple,firmware-version': -22"
21:45pthariensflame has joined #asahi
21:46j`eysounds like a dtb issue
21:47j`eywell, a m1n1 issue, since it sets that
21:47j`eyrefi64: what m1n1 version do you have installed?
21:49pthariensflame has quit []
21:49refi64j`ey: v1.1.8, according to the installer script
21:50j`eyrefi64: what about your stage2 m1n1?
21:50refi64Also worth noting that when I restored the ESP, I *only* copied the EFI subdirectory back, so not the m1n1 or asahi dirs
21:50refi64Should be the same, let me check
21:50j`eyv1.2.1 is needed for apple,firmware-version, afaict
21:59refi64j`ey: ohhh looks like the installer left me with an old version, did an update-m1n1 from inside and I think it's working now...
22:00j`eyrefi64: yeah the installer is at some fixed version, doesnt always correspond to the latest
22:00j`eyrefi64: is this asahi or fedora?
22:04refi64IT WORKS!! thank you guys so much!
22:04axt has quit [Quit: Leaving.]
22:04refi64j`ey: Fedora, m1n1 inside is on 1.2.3
22:05j`eycool, we have #asahi-alt too
22:22mofux has joined #asahi
22:27mofux has quit []
22:30dorkbutt has joined #asahi
22:37user982492_ has joined #asahi
22:43user982492 has quit [Ping timeout: 480 seconds]
22:46SSJ_GZ has quit [Ping timeout: 480 seconds]
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:00yrlf has joined #asahi
23:01jamespmo_ has joined #asahi
23:06jamespmorgan has quit [Ping timeout: 480 seconds]
23:10GlanzmannI upgraded my stub afterwards I had this is in my dmesg. Anyone else seen it? https://pbot.rmdir.de/8ApnSNhyyNJHvg7xfHqrDA
23:11marcanrefi64: re the weird "free space", I think that usually happens if your partitions are out of order, which only happens if you used other partitioning tools
23:11marcanmake sure you always put your partition table back in order if you use fdisk or something
23:11marcan(there was an expert option in fdisk for that, can't remember off the top of my head)
23:11marcandiskutil gets really confused by out of order partitions
23:14GlanzmannI have that only on the mini. Not on the air.
23:15refi64marcan: interesting, I only ever did things from within diskutil iirc
23:15refi64unless I used the buggy GUI at some point and forgot
23:16mini is now known as mini_
23:17marcan(could also just be another diskutil bug...)
23:18Glanzmannmarcan: When I downgrade the firmware, I no longer get the oops: https://pbot.rmdir.de/mBqLFxCGnTyAoIIKWXd0Wg
23:19GlanzmannAnyway, I need to get some sleep. See you guys tomorrow.
23:19refi64Fah: oh I missed this before, as-is you can use displaylink adapters w/ the out-of-tree evdi module, but you need the version from git which includes b884877267f11edaeb2a0f05201943e4252e22f2 (negativo's repo on Fedora ships it afaik, not sure about anywhere else), and also it appears to be massively with the new asahi GPU driver (not sure why yet)
23:20marcanGlanzmann: the wifi firmware goes with the stub firmware, and *this* is why we keep them in sync, because upgrades there can also break things
23:20marcanif you used an unsupported wifi firmware, shrug
23:20marcanwe'll deal with it with the next official firmware/stub upgrade
23:21Glanzmannmarcan: I deleted my stub partition and recreated it with the offical asahi installer (m1n1 + u-boot) only. That firmware seems to trigger the problem for me with the latest kernel m1n1, u-boot.
23:22GlanzmannThan I copied the firmware from the air to the mini and the oops is gone.
23:22GlanzmannMight of course be something I'm missing. But I did not run it in expert mode. :-) Installer log: https://pbot.rmdir.de/u/C3xqoNOvImaQHw_EsyPxkQ
23:34user982492_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:42Glanzmannmarcan: Must be something I'm missing. Because I took checksums of the firmware files and they're the same.
23:45GlanzmannMaybe I managed to corrupt my firmware files somehow. That would at least explain why the issue was gone after removed them and put them back.
…