2022-01-25
00:37PhilippvK has quit [Ping timeout: 480 seconds]
01:03yuyichao has quit [Ping timeout: 480 seconds]
01:27espo has quit [Ping timeout: 480 seconds]
01:42tpw_rules has joined #asahi
02:36tpw_rulesmy monitor sees something happen when m1n1 starts but then it just goes to no signal mode again
02:36tpw_rulesit also doesn't seem to do anything with EDID? I have a non-1080p monitor and it made a 1080p resolution anyway
02:38tpw_rulesokay i take that back it is still generating a weird signal. so it seems exactly as compatible as the 11.x firmware was
02:38tpw_rulesis there a way to improve that? i don't know if my monitors have weird timings or what
02:45pavan_ has joined #asahi
02:45yuyichao has joined #asahi
03:38pavan_ has quit [Ping timeout: 480 seconds]
03:38pavan has quit [Ping timeout: 480 seconds]
03:51PhilippvK has joined #asahi
03:59kov has quit [Quit: Coyote finally caught me]
04:48jbowen has quit [Ping timeout: 480 seconds]
05:00c10l has quit [Quit: Bye o/]
05:00c10l has joined #asahi
05:10jbowen has joined #asahi
05:19jbowen has quit [Ping timeout: 480 seconds]
05:33the_lanetly_052__ has quit [Ping timeout: 480 seconds]
05:42jbowen has joined #asahi
05:51jbowen has quit [Ping timeout: 480 seconds]
06:01jbowen has joined #asahi
06:02roxfan2 has quit [Ping timeout: 480 seconds]
06:04roxfan has joined #asahi
06:10jbowen has quit [Ping timeout: 480 seconds]
06:18jbowen has joined #asahi
06:27jbowen has quit [Ping timeout: 480 seconds]
06:30espo has joined #asahi
06:46eroux has joined #asahi
06:47Glanzmanntpw_rules: That is currently to be expected. You can try the alyssas dcp driver that was rebased by jannau. But for me it does not work for two monitors (one one I have what appears to be crash on the other one a coprocessor crashes) - in both cases no screen output.
07:01espo_ has joined #asahi
07:06espo__ has joined #asahi
07:08espo has quit [Ping timeout: 480 seconds]
07:08espo has joined #asahi
07:13PhilippvK has quit [Ping timeout: 480 seconds]
07:14espo_ has quit [Ping timeout: 480 seconds]
07:15espo__ has quit [Ping timeout: 480 seconds]
07:44MajorBiscuit has joined #asahi
07:49grange_c4 has joined #asahi
07:49mort_6 has quit []
07:49grange_c4 is now known as grange_c
07:49grange_c has quit [Quit: Ping timeout (120 seconds)]
07:49mort_6 has joined #asahi
08:16Major_Biscuit has joined #asahi
08:19jbowen has joined #asahi
08:23MajorBiscuit has quit [Ping timeout: 480 seconds]
08:28jbowen has quit [Ping timeout: 480 seconds]
09:11chadmed has quit [Read error: Connection reset by peer]
09:14chadmed has joined #asahi
09:47dianshi has quit []
09:54chadmed has quit [Read error: Connection reset by peer]
09:59chadmed has joined #asahi
10:00aleasto has joined #asahi
10:09eroux_ has joined #asahi
10:16eroux has quit [Ping timeout: 480 seconds]
10:20jbowen has joined #asahi
10:25eroux_ has quit []
10:28_jannau_tpw_rules: there's nothing in the iboot dcp interface (used by m1n1) which indicates supported or preferred modes. so m1n1 currently selects the mode with the highest resolution/refresh rate limited to 1920x1080@60. hoping that that would be a mode most monitors support somehow
10:29jbowen has quit [Ping timeout: 480 seconds]
10:29eroux has joined #asahi
10:30_jannau_tpw_rules: the linux dcp driver is mostly the same. I rebased it to the same base as asahi (which apparently broke hotplug and maybe modesetting) and did minimal changes to adapt it to the macos 12 dcp firmware
10:31le0n_ has quit [Remote host closed the connection]
10:31le0n has joined #asahi
10:37le0n has quit [Quit: see you later, alligator]
10:39le0n has joined #asahi
10:42le0n has quit []
10:45DarkShadow4444 has joined #asahi
10:45DarkShadow44 has quit [Quit: ZNC - https://znc.in]
11:21krirogn[m] has joined #asahi
11:36pimeys[m] has joined #asahi
12:08pg12_ has joined #asahi
12:10pg12 has quit [Ping timeout: 480 seconds]
12:10le0n has joined #asahi
12:15le0n_ has joined #asahi
12:21jbowen has joined #asahi
12:21le0n has quit [Ping timeout: 480 seconds]
12:24le0n has joined #asahi
12:29jbowen has quit [Ping timeout: 480 seconds]
12:31le0n_ has quit [Ping timeout: 480 seconds]
13:14aleasto has quit [Remote host closed the connection]
13:38bit_shifts has joined #asahi
13:43agraf_ is now known as agraf
13:46mort_6 has quit []
13:46mort_ has joined #asahi
13:50bit_shifts has quit []
13:50bit_shifts has joined #asahi
14:02Gaspare has joined #asahi
14:05the_lanetly_052__ has joined #asahi
14:05bit_shif_ has joined #asahi
14:06bit_shif_ has quit []
14:07Gaspare has quit [Read error: Connection reset by peer]
14:11bit_shifts has quit [Ping timeout: 480 seconds]
14:22jbowen has joined #asahi
14:30yuyichao has quit [Quit: Konversation terminated!]
14:30jbowen has quit [Ping timeout: 480 seconds]
14:32_jannau_the standard protocol has scores for the modes and setting the mode with the hightest score works a full HD and a 1600x1200 display I tested so far
14:34_jannau_so iy might be worth checkling if using the last mode with the max score instead of the first one helps
14:36the_lanetly_052__ has quit [Remote host closed the connection]
14:47espo_ has joined #asahi
14:51jbowen has joined #asahi
14:51GlanzmannI updated https://tg.st/u/asahi-debian-live.txt it now has a newer kernel, can do wifi (firmware needs to be brought though) and more utilities. I also automated the whole build will upload the git repository soon.
14:52espo has quit [Ping timeout: 480 seconds]
14:53espo_ is now known as espo
15:14Glanzmanntpw_rules: Marcan said he will soon update it to 12.1 and we will use that as soon as it is there.
15:15Glanzmanndpkg does a sync after each operation which can really take time if you wait for the disk flushes.
15:15Glanzmanntpw_rules: Jannau and marcan had a conversation yesterday or the day before IIRC. That they will soon bump it to 12.1 and deprecate the 11.x versions.
15:16pg12 has joined #asahi
15:17pg12_ has quit [Ping timeout: 480 seconds]
15:17espothe current u-boot/m1n1 also works with 12.(x) not sure which number it was ( i applied it the first time to my dev install which run´s the latest beta of osx )
15:19sveni think the only reason to stay on 12.0 instead of 12.1 is that the installer doesn't support 12.1 yet
15:20espoThat was on my first totally noobish try to get something booted :D ( and i didn´t know what i´m was doing, didn´t changed much but i use the stub install from the installer now :) )
15:21tpw_rules has quit [Quit: Textual IRC Client: www.textualapp.com]
15:22Glanzmannespo: In the old days you had to it that way. But the Asahi installer was not promoted enought and also had no good explanation that you had to click Restart and so on, so only the people who read this channel probably used it.
15:23tpw_rules has joined #asahi
15:24GlanzmannBut marcan did a very fine job with the installer because now you can install Linux in minutes, what took hours before.
15:26Gaspare has joined #asahi
15:27Glanzmannespo: I was yesterday recording a video how to install Linux on the mac mini but I hit a major road block because I created the esp parition wrong, I'll try today again.
15:30VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
15:31VinDuv has joined #asahi
15:38tpw_rulesGlanzmann: do you have stable links for any of this stuff yet? i might put links on my nixos guide for people who want something else
15:41GlanzmannThat is the idea. I want to write a way how to install Debian on m1. Make a video and also link the repository if you don't want third party build artefacts to use in the process.
15:42tpw_rulesi plan on hosting build artifacts using github's release feature. waiting on a couple upstream fixes so they are properly reproducible though
15:45the_lanetly_052 has joined #asahi
15:50Glanzmanntpw_rules: Yep, I thought about putting it on github, but I'll put it on mine, I guess.
16:35the_lanetly_052 has quit [Ping timeout: 480 seconds]
17:05aleasto has joined #asahi
17:15aleasto has quit [Remote host closed the connection]
17:16aleasto has joined #asahi
17:25axboe has joined #asahi
17:25axboehey - is https://ab34.de/u/asahi.txt still the current way to install linux on an 14" mbp m1?
17:28eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:31aleasto has quit [Quit: Konversation terminated!]
17:31aleasto has joined #asahi
17:37j`ey(you can also cat m1n1+kernel for a non-tethered boot, but then you have to reboot into recovery (1TR) to update the kernel)
17:37axboecaveat is that I just got this thing, and resources on getting anything done seem rather scarce :)
17:38j`eythe proxy approach is using `kmutil configure-boot` like those guides suggest, but with a bare m1n1 not a combined m1n1+uboot
17:40jannauaxboe: https://github.com/AsahiLinux/docs/wiki/Developer-Quickstart#boot-a-linux-kernel is still accurate
17:43svenonce step2.sh is done you probably want to build your kernel and use cat build/m1n1.macho Image.gz devicetree.dtb > payload.macho and then python3 proxyclient/tools/run_guest.py -S payload.macho to run it under a small hypervisor which will expose the serial console on the second emulated CDC ACM interface
17:44Glanzmannaxboe: I uploaded the old version which is close of what you need: https://tg.st/u/asahi.txt
17:45Glanzmannjannau: Does the asahi branch with this patch work on 14" mbp m1? https://tg.st/u/9ce9060dea91951a330feeeda3ad636bc88c642c.patch
17:56aleasto has quit [Remote host closed the connection]
17:56aleasto has joined #asahi
18:20Major_Biscuit has quit [Ping timeout: 480 seconds]
18:23pavan has joined #asahi
18:23pavan_ has joined #asahi
18:32malvo has quit [Ping timeout: 480 seconds]
18:34pavan_ has quit []
18:34pavan has quit []
18:36Stary has quit [Remote host closed the connection]
18:36malvo has joined #asahi
18:36Stary has joined #asahi
18:37Glanzmannjannau / j`ey / kettenis: Which models support the u-boot bootchain? I would like to put the list in the wiki.
18:41Stary_ has joined #asahi
18:41Stary is now known as Guest577
18:41Stary_ is now known as Stary
18:41jannau has quit [Remote host closed the connection]
18:42jannau has joined #asahi
18:42wouter has quit [Remote host closed the connection]
18:42wouter has joined #asahi
18:42Guest577 has quit [Read error: Connection reset by peer]
19:04___nick___ has joined #asahi
19:05Glanzmanntpw_rules: I put my scripts here: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian
19:05___nick___ has quit []
19:06___nick___ has joined #asahi
19:11Glanzmanntpw_rules: Good, after marcan fixed it. But only with the standard resolution. I have three eizos that I bought in the last 17 years and two 4K TVs which I did not try.
19:14Glanzmanntpw_rules: I see. If you want I can later try all the monitors that I have in my house and let you know.
19:14VinDuvbut AFAIK iboot in < 12.0 did the same so it’s not sure whether larger resolutions would work reliably
19:20jannauGlanzmann: no need for further tests, I haven't tried dcp on the t600x, no need to create more problems while there is still enough to do on the mini
19:20Eren[m] has left #asahi [#asahi]
19:41yuyichao has joined #asahi
19:49Gaspare has quit [Quit: Gaspare]
19:56Gaspare has joined #asahi
20:09jbowen has quit [Ping timeout: 480 seconds]
20:15jbowen has joined #asahi
20:17axboe has quit [Ping timeout: 480 seconds]
20:36jbowen has quit [Ping timeout: 480 seconds]
20:40jbowen has joined #asahi
20:56le0n has quit [Quit: see you later, alligator]
20:56le0n has joined #asahi
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09jbowen has quit [Ping timeout: 480 seconds]
21:12espo has quit [Ping timeout: 480 seconds]
21:15jannauGlanzmann: https://github.com/jannau/linux/tree/asahi-dcp has working hotplug, feel free to test
21:21newchima[m]Glanzmann: was just looking at your script for your build and you are referencing your config file 2022-01-19 rather than 2022-01-24 (which has the module for mini sound card)
21:34Glanzmannnewchima[m]: I made a quickstart video to install Debian: https://tg.st/u/m1debian.mp4 rough around the edges.
21:39yuyichao_ has joined #asahi
21:43yuyichao has quit [Ping timeout: 480 seconds]
21:55Glanzmannmps: I had only a brief look. I was working on the m1 debian live and decided I should do a filesystem that you can dd
21:56Glanzmannjannau: It does not build for me, do I have the wrong head? https://pbot.rmdir.de/u/NAQKG29VNNfgGUXnR3-LJA
21:58hwatwasthat[m] has joined #asahi
22:03Glanzmannj`ey: I just checked my knowhow file, a older version of grub called 'linux' 'kernel'. I typed it to often. So if it does not work, I get confused. Late hour and not much sleep last night does not help. :-)
22:04GlanzmannI'm looking forward when marcan finishes the installer and does all what I do with a single command.
22:05yuyichao has joined #asahi
22:08j`eyGlanzmann: the recording stops a few mins after you disable ethernet and try to use wifi only
22:08yuyichao_ has quit [Ping timeout: 480 seconds]
22:09GlanzmannProbably forgot to resume the video. I did not resolve the wlan thing and threw it out again.
22:10yuyichao_ has joined #asahi
22:13Glanzmannnewchima[m]: I updated all the build artefacts (live, partition image) with the right kernel config. Thank you for spotting.
22:14yuyichao has quit [Ping timeout: 480 seconds]
22:18Gaspare has quit [Quit: Gaspare]
22:18Glanzmannjannau: Okay. So I have now booted your kernel. I autostart xorg (lightdm) but simpledrm is loaded.
22:19GlanzmannShould I stop x and than unload simpledrm and load 'apple' or can I do it while x is running?
22:22jannauGlanzmann: have you changed DRM_APPLE to a module? it's built-in in my config. are you sure you have the right device tree? is there anything match dcp in dmesg?
22:26jannauyes, it should work. the only downside is the annoying installation of m1n1+dtb+u-boot via recovery
22:31jannaufor testing booting via proxyclient is more convenient. if you don't have it already you could dual boot between two stub installs. one with m1n1 + u-boot payload and one without payload
22:34ciggi has joined #asahi
22:34Glanzmannjannau: Does your tree have everything someone needs or should I merge it in another tree?
22:37Glanzmannjannau: So I tried rotation works, but the scrolling of a fullscreen xterm appears to be slower than simpledrm. Trying a movie now.
22:38jannauit is asahi + the 2 additional spi-hid patches + dcp by Alyssa (with rebasing, porting and debugging by me)
22:43jx0 has joined #asahi
22:46Glanzmannjannau: The videoperformance also seems to be good for me. Best results for me is with mpv -vo x11 ...
22:52ciggiHello, I have question related .config (linux kernel), If I use defconfig from this branch (https://github.com/AsahiLinux/linux/tree/asahi), my screen shows up (offcourse usb didn't worked but I can see language selector). If I choose any other config for example (https://tg.st/u/config-2022-01-24) my screen stuck at asahi linux logo. I am following this guide (https://github.com/AsahiLinux/docs/wiki/SW:Linux:NVME) and stuck at "Boot with USB drive as root" any
22:55GlanzmannWhen you only see the asahi logo, the linux kernel probably crashed or it does not initialize the framebuffer.
22:57ciggiI have mac mini, 16gb, 256gb SSD. I tried arch linux arm or debian but does it matter because anything /dev/sda1 should boot?
22:58Glanzmannciggi: If you're going for debian maybe have a look at that: https://tg.st/u/m1debian.mp4 https://tg.st/u/m1debian.txt and here if you want to build the artefacts yourself: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian
23:00Glanzmannciggi: Or use the debian live: https://tg.st/u/asahi-debian-live.txt and debootstrap your system from there.
23:02Glanzmannciggi: I would make, space, use marcans installer, forget about the wifi, you have ethernet, don't you? Than install u-boot and either with the instructions for the video or the usb live.
23:03jannauciggi: arm64 defconfig builds builds a kernel with 4k page size. the iommu for PCIe works currently only with 16k page size. Page size can be changed under "Kernel features" in Linux' menuconfig
23:03Glanzmannciggi: And from what you're saying you probably have the wrong dtb or you're missing simpledrm config.
23:03Glanzmannciggi: The funny thing is the testrun for the video went smoother than the video itself. :-)
23:04jannauthe usb-a ports on the mac mini are connected via pcie, the usb-c ports should work, at usb 2.0 speed though
23:04ciggiI missed whole efi partition means I run installer and all even setup2.sh but somehow I forget I thought .macho will care :headbang
23:07ciggiyes I have ethernet but this guide says upload wifi firmware but idk where should I uplaod (https://tg.st/u/asahi.txt)
23:10jx0 has quit [Quit: poof!]
23:10jx0 has joined #asahi
23:17jbowen has joined #asahi
23:17chadmedits pretty useless until we get a kernel driver for the gpu going in any case. really the only thing youd need to translate on linux these days is games since virtually everything else is available for aarch64 in any good distro
23:17chadmedand games need 3d accel, so for fex to be useful to the masses on these machines we need a gpu driver
23:22mpschadmed: it is quite useful for me in current state (I don't play games but use machine for work and $day_job development)
23:25jbowen has quit [Ping timeout: 480 seconds]
23:28chadmedafter a couple of days of testing and sifting through logs, the current bottleneck for the games i tested (mostly source engine) is the 4 translation layer deep graphics stack, not the binary translation
23:30chadmedthe source engine build for *nixes does not actually have a native opengl render pipeline, instead it integrates toGL, which translates the engine's dx9 draw calls to opengl transparently. under macos this then needs to be translated to vulkan and then to metal
23:31chadmedthe bottleneck is going from vulkan to metal, and under linux you would obviously not have to worry about this