2021-12-24
00:22Namidairo has quit [Quit: ZNC - https://znc.in]
00:22Namidairo has joined #asahi
01:01aleasto has quit [Quit: Konversation terminated!]
01:08tpw_rulesthis diff: https://pastebin.com/NzJEQJDW combined with the command line flags '--in-process-gpu --no-sandbox --no-zygote' produces a chromium that works with 16k pages. someone who cares more about google should probably file a bug report
01:17yuyichao has joined #asahi
02:19darkapex1 has joined #asahi
02:19nobodynada has joined #asahi
02:23darkapex has quit [Ping timeout: 480 seconds]
02:27nobodynada has quit [Ping timeout: 480 seconds]
02:29caef^ has quit [Ping timeout: 480 seconds]
02:29caef^ has joined #asahi
03:11skipwich has quit [Ping timeout: 480 seconds]
03:15tpw_rulesthat might fix those flags too, that loongson thing is the only thing in there with 16k pages and who knows how maintained it is. but i tried just to try, i'm not actually a chrome user
03:50phiologe has joined #asahi
04:20skipwich has joined #asahi
04:22marvin24_ has joined #asahi
04:26marvin24 has quit [Ping timeout: 480 seconds]
04:31nobodynada has joined #asahi
04:47nobodynada has quit [Ping timeout: 480 seconds]
04:48Dcow_ has joined #asahi
05:11Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:13nobodynada has joined #asahi
05:20Dcow_ has joined #asahi
05:21nobodynada has quit [Ping timeout: 480 seconds]
05:24Dcow has quit [Ping timeout: 480 seconds]
05:24amwFWIW wifi take 3 works perfectly on my mba M1 2020 : nvme rootfs + wifi + touchpad + keyboard all working
05:26amwMakes for a really nice fast light untethered laptop - although I am slightly paranoid about power as there is no way (I know of) to read the battery level...
05:56GlanzmannIt will soom with smc marcan told a few days ago. You can also use it for an hour and check in macos for now.
06:01amwFor now I just plug into the charger when I'm not using it, haven't run MacOS for 3 days or so
06:02Glanzmannamw: Nice. Can you upload your .config and xorg tweaks for the touchpad and paket list soemwhere?
06:04GlanzmannBtw I've written a howto to install Debian bullseye faster: https://tg.st/u/asahi-debian-bullseye-quickstart.txt
06:04GlanzmannBasically you create the partition from macos and dd the image using the tpw_rules 'tar as gzcat' trick.
06:06amwok - sounds nice. I'm too scared to move off my 11.4 macOS at the moment - after seeing your struggles ...
06:09GlanzmannI tried to reinstall on the mini in order to do a bullseye quickstart installation video using a hdmi grabber ...
06:09GlanzmannBut to be honest I hope that one of the best, maybe marcan, initializes the hdmi in m1n1 maybe also make it possible to set a resolution and than mini is usable again.
06:09par0 has joined #asahi
06:10par0 has quit []
06:12Glanzmannamw: Because it happened to me once, do not close the lid when Linux is running, it gets warm under there since we have no ability to disable the screen at the moment.
06:12amwok I did that - it didn't seem too hot, a little warm under the hinge area but fine otherwise
06:14Glanzmannamw: I left it sitting like that for several hours. When I cam back the metal besides the touchpad was very warm. I never felt it that warm, but it cooled down in a minute or so.
06:16amwMy config for wifi take 3 kernel https://github.com/amworsley/AsahiLinux/tree/wifi3 is https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/config-wifi3
06:18amwThe package list is at https://raw.githubusercontent.com/amworsley/asahi-wiki/main/images/mba-dpkg.txt
06:20Glanzmannamw: Thanks a lot might be helpful if wifi still does not work out of the box for me, thanks a lot.
06:37MajorBiscuit has joined #asahi
06:38amwGlanzmann: Sorry I was busy - I believe I am just running X11 : /usr/lib/xorg/Xorg fluxbox, firefox runs very well (no sound of course)
06:40amwThe only problem I had was with the touchpad was fixed when I removed the xserver-xorg-input-synaptics and installed the xserver-xorg-input-libinput
06:48Dcow has joined #asahi
06:49Dcow__ has joined #asahi
06:52Dcow_ has quit [Ping timeout: 480 seconds]
06:53arahael3 has quit [Quit: WeeChat 3.1]
07:12Dcow_ has joined #asahi
07:14nobodynada has joined #asahi
07:15Dcow has quit [Ping timeout: 480 seconds]
07:15Dcow__ has quit [Ping timeout: 480 seconds]
07:40Major_Biscuit has joined #asahi
07:42MajorBiscuit has quit [Ping timeout: 480 seconds]
07:49ChaosPrincess has quit [Quit: WeeChat 3.3]
07:49ChaosPrincess has joined #asahi
08:09pg12_ has joined #asahi
08:11pg12 has quit [Ping timeout: 480 seconds]
08:15mpsamw: for me keyboard/touchpad works with both, synaptics and libinput driver, just had to configure which one to use
09:03landscape15[m]Is it possible to install Linux on a FAT32 partition?
09:03landscape15[m]I created it in macOS
09:08mpslandscape15[m]: maybe but it will not work correctly because FAT can't preserve file names and rights
09:13Redecorating[m]also no symlinks
09:16landscape15[m]VinDuv: why? Is there a driver?
09:17mpsmarcan: just tested with wifi/take4 branch on MBP (j293) and wifi still doesn't work, same error in dmesg out: brcmfmac 0000:01:00.0: brcmf_pcie_init_ringbuffers: Allocating ring buffers failed
09:20landscape15[m]mps: btw i will format the partition directly in Linux, booted from USB (and then `cp` to the new partition).
09:26landscape15[m]I mean I will format the partition in ext4 (not FAT) from Linux
09:40amwlandscape15[m]: Definitely agree unless you are looking for adventure stick with ext4 as I had wierd errors like ping for normal users doesn't work because I was missing the ext4 attributes feature missing
09:40chadmed has joined #asahi
09:40mpsamw: https://tpaste.us/ZjOo this is simple config which uses synaptics for touchpad and libinput for keyboard
09:56as400[m]tpw_rules: CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y and CONFIG_SECURITY_YAMA=y. First one just to stay on the safe side - I'm not sure it's needed.
10:18aleasto has joined #asahi
10:22amwmps: Yep - I install the debian bullseye synaptics package and touch screen didn't work - but mouse did - with this config https://paste.debian.net/1224616/
10:25marcanmps: can you enable all the debug options and paste a full dmesg of at least the brcmfmac range? CONFIG_BRCM_TRACING=y CONFIG_BRCMDBG=y
10:25amwSorry - yep touchpad (mba) - this one in xserver-xorg-input-libinput allows both mouse and touchpad for me - Sorry I mixed them up - this is https://paste.debian.net/1224617 is the synaptics config
10:30nobodynada has quit [Ping timeout: 480 seconds]
10:33mpshm, not enough just these two, have to enable more codedump and some other. ok will build complete new kernel and reboot
10:45Major_Biscuit has quit [Ping timeout: 480 seconds]
11:05martinstewart has joined #asahi
11:09amwmps: Not sure it's any use but https://paste.debian.net/1224622/ is my dmesg from marcan/wifi/take3 and inbuilt wifi
11:11Redecorating[m]mps: see here for the debug levels https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h#n12
11:13martinstewart has quit [Ping timeout: 480 seconds]
11:42jannaumps: not sure if the debug message is wrong or if it loads indeed firmware brcm/brcmfmac4378b1-pcie.bin instead of brcm/brcmfmac4378b1-pcie.apple,honshu.bin
11:52mpswould someone who extracted firmware with latest installer post tarball to me. maybe my extraction isn't proper
12:03jannaumps: most obvious difference to j274/j314c is "brcmf_pcie_init_ringbuffers Using host memory indices"
12:06___nick___ has joined #asahi
12:06___nick___ has quit []
12:08___nick___ has joined #asahi
12:15jannauI think the pcie dart don't suppport bypass and don't work currently with 4k kernel page size
12:18jannauI think the dma_alloc_coherent in brcmf_pcie_init_ringbuffers() fails and the driver tries to use "TCM indices" instead. no idea why the latter fails or if it is supposed to work
12:23nobodynada has joined #asahi
12:25jannauthis is unrelated to brcmfmac. the iommu for the pcie ports works currently just with 16k kernel page size
12:26chadmed has quit [Remote host closed the connection]
12:39mpsonly left 'apple-pmgr-pwrstate 23b700000.power-management:power-controller@2c0: PS mca1: Failed to reach power state 0xf (now: 0x24f)' this to not have usb dongle attached all day
12:54nobodynada has quit [Ping timeout: 480 seconds]
13:25Major_Biscuit has joined #asahi
14:43yuyichao has quit [Ping timeout: 480 seconds]
14:45Major_Biscuit has quit [Ping timeout: 480 seconds]
14:47nobodynada has joined #asahi
14:53caef^ has quit [Ping timeout: 480 seconds]
14:56Glanzmannmps: I did not know that you run a 4 kB kernel, otherwise I could have told you as well. :-( I heard had I think sven wanted to make the dart work 4k soon ...
15:03jochum_ has joined #asahi
15:05jochum has quit [Ping timeout: 480 seconds]
15:05nobodynada has quit [Ping timeout: 480 seconds]
15:10yuyichao has joined #asahi
15:18tpw_rulesas400[m]: just curious, did you actually try to build and run it on a 16k kernel? the symptoms i saw were that it crashed instantly on startup without those flags
15:25Glanzmannmps: I have ext4 on a lot of flash devices, but had never any issues. Journaling is on by default, isn't it?
15:42Glanzmannmps: To be honest, I do it the following with debain. I have this giant wpa_supplicant.conf with all the wifi access points I used in the past, all over the world. And than I have this twoliner: https://pbot.rmdir.de/X2A0alscskfEEp4uCHK_ow and the rest normally happens automatically ...
15:45mpswell, I use wpa_s only with dongles which have wext interface. iwd is lot faster on net setup because it has FILS implemented
15:46Glanzmannmps: I see. I had no issues with failing flash devices the last 10 years until this year. This year 15 Samsung SSDs (EVO, QVO, NVMe Pro) failed with less than 10 TB written. With EVO and QVO there is a report about them failing with ncq trim enabled, so I disabled it, and another one failed. So for now I'm going with Intel DC edition and Micron DC edition SSDs. It also seems that the enterprise version
15:47Glanzmannmps: I see, never heard of iwd, need to try it out. And honestly these days I'm only using a single ssid and when I travel I get a sim card and use wifi tethering with the very same ssid ...
15:48Glanzmannmps: I use autologin on my Linux systems, and when I'm logged in, wifi is also there even with wpa_supplicant.
16:33the_lanetly_052 has joined #asahi
16:58nobodynada has joined #asahi
17:00amw has quit [Remote host closed the connection]
17:01amw has joined #asahi
17:06skoobasteeve_ has joined #asahi
17:09skoobasteeve has quit [Ping timeout: 480 seconds]
17:21as400[m]tpw_rules: I didn't build chromium with your patch. But I have seen chromium not starting without kernel options I mentioned. So, to make things clear, options mentioned are required to start the browser with sandbox mode.
17:22nobodynada has quit [Ping timeout: 480 seconds]
17:44ey3ball[m]Had some issues with my rootfs getting trashed ... looks like MacOS can corrupt partitions if it think it knows the partition type set on the GPT
17:48ey3ball[m]s/Had some issues with my rootfs getting trashed ... looks like MacOS can corrupt partitions if it think it knows the partition type set on the GPT/Had some issues with my rootfs getting trashed ... looks like MacOS can corrupt partitions if it thinks it knows the partition type set on the GPT .../
17:56marcan4K kernels are not supported and will not work for PCIe devices yet, until the patchset for that gets in shape
17:56ey3ball[m]Yep type was set to 0700, no more issue, after updating the partition type to 8300
17:57marcanI don't see how that error can happen other than if DMA allocs are horribly broken, which they would be on a 4K kernel
18:25marcansven came up with some heroic patches to work around this and allow Linux to use 16K pages for IOMMUs while using 4K pages for the CPU, but they aren't ready yet
18:29mpsbut about 20 years ago I had to switch to work on financial and DB field, and previous knowledge faded away mostly
18:48daniel0611[m] has joined #asahi
18:50caef^ has joined #asahi
19:14nobodynada has joined #asahi
19:19martinstewart has joined #asahi
19:19martinstewarthello
19:20martinstewarthows everyones days
19:22nobodynada has quit [Ping timeout: 480 seconds]
19:24martinstewartnow i tihnk of it i should probaly be in asahi offtopic to say hi to everyone eh im shure marcan wont mind
19:25martinstewartim shure i would of been toled off by now if it wasent allowed
19:30Gaspare has joined #asahi
19:49martinstewart has quit [Ping timeout: 480 seconds]
19:50Major_Biscuit has joined #asahi
19:54Major_Biscuit has quit []
19:54joske has joined #asahi
19:55MajorBiscuit has joined #asahi
19:58martinstewart has joined #asahi
20:13nobodynada has joined #asahi
20:23Glanzmannmps: About the pci expereiments features, if I understood correctly, than we get SMC support soon and than that will enable the pci devices.
20:26yuyichao has quit [Ping timeout: 480 seconds]
20:33mpsGlanzmann: I think it is System Management Controler and not sure enabling PCI depends on it, but that is my guess only
20:35NightRaven[m]any news on getting wifi dongle working on the macbook pro ?
20:35nobodynada has quit [Ping timeout: 480 seconds]
20:37NightRaven[m]* on getting a wifi dongle
20:38mpstpw_rules: yes, but iirc CONFIG_ARM_SCMI_PROTOCOL is top one and other specific for SOC are 'down' of it
20:40NightRaven[m]mps: oh ok can't wait : )
20:42mpsNightRaven[m]: if you have another machine you run it right now by building kernel from wifi/take4 branch
20:42NightRaven[m]mps: sadly i don't have another machine : (
20:44NightRaven[m]i just asked my friend if i can borrow his laptop
20:44NightRaven[m]and he said yesss
20:44NightRaven[m]lets go
20:44NightRaven[m]but it has windows
20:45NightRaven[m]i can boot linux from a usn
20:45NightRaven[m]s/usn/usb/
20:45NightRaven[m]and try from their
20:45NightRaven[m]tpw_rules: but why ?
20:46NightRaven[m]oh so i need another macbook pro
20:46NightRaven[m]macbook*
20:47NightRaven[m]i can install linux alongside windows
20:47NightRaven[m]but i have to ask permission
20:47NightRaven[m]mps: ohh ok
20:47NightRaven[m]i already have a linux mint usb stick
20:48NightRaven[m]mps: i have that too
20:49NightRaven[m]like i have an apple usb cable
20:49NightRaven[m]but i have a usb c to usb 3 adapter
20:50NightRaven[m]but can i still try it ?
20:50NightRaven[m]since i have 2
20:51NightRaven[m]hmm ok
20:51NightRaven[m]it gives a 404
20:52jonnymac[m]me too
20:53NightRaven[m]oh ok thx well i try this tomorrow
20:55c10l2 has joined #asahi
21:02c10l has quit [Ping timeout: 480 seconds]
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:21NightRaven[m]question do i always need to have the second computer to use wifi or can i enable it once and that is it i can have wifi when i reboot
21:39joske has quit [Ping timeout: 480 seconds]
21:43Gaspare has quit [Quit: Gaspare]
21:45NightRaven[m]oh ok
22:28nobodynada has joined #asahi
22:32Techcable has quit [Quit: ZNC - https://znc.in]
22:33Techcable has joined #asahi
23:02martinstewart has quit [Ping timeout: 480 seconds]
23:03nobodynada has quit [Ping timeout: 480 seconds]
23:50MajorBiscuit has quit [Quit: WeeChat 3.3]