2022-01-09
00:16nepeat has quit [Quit: ZNC 1.8.2 - https://znc.in]
00:20nepeat has joined #asahi
00:26aleasto has quit [Quit: Konversation terminated!]
00:45jeffmiw has quit [Remote host closed the connection]
00:45jeffmiw has joined #asahi
01:04jeffmiw has quit [Remote host closed the connection]
01:04jeffmiw has joined #asahi
01:55jeffmiw has quit [Ping timeout: 480 seconds]
02:23chadmed has joined #asahi
02:35marcanh_: if it's a mac mini you can just go to the latest 11.x for now to make things a bit easier
02:35marcanGlanzmann: the step2.sh won't work as is but I still say adding --raw and the other dummy options should work; has anyone tried that yet?
03:08Blazin[m] is now known as BlazinWeed[m]
03:08skipwich has quit [Ping timeout: 480 seconds]
03:19BlazinWeed[m]good day or evening everyone
03:19BlazinWeed[m]i am new and i'd like to learn more about linux on m1 macs
03:19BlazinWeed[m]so i'm just going to read what yall chat about and ask questions
03:38PhilippvK has joined #asahi
03:41phiologe has quit [Ping timeout: 480 seconds]
05:02marvin24_ has joined #asahi
05:06marvin24 has quit [Ping timeout: 480 seconds]
05:41rkjnsn[m]Fun fact: In a pinch, if you don't have a WiFi dongle, you can use an Android device, instead. (As long as the device lets you be connected to WiFi and enable USB tethering at the same time; I had one that disconnected from WiFi whenever I enabled USB tethering for some inexplicable reason.)
06:52Glanzmannmarcan: I tried a whole day with a lot of feedback from this channel. Did not get it to work.
06:53Glanzmannmarcan: I tried to every stub os version. I tried from macos and from 1tr/recovery os or whatever you call it days.
06:55the_lanetly_052 has joined #asahi
07:03Glanzmannkettenis: With u-boot, do you know how read grub from fat/nvme Partition if the type is not yet correct?
07:05Glanzmannkettenis: I would like to simply the Debian installation and it would help me if I would m1n1/dtbs/u-boot chain in step2 in the asahi installer.
07:05GlanzmannAnd than could boot of in the Debian rootfs by telling u-boot to load the grub from the 'efi' partition with the wrong type.
07:09Glanzmannmarcan: I also tried both boot formats 'macho' and the new raw one. It errored out because: 'wrong macho format', 'unsigned', 'can not pick boot partition from 1tr', Somtimes it took the payload but was not booting. The only thing that worked was using the newest stub version and install m1n1, but than no hdmi output.
07:12Glanzmannmarcan: And the funny thing is when I failed, two weeks before that, already on 12.1 with all patches applied, I was able to install m1n1, by selecting the oldest stub version. But two weeks later I could not (with all patches applied)
07:44dsrt^ has joined #asahi
09:19linearcannon has joined #asahi
09:46mpsGlanzmann: trackpad is better with new asahi, not too much sensitive so tapping enabled is fine now for me
09:48mpsonly issue with it for now it is registered as 'Apple Internal Keyboard / Trackpad' for trackpad and keyboard so have to use numbers when setting parameters with 'xinput'
10:37landscape15[m]marcan: why should you set a raw (.bin) boot object instead of a .macho? It should be the same.
10:38ChaosPrincesssetting a macho is broken on some macos versions, so you have to set raw for it to even work
10:48aleasto has joined #asahi
10:59the_lanetly_052__ has joined #asahi
11:01jeffmiw has joined #asahi
11:02off^ has joined #asahi
11:05the_lanetly_052 has quit [Ping timeout: 480 seconds]
11:06dsrt^ has quit [Ping timeout: 480 seconds]
11:23Glanzmannmps: Do you know how to load grub from nvme vfat partition when the partition has not the 'esp' flag?
11:35VinDuv_ has joined #asahi
11:35VinDuv has quit [Read error: Connection reset by peer]
11:36VinDuv_ is now known as VinDuv
11:38Glanzmannmps: Thank you, I tried your settings and they're really good, but I disabled tapping because it gets in the way for me.
11:52ChaosPrincessso, anyone managed to get audio working on laptops?
11:54mpsGlanzmann: no, I didn't tried intentionally to use boot partition without esp flag to test it
11:55GlanzmannMarcan said something that you have to be cautious because it is easy to blow the speakers, if you do something wrong during development.
11:55ChaosPrincessi dont even see the card listed in alsa info
11:55Glanzmannmps: I see, because if I figure that out. I can to a howto to install Debian in approx. 10 minutes.
11:56GlanzmannChaosPrincess: But you could of course use a usb sound card, usb headset or jabra thingy.
11:56ChaosPrincessthat is not interesting :p
11:57GlanzmannChaosPrincess: I also hooked up my hdmi grabber with a camera and my forte tesiera echo cancler to the macbook air and attended a meeting using google meet. It works perfectly, but of course because of the missing video acceleration, the video is laggy if you run it fullscreen.
11:57GlanzmannChaosPrincess: I agress. On the other site the missing audio and video support keeps you focused on your work. :-)
11:57mpsGlanzmann: but I remember that I had bootaa64.efi installed on internal boot partition and changed its type to Linux and u-boot started grub from it
11:57Glanzmannmps: I see, the issue is in the macos I don't know how to change the partition type to 'Linux'.
11:59Glanzmannmps: I now worked on it for a year on a daily basis. A friend of mine told me what apps to use (iterm2 fo the terminal).
11:59GlanzmannBut honestly I run only a few apps on macos: terminal with a ssh session, gnupg agent, iterm2, firefox + ublock origin, iina/mpv to play videos.
12:01Quinn[m] has left #asahi [#asahi]
12:01GlanzmannI see. the only command that I run on macos terminal is a ssh command, that forwards ssh agent, gnupg agent and dynamic port forwarding (socks).
12:28chadmed has quit [Ping timeout: 480 seconds]
12:29Glanzmannmarcan: I now downgraded to Big Sur. Used the asahi installer to do a 11.x stub. But I'm unable to install u-boot.macho.
12:56malvo has quit [Ping timeout: 480 seconds]
12:56chengsun_ has joined #asahi
12:56malvo has joined #asahi
13:02chengsun has quit [Ping timeout: 480 seconds]
13:37Misthios has quit [Quit: Misthios]
13:43chengsun_ has quit [Ping timeout: 480 seconds]
13:43Dcow has joined #asahi
13:45Misthios has joined #asahi
13:46Misthios has quit []
13:46Misthios has joined #asahi
13:48Misthios has quit []
13:48Misthios has joined #asahi
13:51Misthios has quit []
13:53Misthios has joined #asahi
13:54Misthios has quit []
13:55Misthios has joined #asahi
13:58Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:58Misthios has quit []
13:58Misthios has joined #asahi
14:24vnogueira has joined #asahi
14:35Dcow has joined #asahi
14:35Dcow has quit []
14:39off^ has quit [Remote host closed the connection]
15:23Glanzmannjannau: But if you don't want HDMI, you can just use the latest version and go ahead with the installer m1n1 will load.
15:23Glanzmannjannau: I also tried to downgrade my mini yesterday, which I did. but 1tr (the thing in the last partition i guess, was still to new).
15:24GlanzmannSO now I upgraded again and use the mini headless until marcan figures out a way to enable the video.
15:24jeffmiw has quit [Ping timeout: 480 seconds]
15:26jeffmiw has joined #asahi
15:27___nick___ has joined #asahi
15:27___nick___ has quit []
15:29___nick___ has joined #asahi
15:58as400[m]Cirrus Logic has contributed cs35l41_hda driver to Linux. Is this the chip used in m1 pro/max ?
16:12jannauvery unlikely since cs35l41 as a built-in amplifier and is mono. Apple calls the codec cs42l84 in the ADT
16:25as400[m]But this is interesting. Full list of chips identified on 14" MBP ----> https://www.ifixit.com/Guide/MacBook+Pro+14-Inch+2021+Chip+ID/145718
16:27jannaucs42l84 is very likely a custom apple part and none of the linux drivers for other cs parts looked like a good fit
16:31eroux has joined #asahi
16:33eroux has quit []
16:51jo[m]1234 has joined #asahi
17:19gruetzkopf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
17:20gruetzkopf has joined #asahi
17:25eroux has joined #asahi
17:52Dcow has joined #asahi
17:54DarkShadow44 has quit [Ping timeout: 480 seconds]
17:54the_lanetly_052__ has quit [Ping timeout: 480 seconds]
18:05Glanzmannj`ey: Did you run the enable pci experiment? Yes you did, otherwise you would have no pci device.
18:08Glanzmannj`ey: Try my kernel config. This works for sure. If you want I can also upload you the dep if you're tired of compiling the kernel.
18:09Glanzmannj`ey: This is my dmesg and other information: https://pbot.rmdir.de/6aT5AgQjGBX4h-o2JKv-4g
18:10Glanzmannj`ey: Here is my latest kernel: https://tg.st/u/linux-image-5.16.0-rc8-asahi-next-20220107-13694-g43f1e1f83569-dirty_5.16.0-rc8-asahi-next-20220107-13694-g43f1e1f83569-dirty-9_arm64.deb (The one I'm running currently)
18:11Glanzmannj`ey: If you want I can also send you my complete userland it is only like 3 GB uncompressed.
18:17VinDuv has quit [Ping timeout: 480 seconds]
18:18Glanzmannj`ey: In the beginning iwd was not working for me, because I was missing some kernel options.
18:19GlanzmannIf not try to run the binary from the command line. It will tell you which kernel options are missing.
18:20Glanzmannj`ey: Then I propose to try without hv, than with my kernel config and than with my userland.
18:21GlanzmannSo the wifi is working for me using m1n1 + experiments/enable pci + Linux and using m1n1+u-boot > grub > kernel.
18:22j`eyI'll try without hv quickly, but I think that's unlikely to be the problem. checking kernel configs will be tough, but I will scan through and see if there's anything 'obvious' missing
18:23GlanzmannThe only issue I had with Debian Testing and iwd was that the device was to slow and it tried to DHCP before the device was there and I ended up without IPv4 address. IPv6 was always there because it comes using advertisement. /etc/network/interfaces: https://pbot.rmdir.de/OB6Vi3hbylX0GvVVjWE5_Q With that IPv4 is reliably there on boot.
18:24GlanzmannThan if it works, you know its your kernel config and you can search for the missing option.
18:24Glanzmannj`ey: If it helps I can also send you the compressed vmimage.gz and a tar ball for /lib/modules.
18:25Glanzmannj`ey: Here it is: https://tg.st/u/5.16.0-rc8-asahi-next-20220107-13694-g43f1e1f83569-dirty.tar.gz untar in /
18:30Glanzmannj`ey: With my kernel, you don't need a initrd. But wifi works for me with (using u-boot) and without initrd (using m1n1) direct.
18:34Dcow has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:35eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:51ethanr has joined #asahi
18:58Glanzmannj`ey: This is was Debian does for me: /sbin/dhclient -4 -v -i -pf /run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases -I -df /var/lib/dhcp/dhclient6.wlan0.leases wlan0
19:00j`eyoh, that's a different section, I was reading https://wiki.archlinux.org/title/Iwd#No_DHCP_in_AP_mode but it's the same advice anyway
19:01Glanzmannj`ey: So normally you have an access point which is also a dhcp server (ipv4) and radvd (IPv6). Than you connect with a wifi client. The IPv6 autoconfiguration does Linux automatically and for IPv4 dhcp you need a dhcpclient, which does a discover, than you get an offer, than you do a request, and get the ip address assigned and need to renew it from time to time.
19:02j`eyGlanzmann: it turns out that the EnableNetworkConfiguration=true section that jannau linked works for me
19:15DarkShadow44 has joined #asahi
19:21ethanr has quit [Quit: Leaving]
19:34mpsj`ey: this is somewhat outdated guide I wrote when I introduced iwd to alpine https://arvanta.net/alpine/iwd-howto/
19:36j`eyI need to install something for ssl/certificates since https doesnt work, but I'll do that later
19:36mpsj`ey: good idea is to add 'NameResolvingService=resolvconf' in '[Network]' section in /etc/iwd/main.conf
19:44mpskettenis: it is possible to set screen resolution and background colour somewhere in the u-boot for M1 devices
19:45mpsI've built u-boot with ttf font and increased size to 28 (and white on black) but I got cyan on black
20:25___nick___ has quit []
20:27___nick___ has joined #asahi
20:27___nick___ has quit []
20:29___nick___ has joined #asahi
20:37zimsneexh has joined #asahi
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:14mpssomeone on #u-boot channel told me that he will prepare patch with normal font but with increased size
21:46igrom[m] has joined #asahi
21:57darkapex2 has quit [Ping timeout: 480 seconds]
22:18darkapex2 has joined #asahi
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:00anuejn has joined #asahi
23:44tpw_rules has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]